These are data items whose values do not change while the program is running.
Front
Literals
Back
If you want to know the length of a string that is stored in a string object, you can call the objects size, member, function
Front
False
Back
What does the term hardware refer to?
Front
The physical components that a computer is made of
Back
The programming process consists of several steps, which include
Front
design, creation, testing, and debugging
Back
Programmer defined names of memory locations that may hold data are
Front
variables
Back
A __________ is a set of instructions that a computer follows to solve a program
Front
program
Back
Floating point constants are normally stored in memory as doubles
Front
True
Back
In C++ key words are written in all lower-case letters
Front
True
Back
The __________ are used to display information on a computer screen
Front
cout object
Back
In a C++ program two slashes indicate
Front
the beginning of a comment
Back
Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, etc.
Front
True
Back
A preprocessor directive does not require a semicolon at the end
Front
True
Back
A CPU really only understands instructions that are in machine language
Front
True
Back
You must have a __________ for every variable you intend to use in a program
Front
definition
Back
The cin statement will stop reading input when it encounters a new line character
Front
True
Back
You can use these to override the rules of operator precedence in a mathematical expression
Front
parentheses
Back
__________ are used to translate each source code instruction into the appropriate machine language instruction
Front
compilers
Back
The C++ language requires that you give variables names that indicate what the variables are used for
Front
False
Back
A statement that starts with a # is called a
Front
preprocessor directive
Back
The function pow (x,5) requires this header file
Front
cmath
Back
The __________ causes the contents of another file to be inserted into a program
Front
include directive
Back
The purpose of the memory address is
Front
to identify the location of a byte in memory
Back
Which of the following best describes an operator?
Front
An operator allows you to perform operations on one or more pieces of data
Back
An integrated development environment typically consists of
Front
all of the above
Back
The only difference between the GET function and the insertion operator (<< , >>) is that the GET reads the first character type even if it's a space, tab, or enter key
Front
True
Back
Characters or symbols that perform operations on one or more operands are
Front
operators
Back
Escape sequences are always stored internally as a single character
Front
True
Back
This function tells the cin object to skip one or more characters in the keyboard buffer
Front
cin.ignore
Back
When the fixed manipulator is used, the values specified by the set precision manipulator will be the number of digits to appear after the decimal point
Front
True
Back
In memory, C++ automatically places a ___________ at the end of a string literal
Front
null terminator
Back
In programming, the terms line and statement, always mean the same thing
Front
False
Back
In any program that uses the cin object, you must include
Front
iostream header file
Back
When typing in your source code into the computer you must be very careful since most of your C++ instructions, header files, and variable names are case sensitive
Front
True
Back
This manipulator causes the field to be left justified with padding spaces printed to the right.
Front
left
Back
Arithmetic operators that share the same precedence have right to left associativity
Front
False
Back
___________ represents storage locations in a computers memory
Front
variables
Back
At the heart of a computer is a CPU, the CPUs job is
Front
all of the above
Back
A variable called "average", should be declared as an integer data type because it will probably hold data that holds decimal places
Front
False
Back
Besides decimal, two other number systems you might encounter in a C++ program are
Front
hexadecimal and octal
Back
This manipulator is used to establish a field width for the value immediately following it
Front
setw
Back
The computers main memory is commonly known as
Front
RAM
Back
Pseudocode is a form of program statements that will always evaluate to false
Front
False
Back
When this operator is used with string operands it can catenate them or joins them together?
Front
the plus sign
Back
The preprocessor executes after the compiler
Front
False
Back
If you do not follow a consistent programming style, your program will generate compiler errors
Front
False
Back
The ________ decodes an instruction and generates electrical signals
Front
control unit
Back
Machine language is an example of a high-level language
Front
False
Back
C++ does not have a built-in data type for storing strings of characters
Front
False
Back
For every opening brace in a C++ program there must be a
Front
closing brace
Back
The __________ causes a program to wait until information is typed at the keyboard and the enter key is pressed
Front
cinobject
Back
Section 2
(13 cards)
Numeric data types in C++ can be broken down into two general categories.
Front
Integer and floating point
Back
Of the following, which is a valid C++ identifier
Front
variable
Back
Name the three basic structures or constructs used to design program logic and give examples of these constructs using pseudocode