Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
30 Cards in this Set
- Front
- Back
programmed |
Computers can do many different jobs because they can be_______________.
|
|
LU
|
Internally, the CPU consists of the __________________ and the _______________.
|
|
high level language
|
The two general categories of software are ________________ and ________________.
|
|
low level |
Since computers can t be programmed in natural human language, algorithms must be written in a(n) __________________ language.
|
|
low
|
______________________ languages are close to the level of humans in terms of readability.
|
|
cordavility
|
A program s ability to run on several different types of computer systems is called __________.
|
|
programmer define symbols
|
Words or names defined by the programmer are called ________________.
|
|
punctuation
|
____________ characters or symbols mark the beginning or ending of programming statements, or separate items in a list.
|
|
input processing
|
A(n) __________ is a named storage location.
|
|
input, processing, and output
|
The three primary activities of a program are __________, __________, and __________.
|
|
output
|
__________ is information a program sends to the outside world.
|
|
tells the preprocessor to include the iostream standard file. This specific file (iostream) includes the declarations of the basic standard input-output library in C++, and it is included because its functionality is going to be used later in the program.
|
#include
|
|
Preprocessor directives begin with a
|
#
|
|
A group of statements, such as the contents of a function, is enclosed in
|
Braces {}
|
|
A(n) ___________ is like a variable, but its value is read-only and cannot be changed during the programs execution.
|
named constant
|
|
When do preprocessor directives execute?
|
Before the compiler compiles your program
|
|
A variable must be de ned before it can be used.(true or false)
|
true
|
|
Variable names may be up to 31 characters long.(true or false)
|
true
|
|
You cannot initialize a named constant that is declared with the const modifier. true or false
|
false
|
|
The __________ library function returns the sine of an angle.
|
sin
|
|
The __________ library function returns the exponential function of a number.
|
exp
|
|
The __________ library function returns the natural logarithm of a number.
|
log
|
|
The __________ library function returns the value of a number raised to a power. |
pow
|
|
The __________ le must be included in a program that uses the mathematical functions.
|
cmath
|
|
A relational expression is either __________ or __________.
|
true, false
|
|
The if statement regards an expression with the value 0 as __________.
|
false
|
|
14. For an if statement to conditionally execute a group of statements, the statements must be enclosed in a set of __________.
|
braces
|
|
The trailing else in an if/else if statement has a similar purpose as the__________ section of a switch statement. |
default
|
|
If the sub-expression on the left of the __________ logical operator is false, the right sub-expression is not checked.
|
&&
|
|
The __________ logical operator has higher precedence than the other logical operators.
|
!
|