What I have learnt so far
The data types I have learnt about are:
Real - a decimal value such as 3.27Integer - a whole number/value such as 11
Boolean - 2 values, either false or true
String - stores a string of character
Questions on data types
1)a)
FlowerType
Example: AGTRO
Type: String
Size: 5 bytes
b)
PricePaid
Example: 4.50
Type: Real
Size: 4-8 bytes
c)
SalePrice
Example: 6.75
Type: Real
Size: 4-8 bytes
d)
QuantitySold
Example: 23
Type: Integer
Size: 2-4 bytes
e)
OutOfStock?
Example: False
Type: Boolean
Size: 1 bit
2)
In Python:
Integer: Int
Real:
Boolean:
String: