1.2 Data Types and Characteristics Flashcards
How much storage space is consumed by the floating point number data type?
Between 4 and 8 bytes.
Floating point number represents decimal fractions. Standard float (32 bit) , double (64 bit).
What special numeric data type indicates that something is either TRUE or FALSE?
Boolean Values.
Characteristic of binary notation where a choice of either on or off (1 or 0) is made.
How are integers represented?
Whole numbers that are in base 10.
Integers cannot be […].
Irrational numbers.
The value “CompTIA” is a representation of which data type?
String.
A string is a collection of text characters.
Why is it important to understand the different data types that a computer program can use?
To determine what sort of operations can be performed.
How much storage space is consumed by the Boolean data type?
A single bit.
How much storage space is consumed by the integer data type?
Between 1 and 8 bytes.
How is the amount of storage that can be used by a single string limited?
There is no limitation to the amount of storage used by a string.
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.
What fundamental data type is used to support decimal fractions?
Floating point numbers or just “float”.
What data types can not store the number 3?
Boolean.
Char, on the other hand, can store the number 3, but cannot have mathematical operations performed in it.