FIT 100
© Copyright University of
Washington 1999-2000
Mini-Exercise #1 -- Answers
vSuppose you have a variable that represents the total
amount of a loan. What is a good name for this variable?
loanAmount or loan_amount
vSuppose the computer executes
the following statements. What is the value
of total at the end?
x = 1
total = x + 3
total is 4
vWhat is the value of squid after executing these
statements?
clam = 1
squid = 4 + 2*clam
squid is 6