Frage 1
Frage
How should you configure an application to consume a Web service?
Antworten
-
Add the Web service to the development computer.
-
Add a reference to the Web service in the application.
-
Add a reference to the application in the Web service.
-
Add the Web service code to the application.
Frage 2
Frage
You are writing a Web application that processes room reservation requests. You need to
verify that the room that a guest has selected is not already reserved by another guest.
Which type of programming should you use to determine whether the room is still available
when the request is made?
Antworten
-
functional
-
dynamic
-
in-browser
-
server-side
Frage 3
Frage
You are developing an application to display track and field race results. The application must display the race results twice. The first time it must display only the winner and runner-up. The second time it must display all participants. The code used to display results is shown below.
Antworten
-
1-break
-
1-yield return
-
1-return
-
2-yield return
-
1-yield break
-
2-break
-
3-yield return
-
2-return
-
3-break
-
3-return
-
2-yield break
-
3-yield break
Frage 4
Frage
A data warehouse database is designed to:
Antworten
-
Enable business decisions by collecting, consolidating, and organizing data.
-
Support a large number of concurrent users.
-
Support real-time business operations.
-
Require validation of incoming data during real-time business transactions.
Frage 5
Frage
Which language was designed for the primary purpose of querying data, modifying data, and managing databases in a Relational Database Management System?
Antworten
-
Java
-
SQL
-
C++
-
Visual Basic
Frage 6
Frage
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.
Antworten
-
No change is needed
-
unboxing
-
interfacing
-
mapping
Frage 7
Frage
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Frage 8
Frage
In your student directory database, the Students table contains the following fields:
firstName
lastName
emailAddress
telephoneNumtoer
You need to retrieve the data from the firstName, lastName, and emailAddress fields for all
students listed in the directory. The results must be in alphabetical order according to
lastName and then firstName.
Which statement should you use?
Frage 9
Frage
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?
Antworten
-
Directx
-
Windows Service
-
console-based
-
Windows Store app
Frage 10
Frage
You are developing an application that tracks tennis matches. A match is represented by
the following class:
Frage 11
Frage
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?
Antworten
-
LocalSystem
-
User
-
NetworkService
-
LocalService
Frage 12
Frage
The purpose of the Finally section in an exception handler is to:
Antworten
-
Execute code regardless of whether an exception is thrown.
-
Conclude the execution of the application.
-
Execute code only when an exception is thrown.
-
Break out of the error handler.
Frage 13
Frage
Which three are valid SQL keywords? (Choose three.)
Antworten
-
GET
-
WHAT
-
FROM
-
SELECT
-
WHERE
Frage 14
Frage
You are creating a variable for an application.
You need to store data that has the following characteristics in this variable:
✑ Consists of numbers and characters
✑ Includes numbers that have decimal points
Which data type should you use?
Antworten
-
String
-
Float
-
Char
-
Decimal
Frage 15
Frage
In which order do the typical phases of the Software Development Life Cycle occur?
Antworten
-
Development, design, requirements gathering, and testing
-
Design, requirements gathering, development, and testing
-
Design, development, requirements gathering, and testing
-
Requirements gathering, design, development, and testing
Frage 16
Frage
Which service can host an ASP.NET application?
Frage 17
Frage
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?
Antworten
-
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
Frage 18
Frage
You are creating an application for a help desk center. Calls must be handled in the same order in which they were received. Which data structure should you use?
Antworten
-
Binary tree
-
Stack
-
Hashtable
-
Queue
Frage 19
Frage
Which programming language is characterized as client-side, dynamic and weakly typed?
Antworten
-
JavaScript
-
HTML
-
ASP.NET
-
C#
Frage 20
Frage
You are creating a database for a student directory. The Students table contains the following fields:
Antworten
-
WHERE Students SELECT *
-
SELECT firstName, lastName, telephoneNumber FROM Students
-
SELECT firstName, lastName, telephoneNumber IN Students
-
SELECT * FROM Students
-
WHERE Students SELECT firstName, lastName, telephoneNumber
Frage 21
Frage
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.
Frage 22
Frage
You create an object of type ANumber. The class is defined as follows.
Frage 23
Frage
Your application must pull data from a database that resides on a separate server. Which action must you perform before your application can retrieve the data?
Antworten
-
Configure the network routers to allow database connections.
-
Install the database on each client computer.
-
Create a routine that bypasses firewalls by using Windows Management Instrumentation (WMI).
-
Establish a connection to the database by using the appropriate data provider.
Frage 24
Frage
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?
Frage 25
Frage
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?
Antworten
-
multiple inheritance
-
polymorphism
-
data hiding
-
encapsulation
Frage 26
Frage
How many parameters can a default constructor have?
Frage 27
Frage
Which term is used to describe a class that inherits functionality from an existing class?
Antworten
-
Base class
-
Inherited class
-
Derived class
-
Superclass
Frage 28
Frage
You need to allow a consumer of a class to modify a private data member. What should you do?
Antworten
-
Assign a value directly to the data member.
-
Provide a private function that assigns a value to the data member.
-
Provide a public function that assigns a value to the data member.
-
Create global variables in the class.
Frage 29
Frage
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?
Frage 30
Frage
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.
Frage 31
Frage
All objects in .NET inherit from which item?
Antworten
-
the System.Object class
-
a value type
-
a reference type
-
the System.Type class
Frage 32
Frage
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.
Frage 33
Frage
You are reviewing a design for a database. A portion of this design is shown in the exhibit. Note that you may choose to view either the Crow's Foot Notation or Chen Notation version of the design. (To view the Crow's Foot Notation, click the Exhibit A button. To view the Chen Notation, click the Exhibit B button.)
Antworten
-
many-to-many
-
one-to-many
-
one-dimensional
-
one-to-one
-
multi-dimensional
Frage 34
Frage
You need to group all the style settings into a separate file that can be applied to all the pages in a Web application. What should you do
Frage 35
Frage
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.
Antworten
-
No change is needed
-
first
-
third
-
fourth
Frage 36
Frage
This question requires that you evaluate the underlined text to determine if it is correct.
A piece of text that is 4096 bytes or smaller and is stored on and retrieved from the client computer to maintain state is known as a ViewState.
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.
Antworten
-
No change is needed
-
cookie
-
form post
-
QueryString
Frage 37
Frage
You are extending an application that stores and displays the results of various types of
foot races. The application contains the following definitions:
public interface IDisplayResult
{
void Display();
}
public class Race
{
public int Seconds;
public virtualvoid Display()
{
Console.WhiteLine(Seconds);
}
}
The following code is used to display the result for a race:
var r1 = new FootRace();
var r2 = r1 as IDisplayResult;
r1.Seconds = 99;
r2.Display();
r1.Display();
r1.DisplayRaw();
The contents of the console must be as follows:
You need to implement the FootRace class.
Match the method declaration to the method body, (To answer, drag the appropriate declaration from the column on the left to its body on the right. Each declaration may be used once, more than once, or not at all. Each correct match is worth one point.)
Frage 38
Frage
You have a class named Truck that inherits from a base class named Vehicle. The Vehicle class includes a protected method named brake (). How should you call the Truck class implementation of the brake () method?
Antworten
-
Vehicle. brake ();
-
This. brake ();
-
MyBase. brake();
-
Truck. brake ();
Frage 39
Frage
Which two types of information should you include in an effective test case? (Choose two.)
Antworten
-
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
Frage 40
Frage
Where must Internet Information Services (IIS) be installed in order to run a deployed ASP.NET application?
Antworten
-
on the computer that you plan to deploy from
-
on the computer that hosts the application
-
on the Application Layer Gateway Service
-
on the client computers
Frage 41
Frage
You are creating the necessary variables for an application. The data you will store in these variables has the following characteristics:
✑ Consists of numbers
✑ Includes numbers that have decimal points
✑ Requires more than seven digits of precision
You need to use a data type that will minimize the amount of memory that is used. Which data type should you use?
Antworten
-
decimal
-
double
-
byte
-
float
Frage 42
Frage
What are two methods that can be used to evaluate the condition of a loop at the start of each iteration? (Each correct answer presents a complete solution. Choose two. )
Antworten
-
If
-
Do. . . While
-
For
-
While
Frage 43
Frage
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Frage 44
Frage
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?
Antworten
-
Share and data exchange
-
location-awareness
-
device-awareness
-
proximity gestures
Frage 45
Frage
What is displayed when you attempt to access a Web service by using a Web browser?
Antworten
-
a listing of methods that are available in the Web service
-
a directory listing of the Web service's application structure
-
an error page explaining that you have accessed the Web service incorrectly
-
a visual depiction of your preliminary connection to the Web service
Frage 46
Frage
In this XHTML code sample, what will cause an error?
Antworten
-
All tags are not in uppercase.
-
The body tag is missing a background attribute.
-
The line break tag is incorrectly formatted.
-
The HTML tags do not read XHTML.
Frage 47
Frage
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?
Antworten
-
queue
-
hashtable
-
stack
-
binary tree
Frage 48
Frage
You execute the following code.
Frage 49
Frage
You need to create a stored procedure that passes in a person's name and age. Which statement should you use to create the stored procedure?
Antworten
-
Option A
-
Option B
-
Option C
-
Option D
Frage 50
Frage
You are reviewing the architecture for a system that allows race officials to enter the results of 5K race results. The results are then made available to students using a web application. The architecture is shown below:
Antworten
-
satellite link
-
student computer
-
race official computer
-
web application server
-
satellite link
-
race officials
-
results servers
-
web application servers