Deck 19: Sequential-Access File Applications
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/23
العب
ملء الشاشة (f)
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.
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
6
8.A control field(s)are needed to designate where the control break takes place.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
7
6.Line counters designate where a page break should take place.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
9
10.Error handling is optional since there are very few input errors.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
10
7.A control break stops the normal processing of records and processes other modules.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
11
9.Indicators can be used to designate page breaks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
14
2.A null file is a file with no records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
A)Line counters.
B)Multiple control breaks.
C)A control field.
D)A null record.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
A)Page breaks are used.
B)Control breaks are used.
C)Line counters are used.
D)Column headings must be printed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
18
3.The line counter is used to count all of the lines printed in the entire output report.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck
20
1.A page break is a type of control break.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
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.
A)From the control modules.
B)From the print module.
C)From any module.
D)None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 23 في هذه المجموعة.
فتح الحزمة
k this deck