Exam 9: Sequential Access Files and Printing

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

Any attempt to use the OpenText method generates an error message if the file does not exist.

(True/False)
4.8/5
(30)

A binary data file is also referred to as a text file.

(True/False)
4.9/5
(34)

Which is the appropriate function when ten blank spaces need to be inserted into a file?

(Multiple Choice)
4.9/5
(43)

A sequence of characters is referred to as a ____.

(Multiple Choice)
4.8/5
(31)

A fixed-spaced font allows you to align the text that appears in a printout.

(True/False)
4.9/5
(38)

If a file is designated by name only, without a folder path, the computer will search in the current project's ____ folder.

(Multiple Choice)
4.7/5
(29)

A file that data is written to is referred to as a(n) ____ file.

(Multiple Choice)
4.8/5
(37)

If a data file is not on the drive specified in an AppendText method, it is created by the computer.

(True/False)
4.7/5
(37)

Where from the left edge of the paper will the following line of code begin printing? e.Graphics.DrawString("Report Header", New Font("tahoma", 14, FontStyle.Regular),Brushes.Black, 12, 15)

(Multiple Choice)
4.7/5
(45)

The ____ method is used to look into the data file and determine if additional data exists.

(Multiple Choice)
4.8/5
(32)

The PadLeft and PadRight methods can be used to align columns of information written to a sequential access file.

(True/False)
4.9/5
(40)

Where from the top edge of the paper will the following line of code begin printing? e.Graphics.DrawString("Report Header", New Font("tahoma", 14, FontStyle.Regular),Brushes.Black, 12, 15)

(Multiple Choice)
4.8/5
(33)

You use a StreamReader object to write a sequence of characters to a sequential access file.

(True/False)
4.8/5
(35)

Records in a random file can only be retrieved randomly from the file.

(True/False)
5.0/5
(39)

What value does the Peek method return when there is no more data in the file being processed?

(Multiple Choice)
4.8/5
(33)

The CreateText method creates a new, empty sequential access file.

(True/False)
4.9/5
(40)

What font size will the following line of code print? e.Graphics.DrawString("Report Header", New Font("tahoma", 14, FontStyle.Regular),Brushes.Black, 12, 15)

(Multiple Choice)
4.8/5
(39)

You use the ____ method to read a line of text from a sequential access file.

(Multiple Choice)
4.9/5
(30)

Which of the statements can be used to fill a string variable with asterisks resulting in the following; *****$675.89?

(Multiple Choice)
4.9/5
(38)

Which of the following methods will allow data to be used as input from an existing data file?

(Multiple Choice)
4.8/5
(35)
Showing 21 - 40 of 50
close modal

Filters

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