Evaluating Software Quality Attributes:
This document presents the manual testing of a Calculator Application. The purpose of
this testing is to verify the correctness, reliability, and error-handling capability of the appli-
cation. The calculator is expected to perform both basic arithmetic operations (addition,
subtraction, multiplication, division) and advanced functions (square root, factorial,
power, percentage, etc.)
Table 1 – Basic Testing
Test Ex- Ac- Re- Solution
Title Description Input
Case pecte tua sult
No. d l
Out- Out
put put
Addition Verify calculator 35 +
TC-01 80 80 Pass -
of two adds two positive 45
numbers integers
Verify
TC-02 Subtraction 29 - 9 9 Pass -
subtrac- 20
tion of
two
num-
bers
Verify
TC-03 Multiplica- 5×6 30 30 Pass -
tion multipli-
cation
of two
num-
bers
100 ÷
TC-04 Division Verify division of 10 10 Pass -
two numbers 10
Verify app handles Error/In-
TC-05 Division by 5÷0 Error/In- Fail Handle by
zero divide by zero er- valid val id exception
ror handling
2.5 +
TC-06 Decimal ad- Verify addition of 7.9 7.9 Fail Align deci-
dition decimals 5.4 mal value
and add
zero
Negative Verify calculator
TC-07 -8 + 8 0 0 Pass -
number in- accepts negative
put numbers
Large num- Verify calcula- 30409 Multi preci-
TC-08 30410 30410 Fail sion
ber opera- tor handles +1
Integer
tion large integer
addition
Table 2 – Advanced Testing
Test Ex- A
Title Description In- Re- Solution
Case put pecte c- sult
No. d tu
Out- al
put O
ut
p
ut
Square root of Verify square
TC-09 √25 5 5 Pass -
positive root of positive
number
Square root of Verify app han-
TC-10 √(- Error/In- Error/In- Fail Absolute
negative dles invalid 16) valid valid Value in
square root root
TC-11 Power opera- Verify exponenti- 2^4 16 16 Pass -
tion ation
Per Ver 50%
TC-12 of 79 79 Pass -
cen ify
t- per 158
age ce
cal- nt-
cu- ag
la- e
tio fun
n c-
tio
n-
al-
ity
Factorial of
TC-13 Verify factorial 4! 24 24 Pass -
positive function
Factorial of Verify factorial of
TC-14 (- Error/In- Error/In- Fail Exception
negative negative num- 10)! valid valid handling
bers
Invalid input Verify handling
TC-15 "xyz Error/In- Error/In- Pass -
(letters) of invalid charac- + 5" valid valid
ter input
Verify operator Keep
Multiple oper-
TC-16 precedence 10 + 16 16 Fail track of
ations order 2×3 operation
(BODMAS rule)
Table 3 – Testing After Fixing Issues
Test Ex- Ac
Title Description Input Re-
Case pecte tu sult
No. d al
Out- Ou
put t-
pu
t
Addition of Verify calculator adds
TC-01 36 + 26 62 62 Pass
two numbers two positive integers
Verify subtraction of
TC-02 Subtraction 32 - 12 20 20 Pass
two numbers
Verify multiplication
TC-03 Multiplica- 5 × 12 60 60 Pass
tion of two numbers
Verify division of two
TC-04 Division 50 ÷ 5 10 10 Pass
numbers
Verify app handles di- Error/ Error/
TC-05 Division by 17 ÷ 0 Pass
zero vide by zero gracefully Inv Inv
alid alid
Verify correct decimal
TC-06 Decimal ad- 7.8 + 24.3 24.3 Pass
dition addition 16.5
Negative Verify calculator ac-
TC-07 -6 + 10 4 4 Pass
number in- cepts negative num-
put bers
Large num- Verify calculator han-
TC-08 24304 + 24305 24305 Pass
ber opera- dles large integer ad- 1
tion dition
Square root Verify square root of
TC-09 √4 2 2 Pass
of positive positive number
Square root Verify proper error Error/ Error/
TC-10 √(-4) Pass
of negative handling for negative Inv Inv
input alid alid
TC-11 Power opera- Verify exponentiation 4^3 64 64 Pass
tion
Per Ver-
TC-12 50% of 141 141 Pass
cen ify 283
t- per-
ag cent
e age
cal- func
cu- tion-
la- ality
tio
n
Factorial of
TC-13 Verify factorial func- 3! 6 6 Pass
positive tion
Factorial of Verify proper handling Error/ Error/
TC-14 (-4)! Pass
negative for negative factorial Inv Inv
alid alid
Invalid input Verify handling of in- Error/ Error/
TC-15 "xyz + Pass
(letters) valid character input 5" Inv Inv
alid alid
Multiple op- Verify operator prece-
TC-16 10 + 2 × 16 16 Pass
erations dence (BODMAS rule) 3