Exam 8: Dountil Control Structure

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

In pseudocode,the DOUNTIL statement is positioned after the loop steps.

(True/False)
4.8/5
(37)

Which of the following is not one of the basic control structures?

(Multiple Choice)
4.9/5
(34)

A DOUNTIL loop cannot be used if automatic end-of-file processing is needed to control the loop.

(True/False)
4.7/5
(35)

What is the value of the variable ACCUM after instructions corresponding to the following pseudocode are executed? ACCUM=1\mathrm { ACCUM } = 1 COUNT =0= 0 DOUNTIL COUNT 4\geq 4 ACCUM=ACCUM+ACCUM\mathrm { ACCUM } = \mathrm { ACCUM } + \mathrm { ACCUM } COUNT == COUNT + 1 ENDDO

(Multiple Choice)
4.8/5
(27)

A DOUNTIL loop is a leading-decision program loop.

(True/False)
4.8/5
(33)

What type of loop is always executed a predetermined number of times?

(Multiple Choice)
4.8/5
(36)

If the value input for START is 8,how many times will the loop steps in the instructions corresponding to the following pseudocode be executed? Read START COUNT == START DOUNTIL COUNT \geq START COUNT == COUNT - 1 Write COUNT ENDDO

(Multiple Choice)
4.8/5
(34)

In a DOUNTIL loop the priming read is placed at the beginning of the loop steps.

(True/False)
4.8/5
(42)

When a DOUNTIL loop is encountered during processing,the steps in the DOUNTIL loop must be executed at least once.

(True/False)
4.8/5
(35)

To create a properly formed DOUNTIL loop you must

(Multiple Choice)
4.7/5
(42)
Showing 21 - 30 of 30
close modal

Filters

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