Chapter 3 Flashcards
Bytes are usually characters…
unless the program requires other information.
What is stream?
It is a sequence of characters (or bytes) from source to destination.
What is the input stream?
It is a sequence of characters that (or bytes) from an input device to a computer
What is an output stream?
It is a sequence of characters (or bytes) from the computer to the output device.
What is the iostream file used for?
It is a preprocessor that receives data from the keyboard and send the output to the screen.
What is intream?
input stream
What is ostream?
Output stream
What is cin?
Command that stands for common input.
What is cout?
Stands for common output.
What is the»_space; command?
It is an Extraction operator that skips all whitespace and blanks and certain non printable characters.
For data input what would be accepted for char?
One printable character except the blank.
For data input what would be acceptable for int?
An integer, possibly preceded by a + or a - sign.
For data input what would be acceptable for double?
A decimal number, possibly preceded by a + or a - sign. The input is converted to a decimal number with the decimal part equal to 0.
What is a function(subprogram)?
It is a set of instructions.