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.
The following code is not working properly. The message should display four times. What needs to be changed for the code to work properly?
Do While intCounter
MessageBox.Show("OK")
IntCounter = intCounter + 1
Loop
A) intCounter should be changed to intCounter = 5
B) intCounter should be changed to intCounter > 5
C) intCounter = 1 should be added before the Do statement
D) intCounter = 0 should be added before the Do statement
Correct Answer:
Verified
Q23: Visual Basic's _ class contains many methods
Q24: You use the _ tool in the
Q25: A(n)_ read is used to prepare or
Q29: Each time either the user or a
Q31: You can use a _ to display
Q32: The number of choices the user can
Q35: Case-Based Critical Thinking Questions Case 1 -
Q37: In a nested repetition structure,one loop,referred to
Q38: The _ method ensures that any code
Q40: Adding increments of a negative number is
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents