Which of the following are rules for performing arithmetic with signed numbers?
ID: 3570306 • Letter: W
Question
Which of the following are rules for performing arithmetic with signed numbers?
The product is positive if both numbers being multiplied have the same sign
The quotient is positive if both dividend and divisor have the same sign.
The product is negative if the numbers being multiplied have different signs.
The quotient is negative if the dividend and divisor have different signs.
All of the above
2.
Which of the following causes a size error in this statement:
DIVIDE AMT1 BY AMT2 GIVING RESULT ON SIZE ERROR MOVE "INVALID DIVIDE" TO ERROR-MESSAGE
"AMT1 = 100, AMT2 = 0, RESULT has PIC 999"
"AMT1 = 100, AMT2 = 40, RESULT has PIC 999"
"AMT1 = 100, AMT2 =40, RESULT has PIC 9V9"
"AMT1 = 100, AMT2 = 4, RESULT has PIC 99v99"
"AMT1 = 0, AMT2 = 4, RESULT has PIC 99"
3.
The symbol used for multiplication in a COMPUTE statement is
.
x
*
**
m
The product is positive if both numbers being multiplied have the same sign
The quotient is positive if both dividend and divisor have the same sign.
1.The product is negative if the numbers being multiplied have different signs.
The quotient is negative if the dividend and divisor have different signs.
All of the above
Explanation / Answer
1. All of the above
2. "AMT1 = 100, AMT2 = 0, RESULT has PIC 999"
3. *
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.