Multiple Choice
Case-Based Critical Thinking Questions Case 1 - XYZ Solutions
You have just started working for XYZ Solutions as a programmer. Your first assignment is to review and correct various code so that you can become familiar with the company's programs.
How many times will the message display based on the counter being initialized to 0?
IntCounter = 0
Do While intCounter
MessageBox.Show("OK")
IntCounter = intCounter + 1
Loop
A) zero
B) one
C) four
D) five
Correct Answer:

Verified
Correct Answer:
Verified
Q7: The following sample of code contains errors.
Q9: Explain the difference between using the keywords
Q20: What is a counter-controlled loop and when
Q23: A counter is always incremented by a
Q28: If the stepValue is omitted when coding
Q29: Problems - Correcting Logic and Code Errors
Q29: A(n)_ read is used to prepare or
Q36: Programmers use a(n)_ when they need the
Q50: Like the condition in a selection structure,the
Q56: The startValue in a For...Next loop structure