Exam 9: Sequential Access Files and Printing

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The WriteLine method, when used to place data in a data file, positions the file pointer on the current line after the data is written to the data file.

Free
(True/False)
4.9/5
(42)
Correct Answer:
Verified

False

To close an input file after it has been used and is no longer necessary, use the ____ method.

Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
Verified

C

From which of the following can data records be retrieved in any order?

Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
Verified

C

The information in a sequential file is always accessed sequentially.

(True/False)
4.9/5
(33)

The WriteLine method will generate a line feed and carriage return at the end of the data after execution.

(True/False)
4.9/5
(32)

A ____ is a single item of information about a person, place, or thing.

(Multiple Choice)
4.9/5
(34)

The Write method, when used to place data in a file, positions the file pointer on the next line after the write instruction executes.

(True/False)
4.9/5
(38)

The e.Graphics.DrawString method allows for both horizontal and vertical positioning on the page.

(True/False)
4.9/5
(29)

You use the PrintPage event to indicate the information you want to print, and how you want the information to appear in the printout.

(True/False)
4.9/5
(41)

In most cases, you use a fixed-spaced font when printing a report on the printer.

(True/False)
4.8/5
(30)

The WriteLine method generates a line terminator character at the end of the line written.

(True/False)
4.9/5
(38)

A ____ access file is also referred to as a text file.

(Multiple Choice)
4.8/5
(31)

A file from which data is retrieved by the computer is referred to as a(n) ____ file.

(Multiple Choice)
4.7/5
(34)

Assume that the variable amount contains the value 46. How many characters will be padded in the statement? amount=amount.ToString.PadLeft(5)

(Multiple Choice)
4.8/5
(37)

The font type that uses a varying amount of space for different characters is known as a ____ spaced font.

(Multiple Choice)
4.9/5
(27)

The LookAhead method is used to look at the data file and see if additional data exists in the data file.

(True/False)
4.8/5
(40)

When writing records to a sequential access file, you typically write multiple records on each line in the file.

(True/False)
4.8/5
(27)

To close an output file after it has been used and is no longer necessary, use the ____ method.

(Multiple Choice)
4.7/5
(26)

"Reading the file" refers to getting information from the file.

(True/False)
4.7/5
(36)

The OpenText method allows data to be written to a data file.

(True/False)
4.8/5
(36)
Showing 1 - 20 of 50
close modal

Filters

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