Download New Updated (June) Microsoft 98-361 Practice Test 151-160

Ensurepass

QUESTION 151  (Topic 2)

 

You execute the following code.

 

clip_image002

 

How many times will the word Hello be printed?

 

A.

49

B.

50

C.

51

D.

100

 

Answer: B

Explanation: The mod 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 152  (Topic 2)

 

 

You are writing a Web application that processes room reservation requests. You need to verify that the room that a guest has selected is not already reserved by another guest.

 

Which type of programming should you use to determine whether the room is still available when the request is made?

 

A.

client-side

B.

batch processing

C.

server-side

D.

multithreaded

 

Answer: C

Explanation: For room availability we need to check a database located on a server.

 

 

QUESTION 153  (Topic 2)

 

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.

Web-based

B.

Windows Service

C.

Windows Forms

D.

console-based

 

Answer: A

 

 

QUESTION 154

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_image004

 

A.

 

B.

 

C.

 

D.

 

 

Answer:

 

 

QUESTION 155  (Topic 2)

 

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

 

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 156  (Topic 2)

 

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

 

The Response.Redirect method is used to transfer processing of the current page to a new page, and then return processing back to the calling page once processing of the new page has completed.

 

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.

Server.Transfer method

C.

Server.Execute method

D.

meta http-equiv=”refresh” tag

 

Answer: C

Explanation: The Execute method calls an .asp file, and processes it as if it were part of the calling ASP script. The Execute method is similar to a procedure call in many programming languages.

 

Incorrect:

* Response.Redirect Method

The Redirect method causes the browser to redirect the client to a different URL.

 

* The Server.Transfer method sends all of the information that has been assembled for

 

 

 

processing by one .asp file to a second .asp file.

 

 

QUESTION 157  (Topic 2)

 

You have a stack that contains integer values. The values are pushed onto the stack in the following order: 2,4,6,8. The following sequence of operations is executed:

 

Pop

 

Push 3

 

Pop

 

Push 4

 

Push 6

 

Push 7

 

Pop

 

Pop

 

Pop

 

What is the value of the top element after these operations are executed?

 

A.

2

B.

3

C.

6

D.

7

 

Answer: B

 

 

QUESTION 158  (Topic 2)

 

You are creating an ASP. NET Web application.

 

 

Which line of code should you use to require a control to process on the computer that hosts the application?

 

A.

runat= “server”

B.

redirect*=”HostPage. htm”

C.

AutoEventWireup=”true”

D.

defaultRedirect=”ServerPage. htm”

 

Answer: A

 

 

QUESTION 159  (Topic 2)

 

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

 

The process of transforming compiled C# code into an XML string for a web service is known as deserialization.

 

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.

serialization

C.

decoding

D.

encoding

 

Answer: B

Explanation: Serialization is the process of converting an object into a stream of bytes in order to store the object or transmit it to memory, a database, or a file. Its main purpose is to save the state of an object in order to be able to recreate it when needed.

 

Serialization allows the developer to save the state of an object and recreate it as needed, providing storage of objects as well as data exchange. Through serialization, a developer can perform actions like sending the object to a remote application by means of a Web Service, passing an object from one domain to another, passing an object through a firewall as an XML string, or maintaining security or user-specific information across applications.

 

 

QUESTION 160  (Topic 2)

 

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.

 

Answer: A

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

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…