Topic 8 programming Flashcards
(8 cards)
1
Q
all of if statements
A
if
elif (else if)
else (everything else)
2
Q
what is a variable
A
A memory locator where data can change
3
Q
what is a constant
A
A memory location that stores data that never change
4
Q
integer + example
A
whole number 3
int(
5
Q
real/float
A
A number with a decimal
prices
6
Q
what is a char
A
single letter
7
Q
what is a string
A
alphanumeric characters
8
Q
boolean
A
true or false