Exampdf 98 362 questions and answers

Page 1

Exampdf finally released Symantec promotion activity. From July 16 to August 8 you can enjoy 10% discount on all Symantec exams (coupon code: Symantec). Just go to Exampdf promotion page to find more information. At Exampdf Bundles page you can get additional big sale. Microsoft certifications contain: MCP, MTA, MCSE, MCDST, MCSA, MCSD, and so on. Hot Microsoft exams at Exampdf: 74-343 74-344 70-331 70-332


The safer , easier way to help you pass any IT exams.

Exam

: 98-362

Title

: Windows Development Fundamentals

Version : Demo

1/6


The safer , easier way to help you pass any IT exams.

1.You are creating a Windows application. You need to define the color behavior of a LinkLabel control in the application. Which property can be used to do this? Each correct answer represents a part of the solution. Choose all that apply. A. LinkButton B. ActiveLinkColor C. VisitedLinkColor D. LinkVisited E. DisabledLinkColor Answer: B and C 2.You are creating a Windows application. The application will use a SQL Server 2000/2005 database. You need to enable connection pooling on for the SQL Server 2000/2005 database? What are the recommended techniques that you will use? Each correct answer represents a part of the solution. Choose all that apply. A. Use the Connection Pooling tab of the ODBC Data Source Administrator dialog box B. Open a connection and not explicitly disable pooling C. Use SqlDataSource in the connection string D. Use Application tuning E. Set the connection string keyword Pooling to true in the connection string Answer: E and B 3.What are the different techniques of adding a control to a Windows Form? Each correct answer represents a complete solution. Choose two. A. Select a control in the View > Tool Control menu and draw it on the form with the help of the mouse. B. Select a control in the View > Tool Control menu and drag it to the form. C. Select View > Toolbox menu and double-click the control to be added. D. Select View > Toolbox menu, select the control to be added and double-click the form. Answer: C and D 4.Which of the following statements about exception handling are true? Each correct answer represents a complete solution. Choose all that apply. A. A catch block following a try block may or may not have an argument. B. A try block may be followed by a finally block, in which case, there may be no catch block. C. A try-catch block can be followed by multiple finally blocks. D. A try block can be followed by multiple catch blocks. Answer: D, A, and B 5.Samantha works as a Software Developer for SamTech Inc. She develops a Windows-based application, named App1. The application has a form named MyForm. The form has several controls such as TextBox, Command Button, etc. She wants to use the ToolTip component so that whenever a user places a mouse over a control for a few seconds, a message displays about the control. Choose in the correct order the properties of the ToolTip component she will set to accomplish the task.

2/6


The safer , easier way to help you pass any IT exams.

Answer:

6.You are creating a Windows application using Visual Studio .NET. The Windows application contains an entry form. The entry form has ten controls for user input. You create a method named Validate that holds the code for validating the values entered in each control. You need to validate the values entered in a control as soon as the focus moves out of that control. In which of the following events will you call the Validate method? A. LostFocus B. Leave C. GotFocus D. Enter Answer: A 7.You are creating a Windows application using Visual Studio .NET. You create a ServiceBase based class and want to use commands named Command1, Command2, and Command3 in it. Which of the following methods of the ServiceBase class will you use to process the request to execute the commands? A. OnContinue B. OnPowerEvent C. OnStart D. OnCustomCommand Answer: D 8.What tasks are performed in the Design view of an Access form? Each correct answer represents a

3/6


The safer , easier way to help you pass any IT exams.

complete solution. Choose all that apply. A. Adjust the size of sections of design grid. B. Add fields from the Field List. C. Modify the control's appearance. D. Organize controls for assisting data access control. E. Apply a new theme to the form. Answer: A, E, and B 9.How many times does the regex expression [1-5].[54] match in the following string? 215 517 2516 51 A. 2 B. 3 C. 5 D. 1 E. 4 Answer: A 10.Maria works as a Software Developer for McRobert Inc. She develops an application, named App1, using Visual Studio .NET. She uses the OleDbTransaction class to run a SQL transaction. She wants that after the execution of the transaction all unmanaged resources used by the transaction should be released. Which of the following methods will she use to accomplish the task? A. Begin B. Dispose C. Rollback D. Commit Answer: B 11.You are creating a Windows application using Visual Studio .NET. You need to implement keyboard events in the form to enable user input from the keyboard instead of the mouse pointer. Choose and Reorder the keyboard events in chronological order.

Answer:

4/6


The safer , easier way to help you pass any IT exams.

12.You are designing a Windows application and want to host it using Windows service. Which of the following are the requirements for a Windows Service application? Each correct answer represents a complete solution. Choose two. A. The services must be created in a Windows Forms application project. B. The services must be created in a Windows service application project. C. The application class must inherit from the ServiceBase class. D. The application class must inherit from the Control class. Answer: B and C 13.You are creating a Windows application. You need to respond to mouse clicks. Which Button events can be used to respond to mouse clicks? Each correct answer represents a complete solution. Choose two. A. Button.Click B. Button.MouseEnter C. Button.MouseDown D. Button.MouseUp Answer: A and C 14.Julia develops a Windows application using Visual Studio .NET. The application accesses a database using ADO.NET to generate accounts report. She decides to use a SqlDataReader object named MySqlReader to access data. Julia needs to write a statement to retrieve data from the Name field of Table1 that is stored within the MySqlReader object. Which of the following code segments will she use to accomplish this? A. MySqlReader["Name"] B. MySqlReader.Columns["Name"] C. MySqlReader.Fields["Name"] D. MySqlReader.Rows[0].Item["Name"] Answer: A 15.David works as a Software Developer for Tech Zen Inc. He develops a Windows-based application, named App1, using Visual Studio .NET. He creates an application named MyApp1. He wants to add an existing CAB project to the application. Which of the following steps should he take to accomplish the task?

5/6


The safer , easier way to help you pass any IT exams.

A. On the File menu, click New CAB Project. Add the project to the application. B. In the Solution Explorer, select CAB Project. C. On the File menu, click Add and click Existing Project. Browse to the location of the existing CAB project and click Open. D. On the File menu, click New and then Click Project. In the New Project dialog box in the project types pane, open Other Project Types, and select Setup and Deployment Projects. In Visual Studio installed Templates, choose CAB Project. Answer: C

6/6


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.