Download New Updated (June) Microsoft 98-361 Practice Test 211-220

Ensurepass

QUESTION 211  (Topic 2)

 

You are creating a variable for an application.

 

You need to store data that has the following characteristics in this variable:

 

Consists of numbers and characters

Includes numbers that have decimal points

 

Which data type should you use?

 

A.

Decimal

B.

Char

C.

String

D.

Single

 

Answer: C

Explanation: Need a s
tring to store characters.

 

 

QUESTION 212

HOTSPOT  (Topic 2)

 

 

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.

 

clip_image002

 

A.

 

B.

 

C.

 

D.

 

 

Answer:

 

 

QUESTION 213  (Topic 2)

 

The throw keyword is used to perform which two actions? (Choose two.)

 

A.

stop processing of the code

B.

move error handling to a separate thread

C.

raise exceptions

D.

re-throw exceptions as a different type

 

Answer: CD

Explanation: * The Throw statement throws an exception that you can handle with structured exception-handling code (Try…Catch…Finally) or unstructured exception- handling code (On Error GoTo). You can use the Throw statement to trap errors within your code because Visual Basic moves up the call stack until it finds the appropriate exception- handling code.

 

* This example throws an ApplicationException exception.

Throw New ApplicationException

 

 

QUESTION 214  (Topic 2)

 

This question requires that you evaluate the underlined text to determine if it is correct.

 

Arguments are passed to console applications as a Hashtable object.

 

Select the correct answer if the underlined text does not make the statement correct. Select “No change is needed” if the underlined text makes the statement correct.

 

A.

No change is needed

B.

String Array

C.

StoredProcedureCollection

D.

Dictionary

 

Answer: B

Explanation: Arguments are passed to console applications as a String Array object.

 

 

QUESTION 215  (Topic 2)

 

 

You need to create a property in a class. Consumers of the class must be able to read the values of the property. Consumers of the class must be prevented from writing values to the property.

 

Which property procedure should you include?

 

A.

Set

B.

Get

C.

Let

D.

Return

 

Answer: B

 

 

QUESTION 216  (Topic 2)

 

This question requires that you evaluate the underlined text to determine if it is correct.

 

Converting a value type to a reference type in an object is called boxing.

 

Select the correct answer if the underlined text does not make the statement correct. Select “No change is needed” if the underlined text makes the statement correct.

 

A.

No change is needed

B.

unboxing

C.

interfacing

D.

mapping

 

Answer: A

Explanation: Boxing is an implicit conversion of a Value Types (C# Reference) to the type object or to any interface type implemented by this value type.

 

 

QUESTION 217  (Topic 2)

 

When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.)

 

A.

a stub

B.

a proxy

C.

a.disco file

D.

a.wsdlfile

 

Answer: CD

Explanation: A .wsdl file that references the Web service is created, together with supporting files, such as discovery (.disco and .discomap) files, that include information about where the Web service is located.

 

 

QUESTION 218  (Topic 2)

 

Which type of function can a derived class override?

 

A.

A Protected Overridable member function

B.

A Shared function

C.

A Private Overridable function

D.

A non-overridable public member function

 

Answer: A

Explanation: The Overridable modifier allows a property or method in a class to be overridden in a derived class.

You cannot specify Overridable or NotOverridable for a Private method.

 

 

QUESTION 219  (Topic 2)

 

You are creating an application that presents users with a graphical interface in which they computers that do not have network connectivity.

 

Which type of application should you choose?

 

A.

ClickOnce

B.

Windows Service

C.

Windows Forms

D.

Console-based

 

Answer: C

Explanation: Use Windows Forms when a GUI is needed.

 

 

QUESTION 220  (Topic 2)

 

You have a server that limits the number of data connections.

 

What should you use to optimize connectivity when the number of users exceeds the number of available connections?

 

A.

Named pipes

B.

Normalization

C.

Connection timeouts

D.

Connection pooling

 

Answer: D

Explanation: In software engineering, a connection pool is a cache of database connections maintained so that

 

Free VCE & PDF File for Microsoft 98-361 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…