Microsoft 70-548 Real Exam Questions
PRO: Designing and Developing Windows-Based Applications by Using the Microsoft .NET Framework
When the exam begins, you can choose the programming language in which the code segments will appear. The available code languages for this exam are:
-
Microsoft Visual Basic 2005
-
Microsoft Visual C# 2005
-
Microsoft Visual C++ 2005
1: You create Microsoft Windows-based client applications. You are designing a smart client application for warehouse packaging clerks. The application must permit the clerks to add and delete items in the packaging invoices they create at their workstations. Each workstation has only a keyboard and a hand-held barcode scanner for input. You need to design the user interface for the application such that the clerks can add and delete items with minimum effort. What should you do?
A.Add to the form a context menu that has Add to Invoice and Remove from Invoice menu items.
B.Add to the form a menu that has Add to Invoice and Remove from Invoice menu items.
C.Add to the form a KeyPress event handler that toggles between Add to Invoice and Remove from Invoice modes.
D.Add to the form a ToolStrip control that has a button that toggles between Add to Invoice and Remove from Invoice modes.
Correct Answers: C
2: You create Microsoft Windows-based applications. You are enhancing an application for a medical transcription service. Users need to view a long list of medical codes and descriptions. The users displays are set at 800 x 600 resolution. The existing application requires the user to regularly obtain printouts that contain pages of medical codes. These medical codes frequently change. The application must be updated to assist users in entering medical codes into a database. The application must enable the user to view and enter medical codes and descriptions on screen at the same time. You need to evaluate the user environment and recommend a design that best meets the requirements of the users. What should you recommend?
A.Design a form that contains a ListBoxControl control. Load the medical codes into the ListBoxControl control. Place the ListBoxControl control next to the input controls that accept the medical input.
B.Design a form that accepts the medical input. Create a context menu for this form to display all the medical codes when the user right-clicks.
C.Design a form that has a left and a right panel by using a Split Container control. Display the list of medical codes and descriptions on the left panel and all input controls on the right panel.
D.Design a form that contains a Table Layout control to display the medical codes in a two column table. Next to the Table Layout control display the medical data input controls.
Correct Answers: C
3: You create Microsoft Windows-based applications. You are developing an application that will be used by stock traders. The project scope contains the following requirements:
The application must permit users to set thresholds for minimum and maximum values for different stocks.
The application must alert the user when stock prices reach the pre-defined thresholds.
The application must permit the user to either buy or sell stock and specify the quantity of stock to trade.
The application must permit multiple alerts to be displayed simultaneously.
You need to decide how to implement the alert mechanism. What should you do?
A.Use a modal dialog box to show each alert and to permit the user to trade stocks.
B.Use a message box to show each alert and the main application form to permit the user to trade stocks.
C.Use a BalloonTip control to display multiple alerts and the main application form to permit the user to trade stocks.
D.Use a custom BalloonTip control to display multiple alerts and to permit the user to trade stocks.
Correct Answers: D
4: You create Microsoft Windows-based applications. You create an application that loads bulk weather data into a data warehouse for analysis. The application is used by data-entry technicians. One data-entry technician is visually impaired. The data-entry technicians provide a large flat file as the source of the data, and they typically minimize the application so that they can use other programs while the data is being loaded. The data entry technicians must load as many data files as possible during the course of their work day. The user interface contains a progress bar control that has a text label. The text label indicates the current percentage of progress. You need to provide appropriate status feedback to the user by indicating that the process is complete. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A.Write code to change the title bar text of the application when the process is complete.
B.Write code to reset the progress bar to its minimum value.
C.Write code to play a sound that indicates the process is complete.
D.Write code to update the status bar text to indicate the number of records processed.
E.Write code to display an animated balloon tip when the process completes.
Correct Answers: C E
5: You create Microsoft Windows-based applications. You participate in the planning phase of an incident tracking tool for technical support analysts.
The incident tracking tool must meet the following requirements:
Technical support analysts must open multiple incidents simultaneously.
The application can run only one instance at a time.
Users must be able to adjust the order and layout of the incident screens.
You need to design an application user interface that meets these requirements with the minimum amount of code. Which action should you perform?
A.Create a Multiple Document Interface (MDI) application with a menu strip. Utilize the MdiWindowListItem property of the menu strip to automatically merge MDI child forms to the Window list.
B.Create a Single Document Interface application that launches multiple forms. Write code to enable the user to toggle between the active forms.
C.Create a Multiple Document Interface application with a menu strip. Write code to add child Windows to the menu strip to add MDI child forms to the Window list.
D.Create a Single Document Interface application. Create a custom-dockable control that can display each support incident.
Correct Answers: A
6: You create Microsoft Windows-based applications. You are designing an application that streams multimedia data. The application must have minimal impact on the network. The application will be used by Microsoft Windows XP Professional client computers and Microsoft Windows Server 2003 client computers. The media you need to use is stored on a file server in a nonproprietary raw video format and the files are unedited. You need to choose an appropriate design modification that requires the least amount of programming effort. What should you do?
A.Write code to convert the video files to Microsoft Windows Media Video (WMV) format in real time.
B.Convert the video files to Microsoft Windows Media Video (WMV) format, and resample the video to a bit rate that is acceptable.
C.Write a custom file format filter for Microsoft DirectShow, and distribute the filter to the client computers.
D.Convert the video files into separate audio and video files.
Correct Answers: B
7: You create Microsoft Windows-based applications. You are designing a user interface for a multi-page questionnaire.
You need to ensure that the user interface meets the following business requirements:
The user interface is reusable.
The user interface requires the user to select three out of five choices for each question.
The user interface permits the user to check a box to select the correct answer or answers.
What should you do?
A.Create a custom Windows user control that inherits from a CheckedListBox control.
B.Use a multi-select ListBox control that displays the possible answers.
C.Use a TextBox control for the user to enter answers separated by commas.
D.Use a CheckedListBox control to display the possible answers.
Correct Answers: A
8: You create Microsoft Windows-based applications. You are designing an application that permits insurance agents to provide insurance quotes to prospective customers. The application permits insurance agents to survey the customer and enter the customers responses into the application. Each customer response adjusts the computed level of risk for the customer depending on how the customer answers the question.
The application must meet the following requirements:
The application must continuously display a thermometer indicating the level of risk.
The prospective customers risk must be updated after each question.
The application must ensure that the user interacts with the thermometer component as little as possible.
You need to evaluate a user interface design for the thermometer component of the application. What should you do?
A.Design the thermometer component as a movable tool Window that is always displayed as the top most Window.
B.Design the thermometer component as a part of the main questionnaire form that is always visible.
C.Design the thermometer component to be displayed as a modal Window when the insurance agent clicks a button.
D.Design the thermometer component to display a non-modal Window that can be dismissed by the insurance agents when they are ready to ask the next question.
Correct Answers: B
9: You create Microsoft Windows-based applications. You create an application that requires the user to be authenticated by a domain controller. The application consumes Web services. During acceptance testing, you detect that for some users a security exception is thrown while calling a method. The users should have access to the method. The method contains the following lines of code.
[PrincipalPermission(SecurityAction.Demand,Role=Manager)]
public void ApproveOrder(int ordered) {
…
}
You need to resolve this bug. What should you do?
A.Ask an administrator to enable Windows Integrated authentication in IIS.
B.Modify the code access security machine policies for the computer running the code such that the code is permitted to execute.
C.Change the SecurityAction from Demand to Deny.
D.Ask an administrator to add the users to the YourDomain\Manager group.
Correct Answers: D
10: You create Microsoft Windows-based applications. You are creating a sales management application that accesses data from a Microsoft SQL Server 2005 database. The application uses Microsoft Windows Authentication Mode to access SQL Server 2005. After testing, the design team moves the database from the test server to the production server. The design team modifies the connection string on the application. You test the new configuration on your computer and the application runs successfully. You deploy the application to five client computers. The five client computers use other applications on the network that access different databases on the production server by using Windows Authentication Mode. You evaluate the application design and the production configuration. You conclude that the application will not connect to the database. What is the most likely cause of the problem?
A.Users do not have valid logons for SQL Server.
B.Users do not have the correct permissions for the sales database.
C.Client computers are not configured correctly to use the network.
D.The database server is not configured correctly to use the network.
Correct Answers: B
Download | Password: certificatexam.com