GATE Computer ScienceModerateGATE CSE · NIELIT
What is the 8-bit two's complement representation of −45?
- A. 11010010
- B. 00101101
- C. 10101101
- D. 11010011
Correct answer: D. 11010011
45 = 00101101; inverting gives 11010010 and adding 1 gives 11010011.
More Digital Logic questions
- What is the minimum number of flip-flops needed to build a synchronous counter that counts through 37 distinct states?
- What is the 4-bit Gray code of the binary number 1101 (decimal 13)?
- How many 2-to-4 line decoders (each with an enable input) are needed to build a 4-to-16 line decoder?
- How many 4-to-1 multiplexers are needed to build a 64-to-1 multiplexer in a tree?
- A 10 MHz clock drives a 6-bit binary ripple counter. What is the frequency of the most significant output bit?
- In a synchronous path, flip-flop clock-to-Q delay is 2 ns, combinational logic delay is 8 ns and setup time is 3 ns; the clock skew and…