Download File - UGC Tutorials

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Register file wikipedia , lookup

Immunity-aware programming wikipedia , lookup

Transcript
Computer Organization Questions and Answers –Set-3
1. Which method/s of representation of numbers occupies large amount of memory than others ?
a) Sign-magnitude
b) 1′s compliment
c) 2′s compliment
d) Both a and b
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 compliment
c) 2′S compliment
d) None of the above
Answer: c Explanation: The two’s compliment 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 compliment
c) 2′s compliment
d) None of the above
Answer:a Explanation: One is positive and one for negative.
4. When we perform subtraction on -7 and 1 the answer in 2′s compliment form is _____ .
a) 1010
b) 1110
c) 0110
d) 1000
Answer:d Explanation: First the 2′s compliment 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 compliment form is _____ .
a) 11110
b) 1110
c) 1010
d) 0010
Answer:b Explanation: First the 2′s compliment 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 compliment form is _______ .
a) 0001
b) 1101
c) 0101
d) 1001
Answer:c Explanation: First the 2′s compliment 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 a flags called _____ .
a) Conditional code flags
b) Test output flags
c) Type flags
d) None of the above
Answer:a Explanation: These flags are used to indicate if there is a overflow or carry or zero result
occurrence.
1
Computer Organization Questions and Answers –Set-3
8. The register used to store the flags is called as ______ .
a) Flag register
c) Test register
b) Status register
d) Log register
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
c) The operation as resulted in an overflow
b) The operation is validated
d) Both a and c
Answer:c Explanation: This is used to check the overflow occurrence in the operation.
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
Answer:a Explanation: By using this instruction the condition flags wont 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
Answer:b
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 above
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 occured we make use of _____ .
a) And gate
b) Nand gate
c) Nor gate
d) Xor gate
Answer:d
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
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
Answer:d
2