Exam 6: The Repetition Structure
Exam 1: An Introduction to Visual Basic 201560 Questions
Exam 2: Designing Applications60 Questions
Exam 3: Using Variables and Constants60 Questions
Exam 4: The Selection Structure59 Questions
Exam 5: More on the Selection Structure60 Questions
Exam 6: The Repetition Structure60 Questions
Exam 7: Sub and Function Procedures60 Questions
Exam 8: String Manipulation60 Questions
Exam 9: Arrays60 Questions
Exam 10: Structures and Sequential Access Files60 Questions
Exam 11: Classes and Objects60 Questions
Exam 12: Web Applications60 Questions
Exam 13: Working With Access Databases and Linq60 Questions
Exam 14: Access Databases and Sql60 Questions
Select questions type
What is an accumulator? What does it mean to initialize and update an accumulator in a program?
(Essay)
4.8/5
(37)
To leave a Do...Loop structure earlier than its full completion, you must execute a(n) ____ statement.
(Multiple Choice)
4.9/5
(41)
You should use a ____ control to provide keyboard access to a list box.
(Multiple Choice)
4.8/5
(36)
Visual Basic's ____ class contains many methods that your applications can use to perform financial calculations.
(Multiple Choice)
4.9/5
(37)
Which of the following statements pauses program execution for 3 seconds?
(Multiple Choice)
4.8/5
(29)
Write two different Do...Loop clauses that stop the loop when the value in the intAmount is less than or equal to the value in the intLimit variable. Use the Until keyword in the first clause, and use the While keyword in the second clause.
(Essay)
4.9/5
(44)
You use the ____ tool in the toolbox to add a list box to an interface.
(Multiple Choice)
4.8/5
(35)
A unique number called a(n) ____ identifies each item in a collection.
(Multiple Choice)
4.8/5
(37)
The number of choices the user can select from a list box is controlled by the list box's ____ property.
(Multiple Choice)
4.7/5
(37)
Each time either the user or a statement selects an item in a list box, the list box's SelectedValueChanged and ____ events occur.
(Multiple Choice)
4.8/5
(32)
In a nested repetition structure, one loop, referred to as the ____ loop, is placed entirely within another loop, called the ____ loop.
(Multiple Choice)
4.8/5
(41)
Adding increments of a negative number is referred to as ____.
(Multiple Choice)
4.9/5
(38)
You can stop an endless loop by clicking Debug on the menu bar, and then clicking ____.
(Multiple Choice)
4.8/5
(33)
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
(Multiple Choice)
4.7/5
(42)
In a pretest loop, the evaluation of the condition occurs after the instructions within the loop are processed.
(True/False)
4.8/5
(45)
Write the assignment statements needed to increment the intCount counter by 1 and update the decBalance variable by the value stored in the decOrderAmount variable.
(Essay)
4.8/5
(41)
Write a pretest loop that adds together integers from 1 to 50. Use the intNumber variable (which contains the number 1) to keep track of the integers. Store the result in the intResult variable (which contains the number 0). Use the Do...Loop statement and the While keyword.
(Essay)
4.8/5
(34)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)