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.
Posting a web page on the alpha.
Follow the instructions found in Posting.ppt
(PowerPoint).
CompoundConditionDemo.htm MovieTicket.html (quick demo that shows how to use
a Boolean AND to combine two conidtions into one -- specifically to test that a number is in a range)
OrDemo.html (a quick program to show
a Boolean Or -- specifically to complain if either the first or second text input
contains a non-number) Hurricane.html (shows the if-else-if-else
structure) Determines the category number of a hurricane based on wind speed