Computer Organization Questions and Answers – Numbers and Arithmetic Operations

This set of Computer Organization Questions and Answers for Aptitude test focuses on “Numbers and Arithmetic Operations”.

1. Which method/s of representation of numbers occupies a large amount of memory than others?
a) Sign-magnitude
b) 1’s complement
c) 2’s complement
d) 1’s & 2’s compliment
View Answer

Answer: a
Explanation: It takes more memory as one bit used up to store the sign.

2. Which representation is most efficient to perform arithmetic operations on the numbers?
a) Sign-magnitude
b) 1’s complement
c) 2’S complement
d) None of the mentioned
View Answer

Answer: c
Explanation: The two’s complement form is more suitable to perform arithmetic operations as there is no need to involve the sign of the number into consideration.

3. Which method of representation has two representations for ‘0’?
a) Sign-magnitude
b) 1’s complement
c) 2’s complement
d) None of the mentioned
View Answer

Answer: a
Explanation: One is positive and one for negative.
advertisement
advertisement

4. When we perform subtraction on -7 and 1 the answer in 2’s complement form is _________
a) 1010
b) 1110
c) 0110
d) 1000
View Answer

Answer: d
Explanation: First the 2’s complement is found and that is added to the number and the overflow is ignored.

5. When we perform subtraction on -7 and -5 the answer in 2’s complement form is ________
a) 11110
b) 1110
c) 1010
d) 0010
View Answer

Answer: b
Explanation: First the 2’s complement is found and that is added to the number and the overflow is ignored.

6. When we subtract -3 from 2 , the answer in 2’s complement form is _________
a) 0001
b) 1101
c) 0101
d) 1001
View Answer

Answer: c
Explanation: First the 2’s complement is found and that is added to the number and the overflow is ignored.

7. The processor keeps track of the results of its operations using flags called ________
a) Conditional code flags
b) Test output flags
c) Type flags
d) None of the mentioned
View Answer

Answer: a
Explanation: These flags are used to indicate if there is an overflow or carry or zero result occurrence.
advertisement

8. The register used to store the flags is called as _________
a) Flag register
b) Status register
c) Test register
d) Log register
View Answer

Answer: b
Explanation: The status register stores the condition codes of the system.

9. The Flag ‘V’ is set to 1 indicates that _____________
a) The operation is valid
b) The operation is validated
c) The operation has resulted in an overflow
d) None of the mentioned
View Answer

Answer: c
Explanation: This is used to check the overflow occurs in the operation.
advertisement

10. In some pipelined systems, a different instruction is used to add to numbers which can affect the flags upon execution. That instruction is _______
a) AddSetCC
b) AddCC
c) Add++
d) SumSetCC
View Answer

Answer: a
Explanation: By using this instruction the condition flags won’t be affected at all.

11. The most efficient method followed by computers to multiply two unsigned numbers is _______
a) Booth algorithm
b) Bit pair recording of multipliers
c) Restoring algorithm
d) Non restoring algorithm
View Answer

Answer: b
Explanation: None.

12. For the addition of large integers, most of the systems make use of ______
a) Fast adders
b) Full adders
c) Carry look-ahead adders
d) None of the mentioned
View Answer

Answer: c
Explanation: In this method, the carries for each step are generated first.

13. In a normal n-bit adder, to find out if an overflow as occurred we make use of ________
a) And gate
b) Nand gate
c) Nor gate
d) Xor gate
View Answer

Answer: d
Explanation: None.

14. In the implementation of a Multiplier circuit in the system we make use of _______
a) Counter
b) Flip flop
c) Shift register
d) Push down stack
View Answer

Answer: c
Explanation: The shift registers are used to store the multiplied answer.

15. When 1101 is used to divide 100010010 the remainder is ______
a) 101
b) 11
c) 0
d) 1
View Answer

Answer: d
Explanation: None.

Sanfoundry Global Education & Learning Series – Computer Organization and Architecture.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.