Answer the following statements true (T) or false (F)

1. If you are using the automatic end-of-file facility, you need to include a special record at the end of the input denoting that there is no more data to process.
2. A trailer record must contain special information that differentiates it from the rest of the input.
3. In trailer record logic the number of times the loop will be executed is preset.
4. A line that outputs the average grade for each student can be considered in some cases, both a detail line and a total line.
5. Line count and page count are special types of trailer records.


1. false
2. true
3. false
4. true
5. false

Computer Science & Information Technology

You might also like to view...

If grade has the value of 60, what will the following code display?

if ( grade >= 60 ) cout << "Passed"; a. nothing. b. 60 c. Passed d. cout << "Passed";

Computer Science & Information Technology

What will be output from the following code:

``` { for ( int x = 5 ; x > 0 ; x--) { System . out . println ( x ) ; } } ```

Computer Science & Information Technology

A(n) ____________________ is a blend of two colors.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

____ layouts are sometimes called fluid layouts.

A. Liquid B. Elastic C. Fixed-width D. Indexed

Computer Science & Information Technology