ch 3 Flashcards

1
Q

stream

A

sequence of characters from source to destination

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

stream member functions (stream functions)

A

I/O functions such as “get”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

stream variables

A

either an input stream variable or an output stream variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

predefined functions

A

functions already defined in C++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

parameterized stream manipulators

A

manipulators with parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

output stream variables

A

variables of type “ostream”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

output stream

A

sequence of characters from the computer to the output device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

opening a file

A

associating a file stream with an input or output source

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

member access operator

A

dot operator in C++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

“istream” member functions

A

functions that are associated with the data type “istream”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

input stream variables

A

variables of the type “istream”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

input stream

A

sequence of characters from an input device to the computer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

input failure

A

situation in which program fails to compile, or yields incorrect results, because the input data does not match the corresponding variables in the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

function call

A

expression that transfers control from the main function to the first statement in the body of the function such as “pow(2,3)”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

file stream variables

A

user defined variables including “ifstream” and “ofstream” used for input and output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

file

A

area in secondary storage used to hold information

17
Q

fail state

A

state an input stream enters after input failure in which all further I/O statements using that stream are ignored

18
Q

dot notation

A

notation in which a dot separates the input stream variable name from the member/ function name

19
Q

common output

A

“cout”

20
Q

common input

A

“cin”

21
Q

arguments

A
  • parameters

- values that are passed in a function call in the parentheses after the name of the function