[Free] 2017(Jan) Ensurepass Braindumps Microsoft 98-361 Real Test 61-70

Ensurepass

Software Development Fundamentals

 

QUESTION 61

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

 

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

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_image002

 

Correct Answer:

clip_image004

 

 

QUESTION 63

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

 

A.

JavaScript

B.

HTML

C.

ASP.NET

D.

C#

 

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

You need to ensure the data integrity of a database by resolving insertion, update, and deletion anomalies.

 

Which term is used to describe this process in relational database design?

 

A.

Isolation

B.

Normalization

C.

Integration

D.

Resolution

 

Correct Answer: B

Explanation:

Database normalization is the process of organizing the fields and tables of a relational database to minimize redundancy. Normalization usually involves dividing large tables into smaller (and less redundant) tables and defining relationships between them. The objective is to isolate data so that additions, deletions, and modifications of a field can be made in just one table and then propagated through the rest of the database using the defined relationships.

 

 

 

QUESTION 65

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

 

Correct Answer: B

 

 

QUESTION 66

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

 

The benefit of using a transaction when updating multiple tables is that the update cannot fail.

 

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.

succeeds or fails as a unit

C.

finishes as quickly as possible

D.

can be completed concurrently with other transactions

 

Correct Answer: B

Explanation:

The benefit of using a transaction when updating multiple tables is that the update succeeds or fails as a unit.

 

 

 

 

QUESTION 67

How does a console-based application differ from a Windows Forms application?

 

A.

Console-based applications require the XNA Framework to run.

B.

Windows Forms applications do not provide a method for user input.

C.

Windows Forms applications can access network resources.

D.

Console-based applications do not display a graphical interface.

 

Correct Answer: D

 

 

QUESTION 68

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.

polymorphism

C.

data hiding

D.

encapsulation

 

Correct Answer: A

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_image006At 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_image006[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 69

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

 

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

clip_image006[2]Response.Redirect Method

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

 

clip_image006[3]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 70

You have a Windows Service running in the context of an account that acts as a non- privileged user on the local computer. The account presents anonymous credentials to any remote server. What is the security context of the Windows Service?

 

A.

LocalSystem

B.

User

C.

NetworkService

D.

LocalService

 

Correct Answer: D

Explanation:

LocalService , which runs in the context of an account that acts as a non- privileged user on the local computer, and presents anonymous credentials to any remote server.

 

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…