Compare and Contrast fundamental data types and their characteristics Flashcards
How much storage space is consumed by the floating point number data type?
Between 4 and 8 bytes
How many Bits make 1 Btye
Eight (8)
How many characters can one byte store?
One character
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?
One byte can hold a number between 0 & ?
255
All storage is stored in what measurement?
Bytes
1 Kilobyte is how many bytes
1 thousand bytes
1 Megabyte is how many bytes
1 million bytes
1 Gigabyte is how many bytes
1 billion
1 Terabyte is how many bytes
1 Trillion
How much storage space is consumed by the character data type?
A single byte
What limitation is placed on a number when it is entered as a character data type?
You cannot perform mathematical operations on it.
How are integers represented?
Whole numbers that are in base 10, such as 5, 21, or 65536
What fundamental data type is used to support decimal fractions such as 4.1, 26.4, and 5.62?
Floating point numbers or just “float”
Why is it important to understand the different data types that a computer program can use?
The data type determines what sort of operations can be performed.
How is the amount of storage that can be used by a string limited?
There is no limitation to the amount of storage used by a string.
What special numeric data type indicates that something is either TRUE or FALSE?
Boolean values
How much storage space is consumed by the Boolean data type?
A single bit
The value “CompTIA” is a representation of which data type?
String
How is the amount of storage that can be used by a string limited?
There is no limitation to the amount of storage used by a string.
What limitation is placed on a number when it is entered as a character data type?
You cannot perform mathematical operations on it.
How much storage space is consumed by the integer data type?
Between 1 and 8 bytes
Which of the following is the correct syntax of using an escape character to include a quote character in a string definition?
How much storage space is consumed by the character data type?
A single byte