Variables and instructions Flashcards
1
Q
Which of the following are most likely to be variables?
a) getUmbrella()
b) isFound
c) customer.firstName
d) True
e) 2018
f) “cake”
g) apple
A
a) No, this is a function.
b) Yes (isFound = True)
c) No, this is a field within a record.
d) No, this is a Boolean value.
e) No, this is an integer.
f) No, this is a string.
g) Yes (apple = “Fruit”)