1.2 Compare and Contrast Fundamental Data Types and Their Characteristics Flashcards
1
Q
What is an Integer and Float?
A
- Integer is a Data Type that represents whole numbers with no decimal components and can be a positive or negative number.
- Float is a Data Type that represents numbers with decimal or fractional components that can be positive or negative; used for extreme precision.
2
Q
What is a Boolean?
A
Data Type that contains one of two possibel values; TRUE or FALSE.
3
Q
What is a Char or String Data Type?
A
- Char is a data type that contains a single character such as letter, number or symbol.
- String is a data type that contains a sequence of characters that can be a letter, number or symbol.