Exam 6: Loop Structures

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Starting a loop with a preset value for the variable tested in the condition is called priming the loop.

(True/False)
4.8/5
(34)

MenuStrip objects can be placed along any edge of the form, depending on which side is closer to the mouse pointer.

(True/False)
4.9/5
(23)

The ____ prefix is used for a MenuStrip object.

(Multiple Choice)
4.8/5
(39)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Loop that should be used when code is to be executed a known, exact number of times
Responses:
bottom-controlled
Do Until
accumulator
Correct Answer:
Verified
Premises:
Responses:
Loop that should be used when code is to be executed a known, exact number of times
bottom-controlled
(Matching)
4.9/5
(35)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Objects that can be assigned a default value representing the most likely user input
Responses:
breakpoint
infinite
For...Next
Correct Answer:
Verified
Premises:
Responses:
Objects that can be assigned a default value representing the most likely user input
breakpoint
(Matching)
4.7/5
(27)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
The process of repeating a set of instructions while a condition is true or until a condition is true
Responses:
InputBox
bottom-controlled
accumulator
Correct Answer:
Verified
Premises:
Responses:
The process of repeating a set of instructions while a condition is true or until a condition is true
InputBox
(Matching)
4.8/5
(39)

When in break mode, you can use ____ to examine the value of variables.

(Multiple Choice)
4.9/5
(32)

If ____ appears as the last line of a loop, the loop is a bottom-controlled Do loop that will stop execution when a condition becomes true.

(Multiple Choice)
4.9/5
(36)

A(n) ____________________ loop is a loop placed completely inside another loop.

(Short Answer)
4.7/5
(42)

A top-controlled loop is always executed at least once.

(True/False)
4.8/5
(33)
Identify the letter of the choice that best matches the phrase or definition.
Premises:
Items added to this kind of object during design phase are available for selection by the user during program execution
Responses:
Items
bottom-controlled
breakpoint
Correct Answer:
Verified
Premises:
Responses:
Items added to this kind of object during design phase are available for selection by the user during program execution
Items
(Matching)
4.9/5
(37)

The beginning and ending values for a For...Next loop must be predefined and cannot contain an expression.

(True/False)
4.8/5
(34)

A(n) ____ loop is best used when the specific number of iterations required is known.

(Multiple Choice)
4.9/5
(41)

Critical Thinking Questions Case 1 Chris is trying to decide which kind of loop is the best loop for him to use to solve a couple of different programming challenges that he faces. Chris wants to guarantee that the instructions within the loop are executed one time regardless of the status of a condition. Which of the following should he use?

(Multiple Choice)
4.9/5
(36)

What will be the value of the variable intTotalCount when the following code is executed? For intOuterCount = 1 to 5 For intInnerCount = 1 to 4 intTotalCount +=1 Next Next

(Multiple Choice)
4.8/5
(38)

How does a Do loop work? What is the difference between a Do While loop and a Do Until loop? A top-controlled loop and a bottom-controlled loop?

(Essay)
4.9/5
(32)

  Figure 6-3 Only one breakpoint can be set in a program, as shown in the accompanying figure. Figure 6-3 Only one breakpoint can be set in a program, as shown in the accompanying figure.

(True/False)
4.9/5
(41)

The ____________________ method of the ListBox object's Items property is used to add items to the list.

(Short Answer)
4.9/5
(32)

In order to run a program deployed with ClickOnce Deployment, the computer needs ____ installed on it.

(Multiple Choice)
4.8/5
(38)

If ____ appears as the first line of a loop, the loop is a top-controlled Do loop that will execute as long as a condition remains true.

(Multiple Choice)
4.9/5
(39)
Showing 21 - 40 of 107
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)