wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MTA 98-361 3

Total questions: 48

Worksheet time: 25mins

Name
Class
Date
1.

When a web service is referenced from a client application in Microsoft Visual Studio, which two items are

created? (Choose two.)

a)

stub

b)

a.wsdl file

c)

a proxy

d)

a .disco file

2.

All objects in .NET inherit from which item?

a)

the System.Object class

b)

a value type

c)

a reference type

d)

a reference type

3.

You have a class with a property.


You need to ensure that consumers of the class can write to the value of the property.


Which keyword should you use?

a)

value

b)

add

c)

get

d)

set

4.

You can only set the player's ranking once

a)

Yes

b)

No

5.

If you can call the MatchName method, the code will throw an exception

a)

Yes

b)

No

6.

You can change Key from "player" to "racer"

a)

Yes

b)

No

7.

You are creating an application that presents the user with a Windows Form.


Which event is triggered each time the Windows Form receives focus?

a)

Enter

b)

Paint

c)

Load

d)

Activated

8.

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

a)

halted

b)

running

c)

stopped

d)

paused

e)

starting

9.

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

10.

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

11.
a)

0

b)

10

c)

20

d)

30

12.

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

13.

You are designing a Windows Store application.


You need to design the application so that users can share content by connecting two or more devices by

physically tapping the devices together.


Which user experience (UX) guideline for Windows Store applications should you use?

a)

Share and data exchange

b)

location-awareness

c)

device-awareness

d)

proximity gestures

14.

How many sites are configured on server W2008R2

a)

0

b)

1

c)

5

d)

13

15.

How many applications are configured on server W2008R2

a)

0

b)

1

c)

5

d)

13

16.

XHTML attribute names must be in uppercase

a)

Yes

b)

No

17.

XHTML attribute values must be in quotation marks

a)

Yes

b)

No

18.

XHTML attribute minimization is forbidden

a)

Yes

b)

No

19.

You have a website that includes a form for usemame and password.


You need to ensure that users enter their username and password. The validation must work in all

browsers.


Where should you put the validation control?

a)

in both the client-side code and the server-side code

b)

in the client-side code only

c)

in the Web.config file

d)

in the server-side code only

20.

Which service can host an ASP.NET application?

a)

Internet Information Services

b)

Cluster Services

c)

Remote Desktop Services

d)

. Web Services

21.

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


A table whose attributes depend only on the primary key must be at least second normal form.


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 neede

b)

first

c)

third

d)

fourth

22.

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)

23.

Which three are valid SQL keywords?

a)

GET

b)

WHAT

c)

FROM

d)

SELECT

e)

WHERE

24.

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


The bubble sort algorithm steps through the list to be sorted, comparing adjacent items and swapping them

if they are in the wrong order


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)

merge

c)

library

d)

insertion

25.

Which two types of information should you include in an effective test case? (Choose two.)

a)

the expected result from testing the case

b)

multiple actions combined as a single step to test the case

c)

any pre-conditions necessary to test the case

d)

the stakeholders who originated the test case

26.

You are developing a webpage that enables students to manage races.


The webpage will display two lists: past races and upcoming races. The page also contains a sidebar with

contact information and a panel with social media settings that can be edited. Race results can be shared

on social media.


How many components will be on the webpage?

a)

2

b)

3

c)

4

d)

5

27.

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

28.

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

29.

The "is a" relationship between classes refers to composition

a)

Yes

b)

No

30.

The "has a" relationship between classes refers to inheritance

a)

Yes

b)

No

31.

Both composition and inheritance allow you to create sub-objects

a)

Yes

b)

No

32.

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

33.
a)

many-to-many

b)

one-to-many

c)

one-dimensional

d)

one-to-one

e)

multi-dimensional

34.

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


To improve performance, a SQL SELECT statement should use indexes.


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)

joins

c)

grouping

d)

ordering

35.

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?

36.

Which three items are benefits of encapsulation? (Choose three.)

a)

maintainability

b)

flexibility

c)

restricted access

d)

inheritance

e)

performance

37.

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

38.

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

39.

Within an XHTML document the XHTL DOCTYPE declaration is mandatory

a)

Yes

b)

No

40.

Within an XHTML document the XML namespace attribute in the html tag is mandatory

a)

Yes

b)

No

41.

Within an XHTML document the html, head, title, and body tags are mandatory

a)

Yes

b)

No

42.

You have a Microsoft ASP.NET web application.

You need to store a value that can be shared across users on the server.


Which type of state management should you use?

a)

Session

b)

ViewState

c)

Application

d)

Cookies

43.

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

44.

You are creating an application for a priority help desk center. The most recent call must be handled first.

Which data structure should you use?

a)

queue

b)

hashtable

c)

stack

d)

binary tree

45.

The primary goal of unit testing is to take the smallest piece of testable software in the application, isolate it form the remainder of the code, and determine whether it behaves exactly as expected

a)

Yes

b)

No

46.

In unit testing, each unit is tested separately before integrating the units into modules to test the interfaces between modules

a)

Yes

b)

No

47.

The driver that you use in unit testing sumulates a caring unit and the stub simulates a called unit

a)

Yes

b)

No

48.

You plan to create an application for your company. The application will run automated routines and write

the results to a text-based log file. Little or no user interaction is required.

Security requirements on the host computers prevent you from running applications on startup, and users

must be able to see the status easily on the screen. The host computers also have limited memory and

monitors that display only two colors. These computers will have no network connectivity.

Which type of application should you use for this environment?

a)

Directx

b)

Windows Service

c)

console-based

d)

Windows Store app