A451 Theory
Monday, 12 October 2015
Data Types
Question 1:
Flowertype-tulip-string-5bytes
Pricepaid-5-integer-2byts
Saleprice-10-integer-4bytes
Quantity-4-integer-2bytes
Outofstock-true-boolean-1bit
Monday, 5 October 2015
Data Types
Boolean:
a binary variable that can has two possible values, 0 (false) or 1 (true).
Integer: an integer is any positive or negative whole number. "3"
Real: a real is any decimal value. "1.12"
String: stores a string of characters. "fkenfkj"
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)