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;
39 Cards in this Set
- Front
- Back
Binary operators
|
operators that have only two operands, one on each side of the operator
|
|
Boolean
|
a data type whose only permitted value is true or false
|
|
Boolean: C reserved word
|
bool
|
|
Boolean: size
|
normally thought of as a one-byte unsigned integer
|
|
Boolean: normal signage
|
only positive values
|
|
Compiler
|
system software that converts a source program file into an object code file; normally associated with high level languages
|
|
Control structures
|
The mechanisms that allow us to control the flow of execution during a program (so that different lines of code are executed or that some lines of code are executed many times)
|
|
Counting loop
|
using a repetition structure to accomplish a task a given number of times (for example, if we want something done 5 times we count from 1 to 5 and therefore do it exactly 5 times)
|
|
Defined constant
|
a constant that uses a textual substitution method controlled by the pre-processor to the compiler (uses the #define header)
|
|
Executable code
|
the code created by linking various object code pieces
|
|
Generic function
|
A function designed to be used in many programs. Usually performs a very specific task. The functions are usually organized into a Standard Library or a User Defined Library.
|
|
Header file
|
A file reference that is included in a program (usually at the top). The compiler will expand (or include) the contents of the referenced file into the source code of the program. Header files contain the prototypes for standard functions in its library.
|
|
If then else
|
- uses a Boolean expression to control which lines are executed.
- selection category of control structures |
|
Infinite loop
|
A repetition (also known as a loop) that when coded by the programmer did not provide for a way to exit the structure. A bad thing.
|
|
Linker
|
System software (or program) for connecting (i.e. linking) several object code pieces. It creates the executable machine code.
|
|
Literal constant
|
An unnamed constant coded as part of an expression. A value you type into your program wherever it is needed.
|
|
Loader
|
System software for loading executable code into memory and then starting the execution of the code (i.e. running it).
|
|
Lvalue
|
An attribute that indicates that the operand is modifiable (i.e. usually a variable).
|
|
Memory constant
|
A constant that has a specific storage space in memory.
Example: const double PI = 3.14159; |
|
Object code
|
The resultant code piece produced by the compiler.
|
|
Parameter passing
|
The method of communicating between modules. They pass value(s) from the calling function into the called function. Additionally they can pass value(s) from the called function back to the calling function.
|
|
Pretest
|
An attribute of repetition structures. Literally the expression that controls the loop is tested before the action part of the loop is executed. Thus it is possible that the action part of the loop will never be executed. Within C, for and while loops are pretest loops.
|
|
How a pretest loop works
|
initialize --> test --> action --> update
|
|
Prototype
|
A declaration to the compiler establishing the type of communication used by a function. It allows the compiler to make sure that the calling of the function is being done correctly without knowing its definition.
|
|
Repetition
|
One of the categories of control structures that allows some code to be executed (or repeated) several times. Also known as looping.
|
|
Selection
|
One of the categories of control structure that chooses (i.e. selects) between two or more alternatives.
|
|
Sequence
|
One of the categories of control structures that executes lines of code in the sequence listed.
|
|
Sequence operator
|
An operator used to separate things. Also called a comma operator.
|
|
Source code
|
The file that contains program statements before they are converted into machine language; the input file to an assembler or compiler.
|
|
Standard library
|
Many common or standard functions, whose definitions have been written, are ready to be used in any program. They are organized into groups of functions (think of them as several books) and these groups (or books) are collectively called a Standard Library. There are several standard libraries of functions.
|
|
String
|
An array data type that is a sequence (string them along) of character data.
|
|
Test before loop
|
A repetition structure that tests the controlling expression before doing the action part of the loop. Within "C" programming, while and for structures are test before loops. See pretest loops.
|
|
Testing shell
|
A program used for developing a generic function. The sole purpose of the shell is to provide test data and call the function to check if it is working properly.
|
|
Trinary operator
|
An operator that has two operator symbols that separate three operands.
|
|
Unary
|
Describes an operator that has only one operand; all are on the left side of the operand except the postfix increment and postfix decrement.
|
|
Unary minus
|
An operator that has the effect of taking the value (either a constant or the value that is stored in the variable) and negating it (i.e. multiplying it by -1). Note: if the operand is a variable, it does not change the value of the variable.
|
|
Variable
|
A memory storage object that can have its value changed during the execution of the program.
|
|
Void
|
A data type used in "C" to represent an absence of data.
|
|
While
|
One of the repetition category of control structures. Uses a Boolean expression to control how many times it will execute the lines of code that are the action part. Note: the action part may never execute.
|