This question requires that you evaluate the underlined text to determine if it is correct. The benefit of using a transaction when updating multiple tables is that the update cannot fail. 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
-
B
succeeds or fails as a unit
-
C
finishes as quickly as possible
-
D
can be completed concurrently with other transactions
Reveal answer details
Close answer details
You are creating an application for computers that run Windows XP or later. This application must run after the computer starts. The user must not be aware that the application is running. The application performs tasks that require permissions that the logged-in user does not have. Which type of application allows this behavior?
-
A
Windows Service application
-
B
Windows Forms application
-
C
-
D
Terminate-and-stay-resident (TSR) program
Reveal answer details
Close answer details
Where must Internet Information Services (IIS) be installed in order to run a deployed ASP. NET application?
-
A
on the computer that you plan to deploy from
-
B
-
C
on the computer that hosts the application
-
D
on the Application Layer Gateway Service
Reveal answer details
Close answer details
Correct answerC
ExplanationIIS is run on the web server. The web server is hosting the application.
Your database administrators will not allow you to write SQL code in your application. How should you retrieve data in your application?
-
A
Script a SELECT statement to a file.
-
B
-
C
-
D
Reference an index in the database.
Reveal answer details
Close answer details
Correct answerC
ExplanationThe SQL will only be inside the stored procedure.
HOTSPOT 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:  Use the drop-down menus to select the answer choice that answers each question. Each correct selection is worth one point.  
Reveal answer details
Close answer details
Which function does Simple Object Access Protocol (SOAP) provide when using Web services?
-
A
directory of registered Web services
-
B
-
C
-
D
model for describing Web services
Reveal answer details
Close answer details
Correct answerB
ExplanationSOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of web services in computer networks. It relies on XML Information Set for its message format, and usually relies on other application layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission.
HOTSPOT For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. 
Reveal answer details
Close answer details
Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
DRAG DROP 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.  You need to implement the RankingsO function. Complete the function to meet the requirements. (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.) 
Reveal answer details
Close answer details
Question 10
Single choice
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
-
B
-
C
a database management system (DBMS)
-
D
Reveal answer details
Close answer details
Question 11
Single choice
This question requires that you evaluate the underlined text to determine if it is correct. The default entry point for a console application is the Class method. 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
-
B
-
C
-
D
Reveal answer details
Close answer details
HOTSPOT For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. 
Reveal answer details
Close answer details
Question 13
Single choice
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
-
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
Reveal answer details
Close answer details
Question 14
Single choice
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
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 15
Single choice
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 (Description, Completed) VALUES ('Cheese', 1)
-
B
INSERT INTO ITEMS (ID, Description, Completed) VALUES (NEWID(), 'Cheese', 0)
-
C
INSERT INTO ITEMS (ID, Description, Completed) VALUES (1, 'Cheese", 0)
-
D
INSERT INTO ITEMS (Description, Completed) VALUES ('Cheese', 0)
Reveal answer details
Close answer details
HOTSPOT You are creating a Windows Store application that uses the following gesture:  Use the drop-down menus to select the answer choice that completes each statement. Each correct selection is worth one point.  
Reveal answer details
Close answer details
Question 17
Single choice
You are developing an application that tracks tennis matches. A match is represented by the following class:  A match is created by using the following code:  How many times is the Location property on the newly created Match class assigned?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 18
Single choice
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
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 19
Single choice
The purpose of the Catch section in an exception handler is to:
-
A
Conclude the execution of the application.
-
B
Break out of the error handler.
-
C
Execute code only when an exception is thrown.
-
D
Execute code regardless of whether an exception is thrown.
Reveal answer details
Close answer details
Question 20
Single choice
You create an object of type ANumber. The class is defined as follows.  The code is executed as follows. Dim mynumber As ANumber = new ANumber(3); What is the value of_number after the code is executed?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 21
Single choice
Simulating the final design of an application in order to ensure that the development is progressing as expected is referred to as:
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 22
Single choice
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
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 23
Single choice
You execute the following code.  How many times will the word Hello be printed?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 24
Single choice
You are creating an application that presents the user with a Windows Form. You need to configure the application to display a message box to confirm that the user wants to close the form. Which event should you handle?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationThe Closing event occurs as the form is being closed.
Question 25
Single choice
Which language allows you to dynamically create content on the client side?
-
A
Extensible Markup Language (XML)
-
B
Cascading Style Sheets (CSS)
-
C
Hypertext Markup Language (HTML)
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationJavaScript (JS) is a dynamic computer programming language. It is most commonly used as part of web browsers, whose implementations allow client-side scripts to interact with the user, control the browser, communicate asynchronously, and alter the document content that is displayed.
Question 26
Single choice
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?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 27
Single choice
You are creating an application that presents users with a graphical interface in which they can enter data. The application must run on computers that do not have network connectivity. Which type of application should you choose?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationUse Windows Forms when a GUI is needed.
Question 28
Multiple choice
When a web service is referenced from a client application in Microsoft Visual Studio, which two items are created? (Choose two.)
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 29
Single choice
You need to create a property in a class. Consumers of the class must be able to read the values of the property. Consumers of the class must be prevented from writing values to the property. Which property procedure should you include?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 30
Single choice
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.)   Which term is used to describe the relationship between Customer and Order?
-
A
-
B
-
C
-
D
-
E
Reveal answer details
Close answer details
Question 31
Single choice
Which language uses Data Definition Language (DDL) and Data Manipulation Language (DML)?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 32
Single choice
Which type of application has the following characteristics when it is installed? Runs continuously in the background by default when the startup type is set to automatic Presents no user interface 
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerC
ExplanationA Windows service runs in the background and has no interface.
Question 33
Single choice
Which function does Simple Object Access Protocol (SOAP) provide when using Web services?
-
A
-
B
model for describing Web services
-
C
directory of registered Web services
-
D
Reveal answer details
Close answer details
Correct answerA
ExplanationSOAP, originally defined as Simple Object Access Protocol, is a protocol specification for exchanging structured information in the implementation of web services in computer networks. It relies on XML Information Set for its message format, and usually relies on other application layer protocols, most notably Hypertext Transfer Protocol (HTTP) or Simple Mail Transfer Protocol (SMTP), for message negotiation and transmission.
Question 34
Single choice
In the life cycle of an ASP. NET Web page, which phase follows the SaveStateComplete phase?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerD
ExplanationThe SaveStateComplete event is raised after the view state and control state of the page and controls on the page are saved to the persistence medium. This is the last event raised before the page is rendered to the requesting browser.
HOTSPOT For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point. 
Reveal answer details
Close answer details
Question 36
Single choice
The purpose of the Catch section in an exception handler is to:
-
A
Break out of the error handler.
-
B
Conclude the execution of the application.
-
C
Execute code only when an exception is thrown.
-
D
Execute code regardless of whether an exception is thrown.
Reveal answer details
Close answer details
Question 37
Multiple choice
What are two advantages of normalization in a database? (Choose two)
-
A
prevents data inconsistencies
-
B
reduces schema limitations
-
C
minimizes impact of data corruption
-
D
decreases space used on disk
Reveal answer details
Close answer details
Question 38
Single choice
Which of the following must exist to inherit attributes from a particular class?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Correct answerB
ExplanationVisual Basic has been a pioneer of binary code reuse -- controls being the classic example. You reuse the code in a control by placing an instance of the control on your form. This is known as a containment relationship or a has-arelationship; that is, the form contains or has a CommandButton.
Question 39
Single choice
You need to create an application that processes data on a last-in, first-out (LIFO) basis. Which data structure should you use?
-
A
-
B
-
C
-
D
Reveal answer details
Close answer details
Question 40
Single choice
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
-
B
-
C
-
D
Reveal answer details
Close answer details
DRAG DROP You are developing an application that displays a list of race results. The race results are stored in the following class:  The code that manages the list is as follows:  You need to implement the AddRace 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.) 
Reveal answer details
Close answer details
Question 42
Single choice
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
-
B
-
C
-
D
Reveal answer details
Close answer details
|