Digital Logic Design GATE CS and IT previous year questions with Answer
Ques 1 Gate 2024 Set-2
A processor uses a 32-bit instruction format and supports byte-addressable memory
access. The ISA of the processor has 150 distinct instructions. The instructions are
equally divided into two types, namely R-type and I-type, whose formats are shown
below.
R-type Instruction Format:

Let π be the number of bits used to encode the UNUSED field, π be the number of bits used to encode the OPCODE field, and π be the number of bits used to encode the immediate value/address field. The value of π + 2π + π is ________
a is the correct answer.
Ques 2 Gate 2024 Set-2
Consider 4-variable functions f1, f2, f3, f4 expressed in sum-of-minterms form as given below.
f1 = β(0,2,3,5,7,8,11,13)
f2 = β(1,3,5,7,11,13,15)
f3 = β(0,1,4,11)
f4 = β(0,2,6,13)

Ques 3 Gate 2024 Set-2
Consider the following expression: π₯[π]=(π+π)ββπ [π]+π’/π€. The following sequence shows the list of triples representing the given expression, with entries missing for triples (1), (3), and (6).

Ques 4 Gate 2024 Set-2
Consider an array X that contains n positive integers. A subarray of X is defined to be a sequence of array locations with consecutive indices. The C code snippet given below has been written to compute the length of the longest subarray of X that contains at most two distinct integers. The code has two missing expressions labelled (π)β‘and (π).

(Hint: At the end of the i-th iteration, the value of len1 is the length of the longest subarray ending with X[i] that contains all equal values, and len2 is the length of the longest subarray ending with X[i] that contains at most two distinct values.)
Ques 5 Gate 2022
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?

Ques 6 Gate 2022
The following simple undirected graph is referred to as the Peterson graph

Which of the following statements is/are TRUE?
Ques 7 Gate 2022
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?
Ques 8 GATE 2021 SET-1
Consider a 3-bit counter, designed using T flip-flops, as shown below:

Ques 9 GATE 2021 SET-1
Consider the following Boolean expression.
F = (X + Y + Z)(XΜ
+ Y)(YΜ
+ Z)
Which of the following Boolean expressions is/are equivalent to FΜ
(complement of F)?
Ques 10 GATE 2021 SET-1
Consider the following Boolean expression.
F = (X + Y + Z)(XΜ
+ Y)(YΜ
+ Z)
Which of the following Boolean expressions is/are equivalent to FΜ
(complement of F)?