BIS 311 DeVry Week 2 Quiz
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
o<br />
o<br />
o<br />
o<br />
literal constant<br />
named constant<br />
static variable<br />
class-level variable<br />
Question 14.14. (TCO 3) Which of the following statements tells Visual Basic to ensure that every named constant<br />
and variable is declared with a data type? (Points : 1)<br />
o<br />
o<br />
o<br />
o<br />
Option Infer On<br />
Option Infer Off<br />
Option Strict On<br />
Option Explicit Off<br />
Question 15.15. (TCO 3) The operator to join or concatenate strings in Visual Basic is the _____. (Points : 1)<br />
o percent (%)<br />
o ampersand (&)<br />
o backslash ()<br />
o pipe (|)<br />
Question 16.16. (TCO 3) A control’s _____ event occurs when a change is made to the control’s Text property.<br />
(Points : 1)<br />
o<br />
o<br />
o<br />
o<br />
Click<br />
Enter<br />
GotFocus<br />
TextChanged<br />
Question 17.17. (TCO 3) What type of error is represented in the following Visual Basic statement? Die strName<br />
As String (Points : 1)<br />
o<br />
o<br />
o<br />
o<br />
run time<br />
functional<br />
syntax<br />
logic<br />
Question 18.18. (TCO 3) Which of the following would be most likely to cause a logic error in an application?<br />
(Points : 1)<br />
o<br />
o<br />
o<br />
o<br />
Misspelling the name of a text box when referring to it in code<br />
Entering a statement to display a result before the statement that calculates the result<br />
Misspelling the data type in a variable declaration<br />
Attempting to divide by zero in a calculation<br />
Question 19.19. (TCO 3) Setting a(n) _____ allows the programmer to pause execution of the application at a<br />
specific line in the code. (Points : 1)<br />
o<br />
o<br />
o<br />
o<br />
trigger<br />
interrupt<br />
milestone<br />
breakpoint<br />
Question 20.20. (TCO 3) The Visual Basic function that calculates the present value of a series of payments is<br />
(Points : 1)<br />
o<br />
PV.