Multiple Choice
What is wrong with the following simple password program where today's password is "intrepid"
Private Sub btnDisplay_Click(...) Handles btnDisplay.Click Dim password As String
password = InputBox ("Enter today's password:")
Do
lstBox. Items. Add ("Incorrect")
password = InputBox ("Enter today's password:")
Loop Until password = "intrepid"
lstBox. Items. Add ("Password Correct. You may continue.")
End Sub
A) There is no way to re-enter a failed password.
B) The Loop Until condition should be passWord <> "intrepid".
C) It will display "Incorrect." even if the first response is "intrepid".
D) Nothing
Correct Answer:

Verified
Correct Answer:
Verified
Q12: Which While statement is equivalent to Until
Q13: The sorted property can only be set
Q14: In analyzing the solution to a program,
Q15: If the terminating value of a For...Next
Q16: A list box named lstBox has its
Q18: If the loop is to be executed
Q19: Which of the following are valid for
Q20: A For...Next loop cannot be nested inside
Q21: What will be displayed by the following
Q22: How many times will PETE be displayed