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...

Which of the following SQL statements will return only the student name and GPA from the Student table for all students having a GPA that is greater than or equal to 3.5?



a. SELECT Name, GPA FROM Student WHERE GPA >=3.5
b. SELECT * FROM Student WHERE GPA >= 3.5
c. SELECT Name, Number, GPA, CumHrs FROM Student WHERE GPA >= 3.5
d. SELECT Student WHERE GPA >= 3.5 And Name, GPA

Computer Science & Information Technology

The ________ is a vertical line that indicates where text will be inserted when the user begins typing

A) grid line B) ScreenTip C) insertion point D) cell

Computer Science & Information Technology

Why should account passwords be disabled instead of the account being immediately deleted?

What will be an ideal response?

Computer Science & Information Technology

When would be an ideal time to gather baseline data regarding Active Directory performance?

What will be an ideal response?

Computer Science & Information Technology