Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

False

The information in a sequential file is always accessed sequentially.

Correct Answer

verifed

verified

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


A) serial
B) random
C) binary
D) sequential

Correct Answer

verifed

verified

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


A) binary access files
B) sequential access files
C) random access files
D) serial access files

Correct Answer

verifed

verified

C

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


A) 2
B) 3
C) 4
D) 5

Correct Answer

verifed

verified

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


A) CloseOutput
B) CloseInput
C) Close
D) Exit

Correct Answer

verifed

verified

C

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


A) fixed
B) mono
C) proportionally
D) random

Correct Answer

verifed

verified

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


A) file
B) record
C) database
D) field

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) storage
B) serial
C) input
D) report

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) CloseOutput
B) CloseInput
C) Close
D) Exit

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Showing 1 - 20 of 50

Related Exams

Show Answer