Exam 6: The Repetition Structure

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

Programmers use a(n)____ when they need the computer to repeatedly process one or more program instructions until some condition is met,at which time the ____ ends.

(Multiple Choice)
4.8/5
(35)

Which of the following statements adds the number stored in the decPrice variable to the number stored in the decSubtotal variable,and then assigns the result to the decSubtotal variable? Which of the following statements adds the number stored in the decPrice variable to the number stored in the decSubtotal variable,and then assigns the result to the decSubtotal variable?

(Not Answered)
This question doesn't have any answer yet
Ask our community

If you have only two choices to offer the user,you should use two ____ rather than a list box.

(Multiple Choice)
4.8/5
(28)

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.9/5
(24)

You should use a ____ control to provide keyboard access to a list box.

(Multiple Choice)
4.7/5
(33)

What is an accumulator? What does it mean to initialize and update an accumulator in a program?

(Essay)
4.8/5
(32)

Which of the following loop structures always executes at least once?

(Multiple Choice)
4.8/5
(43)

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.7/5
(30)

In a Do...Loop statement,a condition can be phrased as either a looping condition or a loop enter condition.

(True/False)
4.7/5
(33)

A list box should contain a minimum of ____ item(s).

(Multiple Choice)
4.8/5
(45)

A unique number called a(n)____ identifies each item in a collection.

(Multiple Choice)
4.7/5
(44)

If the stepValue is omitted when coding a For...Next statement,the stepValue is ____ at execution time.

(Multiple Choice)
4.8/5
(38)

How many times will the message display based on the counter being initialized to 0? How many times will the message display based on the counter being initialized to 0?

(Multiple Choice)
4.8/5
(42)

Adding increments of a negative number is referred to as ____.

(Multiple Choice)
4.8/5
(39)

You can make a list box any size you want.

(True/False)
5.0/5
(42)

The number of choices the user can select from a list box is controlled by the list box's ____ property.

(Multiple Choice)
4.8/5
(34)

You can delay program execution using the ____ method.

(Multiple Choice)
4.9/5
(28)

The startValue in a For...Next loop structure may be omitted.

(True/False)
5.0/5
(35)

What is a counter? What does it mean to initialize and update a counter in a program?

(Essay)
4.8/5
(35)
Showing 41 - 59 of 59
close modal

Filters

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