Software Development Fundamentals

 

QUESTION 101

An application presents the user with a graphical interface. The interface includes buttons that the user clicks to perform tasks. Each time the user clicks a button, a method is called that corresponds to that button.

 

Which term is used to describe this programming model?

 

A.

Functional

B.

Service oriented

C.

Structured

D.

Event driven

 

Correct Answer: D

 

 

QUESTION 102

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

 

When a base class declares a method as virtual, the method is hidden from implementation bv a derived class.

 

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.

can be overridden with its own implementation by a derived class

C.

must be overridden in any non-abstract class that directly inherits from that class

D.

cannot be overridden with its own implementation by a derived class

 

Correct Answer: B

Explanation:

The implementation of a non-virtual method is invariant: The implementation is the same whether the method is invoked on an instance of the class in which it is declared or an instance of a derived class. In contrast, the implementation of a virtual method can be superseded by derived classes. The process of superseding the implementation of an inherited virtual method is known as overriding that method.

 

 

QUESTION 103

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 104

You are building a web application that enables international exchange students to schedule phone calls with their prospective schools.

 

The application allows students to indicate a preferred date and time for phone calls. Students may indicate no preferred time by leaving the date and time field empty. The application must support multiple time zones.

 

Which data type should you use to record the student’s preferred date and time?

 

A.

uLong?

B.

DateTime

C.

SByte

D.

DateTimeOffset?

 

Correct Answer: D

Explanation:

datetimeoffset: Defines a date that is combined with a time of a day that has time zone awareness and is based on a 24-hour clock.

 

Incorrect:

DateTime: Defines a date that is combined with a time of day with fractional seconds that is based on a 24-hour clock.

sByte: The sbyte keyword indicates an integral type that stores values in the range of -128 to 127.

 

 

QUESTION 105

Class C and Class D inherit from Class B. Class B inherits from Class A. The classes have the methods shown in the following table.

 

clip_image002

 

All methods have a protected scope.

 

Which methods does Class C have access to?

 

A.

only m3, m4

B.

only m2, m3

C.

only ml, m3

D.

m1, m3, m3

E.

m2, m3, m4

F.

m1, m2, m3

 

Correct Answer: F

 

 

QUESTION 106

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

 

Arguments are passed to console applications as a Hashtable object.

 

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.

String Array

C.

StoredProcedureCollection

D.

Dictionary

 

Correct Answer: B

Explanation:

Arguments are passed to console applications as a String Array object.

 

 

QUESTION 107

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_image004

 

Correct Answer:

clip_image006

 

 

QUESTION 108

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

 

Converting a value type to a reference type in an object is called boxing.

 

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.

unboxing

C.

interfacing

D.

mapping

 

Correct Answer: A

Explanation:

Boxing is an implicit con
version of a Value Types (C# Reference) to the type object or to any interface type implemented by this value type.

 

 

QUESTION 109

Which three phrases are advantages of connection pooling? (Choose three.)

 

A.

reduces time to create a connection

B.

requires no configuration

C.

reduces load on the server

D.

improved scalability

E.

improved performance

 

Correct Answer: ADE

Explanation:

E: In connection pooling, after a connection is created, it is placed in the pool and it is used over again so that a new connection does not have to be established.

D: Connection pooling often improves application performance, concurrency and scalability.

A: Connection pooling also cuts down on the amount of time a user must wait to establish a connection to the database.

 

 

QUESTION 110

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.

polymorphism

B.

encapsulation

C.

superclassing

D.

overloading

 

Correct Answer: A

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.

 

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…