Exam 18: Files and Streams

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

Another way that a class could indicate to the CLR that objects of the class can be serialized is through implementing the ________ interface.

(Multiple Choice)
4.9/5
(35)

A _____________ contains the byte number of the next byte in a file to be read or written to a file.

(Multiple Choice)
4.9/5
(33)

The smallest data item in a computer is the _________.

(Multiple Choice)
4.9/5
(37)

In a ____________ file,records are typically stored in order by a record-key field.

(Multiple Choice)
5.0/5
(39)

BinaryFormatter's Serialize and Deserialize methods are both parameterless.

(True/False)
4.9/5
(34)

Visual Basic views every file simply as a sequential stream of bytes.

(True/False)
4.9/5
(43)

Class Directory can be used to change directories.

(True/False)
4.8/5
(29)

A record is a group of fields and a file is a group of records.

(True/False)
4.7/5
(39)

The enumeration FileAccess is used to ________.

(Multiple Choice)
4.9/5
(30)

An array is always serializable.

(True/False)
4.8/5
(29)

Method GetFiles of Directory can be used to obtain a list of all the files in a given directory.

(True/False)
4.8/5
(42)

A StreamReader object must be created in order to retrieve data from a text file.

(True/False)
4.7/5
(37)

When a FileStream object is opened,the file-position pointer is _________.

(Multiple Choice)
4.8/5
(33)

The classes dealing with files and directories are located in the System.IO namespace.

(True/False)
4.8/5
(41)

Data stored in arrays is permanent data.

(True/False)
4.8/5
(34)

One byte is composed of:

(Multiple Choice)
4.9/5
(41)

The name of the file to open is specified as the first argument to the FileStream constructor.

(True/False)
4.8/5
(30)

To distinguish records,there has to be at least one field that is unique for each instance;this is called the record key.

(True/False)
4.9/5
(37)

Visual Basic provides the class _______ for manipulating files.

(Multiple Choice)
4.8/5
(32)

Which of the following methods of FileStream will reset the file-position pointer back to the beginning of the file?

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

Filters

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