Write the test cases based on the following scenarios –
Check the addition of two positive numbers.
Check the addition of two negative numbers.
Check the addition of one positive and one negative number.
Check the subtraction of two positive numbers.
Check the subtraction of two negative numbers.
Check the subtraction of one negative and one positive number.
Check the multiplication of two positive numbers.
Check the multiplication of two negative numbers.
Check the multiplication of one negative and one positive number.
Check the division of two positive numbers.
Answers
Answered by
1
1=answer will be in positive sign answer
e. g =>5+4=9
2=answer will be in positive sign
e.g =>(-2)+(-4)
=>-2-4
=> 6
3=answer may be in positive or negative sign
e. g=>-2+4
=>2 (POSITIVE )
e.g =>-6+2
=>-4
4=answer may be in positive or negative sign
e.g=>4-6
= -2
e.g= 10-4
= 6
5=answer may be in positive or negative sign
e.g = -4-(-5)
= -4+5
= 1
e.g = -6-(-2)
= -6+2
= -4
6=answer will be in positive sign
e.g = 6-(-4)
= 6+4
= 10
7=answer will be in positive sign
e.g = 5×6
= 30
8=answer will be in positive sign
e.g = (-4)×(-4)
= 16
9=answer will be in negative sign
e.g = (-4)×5
= -20
10= answer will be in positive sign
e.g = 10/2
= 5
Similar questions
World Languages,
3 months ago
Science,
3 months ago
Science,
7 months ago
Math,
7 months ago
English,
11 months ago