CPT187Final Flashcards
(30 cards)
The process of repeating a set of instructions while a condition is true or until a condition is true is called ________ or ___________.
looping, iteration
A ______________ is a strip across the top of window that contains one or more menu names.
menu bar
You can use a ______ loop when a section of code is to be executed an exact number of times.
For…Next
The ending statement in a For…Next loop
Next
For…Next loop begins with the keyword For. Following this is the _____.
control variable
the numeric variable that keeps track of the number of iterations the loop completes.
control variable
The ______, __________, and ________ used in a For…Next loop can vary based on input from a user.
beginning, ending and step values
In a _____ loop, the body of the loop is executed while or until a condition is true or false.
Do
The _____ loop executes as long as the condition is true.
Do While
The _____ loop executes until the condition becomes true.
Do Until
A ___________ loop is tested before the loop is entered.
top-controlled
__________ loops test the condition at the bottom of the loop, so the body of a bottom-controlled loop is executed at least once.
bottom-controlled
The beginning statement of a top-controlled Do While loop
Do While condition
A loop that does not end is called an
infinite loop
Ending statement in a bottom controlled Do While loop
Loop While condition
The beginning statement of a top-controlled Do Until loop
Do Until condition
Ending statement in a bottom controlled Do Until loop
Loop Until condition
Starting a loop with a preset value in the variables tested in the condition is called
priming the loop
Use a ________ loop if the number of repetitions is unknown and is based on a condition changing
Do
If a loop must be tested before the body of the loop is executed, use a ___________ or __________.
top-controlled Do While or Do Until
If the instructions within a loop must be executed on time regardless of the status of a condition, use a ____________, or _______________.
bottom-controlled Do While or Do Until
Resolving defects in code is called:
debugging
_____________ are stop points placed in the code to tell the Visual Studio 2010 debugger where and when to pause the execution of the application.
Breakpoints
While in break mode, you can examine the values in all variables that are within the scope of execution through the use of
Data Tips