Download New Updated (June) Microsoft 98-361 Practice Test Topic 1, C# part01

Ensurepass

Exam A

 

QUESTION 1  (Topic 1)

 

You are migrating several HTML pages to your website. Many of these pages contain HTML <center> and <font> tags. Which XHTML document type declaration should you use?

 

clip_image002

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Answer: A

Explanation: The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.

 

XHTML 1.0 Transitional

 

This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML.

 

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

 

 

QUESTION 2

DRAG DROP  (Topic 1)

 

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

 

 

 

clip_image004

 

You need to implement the Add Race 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_image006

 

A.

 

B.

 

C.

 

D.

 

 

Answer:

 

 

QUESTION 3

HOTSPOT  (Topic 1)

 

 

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

 

clip_image008

 

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_image010

 

 

 

clip_image012

 

A.

 

B.

 

C.

 

D.

 

 

Answer:

 

 

QUESTION 4  (Topic 1)

 

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.

 

Answer: D

 

 

QUESTION 5  (Topic 1)

 

You have a table named ITEMS with the following fields:

 

ID (integer, primary key, auto generated)

Description (text)

 

 

Completed (Boolean)

 

You need to insert the following data in the table:

 

“Cheese”, False

 

Which statement should you use?

 

A.

INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, ‘Cheese’, 0)

B.

INSERT INTO ITEMS (Description, Completed) VALUES (‘Cheese’, 1)

C.

INSERT INTO ITEMS (10, Description, Completed) VALUES (NEWID(), ‘Cheese’, 6)

D.

INSERT INTO ITEMS (Description, Completed) VALUES (‘Cheese’, 0)

 

Answer: D

Explanation: The string values TRUE and FALSE can be converted to bit values: TRUE is converted to 1 and FALSE is converted to 0.

 

Incorrect:

Not A, not C: ID is autogenerated and should not be specified.

 

 

QUESTION 6  (Topic 1)

 

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

 

To minimize the amount of storage used on the hard drive by an application that generates many small files, you should make the partition as small as possible.

 

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.

file allocation table

C.

block size

D.

folder and file names

 

Answer: C

 

 

QUESTION 7  (Topic 1)

 

All objects in .NET inherit from which item?

 

A.

the System.Object class

B.

a value type

C.

a reference type

D.

the System.Type class

 

Answer: A

Explanation: The System.Object class supports all classes in the .NET Framework class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all classes in the .NET Framework; it is the root of the type hierarchy.

 

 

QUESTION 8  (Topic 1)

 

Which of the following must exist to inherit attributes from a particular class?

 

A.

Public properties

B.

A has-a relationship

C.

An is-a relationship

D.

Static members

 

Answer: A

Explanation: There must be some public properties that can be inherited.

 

 

QUESTION 9  (Topic 1)

 

Which language was designed for the primary purpose of querying data, modifying data, and managing databases in a Relational Database Management System?

 

A.

Java

B.

SQL

C.

C++

D.

Visual Basic

 

Answer: B

Explanation: SQL is a special-purpose programming language designed for managing data held in a relational database management system (RDBMS).

 

 

QUESTION 10  (Topic 1)

 

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

 

Answer: A

Explanation: Boxing is an implicit conversion of a Value Types (C# Reference) to the type object or to any interface type implemented by this value 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…