Black Friday Sale Special - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sntaclus

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2008 as its application development platform. You create an ASP.NET Web application using .NET Framework 3.5. The company hosts a Web site. The Web site offers an online community and shows personal information of the site members. An e-mail account that is used as the user name is compulsory to register with the online community. Therefore, only registered users of the Web site can view the personal information of other members. You are required to ensure that illegal, automated scripts or bots are not permissible to carry out any of the following tasks:

l Register with the Web site.

l Access the personal information of the members.

What will you do?

Each correct answer represents a part of the solution. Choose three.

A.

Bind all personal information of the members within SPAN and DIV controls that will toggle to show/hide.

B.

Implement a CAPTCHA image control during the registration and login process.

C.

Deny new user accounts access to the Web site as long as the user does not respond to the e-mail message.

D.

Implement CDATA during the registration and login process.

E.

Implement a one-way function during login process.

F.

Send confirmation email messages to all new registered users.

Holmes works as a Programmer for HiTech Institute. He develops an ASP.NET application named LibraryRecord by using Visual Studio .NET. The LibraryRecord application uses a SQL Server database named Database1. Database1 contains two tables: Students and Books. The Students table comprises three columns: StudentID, StudentName, and BookID. The Books table comprises two columns: BooksID and BooksName. Holmes creates a stored procedure that returns the records of all students who borrowed books from the institute. What will Holmes do to retrieve the records of the issued books most efficiently?

A.

Use the INNER JOIN keyword in his query.

B.

Use the INNER JOIN keyword more than once in his query.

C.

Use the LEFT OUTER JOIN keyword in his query.

D.

Use the WHERE clause in his query.

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET 2005 as its application development platform. You are presently busy implementing a custom trace that logs errors and warnings in a MS SQL Server database. The implementation should allow different applications to decide whether errors or warnings should be logged at a specified time. You install the assembly that contains the trace listener in the GAC on an application server. You want to enable all Web services on the application server to utilize the trace listener by default. You need to ensure that the implementation does not force Microsoft Windows Forms applications that run on the server to utilize the trace listener. What will you do to accomplish this task?

Each correct answer represents a part of the solution. Choose two.

A.

Add the trace listener to the Web.config file for every Web service.

B.

Add the trace listener to the global Web.config file.

C.

Specify trace switches for every Web service in the Web.config file.

D.

Add the trace listener to the machine.config file.

E.

Specify trace switches in the machine.config file.

You work as a Software Developer for Mansoft Inc. You create an application using Visual Studio .NET 2005. You write code in the application and execute it, but it caused an error. Now, you want to find out the reason that has thrown the exception. Which of the following properties will you use to accomplish this task?

A.

Message

B.

TraceSwitch

C.

Data

D.

Source

E.

StackTrace

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using .NET Framework 2.0. The application provides accessibility features. The forms in the application display a background image. You want to remove the image whenever a user selects Use High Contrast in the Accessibility Options in Control Panel. You are required to add an event to handle this accessibility setting change. Which of the following events will you use to accomplish this task?

A.

UserPreferenceChanged

B.

StyleChanged

C.

ChangeUICues

D.

DisplaySettingsChanged

You work as a Software Developer for ABC Inc. The company has several branches worldwide. The company uses Visual Studio .NET 2005 as its application development platform. You are creating an application using .NET Framework 2.0. The application will be used by all the branches of the company. You are using the CompareInfo class for culture-sensitive string comparisons. You write the following code in the application:

String s1 = "C rtify";

String s2 = "c rtify";

String s3 = "c rtify";

You need to compare the s1 string with the s2 string and ensure that the string comparison must ignore case. Which of the following code segments will you use to accomplish the task?

A.

CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;

Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.Ordinal));

B.

CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;

Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.None));

C.

CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;

Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.IgnoreCase));

D.

CompareInfo cmp = CultureInfo.InvariantCulture.CompareInfo;

Console.WriteLine(cmp.Compare(s1, s2, CompareOptions.OrdinalIgnoreCase));

You work as a Software Developer for Mansoft Inc. You create an application and use it to create code access security policies. Which of the following tools will you use to examine and modify code access security policies from a batch file?

A.

GacUtil.exe

B.

StoreAdm.exe

C.

Caspol.exe

D.

Tlbimp.exe

E.

Sn.exe

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You are creating an application using the .NET Framework. You need to save a graphical object from the application. The graphical object is a collection of x and y points, each represented by using a single precision floating point number. You want to use the least amount of disk space by the saved object. Which the following classes will you use to accomplish this task?

A.

XmlWriter

B.

StreamWriter

C.

TextWriter

D.

BinaryWriter

Which of the following code snippets is an example of tight encapsulation?

A.

protected int x;

protected void fun(){x=5;}

B.

int x;

public void fun(){x=5;}

C.

public int x;

public void fun() {x=5;}

D.

private int x;

public void fun(){x=5;}

E.

private int x;

private void fun(){x=5;}

Sandra works as a Software Developer for ABC Inc. She develops an application named MyApp that contains a data-bound control named MyDataControl. She wants to use an Oracle database in order to bind data to MyDataControl. Which of the following GUI-based data sources will Sandra use to accomplish the task?

A.

AccessDataSource

B.

SqlDataSource

C.

ObjectDataSource

D.

XmlDataSource

E.

SitemapDataSource