This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1. The type of procedure that performs a task but does not return a value is called a ____ procedure. A: Class B: Global C: Local D: Sub 2. A(n) ____ data type holds a nondecimal whole number in Visual Basic. A: Integer B: NonDecimal C: Dim D: Double 3. To place focus on a text box without requiring the user to click it first, use the ____ procedure. A: Click B: Focus C : EnterData D: TextBox 4. A ____ variable will contain one permanent value throughout the execution of a program. A: keyword B: standard C: long D: constant 5. A ____ data type allows every character available on the computer to be stored. A: String B: Any C: Character D: Dim 6. The ____ statement explicitly disallows any default data type conversions in which data loss would occur and any conversion between numeric types and strings. A: Option No Loss B: Option No Convert C: Option Strict On D: Option Lock On 7. A ____ data type can represent accurately large or very precise decimal numbers. A: Large B: Precise C: Dim D: Decimal 8. A(n) ____ exception occurs when the user enters data that a statement within a program cannot process properly. A: Format B: Data C: Overflow D: Debugging 9. A(n) ____ is a prewritten set of code that can be called by a statement in a Visual Basic program. A: constant B: scope C: procedure D: class 10. In the following line of code, which is the string variable name? strNumberOfSongs = Me.txtNumberOfSongs.Text A : Me.txt B: txt.NumberOfSongs C: str D: strNumberOfSongs 12. n order to subtract one value from another, use the ____ arithmetic...
View Full Document
- Spring '08