Cis170 Final Exam Guide

2554 words 11 pages
.

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
…show more content…
4
Points :

bool

int char double
Instructor Explanation:

Lecture / Chapter 13

Edit 22. MC 4.

Delete

(TCO 13) The is_closed function returns what kind of data type?
4
Points :

bool int char double
Instructor Explanation:

Lecture / Chapter 13

Edit 23. MC 4.

Delete

(TCO 13) Which of the following functions should be used to determine if a file was successfully closed?
4
Points :

is_active is_open is_closed is_ready
Instructor Explanation:

Lecture / Chapter 13

Edit 24. 25. 26. MC 5.

Delete

(TCO 12) A variable type that contains a memory address of another variable is called a _____.
4
Points :

reference pointer memory variable memory array

Instructor Explanation:

Lecture / Chapter 8

Edit 27. MC 5.

Delete

(TCO 12) Assuming that t is an array and tPtr is a pointer to that array, which expression refers to the address of element 3 of the array?
4
Points :

*( tPtr + 3 ) tPtr[ 3 ] &t[ 3 ] *( t + 3 )
Instructor Explanation:

Lecture / Chapter 8

Edit 28. MC 5.

Delete

(TCO 12) Which is not a reason that pointers are valuable?
4
Points :

Pointers allow for faster access to array elements. Pointers speed the process of passing objects like classes to functions. Pointers allow function to be passed as an argument to other functions. Pointers involve a great deal of overhead when used in conjunction with arguments. Instructor Explanation: Lecture / Chapter 8
Edit 29. MC 5.

Related

  • Reference Guide for Pharmacy Technician Exam
    4913 words | 20 pages
  • Is3340 Final Exam
    2313 words | 10 pages
  • HRM 595 Final Exam
    888 words | 4 pages
  • Final Study Guide
    5579 words | 23 pages
  • Stat 200 Final Exam
    1888 words | 8 pages
  • Final Study Guide
    1536 words | 7 pages
  • Final Exam Hrdv 5700
    1290 words | 6 pages
  • Acct 6273 Final Exam Acct6273 Final Exam
    1075 words | 5 pages
  • Final Exam
    872 words | 4 pages
  • Ifsm Final Exam
    2167 words | 9 pages