Download New Updated (June) Microsoft 98-361 Practice Test 51-60

Ensurepass

QUESTION 51  (Topic 1)

 

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

 

Converting an object to a more general type is called upcasting.

 

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.

downcasting

C.

interfacing

D.

flexing

 

Answer: A

Explanation: Casting up a hierarchy means casting from a derived object reference to a base object reference.

 

 

QUESTION 52  (Topic 1)

 

 

You execute the following code.

 

clip_image002

 

How many times will the word Hello be printed?

 

A.

5

B.

6

C.

10

D.

12

 

Answer: B

 

 

QUESTION 53  (Topic 1)

 

You execute the following code.

 

clip_image004

 

How many times will the word Hello be printed?

 

A.

49

B.

50

C.

51

D.

100

 

Answer: B

Explanation: The % operator computes the remainder after dividing its first operand by its second. All numeric types have predefined remainder operators.

 

 

 

In this case the reminder will be nonzero 50 times (for i with values 1, 3, 5,..,99).

 

 

QUESTION 54  (Topic 1)

 

The purpose of the Catch section in an exception handler is to:

 

A.

Break out of the error handler.

B.

Conclude the execution of the application.

C.

Execute code only when an exception is thrown.

D.

Execute code regardless of whether an exception is thrown.

 

Answer: C

 

 

QUESTION 55  (Topic 1)

 

Which programming language is characterized as client-side, dynamic and weakly typed?

 

A.

JavaScript

B.

HTML

C.

ASP.NET

D.

C#

 

Answer: A

Explanation: JavaScript is characterized as a dynamic, weakly typed, prototype-based language with first-class functions. It is primarily used in the form of client-side JavaScript for the development of dynamic websites.

 

 

QUESTION 56

HOTSPOT  (Topic 1)

 

You are developing a web application.

 

You need to create the following graphic by using Cascading Style Sheets (CSS):

 

 

 

clip_image006

 

Use the drop-down menus to select the answer choice that completes each statement.

Each correct selection is worth one point.

 

clip_image008

 

clip_image010

 

A.

 

B.

 

C.

 

D.

 

 

Answer:

 

 

QUESTION 57  (Topic 1)

 

 

You are creating an application that accepts input and displays a response to the user. You cannot create a graphical interface for this application.

 

Which type of application should you create?

 

A.

Windows Forms

B.

Windows Service

C.

Web-based

D.

Console-based

 

Answer: C

 

 

QUESTION 58  (Topic 1)

 

Which term is used to describe a class that inherits functionality from an existing class?

 

A.

Base class

B.

Inherited class

C.

Derived class

D.

Superclass

 

Answer: C

Explanation: Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors.

 

 

QUESTION 59  (Topic 1)

 

You are developing an application that tracks tennis matches. A match is represented by the following class:

 

 

 

clip_image012

 

A match is created by using the following code:

 

clip_image014

 

How many times is the Location property on the newly created Match class assigned?

 

A.

0

B.

1

C.

2

D.

3

 

Answer: C

 

 

QUESTION 60  (Topic 1)

 

You are creating an application that presents users with a graphical interface. Users will run this application from remote computers. Some of the remote computers do not have the . NET Framework installed. Users do not have permissions to install software.

 

Which type of application should you choose?

 

A.

Windows Forms

B.

Windows Service

C.

ASP. NET

D.

Console-based

 

Answer: C

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…