Compare and Contrast fundamental data types and their characteristics Flashcards

1
Q

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

A

Between 4 and 8 bytes

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

How many Bits make 1 Btye

A

Eight (8)

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

How many characters can one byte store?

A

One character

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

Bits to Pattern Ratio
1 bit =
2 bit =
3 bit =
4 bit =
5 bit =
6 bit =
7 bit =
8 bit =
What’s the mathematical expression?

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

One byte can hold a number between 0 & ?

A

255

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

All storage is stored in what measurement?

A

Bytes

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

1 Kilobyte is how many bytes

A

1 thousand bytes

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

1 Megabyte is how many bytes

A

1 million bytes

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

1 Gigabyte is how many bytes

A

1 billion

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

1 Terabyte is how many bytes

A

1 Trillion

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
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
12
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
13
Q

How are integers represented?

A

Whole numbers that are in base 10, such as 5, 21, or 65536

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

What fundamental data type is used to support decimal fractions such as 4.1, 26.4, and 5.62?

A

Floating point numbers or just “float”

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

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

A

The data type determines what sort of operations can be performed.

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

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

A

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

17
Q

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

A

Boolean values

17
Q

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

A

A single bit

18
Q

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

19
Q

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

A

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

20
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.

21
Q

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

A

Between 1 and 8 bytes

22
Q

Which of the following is the correct syntax of using an escape character to include a quote character in a string definition?

23
Q

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

A

A single byte