Digital logic

Digital Logic Questions Answers GATE 2022

Digital Logic GATE Question Answers with Explanation.
Q1 – Let R1 and R2 be two 4-bit registers that store numbers in 2’s complement form. For the operation R1+R2, which one of the following values of R1 and R2 gives an arithmetic overflow? (GATE 2022)

 

  1. R1 = 1011 and R2 = 1110
  2. R1 = 1100 and R2 = 1010
  3. R1 = 0011 and R2 = 0100
  4. R1 = 1001 and R2 = 1111

Ans – (2)

Explanation –

Q2 – Consider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16-bit code word is used to load a word in X, either from S or from R. S is a 1024-word memory segment and R is a 32-word register file. Based on the value of mode bit M, T selects an input word to load in X. P and Q interface with the corresponding bits in the code word to choose the addressed word.
Which one of the following represents the functionality of P, Q, and T? (GATE 2022)
Digital logic GATE 2022
  1. P is 10:1 multiplexer; Q is 5:1 multiplexer; T is 2:1 multiplexer
  2. P is 10:210 decoder; Q is 5:25 decoder; T is 2:1 encoder
  3. P is 10:210 decoder; Q is 5:25 decoder; T is 2:1 multiplexer
  4. P is 1:10 de-multiplexer; Q is 1:5 de-multiplexer; T is 2:1 multiplexer

Ans – (3)

Explanation –

Q3 – Consider three floating point numbers A, B and C stored in registers RA, RB and RC, respectively as per IEEE-754 single precision floating point format. The 32-bit content stored in these registers (in hexadecimal form) are as follows.
RA= 0xC1400000   RB = 0x42100000   RC = 0x41400000
Which one of the following is FALSE? (GATE 2022)

 

  1. A + C = 0
  2. C = A + B
  3. B = 3C
  4. (B – C) > 0

Ans – (2)

Explanation –Â