Site MapHelpFeedbackTrue or False
True or False
(See related pages)

1
The default security policy for the Internet does not allow access to disk files.
A)True
B)False
2
Visual Studio handles access to data files using streams which are objects with no methods or properties.
A)True
B)False
3
The stream object is found in the System.IO namespace which must be referenced in your project with an include statement.
A)True
B)False
4
The process of retrieving data from a file outside of your project is called reading or input.
A)True
B)False
5
C# uses the StreamReader and StreamWriter objects to read and write small amounts of data in files.
A)True
B)False
6
The Write method includes a carriage return character while the WriteLine method does not add one.
A)True
B)False
7
The Close method of the StreamWriter object copies the data to a buffer in memory.
A)True
B)False
8
The default location for a file referenced in the declaration of a StreamWriter object is the place where the program executable resides.
A)True
B)False
9
When declaring a StreamWriter object you can specify whether you want to append the data to an existing file, which is the default mode, or overwrite any existing data.
A)True
B)False
10
The WriteLine method of the StreamWriter object will accept only numeric values as its argument.
A)True
B)False







Programming in Visual C# 2005Online Learning Center

Home > Chapter 11 > True or False