QUESTION 161

You are creating an application that presents the user with a Windows Form. Which event is triggered each time the Windows Form receives focus?

 

A.

Load

B.

Enter

C.

Activated

D.

paint

 

Correct Answer: B

Explanation:

When you change the focus by using the mouse or by calling the Focus method, focus events of the Control class occur in the following order:

 

Enter

GotFocus

LostFocus

Leave

Validating

Validated

 

 

QUESTION 162

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

 

A data dictionary that describes the structure of a database is called metadata.

 

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.

normalization

C.

a database management system (DBMS)

D.

metacontent

 

Correct Answer: A

 

 

QUESTION 163

Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area differently. Which term is used to describe this object-oriented concept?

 

A.

encapsulation

B.

superclassing

C.

polymorphism

D.

overloading

 

Correct Answer: C

Explanation:

You can use polymorphism to in two basic steps:

Create a class hierarchy in which each specific shape class derives from a common base class.

Use a virtual method to invoke the appropriate method on any derived class through a single call to the base class method.

QUESTION 164

HOTSPOT

You open the Internet Information Services 7.5 Manager console as shown in the following exhibit:

 

clip_image002

 

You need to examine the current configuration of the server W2008R2.

 

Use the drop-down menus to select the answer choice that answers each question. Each correct selection is worth one point.

 

clip_image004

 

Correct Answer:

clip_image006

 

 

QUESTION 165

HOTSPOT

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

 

clip_image008

 

Correct Answer:

clip_image010

 

 

 

 

 

QUESTION 166

The Dog class and the Cat class inherit from the Animal class. The Animal class includes a breathe() method and a speak() method. If the speak() method is called from an object of type Dog, the result is a bark. If the speak() method is called from an object of type Cat, the result is a meow. Which term is used to describe this object-oriented concept?

 

A.

multiple inheritance

B.

encapsulation

C.

polymorphism

D.

data hiding

 

Correct Answer: C

Explanation:

Polymorphism is often referred to as the third pillar of object-oriented programming, after encapsulation and inheritance. Polymorphism is a Greek word that means “many-shaped” and it has two distinct aspects:

 

clip_image012At run time, objects of a derived class may be treated as objects of a base class in places such as method parameters and collections or arrays. When this occurs, the object’s declared type is no longer identical to its run-time type.

clip_image012[1]Base classes may define and implement virtual methods, and derived classes can override them, which means they provide their own definition and implementation. At run- time, when client code calls the method, the CLR looks up the run-time type of the object, and invokes that override of the virtual method. Thus in your source code you can call a method on a base class, and cause a derived class’s version of the method to be executed.

 

 

QUESTION 167

DRAG DROP

You are extending an application that stores and displays the results of various types of foot races. The application contains the following definitions:

 

clip_image014

 

The following code is used to display the result for a race:

 

clip_image016

 

The contents of the console must be as follows:

 

clip_image012[2]99 seconds

clip_image012[3]1.65 minutes

clip_image012[4]99

 

You need to implement the FootRace class.

 

Match the method declaration to the method body.

 

To answer, drag the appropriate declaration from the column on the left to its body on the right. Each declaration may be used once, more than once, or not at all. Each correct match is worth one point.

 

clip_image018

 

Correct Answer:

clip_image020

 

 

QUESTION 168

Which type of Windows application presents a parent window that contains child windows?

 

A.

Multiple-document interface (MDI)

B.

Command-line interface (CLI)

C.

Single-document interface (SDI)

D.

Application programming interface (API)

 

Correct Answer: A

Explanation:

A multiple document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Such systems often allow child windows to embed other windows inside them as well, creating complex nested hierarchies. This contrasts with single document interfaces (SDI) where all windows are independent of each other.

 

 

 

QUESTION 169

You are creating a Web application. The application will be consumed by client computers that run a variety of Web browsers.

 

Which term is used to describe the process of making the application available for client computers to access?

 

A.

Deploying

B.

Hosting

C.

Virtualization

D.

Casting

 

Correct Answer: B

Explanation:

You host web applications.

 

 

QUESTION 170

You are developing a webpage that enables students to manage races.

 

The webpage will display two lists: past races and upcoming races. The page also contains a sidebar with contact information and a panel with social media settings that can be edited. Race results can be shared on social media.

 

How many components will be on the webpage?

 

A.

2

B.

3

C.

4

D.

5

 

Correct 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…