Module 2 Flashcards

(46 cards)

1
Q

A sequence of statements whose objective is to acomplish a task

A

Computer program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The process of planning and creating a program

A

Programing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A set of rules, symbols, and special words

A

Programming language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A reserved word

A

Keyword

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A function that is already written and provided as part of the system

A

Predifined

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A collection of statements; when activated, or exicuted, it acomplishes something

A

Function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A set of values together with a set of operations

A

Data types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A data type that deals with decimal numbers

A

Floating point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A c++ identifier consists of letters, digits, and the underscore character (_); it must begin with a letter or underscore

A

Identifiers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A data type that deals with integers, or numbers without a decimal part

A

Integral

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A user-defined data type

A

Enumeration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

A form of scientific notation used to represent real numbers

A

Floating point notation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The data type ____ is used in C++ to represent any decimal number between -3.410^38 and 3.410^38. The memory allocated for a values of the ___ data type is FOUR BYTES

A

Float

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A predifined ordering for the characters in a set

A

Collating sequence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Values of the type double

A

Double precision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The data type _____ is used in C++ to represent any decimal number between -1.710^308 and 1.710^308. The memory allocated for a value of the ____ type is EIGHT BYTES

A

Double

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The maximum number of significant digits

A

Percision

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Numbers appearing in an arithmetic experession

A

Operands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

An expression constructed using arithmetic operators and numbers

A

Arithmatic experession

20
Q

The ____ of arithmetic operators is said to be from left to right.

A

Associativity

21
Q

Arithmetic operation on character data

A

Character arithmetic

22
Q

An operator that has two operands

A

Bianary operators

23
Q

An expression in which all operands are integers

A

Integral expressions

24
Q

An operator that has only one operand

A

Unary operators

25
An expression in which all operands in the experession are floating point numbers
Floating point (decimal) expressions
26
An expression that has operands of diffrent data types
Mixed expressions
27
When a value of one data type is automatically changed to another data type
Implicit type coercion
28
A memory location whose content is not allowed to change during program execution
Named constant
29
A string containing no characters
Null
30
Also known as type conversion or type casting - is used to explicitly convert one data type to another data type
Cast operator
31
A memory location whose content may change during program execution
Variable
32
=; assigns whatever is on the right side to the variable on the left side
Assignment opperator
33
A statement that places data into variables using cin and >>
Input (read)
34
The first time a value is placed in the variable
Initialized
35
- -; decreases the value of the variable by one
Decrement opperators
36
Has the syntax variable ++
Post increment
37
++; increases the value of a variable by 1
Increment operator
38
Has the syntax ++variable
Pre-increment
39
Has the syntax variable- -
Post-decrement
40
Has the syntax - - variable
Pre-decrement
41
An output to the standard output device via cout and >>
Output statement
42
Statements that perform calculations, manipulate data, create output, accept input, and so on
Executable statments
43
Statements that are used to declare things, such as variables
Decleration statments
44
A program that carries out preprocessor directives
Preprocessor
45
Exicutable statements that inform the user what to do
Prompt lines
46
Statements that are used to write simple assignments statements in a more concise notation
Compound assignment statements