Programming_Midterm2_StudyGuide

Programming_Midterm2_StudyGuide - Chapter 5 Practice...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 5 Practice Quizzes 1. A _________ control is used to gather input without placing a text box on a form. Answer: Input Box 2. What buttons appear on an Input Box automatically? Answer: OK and Cancel 3. A _________ control displays a list of items and allows the user to select one or more items from the list. Answer: List Box 4. The ___________ property determines the number of items stored in a list box. Answer: .Items.Count 5. To add values to a List Box during run time use the following method: Answer: ListBox. Items.Add(Item) 6. What statement marks the end of a Do While loop? Answer: Loop 7. A loop that does not have a way of stopping is called a ______________. Answer: Infinite loop 8. The general form: Do statement 1 statement 2 statement 3 Loop Until expression
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
is an example of a ____________ loop. Answer: posttest 9. A ____________ loop uses a counter variable to perform the loop a specific number of times. Answer: For … Next 10. A loop inside another loop is called a _________ loop. Answer: nested 11. Which are characteristics of both a List Box and a Combo Box? i. Both display a list of items to the user. ii. Both have Items.Add, Items.Clear, Items.Remove and Items.RemoveAt methods. iii. Both have Items, Itmes.Count, Sorted, and SelectedItems properties iv. Both have a rectangular area that functions like a text box. Answer: all but iv 12. Which characteristics of ToolTips are true? i. It is a small box that is displayed when the user holds the mouse cursor over a control. ii. The ToolTip control is invisible at runtime. iii. The ToolTip control appears in the component tray at run time. iv. The InitialDelay property measures the amount of time in milliseconds that a ToolTip remains on the screen once it is displayed by the user. Answer: i and ii only
Background image of page 2
13. ______________ is the process of inspecting information given to the application by a user, and making sure that it is valid. Answer: Input Validation Chapter 6 Practice Quizzes 1. Which statement is not true about general purpose procedures? Answer: A general purpose procedure is associated with a control. 2. If you leave out the AccessSpecifier part of the Procedure declaration, it defaults to: Answer: Public 3. A special variable that receives a value being passed to a procedure is called a
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 9

Programming_Midterm2_StudyGuide - Chapter 5 Practice...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online