O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Self-Review Exercises

17.1 State whether each of the following is true or false. If false, explain why.

a) You cannot instantiate objects of type Stream.

b) Typically, a sequential file stores records in order by the record-key field.

c) Class StreamReader inherits from class Stream.

d) Any class can be serialized to a file.

e) Method Seek of class FileStream always seeks relative to the beginning of a file.

f) Classes StreamReader and StreamWriter are used with sequential-access files.

17.2 Fill in the blanks in each of the following statements:

a) Ultimately, all data items processed by a computer are reduced to combinations of _______ and _______.

b) The smallest data item a computer can process is called a(n) _______.

c) A(n) _______ is a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required