1. A statement that cannot
execute properly in a VB project is a result of a…?
[a]
Syntax Error
[b]
Logic Error
[c]
Compile Error
[d]
Run-time Error
2. If you encounter a run-time
error or you pause the program execution, you are in:?
[a]
compile time
[b]
break time
[c]
run time
[d]
design time
3. Producing erroneous results in
a VB project is a result of a…?
[a]
Syntax Error
[b]
Logic Error
[c]
Compile Error
[d]
Run-time Error
- In sequential file handling a valid file number is in the range
[a]
1 To 255
[b]
1 to 220
[c]
1 to 290
[d]
1 to 511
- Which of the following statement is used to turn off error handling in a procedure ?
[a]
On Error Goto Line
[b]
On Error Resume Next
[c]
On Error Goto 0
[d]
Error Off
- Which of the following statement tells Visual Basic to retry the statement that cause the error ?
[a]
Resume Next
[b]
Resume
[c]
Retry
[d]
Resume line
- Which statement is used with deferred error handling ?
[a]
On Error Goto Line
[b]
On Error Resume Next
[c]
On Error Goto 0
[d]
On Error Defer
- What are some that you can centralize error handling ?
[a]
Write a class to encapsulate function and include the error handling in the
class
[b]
Place on On Error GoTo procedure statement as the first line of you
program and write and error procedure.
[c]
Have the error handling code in each procedure call a function that
identifies the error and indicates the
appropriate action.
[d]
Place you function in
public procedure that include error handling
capabilities.
- Which of these tools display the value of the variable?
[a]
Immediate window
[b]
Watch window
[c]
Call stack window
[d]
Local window