Chapter 12 Test 1

Chapter 12 Test 1 - Chapter 12 Test 1 Thursday, February...

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

View Full Document Right Arrow Icon
1. Data stored _________ disappears once the program stops running or the computer is powered down. A. on floppy disks B. in RAM C. on a backup tape D. on the hard disk E. None of these 2. True/False: When you assign a name to a file, the operating system identifies the file by the same name. A. True B. False 3. In order, the three-step process of using a file in a C++ program involves: A. Insert a diskette, open a file, remove the diskette B. Create the file contents, close the file, name the file C. Open the file, read/write/save data, close the file D. Name the file, open the file, delete the file E. None of these Chapter 12 Test 1 Thursday, February 24, 2011 5:15 AM General Page 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
4. True/False: When you store data in a variable, it is automatically saved in a file. A. True B. False 5. The _______ data type can be used to create files and write information to them. A. ofstream B. ifstream C. afstream D. outstream E. None of these 6. True/False: Only one file stream object can be declared per C++ program. A.
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.

Page1 / 6

Chapter 12 Test 1 - Chapter 12 Test 1 Thursday, February...

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