Ensurepass

Software Development Fundamentals

 

QUESTION 141

HOTSPOT

You are reviewing the following class that is used to manage the results of a 5K race:

 

clip_image002

 

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

 

clip_image004

 

Correct Answer:

clip_image006

 

 

QUESTION 142

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 143

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

 

When creating a site to utilize message queuing, the “IP address” must be configured to MSMQ.

 

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.

protocol

C.

host header

D.

port

 

Correct Answer: B

Explanation:

MSMQ is a messaging protocol that allows applications running on separate servers/processes to communicate in a failsafe manner.

 

 

QUESTION 144

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

 

Unit testing is the final set of tests that must be completed before a feature or product can be considered finished.

 

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.

User acceptance

C.

System

D.

Integration

 

Correct Answer: B

Explanation:

User acceptance testing (UAT) is the last phase of the software testing process. During UAT, actual software users test the software to make sure it can handle required tasks in real-world scenarios, according to specifications.

UAT is one of the final and critical software project procedures that must occur before newly developed software is rolled out to the market.

UAT is also known as beta testing, application testing or end user testing.

 

 

QUESTION 145

What are two methods that can be used to evaluate the condition of a loop at the start of each iteration? (Each correct answer presents a complete solution. Choose two. )

 

A.

For

B.

Do. . . While

C.

If

D.

While

 

Correct Answer: AD

Explanation:

For and While constructs check at the start of each iteration.

 

 

QUESTION 146

You execute the following code.

 

clip_image012

 

How many times will the word Hello be printed?

 

A.

5

B.

6

C.

10

D.

12

 

Correct Answer: B

 

 

QUESTION 147

The purpose of a constructor in a class is to:

 

A.

Initialize an object of that class.

B.

Inherit from the base class.

C.

Release the resources that the class holds.

D.

Create a value type.

 

Correct Answer: A

Explanation:

Each value type has an implicit default constructor that initializes the default value of that type.

 

 

 

 

 

QUESTION 148

In this XHTML code sample, what will cause an error?

 

clip_image014

 

A.

The line break tag is incorrectly formatted.

B.

The HTML tags do not read XHTML.

C.

The body tag is missing a background attribute,

D.

All tags are not in uppercase.

 

Correct Answer: A

Explanation:

In XHTML, the <br> tag must be properly closed, like this: <br />.

 

 

QUESTION 149

DRAG DROP

You are developing an application that displays a list of race results. The race results are stored in the following class:

 

clip_image016

 

The code that manages the list is as follows:

 

clip_image018

 

You need to implement the AddRace method.

 

Match the code segment to its location.

 

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

 

clip_image020

 

Correct Answer:

clip_image022

 

 

QUESTION 150

What are the three basic states that a Windows service can be in? (Choose three.)

 

A.

running

B.

starting

C.

halted

D.

stopped

E.

paused

 

Correct Answer: BDE

Explanation:

A service can exist in one of three basic states: Running, Paused, or Stopped.

 

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

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