programming Flashcards
what is an integer?
whole number
example = 1873628
what is a real (or float)?
numbers that have a decimal
examples = 1312.831
what is a Boolean?
you can only take one of two values e.g. true or false
character?
single number letter or symbol
example = hello or 1234 or ===
string?
usually to represent text , it is a collection of character
example = hello , how are you today
how many bytes does an integer have?
2 or 4 bytes
what data type would be 4 or 8 bytes?
real
what data type would 1 bit be?
Boolean
what data type would 1 byte be ?
character
what data type would 1 byte for every character be?
string
what does ‘+’ represent?
addition
what does ‘-‘ represent?
subtraction
what does ‘*’ represent?
multiplication
what does ‘/’ represent?
division
what does the sign =
is equal to