2.2.2 Data Types Flashcards
What are all data types?
Integer
Boolean
Real (or float)
Character
String
Casting
What is integer and what is its Pseudocode?
A whole number with no decimal point.
int
What is Boolean and what is its Pseudocode?
Digital data - can present those with a decimal point
bool
What is real(or float) and what is its Pseudocode?
All numbers, including those with a decimal point
real (or float)
What is Character and what is its Pseudocode?
A single letter, number or symbol
char
What is string and what is its Pseudocode?
A collection of alphanumeric data characters and symbols. Usually enclosed in quotation marks
str
What is Casting?
The conversion of one data type into another, or converting a number into string