Exam 6: Loop Structures

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

A loop that never ends is called a(n)____ loop.

(Multiple Choice)
4.9/5
(32)

A For...Next loop with a beginning value of 1,an ending value of 25,and a Step value of 3 will execute ____ times.

(Multiple Choice)
4.9/5
(36)

The beginning,ending,and Step values used in a For...Next loop can vary based on input from a user.

(True/False)
4.8/5
(32)

The Checked property of a ListBox object identifies which item in the ListBox has been selected._________________________

(True/False)
4.8/5
(31)

The Publish Wizard allows you to create an install file to be placed on a ____.

(Multiple Choice)
4.8/5
(26)

The InputBox function returns a null string ("")when a user taps or clicks the Cancel button.

(True/False)
4.8/5
(38)

CASE Critical Thinking Questions Case 6-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
(41)

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

(True/False)
4.8/5
(34)

The hot key for a menu item can be activated with the keyboard by pressing the ____ key and the hot key at the same time.

(Multiple Choice)
4.8/5
(24)

Use a For...Next loop when the number of repetitions is unknown.

(True/False)
4.8/5
(41)

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
(37)

Writing an event handler for a menu item is the same as writing an event handler for a button tap or click.

(True/False)
4.9/5
(41)

____ are stop points placed in the code to tell Visual Studio 2012 debugger where and when to pause the execution of the program.

(Multiple Choice)
4.9/5
(37)

A ____-controlled loop tests the condition after the code in the loop body has been executed.

(Multiple Choice)
4.9/5
(33)

Discuss what a breakpoint is and how to use it.

(Essay)
4.8/5
(39)

A(n)____________________ is used to pause the execution of code while debugging.

(Short Answer)
4.9/5
(33)

MATCHING Identify the letter of the choice that best matches the phrase or definition. -A variable that contains an accumulated value such as a running total

(Multiple Choice)
4.9/5
(28)

A(n)____ variable keeps track of how many times a loop has executed.

(Multiple Choice)
4.8/5
(44)

The values in a ListBox like the kind shown in the accompanying figure are called ____________________. The values in a ListBox like the kind shown in the accompanying figure are called ____________________.

(Short Answer)
4.7/5
(40)

The keyword ____________________ is the last line of a For loop.

(Short Answer)
4.9/5
(29)
Showing 41 - 60 of 112
close modal

Filters

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