Exam 18: Files and Streams

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

Class File can only create new files.

(True/False)
4.9/5
(38)

When a file is opened,a stream object is created and associated with the file.

(True/False)
4.9/5
(34)

Files can be stored in:

(Multiple Choice)
4.8/5
(34)

All primitive-type variables and strings are serializable.

(True/False)
5.0/5
(42)

Directory method GetDirectories returns _______.

(Multiple Choice)
4.8/5
(39)

The Console.Error property returns:

(Multiple Choice)
4.9/5
(36)

An OpenFileDialog allows a user to select a file to open.

(True/False)
4.9/5
(28)

BinaryFormatters can be used to serialize and deserialize objects coming in and going out of a stream.

(True/False)
4.9/5
(42)

For variables of reference types,you must check the class declaration to ensure that the type is serializable.

(True/False)
4.8/5
(39)

A serialized object is an object that includes ________.

(Multiple Choice)
5.0/5
(35)

Characters in Visual Basic are Unicode characters,each represented by one byte.

(True/False)
4.7/5
(37)

A FileStream object can throw a(n)________ if an attempt is made to open a file that does not exist.

(Multiple Choice)
4.8/5
(28)

To access a file,you must instantiate an object of type File.

(True/False)
4.8/5
(27)
Showing 41 - 53 of 53
close modal

Filters

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