Prepare a Requirements Document for a simple calculator.

What will be an ideal response?

1. Objectives:
a. Use buttons to input numbers and designate operator to perform
calculations on those numbers
b. Display the outcome of the calculations on a screen
2. Information to be contained in the system:
a. Buttons representing the 10 numerals. a decimal point, the operators, +,-, ,?, /, sqrt, and =.
b. Screen that can display 10 numerals, a decimal point between any two numerals, and a minus sign
c. On/off button
d. Internal storage to store intermediate results.
3. Interactions with the System
a. When the system is turned on, the display shows 0.
b. The user can input up to ten numerals with or without a decimal point, and the resulting number is shown on the screen
c. The user can input an operator If the operator is sqrt, the result is displayed on the screen
d. The user can input up to ten numerals with or without a decimal point the the resulting number is shown on the screen
The remainder is similar and is omitted.
4. Error Situations
a. More than 10 numerals are entered by the user. The system . . .
b. The result of an operation is more than 10 numerals. The system . . .
c. The result of an operation is too small (less than can be expressed with 10
zeros followed by a decimal). The system . . .
d. The user attempts to take the sqrt of a negative number. The system . . .
The remainder is similar and is omitted.

Computer Science & Information Technology

You might also like to view...

The UAC is a feature of Windows Vista and 7

Indicate whether the statement is true or false

Computer Science & Information Technology

Which one of the following provides a complete list of specific changes to the Android SDK?

a. API Diff Report b. Release Notes c. Overview of Changes d. Errata Notification

Computer Science & Information Technology