Practice Questions

Question 1

Your application displays information about a user 's appointments on a Windows form. What should you do to ensure accessibility for this form? [Select two.]

  • A. Remove any background image or patterns from the form.

  • B. Use only 14-point or larger fonts on the form.

  • C. Use only system colors on the form.

  • D. Provide audible feedback each time the user changes the focus on the form.

A1:

Answers A and C are correct. Accessibility refers to coding that makes your application available to persons with disabilities . Removing background images is part of accessible development because background images can interfere with interpreting the information on a form for users with vision problems. Using system colors is important because the user can then control the colors by using the display properties. Answer B is incorrect because the user can set his own font preferences, so there's no need to use large fonts. Answer D is incorrect because relying on audible feedback is a violation of accessibility guidelines.

Question 2

Which of the following are components of the HTML Help system? [Select all that apply.]

  • A. Project file

  • B. Topic files

  • C. Contents file

  • D. Index file

  • E. Keyword file

A2:

Answers A, B, C, and D are correct. An HTML Help project includes the project file, several topic files, a contents file, and an index file. Keywords are associated with help destinations within the index file rather than in a separate keyword file, thus making answer E incorrect.

Question 3

Where should you place a hyperlink reference within a topic file?

  • A. Between the <HEAD> and </HEAD> tags

  • B. Between the <BODY> and </BODY> tags

  • C. Between the <HTML> and </HTML> tags

  • D. Between the <LINK> and </LINK> tags

A3:

Answer B is correct. A hyperlink reference should be placed within the body of the HTML file, between the <BODY> and </BODY> tags. Answer A is incorrect because the <HEAD> and </HEAD> tags define the header portion of the HTML file. The <HTML> and </HTML> tags enclose both the header and body portions of the HTML file, thus making answer C incorrect because it is not the best option available. Answer D is incorrect because a hyperlink uses <a href="..."> and </a> tags rather than <LINK> and </LINK> tags.

Question 4

Your form includes two TextBox controls and one ComboBox control. You want to include pop-up textual descriptions of your form's controls when users pass their mouse cursors over them. How many ToolTip components should you place on your form to meet this requirement?

  • A. None

  • B. One

  • C. Two

  • D. Three

A4:

Answer B is correct. You only need to place a single ToolTip component on your form. This component will extend the properties of all controls on the form to include support for ToolTip text.

Question 5

One of your users makes use of an electromyogram mouse-emulator that moves the cursor based on muscular tension. Which of the accessibility design principles would include planning for this device?

  • A. Flexibility

  • B. Input methods

  • C. Output methods

  • D. Consistency

  • E. Compatibility with accessibility aids

A5:

Answer B is correct. Input method planning includes making sure that your application supports mouse and keyboard access. Alternative input-emulation devices that use keyboard and mouse functionality should then work with your application. Answer A is incorrect because flexibility addresses the need to allow users to select their own preferences. Answer C is incorrect because a mouse emulator is an input device rather than an output device. Answer D is incorrect because consistency involves making your application compatible with the standard Windows interface to make it more easily navigable to users familiar with the Microsoft platform. Answer E is incorrect because the Windows accessibility aids, such as the Magnifier, are software tools rather than hardware devices.

Question 6

You are creating an installation wizard for your new application and want to provide help for each stage of the installation. It is important that no new processes are instantiated during the installation. Which form of help should you implement to meet this requirement?

  • A. HTML Help

  • B. Pop-up help

  • C. ToolTips

  • D. Readme file

A6:

Answer B is correct. Pop-up help provides assistance to users within an application without requiring a secondary Help browser window. Answer A is incorrect because HTML Help makes use of the Help file browser. Answer C is incorrect because a ToolTip is used to provide brief per-control assistance when a user passes his cursor over a control and would not be the best solution for user help for each section of the installation process. Answer D is incorrect because displaying a file would require launching another process.

Question 7

Which of these tasks can you perform with the HTML Help Workshop?

  • A. Capture screenshots

  • B. Inventory controls on a form

  • C. Evaluate a form for accessibility

  • D. Automatically add ToolTips to a form

A7:

Answer A is correct. The HTML Help Image Editor is an application that can be used to capture screenshots and perform graphics-editing tasks. This application is installed as part of the HTML Help Workshop. Answers B, C, and D are incorrect because the HTML Help Workshop predates the .NET Framework and has no knowledge of ways to work with Windows forms.

Question 8

Which ToolTip properties can be used to set the delay before a ToolTip is displayed? [Select all that apply.]

  • A. AutomaticDelay property

  • B. AutoPopDelay property

  • C. InitialDelay property

  • D. ReshowDelay property

A8:

Answers A, C, and D are correct. The InitialDelay property specifies the delay before the initial ToolTip is displayed, whereas the ReshowDelay property specifies the delay before another ToolTip will be displayed when a user passes his cursor over several controls. The AutomaticDelay property can be used to set all three of the other values. Answer B is incorrect because the AutoPopDelay property specifies the length of time a ToolTip will be displayed after the cursor moves over the control.

Question 9

Which utility within the HTML Help SDK provides the Integrated Development Environment for developing HTML Help projects?

  • A. HTML Help Viewer

  • B. HTML Help

  • C. HTML Help Workshop

  • D. HTML Help Compiler

A9:

Answer C is correct. The HTML Help Workshop provides the IDE for developing HTML Help projects. Answers A and B are incorrect because the HTML Help Viewer and HTML Help are applications that can be used to view or execute HTML Help files outside of the Help browser. Answer D is incorrect because the HTML Help Compiler is used to convert HTML Help project files into actual HTML Help files.

Question 10

You want your application to follow the Windows accessibility guidelines. As part of this compliance, you need to monitor for runtime changes to the HighContrast setting so that you can remove a pattern from your main form if the user enters high contrast mode. Which event should you trap to meet this requirement?

  • A. SystemEvents.UserPreferenceChanged

  • B. Form.Paint

  • C. SystemEvents.PaletteChanged

  • D. Form.StyleChanged

A10:

Answer A is correct. The SystemEvents.UserPreferenceChanged event is raised when the user enters or exits high contrast mode. Answers B and D are incorrect because form events occur when the form is changed, not when a systemwide change is detected . Answer C is incorrect because the PaletteChanged event indicates a color selection, not a contrast mode selection.



Developing and Implementing WindowsR-based Applications with Visual BasicR. NET and Visual StudioR. NET Exam CramT 2 (Exam 70-306)
Developing and Implementing WindowsR-based Applications with Visual BasicR. NET and Visual StudioR. NET Exam CramT 2 (Exam 70-306)
ISBN: N/A
EAN: N/A
Year: 2002
Pages: 188

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net