Exam 6: The Repetition Structure

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

A(n)____ read is used to prepare or set up a loop.

Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
Verified

A

You can stop an endless loop by clicking Debug on the menu bar,and then clicking ____.

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

A

You can use a ____ to display a list of choices from which the user can select zero choices,one choice,or more than one choice.

Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
Verified

A

What is the Refresh method? Write the syntax for this method.

(Essay)
4.9/5
(32)

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

Explain the difference between a looping condition and a loop exit condition.

(Essay)
4.8/5
(33)

In either pretest or posttest loops,the controlling condition is evaluated with each repetition.

(True/False)
4.8/5
(24)

What is a list box? Provide two of the Windows standards for its use on a form.

(Essay)
4.9/5
(32)

An application allows the user to enter a salary amount.The application should then calculate and display the possible bonuses based on that salary,using bonus rates of 3-6% in increments of .5%. An application allows the user to enter a salary amount.The application should then calculate and display the possible bonuses based on that salary,using bonus rates of 3-6% in increments of .5%.

(Essay)
4.8/5
(33)

What is a counter-controlled loop and when is it used in a program? What statement provides the most efficient way to write a counter-controlled loop?

(Essay)
4.8/5
(29)

Which of the following statements selects the "blue" item,which appears fourth in the lstColor control? Which of the following statements selects the blue item,which appears fourth in the lstColor control?

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

To leave a Do...Loop structure earlier than its full completion,you must execute a(n)____ statement.

(Multiple Choice)
4.8/5
(33)

You changed the Do clause to the correct For clause in the previous problem.You also changed the Loop keyword to the Next keyword for the For...Next loop.What else needs to be changed about the Do loop?

(Multiple Choice)
4.8/5
(35)

____ means assigning a beginning value to a counter or an accumulator.

(Multiple Choice)
4.8/5
(37)

Write a counter-controlled loop that adds 5,10,15,20,25,and 30 to the lstMinutes control.

(Essay)
4.8/5
(31)

The ____ method ensures that any code appearing before it that affects the interface's appearance is processed.

(Multiple Choice)
4.9/5
(30)

A counter is always incremented by a constant value.

(True/False)
4.8/5
(35)

In a Do...Loop statement,the keyword While indicates that the loop instructions should be processed while the condition is false.

(True/False)
4.9/5
(35)

You use the ____ tool in the toolbox to add a list box to an interface.

(Multiple Choice)
4.9/5
(38)

The strCode variable contains an uppercase letter.Write two different Do...Loop clauses that process the loop instructions as long as the value in the strCode variable is either A or B.Use the Until keyword in the first clause,and use the While keyword in the second clause.

(Essay)
4.8/5
(39)
Showing 1 - 20 of 59
close modal

Filters

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