Exam 14: Files and Streams

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

How does a C# application open a file?

(Multiple Choice)
4.8/5
(49)

When a file is open in C#, what holds the byte number of the next byte to be read?

(Multiple Choice)
4.8/5
(32)

What is a record?

(Essay)
4.8/5
(30)

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.What is the name for this kind of storage?

(Multiple Choice)
4.8/5
(32)

What class can be used to provide information on directories or folders?

(Multiple Choice)
4.8/5
(30)

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

(Essay)
4.8/5
(40)

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

(True/False)
4.8/5
(38)

Describe some of the methods of the Directory class.

(Essay)
4.8/5
(44)

What 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.8/5
(43)

Write a program that prompts a user for a filename and tests the file's existence.If the file exists, display the file creation time.If it does not exist, display a message.

(Essay)
4.8/5
(50)

Files exist on devices such as hard disks, USB drives, reels of magnetic tape, and optical discs.What are these files considered to be?

(Multiple Choice)
4.8/5
(30)

What Filestream property indicates whether the Filestream supports reading?

(Multiple Choice)
4.9/5
(42)

When a C# application is done using a file, what should it do with the file?

(Multiple Choice)
4.8/5
(33)

What method is a member of the String class and takes a character delimiter parameter and separates a string into substrings at each occurrence of the delimiter?

(Multiple Choice)
4.8/5
(35)

What class contains methods that allow you to access information about files?

(Multiple Choice)
4.9/5
(38)

When you store data in a computer file on a persistent storage device, what are you doing?

(Multiple Choice)
4.8/5
(38)

Files are used to store data on nonvolatile memory.

(True/False)
4.9/5
(39)

The File class is contained in the System.IOFile namespace.

(True/False)
4.8/5
(38)

The terms directory and folder are used synonymously to refer to an entity that is used to organize files.

(True/False)
4.8/5
(33)
Showing 21 - 40 of 40
close modal

Filters

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