1.2 Data Types and Characteristics Flashcards

1
Q

How much storage space is consumed by the floating point number data type?

A

Between 4 and 8 bytes.

Floating point number represents decimal fractions. Standard float (32 bit) , double (64 bit).

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

What special numeric data type indicates that something is either TRUE or FALSE?

A

Boolean Values.

Characteristic of binary notation where a choice of either on or off (1 or 0) is made.

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

How are integers represented?

A

Whole numbers that are in base 10.

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

Integers cannot be […].

A

Irrational numbers.

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

The value “CompTIA” is a representation of which data type?

A

String.

A string is a collection of text characters.

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

Why is it important to understand the different data types that a computer program can use?

A

To determine what sort of operations can be performed.

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

How much storage space is consumed by the Boolean data type?

A

A single bit.

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

How much storage space is consumed by the integer data type?

A

Between 1 and 8 bytes.

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

How is the amount of storage that can be used by a single string limited?

A

There is no limitation to the amount of storage used by a string.

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

How much storage space is consumed by the character data type?

A

A single byte.

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

What limitation is placed on a number when it is entered as a character data type?

A

You cannot perform mathematical operations on it.

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

What fundamental data type is used to support decimal fractions?

A

Floating point numbers or just “float”.

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

What data types can not store the number 3?

A

Boolean.

Char, on the other hand, can store the number 3, but cannot have mathematical operations performed in it.

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