Shared Flashcard Set

Details

C++ Programming Terminology
Ch3 and Ch4
60
Computer Science
Undergraduate 2
09/01/2010

Additional Computer Science Flashcards

 


 

Cards

Term
# include directive
Definition
Tells the computer to merge the source code from one file with the source code in another file
Term
Bugs
Definition
Errors in a program
Term
Camel case
Definition
The case most C++ programmers use for variable names; only the first letter in the second and subsequent
Term
Comment
Definition
A message in a program; also called internal documentation
Term
Debugging
Definition
Refers to the process of locating and removing any errors (bugs) in a program
Term
Executable file
Definition
The file that contains all of the machine code needed to run a C++ program
Term
Extraction operator
Definition
Two greater-than signs(>>); used to get information from the input stream
Term
Function
Definition
A block of code that performs a task
Term
Function body
Definition
The code contained between a function’s opening and closing braces
Term
Function header
Definition
The first line in a function; marks the beginning of the function
Term
IDE
Definition
An acronym for Integrated Development Environment
Term
Initializing
Definition
The process of assigning an initial value to an item
Term
Insertion operator
Definition
Two less-than signs (<<); used to send informationi to the output stream
Term
Integrated Development Environment
Definition
A system that contains both an editor and a compiler in one integrated environment
Term
Internal documentation
Definition
The comments in a program
Term
Keyword
Definition
A word that has a special meaning in a programming language
Term
Linker
Definition
The program that combines the object file with other machine code necessary for a C++ program to run
Term
Logic error
Definition
An error created when you enter an instruction that does not give you the expected results
Term
Object code
Definition
Another name for machine code
Term
Object file
Definition
The file that contains the object code
Term
Source code
Definition
The program instructions you enter using a text editor
Term
Source file
Definition
The file that contains the source code
Term
Statement
Definition
A C++ instruction that causes the computer to perform some action after it is executed (processed) by
Term
Stream manipulator
Definition
Allows a C++ program to manipulate (manage) the input and output stream characters in some way
Term
Streams
Definition
Sequences of characters used in C++ to perform standard input and output operations
Term
Syntax
Definition
The set of rules that must be followed when using a programming language
Term
Syntax error
Definition
An error created by entering an instruction that violates the programming language’s syntax
Term
Testing
Definition
Refers to running a program, along with sample data, on the computer
Term
Using statement
Definition
Tells the computer where it can find the definition of a keyword
Term
Void functions
Definition
Functions that do not return a value after performing their assigned task
Term
‘\n’
Definition
The newline character in C++
Term
Arguments
Definition
The items of information that appear between the parentheses following a function’s name
Term
Arithmetic assignment operator
Definition
An operator comprised of an arithmetic operator and the assignment operator, +=, -=, *=, /=, and %=
Term
Boolean values
Definition
The values True and False, named in honor of the English mathematician George Boole, who invented
Term
Character literal constant
Definition
One character enclosed in single quotation marks
Term
Characters
Definition
Letters, symbols, and numbers that will not be used in calculations
Term
Consuming
Definition
The process of discarding a character
Term
Delimiter character
Definition
A character that indicates the end of something; for example, in the getline() function, the function
Term
Demoted
Definition
Refers to the conversion of a value from one data type to another data type that can store only smaller
Term
Empty string
Definition
Two double quotation marks with no space between, like this “”
Term
Explicit type conversion
Definition
The process a programmer uses to explicitly convert an item of data from one data type to another; also
Term
Fixed stream manipulator
Definition
The manipulator used to display floating-point numbers in fixed-point notation
Term
Floating point numbers
Definition
Numbers having a decimal place
Term
Fundamental data types
Definition
The basic data types built into the C++ language; also called primitive data types or built-in data types
Term
getline() function
Definition
Used to get string input from the user at the keyboard; the input can contain any character, even
Term
ignore() function
Definition
Used to instruct the computer to first read and then consume (discard) characters
Term
Implicit type conversion
Definition
If a values data type does not match a memory location’s data thype, this is the process the computer
Term
Initializing
Definition
The process of assigning a beginning (or initial) value to a memory location
Term
Literal constant
Definition
An item of data that can appear in a program instruction, and that can be stored in a memory location
Term
Named constant
Definition
A memory location whose contents cannot change while a program is running
Term
Newline character
Definition
Represents the Enter key; designated in C++ by the ‘\n’ character
Term
Numeric literal constant
Definition
Any number
Term
Promoted
Definition
Refers to the conversion of a value from one data type to another data type that can store larger numbers
Term
Scientific stream manipulator
Definition
The manipulator used to display floating-point numbers in e notation
Term
Setprecision stream manipulator
Definition
The manipulator used to control the number of decimal places that appear when a floating-point number is
Term
static_cast operator
Definition
Used to explicitly convert an item of data from one data type to another data type
Term
String literal constant
Definition
Zero or more characters enclosed in double quotation marks
Term
Type casting
Definition
Another term for explicit type conversion
Term
Variable
Definition
A memory location whose contents can change while a program is running
Term
White-space character
Definition
A blank character, a tab character, or a newline character
Supporting users have an ad free experience!