Topic 8 programming Flashcards

1
Q

all of if statements

A

if
elif (else if)
else (everything else)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a variable

A

A memory locator where data can change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is a constant

A

A memory location that stores data that never change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

integer + example

A

whole number 3

int(

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

real/float

A

A number with a decimal

prices

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is a char

A

single letter

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is a string

A

alphanumeric characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

boolean

A

true or false

How well did you know this?
1
Not at all
2
3
4
5
Perfectly