GATE Computer ScienceHardGATE CSE · NIELIT
Booth's algorithm multiplies using the 8-bit multiplier 01101110 (with an implied 0 to the right of the LSB). How many of the 8 steps involve an addition or a subtraction of the multiplicand (the others are only shifts)?
- A. 4
- B. 5
- C. 3
- D. 6
Correct answer: A. 4
An action occurs wherever adjacent multiplier bits (b_i, b_{i−1}) differ; counting them in 0 1 1 0 1 1 1 0 gives 4.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A microprogrammed control unit has four groups of mutually exclusive control signals containing 15, 7, 31 and 3 signals; each group is…
- A write-back, write-allocate, direct-mapped cache has 4 one-block lines (line = block number mod 4) and starts empty. The block accesses…
- A memory has 4 low-order interleaved banks, each needing 40 ns per access, and the bus can start a new bank access every 10 ns. Starting…
- A 7-bit even-parity Hamming codeword (bit positions 1 to 7, parity bits at positions 1, 2 and 4) is received as 1010110 (position 1…
- In a pipeline with ideal CPI 1, 25% of instructions are loads and 40% of these are immediately followed by a dependent instruction (1…
- A fully associative cache with FIFO replacement sees the block references 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5. How many misses occur with 3…