Deck 3: Inputoutput
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/33
Play
Full screen (f)
Deck 3: Inputoutput
1
An expression such as pow(2,3) is called a(n) ____________________.
function call
2
Which header file contains the sqrt function?
cmath
3
What is the syntax of the ignore function?
cin.ignore(intExp, chExp);
4
The get function presented in this chapter only reads values of type ____________________.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
5
Write a statement to format the output of decimal numbers to two decimal places.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
6
To force the output to show the decimal point and trailing zeros of a decimal number, use the ____________________ manipulator.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
7
The setw manipulator cannot use a string as an argument.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
8
The header file ____________________ needs to be included to use the setw function.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
9
Define a file.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
10
File stream variables are predefined in the fstream header file and associated with input/output sources.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
11
The stream member function ____________________ is used to open files.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
12
Write a statement that closes the file stream outData.
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
13
What does these terms refer to:
- Arguments (parameters):
- Arguments (parameters):
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
14
What does these terms refer to:
- Common input:
- Common input:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
15
What does these terms refer to:
- Common output:
- Common output:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
16
What does these terms refer to:
- Dot notation:
- Dot notation:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
17
What does these terms refer to:
- Fail state:
- Fail state:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
18
What does these terms refer to:
- File:
- File:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
19
What does these terms refer to:
- File stream variables:
- File stream variables:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
20
What does these terms refer to:
- Function call:
- Function call:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
21
What does these terms refer to:
- Input failure:
- Input failure:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
22
What does these terms refer to:
- Input stream:
- Input stream:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
23
What does these terms refer to:
- Input stream variables:
- Input stream variables:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
24
What does these terms refer to:
- istream member functions:
- istream member functions:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
25
What does these terms refer to:
- Member access operator:
- Member access operator:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
26
What does these terms refer to:
- Opening a file:
- Opening a file:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
27
What does these terms refer to:
- Output stream:
- Output stream:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
28
What does these terms refer to:
- Output stream variables:
- Output stream variables:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
29
What does these terms refer to:
- Parameterized stream manipulators:
- Parameterized stream manipulators:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
30
What does these terms refer to:
- Predefined functions:
- Predefined functions:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
31
What does these terms refer to:
- Stream:
- Stream:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
32
What does these terms refer to:
- Stream member functions (stream functions):
- Stream member functions (stream functions):
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck
33
What does these terms refer to:
- Stream variables:
- Stream variables:
Unlock Deck
Unlock for access to all 33 flashcards in this deck.
Unlock Deck
k this deck