Lesson 9 Files, Printing, and Structures

Lesson 9 Files, Printing, and Structures - Chapter 9...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Chapter 9 Fill-in-the-blank 1. Opened 2. File buffer 3. Close 4. StreamWriter 5. StreamReader 6. WriteLine 7. ReadLine 8. Newline 9 PrintDocument 10. PrintPage 11. Monospaced 12. OpenFileDialog 13. SaveFileDialog 14. ColorDialog 15. FontDialog 16. Structure Multiple Choice 1. c 2. d 3. b 4. c 5. b 6. a 7. d 8. b 9. b 10. c 11. d 12. b 13. a 14. a 15. b 16. a 17. d 18. c True or False
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1. True 2. False 3. True 4. False 5. True 6. True 7. True 8. False 9. False 10. False 11. True 12. False 13. True 14. False 15. False 16. True Short Answer 1. Three steps: 1) The file must be opened. If the file does not yet exist, opening it means creating it. 2) Data is either written to the file or read from the file. 3) When the application is finished using the file, the file is closed. 2. The Close method writes any unsaved information remaining in the file buffer and releases the memory that was allocated by the StreamWriter object. 3. The read position is the position within the input buffer of the next item to be read. It is set to the first item in the file when the file is opened. 4.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/15/2010 for the course ITSE 1431 taught by Professor Gibson during the Spring '10 term at Central Texas College.

Page1 / 5

Lesson 9 Files, Printing, and Structures - Chapter 9...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online