Chapter 3-Terms Flashcards
Binary number system
A system that uses only the two digits 0 and 1; used to represent numeric data in the computer’s internal memory
ASCII
A coding scheme used to represent character data; stands for American Standard Code for Information Interchange
Camel case
A naming convention that capitalizes only the first letter in the second and subsequent words in a memory location’s name
Character
A letter, a symbol, or a number that will not be used in a calculation
Character literal constant
One character enclosed in single quotation marks
Decimal number system
A system that represents numbers using the digits 0 through 9
Demoted
Refers to the conversion of a number from one data type to another data type that can store only smaller numbers
Empty string
Two quotation marks with no space between, like this “”
Fundamental data types
The basic data types built into the C++ language; also called primitive data types or built-in data types
Implicit type conversion
The process the computer follows when converting a numeric value to fit a memory location that has a different data type
Initializing
Assigning a beginning value to a memory location
Integer
A whole number; which is a number without a decimal place
Keyword
A word that has a special meaning in the programming language you are using
Literal constant
An item of data that can appear in a program instruction and be store in a memory location
Named constant
A memory location whose value cannot be changed while a program is running
Numeric literal constants
Numbers
Promoted
Refers to the conversion of a number from one data type to another data type that can store larger numbers
Real numbers
Numbers that contain a decimal place
Runtime
Occurs while a program is running
Statement
A C++ instruction that causes the computer to perform some action after being executed (processed) by the computer; all statements in C++ must end with a semicolon
String literal constant
Zero or more characters enclosed in double quotation marks
Syntax
The rules you need to follow when using a programming language; every programming language has its own syntax
Text
A group of characters treated as one unit and not used in a calculation
User-defined data type
A data added to the C++ language through the use of a class; an example is the string data type