You use Visual Studio .NET to create a Window-based application using C# called
TestKingApp, that will be distributed to your client, Interactive Kids Huseum. You add a setup
project to your solution to create a distribution package. You need to ensure that your setup project will create a shortcut that will be available on your
customers Programs menus.
What should you do?
A -
Navigate to the Systems Folder folder in the File System on Target Machine hierarchy Create a shortcut your application and move the shortcut to the Users System Menu folder in the same hierarchy
B -
Navigate to the Install folder in the Custom Actions hierarchy Create a custom action that adds a shortcut to your applications executable file to the Users Programs Menu folder
C -
Navigate to the Application Folder folder in the File System on Target Machine hierarchy Create a shortcut to your application and move the shortcut to the Users Programs Menu folder in the same hierarchy
D -
Navigate to the Install folder in the Custom Actions hierarchy Create a custom action that adds the primary output from your application to the Users Programs Menu folder
2-
You use Visual Studio .NET to create a Window-based application for TestKing Inc.#
Which code segment will be displayed in the Visual Studio .NET output windows?
A -
Enter Validating TextChanged Leave Validated
B -
Enter TextChanged Leave Validating Validated
C -
Enter Validating Validated TextChanged Leave
D -
Enter TextChanged Validating Validated Leave
3-
You use Visual Studio .NET to create an accounting application. Within this
application, you are debugging #
What should you do?
A -
Add a watch expression for bValidationStatus
B -
Open the Locals window
C -
From the Command window, print the contents of bValidationStatus by using ValidationStatus
D -
Open the QuickWatch dialog box for bValidationStatus
4-
You are mainting a Visual Studio .NET application that was created by another
developer. The application functions are expected for
However, when you run the application to create a test invoice, the breakpoint is not invoked.
How should you correct this problem?
A -
SelectEnable All Breakpoints from the Debug menu
B -
Select Options from the Tools menu and then select the General object from the Debugging folder Choose the option In break mode, only stop execution of the current process
C -
Select Configuration Manager from the Build menu Set the Activate Solution Configuration option to Debug Set the Configuration property of the project to Debug
D -
Select Exceptions from the Debug menu Under heading If the exception is not handles, select Break into the Debugger
5-
You work as a software developer at TestKing.com. You create a form in your
Windows-based application. The form contains a command button named checkTestKingButton.
When checkTestKingButton is clicked, the application must call a prodedure named
GetTestKing.
Which two actions should you take?
A -
Add arguments to the checkTestKingButton_Click declaration to accept System.Object and System.EventArgs Add the following code segment at the end of the GetTestKing declaration: Handles check TestKingButton.Click
B -
Add the following code segment at the end of the GetTestKing declaration: Handles checkTestKingButton.Click Add the following code segment at the end of the checkTestKingButton_Click procedure: Handles GetTestKing
C -
Add the following to the check TestKingButton_Click declaration to accept System.Object and System.EventArgs Add code to GetTestKing to call check TestKingButton_Click
D -
Add arguments to the GetTestKing declaration to accept System.Object and System.EventArgs Add arguments to the check TestKingButton_Click declaration to acceptSystem.Object and System.EventArgs
6-
You develop a Windows-based application that contains a class named Contact.
Contact contains an event named ContactSaved. Many Contact object will be created from the
Contact class and inserted into an array named Contacts. You created a custom method named
named HandleContactSaved in your appication. You must ensure that your application calls
HandleContactSaved whenever the ContactSaved event is fired for any of the Contact objects.
What should you do?
A -
Add each Contact Object the Contacts array as it is created Call the AddHanler statement and pass the new Contact object and the address of HandleContactSaved
B -
Add each Contact object to the Contacts array as it is created Assign HandleContactSaved to the Handle property of the HandleRef structure
C -
Add the WithEvent keyword to declare each Contact object Add each Contact object to the Contacts array as it is created
D -
Add each Contact object to the Contacts array as it is created Add the Handles keyword to HandleContactSaved
7-
You develop a kiosk application TestKingKiosk that enables uses to register for an e-mail account in your domain. #
What should you do?
A -
Set the textName.Size property to ^ 1,20^
B -
Set the textEmail.Size property to ^ 1,34^
C -
Use an ErrorProvider control to prompt a revision if a user enters a name longer than 20 characters
D -
Change the code in textName_Leace to ensure that only the first 20 characters of textName. Text are used
8-
You use Visual Studio .NET to develop an application for users the intranet of your
company TestKing. All client computers use Internet Explorer as their Web browser. You plan to
create a setup packge to distribute your application. The setup package must fulfill the following
requirements:
- It is placed in a network folder that is accessible to users
- It is accessible through a link on your companys intranet
- It includes an unistaller for the application
Which type of project should you create?
A -
merge module project
B -
Web setup project
C -
CAB project
D -
setup project
9-
You use Visual Studio .NET to create a Window-based application. On main
application form, you create a TextBox control named textAreaCode. Users can enter a code #
In which event should you write the code to display the Help file?
A -
textAreaCode_HelpRequested
B -
textAreaCode_GiveFeeback
C -
textAreaCode_KeyDown
D -
textAreaCode_KeyUp
10-
You have a label control on your form that displays current stock quote. The background color of your form is customizable and you wish to show the background of the form
as much as you can. You need to display only the stock quote in the label control and nothing
else. Which code segment you need?