Provide a brief definition of the following terms (in the interface
programming context):
Reserved Word
Comment
Precedence
Assignment statement
Comparison Operator
Boolean
Condition
If you use a source (book or web site), cite your source. (The sites
http://whatis.techtarget.com/ and http://www.webopedia.com/ are decent
sources for technical definitions.)
Tip calculator update. Update your tip calculator program so that
It displays the tip as well as the total (tip plus bill).
The tip and total are displayed as currency -- with a dollar sign
and two decimal places. See the ToFixed link above.
Results are cleared if the changes are made to either the bill amount
or the tip percent.
Prior to any calculation the bill amount entered by the user is tested
to see if it is actually a number and if it is positive. You must alert the user to the problem and
code at least one other response (e.g. clear text, place focus in text input, change font to red, etc.)
Class standing. Write a page that prompts a user to enter the number of credits he or she has
earned so far. The program should determine and display his or her class:
freshman 1-23 credits, sophomore 24-53 credits, junior 54-83 credits or senior 84
credits and up.
JavaScript Fever. Make a page that allows a user to enter a body temperature in
degrees Fahrenheit and then determines a patient's status based on the following ranges.