Deck 19: Sequential-Access File Applications

Full screen (f)
exit full mode
Question
5.Error handling is accomplished through the use of the decision logic structure during the input and calculation of data.
Use Space or
up arrow
down arrow
to flip the card.
Question
15.During the processing of each record:

A)Before the record is processed the program checks to see if a control break needs to take place.
B)The requirements of the summary line are calculated.
C)Before the record is processed the program checks to see is page break is needed.
D)The line number is incremented for every line printed.
E)All of the above.
Question
13.When a page break takes place:

A)The line counter is incremented.
B)The page counter is set to zero.
C)The page is ejected,and the headings are written at the top of the next page.
D)The control break is reset.
Question
4.An exception report is an output report that lists the bad records.
Question
22.When using multiple control breaks,

A)All control break modules must be executed when one control field changes.
B)Only the modules associated with the control field that changed are executed.
C)Modules associated with the control field along with any modules that have control fields that are subordinate to that control field are executed.
D)None of the above.
Question
8.A control field(s)are needed to designate where the control break takes place.
Question
6.Line counters designate where a page break should take place.
Question
11.The output report should be designed:

A)To facilitate the printing of relevant data.
B)With the user in mind.
C)So that the information can be gleaned as fast as possible by the user.
D)All of the above.
Question
10.Error handling is optional since there are very few input errors.
Question
7.A control break stops the normal processing of records and processes other modules.
Question
9.Indicators can be used to designate page breaks.
Question
20.The control break is executed when

A)The line counter reaches the maximum number of lines on a page.
B)The value of the control field changes.
C)A null record is found.
D)Through the use of an indicator.
Question
14.Multiple control breaks:

A)Breaks the processing for multiple errors.
B)Uses more than one field to process the control breaks to print different types of summary lines.
C)Is a type of page break.
D)Ejects a page at each break.
Question
2.A null file is a file with no records.
Question
12.A control break:

A)Breaks the processing of the records in a file and stops the processing whenever an error is found.
B)Breaks the processing of the records to update a record.
C)Breaks the processing of the records to write a summary line.
D)Breaks the processing of the records when the user requests information.
Question
19.Control breaks are executed using:

A)Line counters.
B)Multiple control breaks.
C)A control field.
D)A null record.
Question
18.To output subtotals:

A)Page breaks are used.
B)Control breaks are used.
C)Line counters are used.
D)Column headings must be printed.
Question
3.The line counter is used to count all of the lines printed in the entire output report.
Question
17.Output reports should be designed

A)With the developer in mind.
B)With the user in mind.
C)As fast a possible,without consideration of where data really needs to be place.
D)All of the above.
Question
1.A page break is a type of control break.
Question
24.Error handling

A)Finds errors in the records.
B)Is executed each time a record is read into the computer.
C)Produces an error report.
D)All of the above.
E)None of the above.
Question
25.When a null file occurs:

A)No records should be processed.
B)The file should be closed and reopened again.
C)The program should process at least one record.
D)None of the above.
Question
23.Page breaks are executed

A)From the control modules.
B)From the print module.
C)From any module.
D)None of the above.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/23
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 19: Sequential-Access File Applications
1
5.Error handling is accomplished through the use of the decision logic structure during the input and calculation of data.
False
2
15.During the processing of each record:

A)Before the record is processed the program checks to see if a control break needs to take place.
B)The requirements of the summary line are calculated.
C)Before the record is processed the program checks to see is page break is needed.
D)The line number is incremented for every line printed.
E)All of the above.
C
3
13.When a page break takes place:

A)The line counter is incremented.
B)The page counter is set to zero.
C)The page is ejected,and the headings are written at the top of the next page.
D)The control break is reset.
B
4
4.An exception report is an output report that lists the bad records.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
5
22.When using multiple control breaks,

A)All control break modules must be executed when one control field changes.
B)Only the modules associated with the control field that changed are executed.
C)Modules associated with the control field along with any modules that have control fields that are subordinate to that control field are executed.
D)None of the above.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
6
8.A control field(s)are needed to designate where the control break takes place.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
7
6.Line counters designate where a page break should take place.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
8
11.The output report should be designed:

A)To facilitate the printing of relevant data.
B)With the user in mind.
C)So that the information can be gleaned as fast as possible by the user.
D)All of the above.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
9
10.Error handling is optional since there are very few input errors.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
10
7.A control break stops the normal processing of records and processes other modules.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
11
9.Indicators can be used to designate page breaks.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
12
20.The control break is executed when

A)The line counter reaches the maximum number of lines on a page.
B)The value of the control field changes.
C)A null record is found.
D)Through the use of an indicator.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
13
14.Multiple control breaks:

A)Breaks the processing for multiple errors.
B)Uses more than one field to process the control breaks to print different types of summary lines.
C)Is a type of page break.
D)Ejects a page at each break.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
14
2.A null file is a file with no records.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
15
12.A control break:

A)Breaks the processing of the records in a file and stops the processing whenever an error is found.
B)Breaks the processing of the records to update a record.
C)Breaks the processing of the records to write a summary line.
D)Breaks the processing of the records when the user requests information.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
16
19.Control breaks are executed using:

A)Line counters.
B)Multiple control breaks.
C)A control field.
D)A null record.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
17
18.To output subtotals:

A)Page breaks are used.
B)Control breaks are used.
C)Line counters are used.
D)Column headings must be printed.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
18
3.The line counter is used to count all of the lines printed in the entire output report.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
19
17.Output reports should be designed

A)With the developer in mind.
B)With the user in mind.
C)As fast a possible,without consideration of where data really needs to be place.
D)All of the above.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
20
1.A page break is a type of control break.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
21
24.Error handling

A)Finds errors in the records.
B)Is executed each time a record is read into the computer.
C)Produces an error report.
D)All of the above.
E)None of the above.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
22
25.When a null file occurs:

A)No records should be processed.
B)The file should be closed and reopened again.
C)The program should process at least one record.
D)None of the above.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
23
23.Page breaks are executed

A)From the control modules.
B)From the print module.
C)From any module.
D)None of the above.
Unlock Deck
Unlock for access to all 23 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 23 flashcards in this deck.