Exam 5: Dowhile Control Structuretrailer Record Logic

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

The loop read in a loop controlled using trailer record logic is placed

(Multiple Choice)
4.8/5
(36)

In trailer record logic the number of times the loop will be executed is preset.

(True/False)
4.7/5
(29)

What value of COUNT will be output after the instructions corresponding to the following pseudocode are executed,assuming 7 values - 5,6,7,3,0,4,2 - are input,one on each record? COUNT =0 SUM =0 VALUE =1 DOWHILE VALUE >0 Read VALUE Write Value SUM = SUM + VALUE COUNT = COUNT +1 ENDDO Write SUM, COUNT

(Multiple Choice)
4.8/5
(39)

What type of line is placed within the loop and outputs information about an individual record?

(Multiple Choice)
4.9/5
(29)

Line count and page count are special types of trailer records.

(True/False)
4.9/5
(33)

What statement(s)are unnecessary in the following pseudocode? COUNT=0\mathrm { COUNT } = 0 SUM =0= 0 Read VALUE DOWHILE VALUE >0> 0 SUM == SUM + VALUE COUNT == COUNT + 1 Read VALUE ENDDO Write SUM

(Multiple Choice)
4.7/5
(40)

A total line is a line of output associated with one input record.

(True/False)
4.8/5
(33)

How many times will the loop steps in the instructions corresponding to the following pseudocode be executed,assuming 5 values - 0,8,6,3,0 - are input,one on each record? Read SCORE DOWHILE SCORE >0> 0 Write SCORE Read SCORE ENDDO

(Multiple Choice)
4.9/5
(46)

The priming read is usually placed as the first step within the loop.

(True/False)
4.9/5
(38)

The empty file condition can occur in both header record logic and trailer record logic.

(True/False)
4.8/5
(34)
Showing 21 - 30 of 30
close modal

Filters

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