Premium Essay

Cis170 Final Exam Guide

In: Computers and Technology

Submitted By AkirunoPekkle
Words 2540
Pages 11
.

MC

1.

(TCO 13) Text files are what type of file?
4
Points :

Sequential Random access Binary Consecutive
Instructor Explanation:

Lecture / Chapter 13

Edit 3. MC 1.

Delete

(TCO 13) To create an input file object, what kind of type would you use?
4
Points :

ifstream ofstream fstream instream
Instructor Explanation:

Lecture / Chapter 13.1 Introduction

Edit 4. MC 1.

Delete

(TCO 13) To create an output file object, what kind of type would you use?
4
Points :

ifstream ofstream fstream instream
Instructor Explanation:

Lecture / Chapter 13.1 Introduction

Edit 5. MC 1.

Delete

(TCO 13) The header file that defines the classes for processing and manipulating files is called the _____.
4
Points :

Instructor Explanation:

Chapter 13.1 Introduction

Edit 6. 7. 8. MC 2.

Delete

(TCO 13) What do the following statements accomplish? ifstream theFile; theFile.open( myFile.txt , ios::in);
4
Points :

Opens myFile in read mode Opens myFile in append mode Creates an empty file named myFile Opens a file in input mode to write to
Instructor Explanation:

Lecture / Chapter 13

Edit 9. MC 2.

Delete

(TCO 13) What do the following statements accomplish? ofstream theFile; theFile.open( myFile.txt , ios::out);
4
Points :

Opens myFile in read mode Opens myFile in append mode Creates an empty file named myFile Opens a file in input mode to write to
Instructor Explanation:

Lecture / Chapter 13

Edit 10. MC 2.

Delete

(TCO 13) What do the following statements accomplish? ofstream theFile; theFile.open( myFile.txt , ios::app);
4
Points :

Opens myFile in read mode Opens myFile in append mode Creates an empty file named myFile Opens a file in input mode to write to

Instructor Explanation:

Lecture / Chapter 13

Edit 11. MC 2.

Delete

(TCO 13) What do the following...

Similar Documents