Project I -- The calculator

The Goal

To introduce students to the basic PalmOS programming.

The Assignment

For this project you have to implement the simple calculator, possible using the example program 'HelloApp' that was introduced in the class.

Your calculator has to implement 4 basic arithmetic functions, for the sake of simplicity you can keep everything as a floating point and even keep your calculator working in the octal mode.

Note that you have to use event driven programing for this project, meaning that you have to provide a set of buttons and user can press any button at any time. The program that asks for pair of numbers in a sequence is not acceptable.

Grading

This project contributes 5% towards the final grade.

The breakdown of project grade is
Showing the form with the buttons 40%
Accepting the input from the user 20%
Performing basic arithmetic operations 20%
Function like normal calculator
(If operator button pressed multiple times that operation has to be repeated)
11%
Not crashing when used normally 9%

Extra credit:

Usng bitmap buttons 10%
Program that survives 50,000 gremlin steps 10%
Doing Binary/Hex/Decimal arithmetic 10%
Usng bitmap buttons 10%

Note that minimum 92 points are required for consideration of extra credit.

Due date

The project is due on at Midnight on Monday October 16

Help

For help with development environment, please write to Vlad at vkorol1@umbc.edu

For help with Palm OS first look at PDFs in /afs/umbc.edu/depts/cmsc/ajoshi/vlad/Palm/doc/ and then email Vlad.