Content Frame
Note for screen reader users: There is text between the form elements on this page. To be sure that you do not miss any text, use item by item navigation methods, rather than tabbing from form element to form element
[Skip Breadcrumb Navigation]
Home  arrow Student Resources  arrow Chapter Quizzes  arrow Chapter 9

Chapter 9
Chapter 9 Quiz: Files, Printing, and Structures

This activity contains 10 questions.

Question 1
1 In a ______________ file, the data in the file must read from its beginning until its end.
 
End of Question 1


Question 2
2 Which statements are correct for declaring and writing to a file:
 
End of Question 2


Question 3
3
Open Hint for Question 3 in a new window
What does the WriteLine method of the StreamWriter class do?
 
End of Question 3


Question 4
4 Which code accomplishes the same thing as the code in question 2?
 
End of Question 4


Question 5
5
Open Hint for Question 5 in a new window
What does the Write method of the StreamWriter class do?
 
End of Question 5


Question 6
6 To determine a file exists, you should use the following method syntax:
 
End of Question 6


Question 7
7 To display a standard Windows.Save As dialog box, use the _________control.
 
End of Question 7


Question 8
8 To print output to the printer, you use the _________control.
 
End of Question 8


Question 9
9 To print a 3 column output of 10 spaces in each column, you would use the method:
 
End of Question 9


Question 10
10
Open Hint for Question 10 in a new window
1A ______________ is a datatype that is user created, containing one or more variables known as fields.
 
End of Question 10





Some questions in this exercise may have more than one correct answer. To answer such questions correctly, you must select all the correct answers. Also note that answer choices in this exercise appear in a different order each time the page is loaded.




Copyright © 1995-2008, Pearson Education, Inc., publishing as Pearson Addison Wesley
Legal and Privacy Terms
Pearson Education

[Return to the Top of this Page]