WorksheetsMTA 98-361 3
Total questions: 48
Worksheet time: 25mins
When a web service is referenced from a client application in Microsoft Visual Studio, which two items are
created? (Choose two.)
stub
a.wsdl file
a proxy
a .disco file
All objects in .NET inherit from which item?
the System.Object class
a value type
a reference type
a reference type
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?
value
add
get
set
You can only set the player's ranking once
Yes
No
If you can call the MatchName method, the code will throw an exception
Yes
No
You can change Key from "player" to "racer"
Yes
No
You are creating an application that presents the user with a Windows Form.
Which event is triggered each time the Windows Form receives focus?
Enter
Paint
Load
Activated
What are the three basic states that a Windows service can be in? (Choose three.)
halted
running
stopped
paused
starting
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?
LocalSystem
User
NetworkService
LocalService
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.
No change is needed
String Array
StoredProcedureCollection
Dictionary
0
10
20
30
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.
No change is needed
file allocation table
block size
folder and file names
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?
Share and data exchange
location-awareness
device-awareness
proximity gestures
How many sites are configured on server W2008R2
0
1
5
13
How many applications are configured on server W2008R2
0
1
5
13
XHTML attribute names must be in uppercase
Yes
No
XHTML attribute values must be in quotation marks
Yes
No
XHTML attribute minimization is forbidden
Yes
No
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?
in both the client-side code and the server-side code
in the client-side code only
in the Web.config file
in the server-side code only
Which service can host an ASP.NET application?
Internet Information Services
Cluster Services
Remote Desktop Services
. Web Services
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.
No change is neede
first
third
fourth
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?
INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese', 0)
INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 1)
INSERT INTO ITEMS (10, Description, Completed) VALUES (NEWID(), 'Cheese', 6)
INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0)
Which three are valid SQL keywords?
GET
WHAT
FROM
SELECT
WHERE
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.
No change is needed
merge
library
insertion
Which two types of information should you include in an effective test case? (Choose two.)
the expected result from testing the case
multiple actions combined as a single step to test the case
any pre-conditions necessary to test the case
the stakeholders who originated the test case
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?
2
3
4
5
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.
No change is needed
unboxing
interfacing
mapping
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?
multiple inheritance
polymorphism
data hiding
encapsulation
The "is a" relationship between classes refers to composition
Yes
No
The "has a" relationship between classes refers to inheritance
Yes
No
Both composition and inheritance allow you to create sub-objects
Yes
No
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.
No change is needed
normalization
a database management system (DBMS)
metacontent
many-to-many
one-to-many
one-dimensional
one-to-one
multi-dimensional
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.
No change is needed
joins
grouping
ordering
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?
uLong
DateTime
SByte
DateTimeOffset?
Which three items are benefits of encapsulation? (Choose three.)
maintainability
flexibility
restricted access
inheritance
performance
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.
No change is needed
can be overridden with its own implementation by a derived class
must be overridden in any non-abstract class that directly inherits from that class
cannot be overridden with its own implementation by a derived class
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.
No change is needed
serialization
decoding
encoding
Within an XHTML document the XHTL DOCTYPE declaration is mandatory
Yes
No
Within an XHTML document the XML namespace attribute in the html tag is mandatory
Yes
No
Within an XHTML document the html, head, title, and body tags are mandatory
Yes
No
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?
Session
ViewState
Application
Cookies
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.
No change is needed
Server.Transfer method
Server.Execute method
meta http-equiv="refresh" tag
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?
queue
hashtable
stack
binary tree
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
Yes
No
In unit testing, each unit is tested separately before integrating the units into modules to test the interfaces between modules
Yes
No
The driver that you use in unit testing sumulates a caring unit and the stub simulates a called unit
Yes
No
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?
Directx
Windows Service
console-based
Windows Store app
