Chapter 2 Key Terms Flashcards

1
Q

Data Type

A

a classification that describes what values can be assigned, how the item is stored, and what types of operations can be performed with the item.

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

Numeric

A

describes data that consists of numbers and can be used in arithmetic operations.

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

String

A

describes data that is nonnumeric.

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

Integer

A

A whole number.

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

A Floating Point

A

number is a number with decimal places.

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

Real Numbers

A

floating-point numbers

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

Numeric Constant (or literal Numeric Constant)

A

is a specific numeric value.

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

String constant (or literal string constant)

A

is a specific group of characters enclosed within quotation marks.

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

Alphanumeric values

A

can contain alphabetic characters, numbers, and punctuation.

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

Unnamed constant

A

is a literal numeric or string value.

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

Declaration

A

is a statement that provides a data type, an identifier, and, optionally, an initial value.

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

Numeric variable

A

is one that can hold digits, have mathematical operations performed on it, and usually can hold a decimal point and a sign indicating positive or negative.

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

String variable

A

can hold text that includes letters, digits, and special characters such as punctuation marks.

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

Type-safety

A

is the feature of some programming languages that prevents assigning values of an incorrect data type.

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

Identifier

A

a program component’s name.

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