Exam 14: Files and Streams

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

When you copy data from a file on a storage device into RAM, you ____.

(Multiple Choice)
4.7/5
(43)

How can you create a class whose objects can be written to and read from data files? Show an example.

(Essay)
4.8/5
(37)

A ____ is a collection of fields that contain data about an entity.

(Multiple Choice)
4.8/5
(38)

A CSV file contains values separated by semicolon delimiters.

(True/False)
4.9/5
(38)

When you write a C# program that stores a value in a variable, you are using temporary storage; the value you store is lost when the program ends or the computer loses power. This type of storage is ____.

(Multiple Choice)
4.9/5
(35)

Temporary storage is usually called computer memory or _________________________.

(Short Answer)
4.8/5
(36)
Match each item with a statement below:
Store music, images, and executable programs
binary files
The combination of the disk drive plus the complete hierarchy of directories in which a file resides
computer file
A character or group of characters that has some meaning
permanent storage
Correct Answer:
Verified
Premises:
Responses:
Store music, images, and executable programs
binary files
The combination of the disk drive plus the complete hierarchy of directories in which a file resides
computer file
A character or group of characters that has some meaning
permanent storage
A file in which records are not used in sequence
path
A collection of information stored on a nonvolatile device in a computer system
delimiter
A field used to uniquely identify each record in a sequential file
token
A character used to specify the boundary between data items in text files
random access file
Is not lost when a computer loses power
field
A block of text within a string that represents an entity or a field
key field
(Matching)
4.9/5
(40)

When you write a program and save it to a disk, you are using temporary storage.

(True/False)
4.8/5
(35)

The set of all the characters used to represent data on a particular computer is that computer's ____________________.

(Short Answer)
4.8/5
(33)

The ____ method is a member of the String class; it takes a character delimiter parameter and separates a string into substrings at each occurrence of the delimiter.

(Multiple Choice)
4.8/5
(33)

Permanent storage is ____.

(Multiple Choice)
4.9/5
(39)

Tossing a file into a drawer of a file cabinet without a folder is the equivalent of placing a file in the main or ____________________ of your storage device when storing computer files.

(Short Answer)
4.8/5
(34)

When a C# application ____, the file is no longer available to the application.

(Multiple Choice)
4.9/5
(34)

Some files are ____________________ that contain facts and figures, such as a payroll file that contains employee numbers, names, and salaries.

(Short Answer)
4.9/5
(42)

A C# application ____ by creating an object and associating a stream of bytes with that object.

(Multiple Choice)
4.8/5
(34)

A ____ is any one of the letters, numbers, or other special symbols (such as punctuation marks) that comprise data.

(Multiple Choice)
4.8/5
(38)

When you perform an input operation in an application, you can picture bytes flowing into your program from an input device through a ____, which functions as a pipeline or channel.

(Multiple Choice)
4.8/5
(35)

The ____ class contains methods that allow you to access information about files.

(Multiple Choice)
4.9/5
(38)

____ converts streams of bytes back into objects.

(Multiple Choice)
4.9/5
(45)

When data values in a program are stored in memory, they are lost when the program ends.

(True/False)
4.9/5
(41)
Showing 21 - 40 of 42
close modal

Filters

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