write in english, no code needed write software test procedures for each require
ID: 3902050 • Letter: W
Question
write in english, no code needed
write software test procedures for each requirement.
10 requirements for a calculator
1. A calculator shall support all arithmetic and scientific operations.
2. A calculator shall have user friendly design with readable and UI friendly buttons.
3. A calculator shall have on/off button.
4. A calculator shall have clear button to clear previous entry.
5. A calculator shall have small memory store so that user can recall what calculation he has done in the past.
6. A calculator shall work fast enough and provide accurate results.
7. A calculator shall be scalable, i.e. it shall work with large numbers.
8. A calculator shall follow standard layout plans and should have buttons and screen of right size and shape.
9. A calculator shall able to understand the user input properly.
10. A calculator shall work without any exceptions or errors.
Explanation / Answer
Hi Student,
1, Perform addition , subtraction and ensure the results are as expected. This would test the arithmetic opretions. For scientific operations, use sin/cos/ tan/ etc and ensure desired results are shown.
2. Ensure that all the operators and operands are in place. E.g check if '+' symbol is performing addition etc. And also verify if the UI buttons are implicit enough to understand the operations.
3. Ensure the calculator starts on clicking the off button. Ensure the calcutor shuts down on clicking off button. Ensure after stop, even after clicking stop button multiple times , the calculator remains in stop state.
4. Enter few operands and operators then click on clear button. Ensure the data is cleared off and fresh calculations can be performed.
5.Ensure memory keys are working as expected. One simple test procedure would be to add two numbers and then divide the number by two using the 'ANS' symbol. Check whether the sum is stored in memory perfectly.
6. Add big opertion statements using bodmas rule ( bracket of divide multiply add subtract) . Ensure that the result is shown quickly and in real time.
7.Perform bigger calculations like power function . Ensure the accurate results are shown and within acceptable time frame.
8. Ensure the UI and display of the various buttons . Ensure they are of right size and shape. Also ensure the display screen that every operator and operand are displayed uniformly.
9. Ensure that correct and accurate results are shown for the combinations of expressions provided to the calculator.
10. Try various expressions, large numbers, and multiple expressions one after another.. Ensure no exception is encountered and no errors are seen.
Happy Learning :)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.