Foundations of Computer System Design

Instructor: Ayon Chakraborty

Practice questions from past GATE papers

Showing 287 of 287 questions

Chapter 1

Foundations: From Software to Digital Hardware

Instructions, addressing, operands and register transfers

26 questions

A CPU has 24-bit instructions. A program starts at address 300 (in decimal). Which one of the following is a legal program counter (all values in decimal)? [GATE CSE 2006]

(A)
400
(B)
500
(C)
600
(D)
700

Consider the following program segment. Here R1, R2 and R3 are the general purpose registers.

InstructionOperationInstruction size (no. of words)
MOV R1, (3000)R1 ←\leftarrow M[3000]2
LOOP: MOV R2, (R3)R2 ←\leftarrow M[R3]1
ADD R2, R1R2 ←\leftarrow R1 ++ R21
MOV (R3), R2M[R3] ←\leftarrow R21
INC R3R3 ←\leftarrow R3 ++ 11
DEC R1R1 ←\leftarrow R1 −- 11
BNZ LOOPBranch on not zero2
HALTStop1

Assume that the content of memory location 3000 is 10 and the content of the register R3 is 2000. The content of each of the memory locations from 2000 to 2010 is 100. The program is loaded from the memory location 1000. All the numbers are in decimal.

Assume that the memory is word addressable. The number of memory references for accessing the data in executing the program completely is [GATE CSE 2007]

(A)
10
(B)
11
(C)
20
(D)
21

(Common data with Question 2.) Assume that the memory is word addressable. After the execution of this program, the content of memory location 2010 is [GATE CSE 2007]

(A)
100
(B)
101
(C)
102
(D)
110

Which of the following is/are true of the auto-increment addressing mode?

I.It is useful in creating self-relocating code.
II.If it is included in an Instruction Set Architecture, then an additional ALU is required for effective address calculation.
III.The amount of increment depends on the size of the data item accessed.

[GATE CSE 2008]

(A)
I only
(B)
II only
(C)
III only
(D)
II and III only

Consider a hypothetical processor with an instruction of type LW R1, 20(R2), which during execution reads a 32-bit word from memory and stores it in a 32-bit register R1. The effective address of the memory location is obtained by the addition of a constant 20 and the contents of register R2. Which of the following best reflects the addressing mode implemented by this instruction for the operand in memory? [GATE CSE 2011]

(A)
Immediate Addressing
(B)
Register Addressing
(C)
Register Indirect Scaled Addressing
(D)
Base Indexed Addressing

Consider the following sequence of micro-operations.

MBR ←\leftarrow PC
MAR ←\leftarrow X
PC ←\leftarrow Y
Memory ←\leftarrow MBR

Which one of the following is a possible operation performed by this sequence? [GATE CSE 2013]

(A)
Instruction fetch
(B)
Operand fetch
(C)
Conditional branch
(D)
Initiation of interrupt service

A machine has a 32-bit architecture, with 1-word long instructions. It has 64 registers, each of which is 32 bits long. It needs to support 45 instructions, which have an immediate operand in addition to two register operands. Assuming that the immediate operand is an unsigned integer, the maximum value of the immediate operand is ________. [GATE CSE 2014]

For computer based on three-address instruction formats, each address field can be used to specify which of the following:

(S1)A memory operand
(S2)A processor register
(S3)An implied accumulator register

[GATE CSE 2015]

(A)
Either S1 or S2
(B)
Either S2 or S3
(C)
Only S2 and S3
(D)
All of S1, S2 and S3

A processor can support a maximum memory of 4 GB, where the memory is word-addressable (a word consists of two bytes). The size of the address bus of the processor is at least ________ bits. [GATE CSE 2016]

A processor has 40 distinct instruction and 24 general purpose registers. A 32-bit instruction word has an opcode, two registers operands and an immediate operand. The number of bits available for the immediate operand field is ________. [GATE CSE 2016]

Consider a processor with 64 registers and an instruction set of size twelve. Each instruction has five distinct fields, namely, opcode, two source register identifiers, one destination register identifier, and a twelve-bit immediate value. Each instruction must be stored in memory in a byte-aligned fashion. If a program has 100 instructions, the amount of memory (in bytes) consumed by the program text is ________. [GATE CSE 2016]

Consider the C struct defined below:

struct data {
    int marks [100];
    char grade;
    int cnumber;
};
struct data student;

The base address of student is available in register R1. The field student.grade can be accessed efficiently using: [GATE CSE 2017]

(A)
Post-increment addressing mode, (R1)++
(B)
Pre-decrement addressing mode, −-(R1)
(C)
Register direct addressing mode, R1
(D)
Index addressing mode, X(R1), where X is an offset represented in 2's complement 16-bit representation

Consider a RISC machine where each instruction is exactly 4 bytes long. Conditional and unconditional branch instructions use PC-relative addressing mode with Offset specified in bytes to the target location of the branch instruction. Further the Offset is always with respect to the address of the next instruction in the program sequence. Consider the following instruction sequence

Instr. No.Instruction
ii: add R2, R3, R4
i+1i+1: sub R5, R6, R7
i+2i+2: cmp R1, R9, R10
i+3i+3: beq R1, Offset

If the target of the branch instruction is ii, then the decimal value of the Offset is ________. [GATE CSE 2017]

A processor has 16 integer registers (R0, R1, …, R15) and 64 floating point registers (F0, F1, …, F63). It uses a 2-byte instruction format. There are four categories of instructions: Type-1, Type-2, Type-3, and Type-4. Type-1 category consists of four instructions, each with 3 integer register operands (3Rs). Type-2 category consists of eight instructions, each with 2 floating point register operands (2Fs). Type-3 category consists of fourteen instructions, each with one integer register operand and one floating point register operand (1R+1F). Type-4 category consists of NN instructions, each with a floating point register operand (1F). The maximum value of NN is ________. [GATE CSE 2018]

Consider the following data path diagram.

[GATE CSE 2020]

Consider an instruction: R0 ←\leftarrow R1 ++ R2. The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts rr and ww indicate read and write operations, respectively.

1.R2r_r, TEMP1r_r, ALUadd_{\mathrm{add}}, TEMP2w_w
2.R1r_r, TEMP1w_w
3.PCr_r, MARw_w, MEMr_r
4.TEMP2r_r, R0w_w
5.MDRr_r, IRw_w

Which one of the following is the correct order of execution of the above steps?

(A)
2, 1, 4, 5, 3
(B)
1, 2, 4, 3, 5
(C)
3, 5, 2, 1, 4
(D)
3, 5, 1, 2, 4

A processor has 64 registers and uses 16-bit instruction format. It has two types of instructions: I-type and R-type. Each I-type instruction contains an opcode, a register name, and a 4-bit immediate value. Each R-type instruction contains an opcode and two register names. If there are 8 distinct I-type opcodes, then the maximum number of distinct R-type opcodes is ________. [GATE CSE 2020]

Consider the following instruction sequence where registers R1, R2 and R3 are general purpose and MEMORY[X][X] denotes the content at the memory location XX.

InstructionSemanticsInstruction size (bytes)
MOV R1, (5000)R1 ←\leftarrow MEMORY[5000][5000]4
MOV R2, (R3)R2 ←\leftarrow MEMORY[[R3]]4
ADD R2, R1R2 ←\leftarrow R1 ++ R22
MOV (R3), R2MEMORY[[R3]] ←\leftarrow R24
INC R3R3 ←\leftarrow R3 ++ 12
DEC R1R1 ←\leftarrow R1 −- 12
BNZ 1004Branch if not zero to the given absolute address2
HALTStop1

Assume that the content of the memory location 5000 is 10, and the content of the register R3 is 3000. The content of each of the memory locations from 3000 to 3020 is 50. The instruction sequence starts from the memory location 1000. All the numbers are in decimal format. Assume that the memory is byte addressable. After the execution of the program, the content of memory location 3010 is ________. [GATE CSE 2021]

Consider the given C-code and its corresponding assembly code, with a few operands U1U_1--U4U_4 being unknown. Some useful information as well as the semantics of each unique assembly instruction is annotated as inline comments in the code. The memory is byte-addressable. [GATE CSE 2023]

Which one of the following options is a CORRECT replacement for operands in the position (U1,U2,U3,U4)(U_1, U_2, U_3, U_4) in the above assembly code?

(A)
(8,4,1,L02)(8, 4, 1, \mathrm{L}02)
(B)
(3,4,4,L01)(3, 4, 4, \mathrm{L}01)
(C)
(8,1,1,L02)(8, 1, 1, \mathrm{L}02)
(D)
(3,1,1,L01)(3, 1, 1, \mathrm{L}01)

A processor with 16 general purpose registers uses a 32-bit instruction format. The instruction format consists of an opcode field, an addressing mode field, two register operand fields, and a 16-bit scalar field. If 8 addressing modes are to be supported, the maximum number of unique opcodes possible for every addressing mode is ________ [GATE CSE 2024]

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:

OPCODEUNUSEDDST RegisterSRC Register 1SRC Register 2

I-type Instruction Format:

OPCODEDST RegisterSRC Register# Immediate value/address

In the OPCODE, 1 bit is used to distinguish between I-type and R-type instructions and the remaining bits indicate the operation. The processor has 50 architectural registers, and all register fields in the instructions are of equal size. Let XX be the number of bits used to encode the UNUSED field, YY be the number of bits used to encode the OPCODE field, and ZZ be the number of bits used to encode the immediate value/address field. The value of X+2Y+ZX + 2Y + Z is ________ [GATE CSE 2024]

A machine has a 32-bit architecture with 1-word long instructions. It has 24 registers and supports an instruction set of size 40. Each instruction has five distinct fields, namely opcode, two source register identifiers, one destination register identifier, and an immediate value. Assuming that the immediate operand is an unsigned integer, its maximum value is ________. [GATE ECE 2024]

A partial data path of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the data path as shown? [GATE CSE 2025]

(A)
The data path can implement arithmetic operations involving two registers.
(B)
The data path can implement arithmetic operations involving one register and one immediate value.
(C)
The data path can implement arithmetic operations involving two immediate values.
(D)
The data path can only implement arithmetic operations involving one register and one immediate value.

A processor has 64 general-purpose registers and 50 distinct instruction types. An instruction is encoded in 32-bits. What is the maximum number of bits that can be used to store the immediate operand for the given instruction?

ADD R1, #25    // R1 = R1 + 25

[GATE CSE 2025]

(A)
16
(B)
20
(C)
22
(D)
24

Which of the following is/are part of an Instruction Set Architecture of a processor? [GATE CSE 2025]

(A)
The size of the cache memory
(B)
The clock frequency of the processor
(C)
The number of cache memory levels
(D)
The total number of registers

Consider a processor P whose instruction set architecture is the load-store architecture. The instruction format is such that the first operand of any instruction is the destination operand. Which one of the following sequences of instructions corresponds to the high-level language statement Z=X+YZ = X + Y?

Note: X, Y, and Z are memory operands. R0, R1, and R2 are registers. [GATE CSE 2026]

(A)
ADD Z, X, Y
(B)
LOAD R0, X
ADD Z, R0, Y
(C)
ADD R0, X, Y
STORE Z, R0
(D)
LOAD R0, X
LOAD R1, Y
ADD R2, R0, R1
STORE Z, R2

Consider a processor that has 16 general purpose registers and it uses 2-byte instruction format for all its instructions. Variable-sized opcodes are permitted. There are three different types of instructions; M-type, R-type, and C-type. Each M-type instruction has 2 register operands and a 6-bit immediate operand. Each R-type instruction has 3 register operands. Each C-type instruction has a register operand and a 6-bit offset value. If there are 2 unique M-type opcodes and 7 unique R-type opcodes, which one of the following options gives the maximum number of unique opcodes possible for C-type instructions? [GATE CSE 2026]

(A)
8
(B)
4
(C)
64
(D)
16

Chapter 2

Data, Bits, and Logic

Number representation, radix conversion and arithmetic

33 questions

We consider the addition of two 2′s2's complement numbers bn−1bn−2…b0 b_{n-1}b_{n-2}\dots b_{0} and an−1an−2…a0a_{n-1}a_{n-2}\dots a_{0}. A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by cn−1cn−2…c0 c_{n-1}c_{n-2}\dots c_{0} and the carry-out by cout c_{out}. Which one of the following options correctly identifies the overflow condition? [GATE CSE 2006]

(A)
cout(an−1⊕bn−1‾) c_{out}\left( \overline{a_{n-1}\oplus b_{n-1}} \right)
(B)
an−1bn−1cn−1‾+an−1‾bn−1‾cn−1 a_{n-1}b_{n-1}\overline{c_{n-1}}+\overline{a_{n-1}}\overline{b_{n-1}}c_{n-1}
(C)
cout⊕cn−1 c_{out}\oplus c_{n-1}
(D)
an−1⊕bn−1⊕cn−1 a_{n-1}\oplus b_{n-1}\oplus c_{n-1}

X=01110X=01110 and Y=11001Y=11001 are two 5-bit binary numbers represented in two's complement format. The sum of XX and YY represented in two's complement format using 6 bits is [GATE ECE 2007]

(A)
100111
(B)
001000
(C)
000111
(D)
101001

Let rr denote number system radix. The only value(s) of rr that satisfy the equation 121r=11r\sqrt{121_r}={11}_r is/are [GATE CSE 2008]

(A)
decimal 1010
(B)
decimal 1111
(C)
decimal 1010 and 1111
(D)
any value >2> 2

The two numbers represented in signed 2's complement form are P=11101101P=11101101 and Q=11100110Q=11100110. If QQ is subtracted from PP, the value obtained in signed 2's complement form is [GATE ECE 2008]

(A)
100000111
(B)
00000111
(C)
11111001
(D)
111111001

(1217)8(1217)_8 is equivalent to [GATE CSE 2009]

(A)
(1217)16(1217)_{16}
(B)
(028F)16(028F)_{16}
(C)
(2297)10(2297)_{10}
(D)
(0B17)16(0B17)_{16}

PP is a 1616-bit signed integer. The 22's complement representation of PP is (F87B)16(F87B)_{16}. The 22's complement representation of 8×P8\times P is [GATE CSE 2010]

(A)
(C3D8)16(C3D8)_{16}
(B)
(187B)16(187B)_{16}
(C)
(F878)16(F878)_{16}
(D)
(987B)16(987B)_{16}

The smallest integer that can be represented by an 8-bit8\text{-bit} number in 2′s2's complement form is [GATE CSE 2013]

(A)
−256-256
(B)
−128-128
(C)
−127-127
(D)
00

The base (or radix) of the number system such that the following equation holds is________.

31220=13.1\frac{312}{20} = 13.1 [GATE CSE 2014, Set 1]

Consider the equation (123)5=(x8)y(123)_5=(x8)_y with xx and yy as unknown. The number of possible solutions is ________ . [GATE CSE 2014, Set 2]

Consider the function func shown below:

int func(int num)
{
    int count = 0;
    while (num)
    {
        count++;
        num >>= 1;
    }
    return (count);
}

The value returned by func(435) is ________. [GATE CSE 2014, Set 2]

The number of bytes required to represent the decimal number 1856357 in packed BCD (Binary Coded Decimal) form is ________ . [GATE ECE 2014, Set 2]

The 16-bit  2′s16\text{-bit}\;2's complement representation of an integer is 1111111111110101;1111 \quad 1111 \quad 1111 \quad 0101; its decimal representation is ________ [GATE CSE 2016, Set 1]

Let XX be the number of distinct 1616-bit integers in 2′s2's complement representation. Let YY be the number of distinct 1616-bit integers in sign magnitude representation Then X−YX - Y is________. [GATE CSE 2016, Set 2]

When two 8-bit8\text{-bit} numbers A7⋯A0A_{7}\cdots A_{0} and B7⋯B0B_{7}\cdots B_{0} in 22's complement representation (with A0A_{0} and B0B_{0} as the least significant bits) are added using a ripple-carry adder, the sum bits obtained are S7⋯S0S_{7}\cdots S_{0} and the carry bits are C7⋯C0C_{7}\cdots C_{0}. An overflow is said to have occurred if [GATE CSE 2017, Set 1]

(A) the carry bit C7C_{7} is 11

(B) all the carry bits (C7,⋯ ,C0)\left ( C_{7},\cdots ,C_{0} \right ) are 11

(C) (A7⋅B7⋅S7‾+A7‾⋅B7‾⋅S7)\left ( A_{7} \cdot B_{7} \cdot \overline{S_{7}}+\overline{A_{7}} \cdot \overline{B_{7}} \cdot S_{7} \right ) is 11

(D) (A0⋅B0⋅S0‾+A0‾⋅B0‾⋅S0)\left ( A_{0} \cdot B_{0} \cdot \overline{S_{0}}+\overline{A_{0}} \cdot \overline{B_{0}} \cdot S_{0} \right ) is 11

The representation of the value of a 16-bit16\text{-bit} unsigned integer XX in hexadecimal number system is BCA9\textsf{BCA9}. The representation of the value of XX in octal number system is [GATE CSE 2017, Set 2]

(A)
571244571244
(B)
736251736251
(C)
571247571247
(D)
136251136251

Consider a quadratic equation x2−13x+36=0x^2-13x+36=0 with coefficients in a base bb. The solutions of this equation in the same base bb are x=5x=5 and x=6x=6. Then b=b= ________. [GATE CSE 2017, Set 2]

In 1616-bit 22's complement representation, the decimal number −28-28 is: [GATE CSE 2019]

(A)
1111 1111 0001 11001111 \: 1111 \: 0001 \: 1100
(B)
0000 0000 1110 01000000 \: 0000 \: 1110 \: 0100
(C)
1111 1111 1110 01001111 \: 1111 \: 1110 \: 0100
(D)
1000 0000 1110 01001000 \: 0000 \: 1110 \: 0100

Consider Z=X−YZ=X-Y where X,YX, Y and Z are all in sign-magnitude form. X and Y are each represented in nn bits. To avoid overflow, the representation of ZZ would require a minimum of: [GATE CSE 2019]

(A)
nn bits
(B)
n−1n-1 bits
(C)
n+1n+1 bits
(D)
n+2n+2 bits

PP, QQ, and RR are the decimal integers corresponding to the 4-bit binary number 1100 considered in signed magnitude, 1's complement, and 2's complement representations, respectively. The 6-bit 2's complement representation of (P+Q+R)(P+Q+R) is [GATE ECE 2020]

(A)
110101
(B)
110010
(C)
111101
(D)
111001

Let the representation of a number in base 33 be 210210. What is the hexadecimal representation of the number? [GATE CSE 2021, Set 1]

(A)
1515
(B)
2121
(C)
D2\text{D}2
(D)
528528

Let R1\text{R1} and R2\text{R2} be two 4−bit4 - \text{bit} registers that store numbers in 2’s2\text{'s} complement form. For the operation R1 + R2,\text{R1 + R2}, which one of the following values of R1\text{R1} and R2\text{R2} gives an arithmetic overflow? [GATE CSE 2022]

(A)
R1 = 1011\text{R1 = 1011} and R2 = 1110\text{R2 = 1110}
(B)
R1 = 1100\text{R1 = 1100} and R2 = 1010\text{R2 = 1010}
(C)
R1 = 0011\text{R1 = 0011} and R2 = 0100\text{R2 = 0100}
(D)
R1 = 1001\text{R1 = 1001} and R2 = 1111\text{R2 = 1111}

Consider a system that uses 55 bits for representing signed integers in 22 's complement format. In this system, two integers AA and BB are represented as AA=0101001010 and BB=1101011010. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow? [GATE CSE 2024, Set 1]

(A)
A+BA+B
(B)
A−BA-B
(C)
B−AB-A
(D)
2∗B2 * B

In a number system of base rr, the equation x2−12x+37=0x^2-12x+37=0 has x=8x=8 as one of its solutions. The value of rr is ________. [GATE ECE 2024]

The number −6-6 can be represented as 10101010 in 44-bit 22's complement representation. Which of the following is/are CORRECT 22 's complement representation(s) of −6-6? [GATE CSE 2025, Set 1]

(A)
1000 10101000 \: 1010 in 88 -bits
(B)
1111 10101111 \: 1010 in 88-bits
(C)
1000 0000 0000 10101000 \: 0000 \: 0000 \:1010 in 1616-bits
(D)
1111 1111 1111 10101111 \: 1111 \: 1111 \: 1010 in 1616-bits

Consider the 8-bit signed integers XX, YY and ZZ represented using the sign-magnitude form. The binary representations of XX and YY are as follows:

X:10110100Y:01001100X: 10110100\qquad Y: 01001100

Which of the following operations to compute ZZ result(s) in an arithmetic overflow? [GATE CSE 2026, Set 1]

(A)
Z=X+YZ=X+Y
(B)
Z=X−YZ=X-Y
(C)
Z=−X+YZ=-X+Y
(D)
Z=−X−YZ=-X-Y

In a system, numbers are represented using 4-bit two's complement form. Consider four numbers N1=1011N_1=1011, N2=1101N_2=1101, N3=1010N_3=1010 and N4=1001N_4=1001 in the system. Which of the following operations will result in arithmetic overflow? [GATE CSE 2026, Set 2]

(A)
N1+N2N_1+N_2
(B)
N2+N3N_2+N_3
(C)
N3−N4N_3-N_4
(D)
N1+N4N_1+N_4

What is the 10's complement of (47)10(47)_{10}? [GATE ECE 2026]

(A)
52
(B)
53
(C)
54
(D)
55

The 22's complement representation of the decimal value −15-15 is [GATE CSE 2002]

(A)
1111
(B)
11111
(C)
111111
(D)
10001

Zero has two representations in [GATE CSE 1999]

(A)
Sign-magnitude
(B)
2′s2's complement
(C)
1′s1's complement
(D)
None of the above

The number 4343 in 2′s2's complement representation is [GATE CSE 2000]

(A)
0101010101010101
(B)
1101010111010101
(C)
0010101100101011
(D)
1010101110101011

The 22's complement representation of (−539)10(-539)_{10} in hexadecimal is [GATE CSE 2001]

(A)
ABEABE
(B)
DBCDBC
(C)
DE5DE5
(D)
9E79E7

The decimal value 0.250.25 [GATE CSE 2002]

(A)
is equivalent to the binary value 0.10.1
(B)
is equivalent to the binary value 0.010.01
(C)
is equivalent to the binary value 0.001110.00111
(D)
cannot be represented precisely in binary

The range of integers that can be represented by an nn bit 2′s2's complement number system is: [GATE CSE 2005]

(A)
−2n−1 to (2n−1−1)-2^{n-1} \text{ to } (2^{n-1} -1)
(B)
−(2n−1−1) to (2n−1−1)-(2^{n-1} -1) \text{ to } (2^{n-1} -1)
(C)
−2n−1 to 2n−1-2^{n-1} \text{ to } 2^{n-1}
(D)
−(2n−1+1) to (2n−1−1)-(2^{n-1} +1) \text{ to } (2^{n-1} -1)

Chapter 3

Combinational Logic and the TARA ALU

Boolean functions, gates, multiplexers and combinational circuits

144 questions

A logical binary relation □\Box, is defined as follows:

ABA□BA\mathbin{\Box}B
TrueTrueTrue
TrueFalseTrue
FalseTrueFalse
FalseFalseTrue

Let ∼\sim be the unary negation (NOT) operator, with higher precedence than □\Box.

Which one of the following is equivalent to A∧BA\land B? [GATE CSE 2006]

(A)
(∼A□B)(\sim A\mathbin{\Box}B)
(B)
∼(A□∼B)\sim(A\mathbin{\Box}\sim B)
(C)
∼(∼A□∼B)\sim(\sim A\mathbin{\Box}\sim B)
(D)
∼(∼A□B)\sim(\sim A\mathbin{\Box}B)

Consider the circuit above. Which one of the following options correctly represents f(x,y,z)f\left(x,y,z\right) [GATE CSE 2006]

(A)
xzˉ+xy+yˉzx\bar{z}+xy+\bar{y}z
(B)
xzˉ+xy+yz‾x\bar{z}+xy+\overline{yz}
(C)
xz+xy+yz‾xz+xy+\overline{yz}
(D)
xz+xyˉ+yˉzxz+x\bar{y}+\bar{y}z

Given two three bit numbers a2a1a0a_{2}a_{1}a_{0} and b2b1b0b_{2}b_{1}b_{0} and cc the carry in, the function that represents the carry generate function when these two numbers are added is: [GATE CSE 2006]

(A) a2b2+a2a1b1+a2a1a0b0+a2a0b1b0+a1b2b1+a1a0b2b0+a0b2b1b0a_{2}b_{2}+a_{2}a_{1}b_{1}+a_{2}a_{1}a_{0}b_{0}+a_{2}a_{0}b_{1}b_{0}+a_{1}b_{2}b_{1}+a_{1}a_{0}b_{2}b_{0}+a_{0}b_{2}b_{1}b_{0}

(B) a2b2+a2b1b0+a2a1b1b0+a1a0b2b1+a1a0b2+a1a0b2b0+a2a0b1b0a_{2}b_{2}+a_{2}b_{1}b_{0}+a_{2}a_{1}b_{1}b_{0}+a_{1}a_{0}b_{2}b_{1}+a_{1}a_{0}b_{2}+a_{1}a_{0}b_{2}b_{0}+a_{2}a_{0}b_{1}b_{0}

(C) a2+b2+(a2⊕b2)(a1+b1+(a1⊕b1)+(a0+b0))a_{2}+b_{2}+(a_{2}\oplus b_{2}) ( a_{1}+b_{1}+(a_{1}\oplus b_{1})+(a_{0}+b_{0}))

(D) a2b2+a2‾a1b1+a2a1‾a0b0+a2‾a0b1‾b0+a1b2‾b1+a1‾a0b2‾b0+a0b2b1‾b0a_{2}b_{2}+\overline{a_{2}}a_{1}b_{1}+\overline{a_{2}a_{1}}a_{0}b_{0}+\overline{a_{2}}a_{0}\overline{b_{1}}b_{0}+a_{1}\overline{b_{2}}b_{1}+\overline{a_{1}}a_{0}\overline{b_{2}}b_{0}+a_{0}\overline{b_{2}b_{1}}b_{0}

Consider a Boolean function f(w,x,y,z) f(w,x,y,z). Suppose that exactly one of its inputs is allowed to change at a time. If the function happens to be true for two input vectors i1=⟨w1,x1,y1,z1⟩ i_{1}=\left \langle w_{1}, x_{1}, y_{1},z_{1}\right \rangle and i2=⟨w2,x2,y2,z2⟩ i_{2}=\left \langle w_{2}, x_{2}, y_{2},z_{2}\right \rangle , we would like the function to remain true as the input changes from i1 i_{1} to i2 i_{2} (i1 i_{1} and i2 i_{2} differ in exactly one bit position) without becoming false momentarily.

Let f(w,x,y,z)=∑(5,7,11,12,13,15) f(w,x,y,z)=\sum (5,7,11,12,13,15) . Which of the following cube covers of ff will ensure that the required property is satisfied? [GATE CSE 2006]

(A)
w‾xz,wxy‾,xy‾z,xyz,wyz \overline{w}xz,wx\overline{y},x\overline{y}z,xyz,wyz
(B)
wxy,w‾xz,wyz wxy, \overline{w}xz,wyz
(C)
wxy‾z‾,xz,wx‾yz wx\overline{y} \overline{z}, xz, w\overline{x}yz
(D)
wxy‾,wyz,wxz,w‾xz,xy‾z,xyz wx\overline{y}, wyz, wxz, \overline{w}xz, x\overline{y}z, xyz

What is the maximum number of different Boolean functions involving nn Boolean variables? [GATE CSE 2007]

(A)
n2n^2
(B)
2n2^n
(C)
22n2^{2^n}
(D)
2n22^{n^2}

How many 33-to-88 line decoders with an enable input are needed to construct a 66-to-6464 line decoder without using any other logic gates? [GATE CSE 2007]

(A)
77
(B)
88
(C)
99
(D)
1010

Consider the following Boolean function of four variables:

f(w,x,y,z)=Σ(1,3,4,6,9,11,12,14)f(w, x, y, z) = \Sigma(1, 3, 4, 6, 9, 11, 12, 14)

The function is [GATE CSE 2007]

(A)
independent of one variables.
(B)
independent of two variables.
(C)
independent of three variables.
(D)
dependent on all variables

Let f(w,x,y,z)=∑(0,4,5,7,8,9,13,15)f(w, x, y, z) = \sum {\left(0,4,5,7,8,9,13,15\right)}. Which of the following expressions are NOT equivalent to ff?

P: x′y′z′+w′xy′+wy′z+xzx'y'z' + w'xy' + wy'z + xz

Q: w′y′z′+wx′y′+xzw'y'z' + wx'y' + xz

R: w′y′z′+wx′y′+xyz+xy′zw'y'z' + wx'y' + xyz+xy'z

S: x′y′z′+wx′y′+w′yx'y'z' + wx'y'+ w'y [GATE CSE 2007]

(A)
P only
(B)
Q and S
(C)
R and S
(D)
S only

Define the connective ∗* for the Boolean variables XX and YY as:

X∗Y=XY+X′Y′.X * Y = XY + X'Y'.

Let Z=X∗YZ = X * Y. Consider the following expressions PP, QQ and RR.

P:X=Y∗Z,Q:Y=X∗Z,R:X∗Y∗Z=1\begin{aligned}P &: X = Y * Z, \\ Q &:Y = X * Z, \\ R &: X *Y * Z = 1\end{aligned}

Which of the following is TRUE? [GATE CSE 2007]

(A)
Only PP and QQ are valid.
(B)
Only QQ and RR are valid.
(C)
Only PP and RR are valid.
(D)
All PP, QQ, RR are valid.

Suppose only one multiplexer and one inverter are allowed to be used to implement any Boolean function of nn variables. What is the minimum size of the multiplexer needed? [GATE CSE 2007]

(A)
2n2^n line to 11 line
(B)
2n+12^{n+1} line to 11line
(C)
2n−12^{n-1} line to 11line
(D)
2n−22^{n-2} line to 11line

In a look-ahead carry generator, the carry generate function GiG_i and the carry propagate function PiP_i for inputs AiA_i and BiB_i are given by:

Pi=Ai⊕Bi and Gi=AiBiP_i = A_i \oplus B_i \text{ and }G_i = A_iB_i

The expressions for the sum bit SiS_i and the carry bit Ci+1C_{i+1} of the look ahead carry adder are given by:

Si=Pi⊕Ci and Ci+1=Gi+PiCi, where C0 is the input carry.S_i = P_i \oplus C_i \text{ and } C_{i+1} = G_i + P_iC_i, \text{ where }C_0 \text{ is the input carry}.

Consider a two-level logic implementation of the look-ahead carry generator. Assume that all PiP_i and GiG_i are available for the carry generator circuit and that the AND and OR gates can have any number of inputs. The number of AND gates and OR gates needed to implement the look-ahead carry generator for a 44-bit adder with S3,S2,S1,S0S_3, S_2, S_1, S_0 and C4C_4 as its outputs are respectively: [GATE CSE 2007]

(A)
6,36, 3
(B)
10,410, 4
(C)
6,46, 4
(D)
10,510, 5

The Boolean function Y=AB+CDY=AB+CD is to be realized using only 2-input NAND gates. The minimum number of gates required is [GATE ECE 2007]

(A)
2
(B)
3
(C)
4
(D)
5

The Boolean expression Y=AˉBˉCˉD+AˉBCDˉ+ABˉCˉD+ABCˉDˉY=\bar A\bar B\bar C D+\bar A B C\bar D+A\bar B\bar C D+AB\bar C\bar D can be minimized to [GATE ECE 2007]

(A)
Y=AˉBˉCˉD+AˉBCˉ+ACˉDY=\bar A\bar B\bar C D+\bar A B\bar C+A\bar C D
(B)
Y=AˉBˉCˉD+BCDˉ+ABˉCDY=\bar A\bar B\bar C D+BC\bar D+A\bar BCD
(C)
Y=AˉBCDˉ+BˉCˉD+ABˉCˉDY=\bar A BC\bar D+\bar B\bar C D+A\bar B\bar C D
(D)
Y=AˉBCDˉ+BˉCˉD+ABCˉDˉY=\bar A BC\bar D+\bar B\bar C D+AB\bar C\bar D

In the following circuit, XX is given by

[GATE ECE 2007]

(A)
X=ABˉCˉ+AˉBCˉ+AˉBˉC+ABCX=A\bar B\bar C+\bar AB\bar C+\bar A\bar BC+ABC
(B)
X=AˉBC+ABˉC+ABCˉ+AˉBˉCˉX=\bar ABC+A\bar BC+AB\bar C+\bar A\bar B\bar C
(C)
X=AB+BC+ACX=AB+BC+AC
(D)
X=AˉBˉ+BˉCˉ+AˉCˉX=\bar A\bar B+\bar B\bar C+\bar A\bar C

In the Karnaugh map shown below, XX denotes a don't care term. What is the minimal form of the function represented by the Karnaugh map?

[GATE CSE 2008]

(A)
bˉ.dˉ+aˉ.dˉ\bar{b}.\bar{d} + \bar{a}.\bar{d}
(B)
aˉ.bˉ+bˉ.dˉ+aˉ.b.dˉ\bar{a}.\bar{b} + \bar{b}.\bar{d} + \bar{a}.b.\bar{d}
(C)
bˉ.dˉ+aˉ.b.dˉ\bar{b}.\bar{d} + \bar{a}.b.\bar{d}
(D)
aˉ.bˉ+bˉ.dˉ+aˉ.dˉ\bar{a}.\bar{b} + \bar{b}.\bar{d} + \bar{a}.\bar{d}

If P,Q,RP, Q, R are Boolean variables, then

(P+Qˉ)(P.Qˉ+P.R)(Pˉ.Rˉ+Qˉ)(P + \bar{Q}) (P.\bar{Q} + P.R) (\bar{P}.\bar{R} + \bar{Q}) simplifies to [GATE CSE 2008]

(A)
P.QˉP.\bar{Q}
(B)
P.RˉP.\bar{R}
(C)
P.Qˉ+RP.\bar{Q} + R
(D)
P.Rˉ+QP.\bar{R} + Q

The logic function implemented by the following circuit at the terminal OUT is

[GATE ECE 2008]

(A)
PP NOR QQ
(B)
PP NAND QQ
(C)
PP OR QQ
(D)
PP AND QQ

Which of the following Boolean Expressions correctly represents the relation between PP, QQ, RR and M1M_1?

[GATE ECE 2008]

(A)
M1=(P OR Q) XOR RM_1=(P\ \text{OR}\ Q)\ \text{XOR}\ R
(B)
M1=(P AND Q) XOR RM_1=(P\ \text{AND}\ Q)\ \text{XOR}\ R
(C)
M1=(P NOR Q) XOR RM_1=(P\ \text{NOR}\ Q)\ \text{XOR}\ R
(D)
M1=(P XOR Q) XOR RM_1=(P\ \text{XOR}\ Q)\ \text{XOR}\ R

For the circuit shown in the following figure, I0I_0-I3I_3 are inputs to the 4:14:1 multiplexer. RR (MSB) and SS are control bits.

The output ZZ can be represented by [GATE ECE 2008]

(A)
PQ+PQˉS+QˉRˉSˉPQ+P\bar Q S+\bar Q\bar R\bar S
(B)
PQˉ+PQRˉ+PˉQˉSˉP\bar Q+PQ\bar R+\bar P\bar Q\bar S
(C)
PQˉRˉ+PˉQR+PQRS+QˉRˉSˉP\bar Q\bar R+\bar PQR+PQRS+\bar Q\bar R\bar S
(D)
PQRˉ+PQRSˉ+PQˉRˉS+QˉRˉSˉPQ\bar R+PQR\bar S+P\bar Q\bar R S+\bar Q\bar R\bar S

What is the minimum number of gates required to implement the Boolean function (AB+C)\text{(AB+C)} if we have to use only 2-input NOR2\text{-input NOR} gates? [GATE CSE 2009]

(A)
22
(B)
33
(C)
44
(D)
55

The binary operation □\Box is defined as follows

PQP□QP\mathbin{\Box}Q
TTT
TFT
FTF
FFT

Which one of the following is equivalent to P∨QP\lor Q? [GATE CSE 2009]

(A)
¬Q□¬P\neg Q\mathbin{\Box}\neg P
(B)
P□¬QP\mathbin{\Box}\neg Q
(C)
¬P□Q\neg P\mathbin{\Box}Q
(D)
¬P□¬Q\neg P\mathbin{\Box}\neg Q

If X=1X=1 in the logic equation [X+Z{Yˉ+(Zˉ+XYˉ)}]{Xˉ+Zˉ(X+Y)}=1[X+Z\{\bar Y+(\bar Z+X\bar Y)\}]\{\bar X+\bar Z(X+Y)\}=1, then [GATE ECE 2009]

(A)
Y=ZY=Z
(B)
Y=ZˉY=\bar Z
(C)
Z=1Z=1
(D)
Z=0Z=0

What are the minimum number of 2-to-1 multiplexers required to generate a 2-input AND gate and a 2-input Ex-OR gate ? [GATE ECE 2009]

(A)
1 and 2
(B)
1 and 3
(C)
1 and 1
(D)
2 and 2

Statement for Linked Answer Questions 59 and 60.

Two products are sold from a vending machine, which has two push buttons P1P_1 and P2P_2. When a button is pressed, the price of the corresponding product is displayed in a 7-segment display.

  • If no buttons are pressed, ‘0' is displayed, signifying ‘Rs. 0'.
  • If only P1P_1 is pressed, ‘2' is displayed, signifying ‘Rs. 2'.
  • If only P2P_2 is pressed, ‘5' is displayed, signifying ‘Rs. 5'.
  • If both P1P_1 and P2P_2 are pressed, ‘E' is displayed, signifying ‘Error'.

The names of the segments in the 7-segment display, and the glow of display for ‘0', ‘2', ‘5' and ‘E', are shown below.

Consider

(i) push button pressed/not pressed is equivalent to logic 1/0 respectively,

(ii) a segment glowing / not glowing in the display is equivalent to logic 1/0 respectively.

If segments aa to gg are considered as functions of P1P_1 and P2P_2, then which of the following is correct ? [GATE ECE 2009]

(A)
g=Pˉ1+P2,d=c+eg=\bar P_1+P_2,\quad d=c+e
(B)
g=P1+P2,d=c+eg=P_1+P_2,\quad d=c+e
(C)
g=Pˉ1+P2,e=b+cg=\bar P_1+P_2,\quad e=b+c
(D)
g=P1+P2,e=b+cg=P_1+P_2,\quad e=b+c

Use the shared statement in Question 24.

What are the minimum numbers of NOT gates and 2-input OR gates required to design the logic of the driver for this 7-segment display ? [GATE ECE 2009]

(A)
3 NOT and 4 OR
(B)
2 NOT and 4 OR
(C)
1 NOT and 3 OR
(D)
2 NOT and 3 OR

The minterm expansion of f(P,Q,R)=PQ+QRˉ+PRˉf(P,Q,R) = PQ +Q \bar{R}+P\bar{R} is [GATE CSE 2010]

(A)
m2+m4+m6+m7m_2+m_4+m_6+m_7
(B)
m0+m1+m3+m5m_0+m_1+m_3+m_5
(C)
m0+m1+m6+m7m_0+m_1+m_6+m_7
(D)
m2+m3+m4+m5m_2+m_3+m_4+m_5

The Boolean expression of the output ff of the multiplexer shown below is

[GATE CSE 2010]

(A)
P⊕Q⊕R‾\overline {P \oplus Q \oplus R}
(B)
P⊕Q⊕RP \oplus Q \oplus R
(C)
P+Q+RP+Q+R
(D)
P+Q+R‾\overline{P+Q+R}

What is the boolean expression for the output ff of the combinational logic circuit of NOR gates given below?

[GATE CSE 2010]

(A)
Q+R‾\overline{Q+R}
(B)
P+Q‾\overline{P+Q}
(C)
P+R‾\overline{P+R}
(D)
P+Q+R‾\overline{P+Q+R}

Match the logic gates in Column A with their equivalents in Column B.

[GATE ECE 2010]

(A)
P-2, Q-4, R-1, S-3
(B)
P-4, Q-2, R-1, S-3
(C)
P-2, Q-4, R-3, S-1
(D)
P-4, Q-2, R-3, S-1

For the output FF to be 1 in the logic circuit shown, the input combination should be

[GATE ECE 2010]

(A)
A=1,B=1,C=0A=1,B=1,C=0
(B)
A=1,B=0,C=0A=1,B=0,C=0
(C)
A=0,B=1,C=0A=0,B=1,C=0
(D)
A=0,B=0,C=1A=0,B=0,C=1

The simplified SOP (Sum of Product) from the Boolean expression

(P+Qˉ+Rˉ).(P+Qˉ+R).(P+Q+Rˉ)(P + \bar{Q} + \bar{R}) . (P + \bar{Q} + R) . (P + Q +\bar{R})

is [GATE CSE 2011]

(A)
(Pˉ.Q+Rˉ)(\bar{P}.Q+\bar{R})
(B)
(P+Qˉ.Rˉ)(P+\bar{Q}.\bar{R})
(C)
(Pˉ.Q+R)(\bar{P}.Q+R)
(D)
(P.Q+R)(P.Q+R)

Which one of the following circuits is NOT equivalent to a 2-input XNOR (exclusive NOR) gate?

[GATE CSE 2011]

The logic function implemented by the circuit below is (ground implies a logic “0)

[GATE ECE 2011]

(A)
F=AND(P,Q)F=\mathrm{AND}(P,Q)
(B)
F=OR(P,Q)F=\mathrm{OR}(P,Q)
(C)
F=XNOR(P,Q)F=\mathrm{XNOR}(P,Q)
(D)
F=XOR(P,Q)F=\mathrm{XOR}(P,Q)

The truth table

XY(X,Y)000010101111{\begin{array}{|c|c|c|}\hline \textbf{X}& \textbf{Y}& \textbf{(X,Y)} \\\hline 0& 0& 0 \\ \hline 0& 1&0\\ \hline 1& 0& 1 \\\hline 1& 1& 1 \\\hline \end{array}}

represents the Boolean function [GATE CSE 2012]

(A)
XX
(B)
X+YX + Y
(C)
X⊕YX \oplus Y
(D)
YY

The amount of ROM needed to implement a 4-bit4\text{-bit} multiplier is [GATE CSE 2012]

(A)
6464 bits
(B)
128128 bits
(C)
11 Kbits
(D)
22 Kbits

What is the minimal form of the Karnaugh map shown below? Assume that XX denotes a don't care term

[GATE CSE 2012]

(A)
bˉdˉ\bar{b} \bar{d}
(B)
bˉdˉ+bˉcˉ \bar { b } \bar { d } + \bar{b} \bar{c}
(C)
bˉdˉ+abˉcˉd \bar{b} \bar{d} + {a} \bar{b} \bar{c} {d}
(D)
bˉdˉ+bˉcˉ+cˉdˉ \bar{b} \bar{d} + \bar{b} \bar{c} + \bar{c} \bar{d}

The output YY of a 2-bit comparator is logic 1 whenever the 2-bit input AA is greater than the 2-bit input BB. The number of combinations for which the output is logic 1, is [GATE ECE 2012]

(A)
4
(B)
6
(C)
8
(D)
10

In the following truth table, V=1V = 1 if and only if the input is valid.

InputsOutputsD0D1D2D300001000x100xx10xxx1X0X1Vxx0001011101111\begin{array}{cc} \textbf{Inputs}&\textbf{Outputs}\\ \begin{array}{|c|c|c|c|} \hline {D_0}&D_1&D_2&D_3 \\ \hline 0&0&0&0 \\ \hline 1&0&0&0 \\ \hline \text{x}&1&0&0 \\ \hline \text{x}&\text{x}&1&0 \\ \hline \text{x}&\text{x}&\text{x}&1 \\ \hline \end{array}& \begin{array}{|c|c|c|} \hline X_0&X_1&V \\ \hline \text{x}&\text{x}&0\\ \hline 0&0&1\\ \hline 0&1&1\\ \hline 1&0&1\\ \hline 1&1&1\\ \hline \end{array} \\ \end{array}

What function does the truth table represent? [GATE CSE 2013]

(A)
Priority encoder
(B)
Decoder
(C)
Multiplexer
(D)
Demultiplexer

Which one of the following expressions does NOT represent exclusive NOR of xx and yy? [GATE CSE 2013]

(A)
xy+x′y′xy + x' y'
(B)
x⊕y′x\oplus y'
(C)
x′⊕yx'\oplus y
(D)
x′⊕y′x'\oplus y'

A bulb in a staircase has two switches, one switch being at the ground floor and the other one at the first floor. The bulb can be turned ON and also can be turned OFF by any one of the switches irrespective of the state of the other switch. The logic of switching of the bulb resembles [GATE ECE 2013]

(A)
an AND gate
(B)
an OR gate
(C)
an XOR gate
(D)
a NAND gate

In the circuit shown below, Q1Q_1 has negligible collector-to-emitter saturation voltage and the diode drops negligible voltage across it under forward bias. If VccV_{cc} is +5+5 V, XX and YY are digital signals with 0 V as logic 0 and VccV_{cc} as logic 1, then the Boolean expression for ZZ is

[GATE ECE 2013]

(A)
XYXY
(B)
XˉY\bar X Y
(C)
XYˉX\bar Y
(D)
XY‾\overline{XY}

Consider the following Boolean expression for F:

F(P,Q,R,S)=PQ+PˉQR+PˉQRˉSF(P,Q,R,S)= PQ + \bar{P}QR + \bar{P}Q\bar{R}S

The minimal sum−-of−-products form of FF is [GATE CSE 2014, Set 1]

(A)
PQ+QR+QSPQ+QR+QS
(B)
P+Q+R+SP+Q+R+S
(C)
Pˉ+Qˉ+Rˉ+Sˉ\bar{P} + \bar{Q}+ \bar{R}+ \bar{S}
(D)
PˉR+RˉPˉS+P\bar{P}R + \bar{R} \bar{P}S+P

Consider the 4-to-14\text{-to-1} multiplexer with two select lines S1 S_1 and S0 S_0 given below

The minimal sum-of-products form of the Boolean expression for the output FF of the multiplexer is [GATE CSE 2014, Set 1]

(A)
PˉQ+QRˉ+PQˉR\bar{P}Q + Q\bar{R} + P\bar{Q}R
(B)
PˉQ+PˉQRˉ+PQRˉ+PQˉR\bar{P}Q + \bar{P}Q\bar{R} + PQ\bar{R} + P\bar{Q}R
(C)
PˉQR+PˉQRˉ+QRˉ+PQˉR\bar{P}QR + \bar{P}Q\bar{R} + Q\bar{R} + P\bar{Q}R
(D)
PQRˉPQ\bar{R}

The dual of a Boolean function F(x1,x2,…,xn,+,.,′)F(x_1,x_2,\dots,x_n,+, .,'), written as FDF^D is the same expression as that of FF with ++ and ⋅\cdot swapped. FF is said to be self-dual if F=FDF = F^D. The number of self-dual functions with nn Boolean variables is [GATE CSE 2014, Set 2]

(A)
2n2^n
(B)
2n−12^{n-1}
(C)
22n2^{2^{n}}
(D)
22n−12^{2^{n-1}}

Consider the following minterm expression for FF:

F(P,Q,R,S)=∑0,2,5,7,8,10,13,15F(P,Q,R,S) = \sum 0,2,5,7,8,10,13,15

The minterms 22, 77, 88 and 1313 are 'do not care' terms. The minimal sum-of-products form for FF is [GATE CSE 2014, Set 3]

(A)
QSˉ+QˉSQ \bar S+ \bar QS
(B)
QˉSˉ+QS \bar Q \bar S+QS
(C)
QˉRˉSˉ+QˉRSˉ+QRˉS+QRS \bar Q \bar R \bar S+ \bar QR \bar S+Q \bar R S+QRS
(D)
PˉQˉSˉ+PˉQS+PQS+PQˉSˉ \bar P \bar Q \bar S+ \bar P QS+PQS+P \bar Q \bar S

Consider the following combinational function block involving four Boolean variables x, y, a, bx,\:y,\:a,\:b where x, a, bx,\:a,\:b are inputs and yy is the output.

f(x, a, b, y)

    {

        if(x is 1) y = a;

        else y = b;

    }

Which one of the following digital logic blocks is the most suitable for implementing this function? [GATE CSE 2014, Set 3]

(A)
Full adder
(B)
Priority encoder
(C)
Multiplexor
(D)
Flip-flop

Let ⊕\oplus denote the exclusive OR (XOR) operation. Let '11' and '00' denote the binary constants. Consider the following Boolean expression for FF over two variables PP and QQ:

F(P,Q)=((1⊕P)⊕(P⊕Q))⊕((P⊕Q)⊕(Q⊕0))F(P,Q)=\left( \left(1 \oplus P \right) \oplus \left( P \oplus Q \right )\right ) \oplus \left(\left(P \oplus Q\right) \oplus \left(Q \oplus 0\right)\right)

The equivalent expression for FF is [GATE CSE 2014, Set 3]

(A)
P+QP+Q
(B)
P+Q‾\overline{P+Q}
(C)
P⊕QP \oplus Q
(D)
P⊕Q‾\overline {P \oplus Q}

The Boolean expression (X+Y)(X+Yˉ)+(XYˉ)+Xˉ‾(X+Y)(X+\bar Y)+\overline{(X\bar Y)+\bar X} simplifies to [GATE ECE 2014, Set 1]

(A)
XX
(B)
YY
(C)
XYXY
(D)
X+YX+Y

The output FF in the digital logic circuit shown in the figure is

[GATE ECE 2014, Set 1]

(A)
F=XˉYZ+XYˉZF=\bar X YZ+X\bar Y Z
(B)
F=XˉYZˉ+XYˉZˉF=\bar X Y\bar Z+X\bar Y\bar Z
(C)
F=XˉYˉZ+XYZF=\bar X\bar Y Z+XYZ
(D)
F=XˉYˉZˉ+XYZF=\bar X\bar Y\bar Z+XYZ

Consider the Boolean function, F(w,x,y,z)=wy+xy+wˉxyz+wˉxˉy+xz+xˉyˉzˉF(w,x,y,z)=wy+xy+\bar wxyz+\bar w\bar xy+xz+\bar x\bar y\bar z. Which one of the following is the complete set of essential prime implicants? [GATE ECE 2014, Set 1]

(A)
w,y,xz,xˉzˉw,y,xz,\bar x\bar z
(B)
w,y,xzw,y,xz
(C)
y,xˉyˉzˉy,\bar x\bar y\bar z
(D)
y,xz,xˉzˉy,xz,\bar x\bar z

For an nn-variable Boolean function, the maximum number of prime implicants is [GATE ECE 2014, Set 2]

(A)
2(n−1)2(n-1)
(B)
n/2n/2
(C)
2n2^n
(D)
2(n−1)2^{(n-1)}

In a half-subtractor circuit with XX and YY as inputs, the Borrow (M)(M) and Difference (N=X−Y)(N=X-Y) are given by [GATE ECE 2014, Set 2]

(A)
M=X⊕Y, N=XYM=X\oplus Y,\ N=XY
(B)
M=XY, N=X⊕YM=XY,\ N=X\oplus Y
(C)
M=XˉY, N=X⊕YM=\bar X Y,\ N=X\oplus Y
(D)
M=XYˉ, N=X⊕Y‾M=X\bar Y,\ N=\overline{X\oplus Y}

Consider the multiplexer based logic circuit shown in the figure.

Which one of the following Boolean functions is realized by the circuit? [GATE ECE 2014, Set 3]

(A)
F=WSˉ1Sˉ2F=W\bar S_1\bar S_2
(B)
F=WS1+WS2+S1S2F=WS_1+WS_2+S_1S_2
(C)
F=Wˉ+S1+S2F=\bar W+S_1+S_2
(D)
F=W⊕S1⊕S2F=W\oplus S_1\oplus S_2

In the circuit shown, WW and YY are MSBs of the control inputs. The output FF is given by

[GATE ECE 2014, Set 3]

(A)
F=WXˉ+WˉX+YˉZˉF=W\bar X+\bar WX+\bar Y\bar Z
(B)
F=WXˉ+WˉX+YˉZF=W\bar X+\bar WX+\bar Y Z
(C)
F=WXˉYˉ+WˉXYˉF=W\bar X\bar Y+\bar WX\bar Y
(D)
F=(Wˉ+Xˉ)YˉZˉF=(\bar W+\bar X)\bar Y\bar Z

If XX and YY are inputs and the Difference (D=X−Y)(D=X-Y) and the Borrow (B)(B) are the outputs, which one of the following diagrams implements a half-subtractor?

[GATE ECE 2014, Set 3]

An 8-to-1 multiplexer is used to implement a logical function YY as shown in the figure. The output YY is given by

[GATE ECE 2014, Set 4]

(A)
Y=ABˉC+ACˉDY=A\bar BC+A\bar CD
(B)
Y=AˉBC+ABˉDY=\bar ABC+A\bar BD
(C)
Y=ABCˉ+AˉCDY=AB\bar C+\bar ACD
(D)
Y=AˉBˉD+ABˉCY=\bar A\bar BD+A\bar BC

A 16-bit ripple carry adder is realized using 16 identical full adders (FA) as shown in the figure. The carry-propagation delay of each FA is 12 ns and the sum-propagation delay of each FA is 15 ns. The worst case delay (in ns) of this 16-bit adder will be ________.

[GATE ECE 2014, Set 4]

The binary operator ≠\ne is defined by the following truth table

ppqqp≠qp\ne q
000
011
101
110

Which one of the following is true about the binary operator ≠\ne? [GATE CSE 2015, Set 1]

(A)
Both commutative and associative
(B)
Commutative but not associative
(C)
Not commutative but associative
(D)
Neither commutative nor associative

Consider the operations

f(X,Y,Z)=X′YZ+XY′+Y′Z′andg(X,Y,Z)=X′YZ+X′YZ′+XY.f(X,Y,Z)=X'YZ+XY'+Y'Z'\quad\text{and}\quad g(X,Y,Z)=X'YZ+X'YZ'+XY.

Which one of the following is correct? [GATE CSE 2015, Set 1]

(A)
Both {f}\{f\} and {g}\{g\} are functionally complete
(B)
Only {f}\{f\} is functionally complete
(C)
Only {g}\{g\} is functionally complete
(D)
Neither {f}\{f\} nor {g}\{g\} is functionally complete

The number of min-terms after minimizing the following Boolean expression is ________.

[D′+AB′+A′C+AC′D+A′C′D]′[D'+AB'+A'C+AC'D+A'C'D]'

[GATE CSE 2015, Set 2]

A half adder is implemented with XOR and AND gates. A full adder is implemented with two half adders and one OR gate. The propagation delay of an XOR gate is twice that of an AND/OR gate. The propagation delay of an AND/OR gate is 1.2 microseconds. A 4-bit ripple-carry binary adder is implemented by using four full adders. The total propagation time of this 4-bit binary adder in microseconds is ________. [GATE CSE 2015, Set 2]

Let #\# be a binary operator defined as X#Y=X′+Y′X\mathbin{\#}Y=X'+Y' where X and Y are Boolean variables. Consider the following two statements.

S1:(P#Q)#R=P#(Q#R)S_1:(P\mathbin{\#}Q)\mathbin{\#}R=P\mathbin{\#}(Q\mathbin{\#}R) S2:Q#R=R#QS_2:Q\mathbin{\#}R=R\mathbin{\#}Q

Which of the following is/are true for the Boolean variables P, Q and R? [GATE CSE 2015, Set 3]

(A)
Only S1S_1 is True
(B)
Only S2S_2 is True
(C)
Both S1S_1 and S2S_2 are True
(D)
Neither S1S_1 nor S2S_2 are True

Given the function F=P′+QRF=P'+QR, where F is a function in three Boolean variables P, Q and R and P′=!PP'=!P, consider the following statements.

S1:F=Σ(4,5,6)S2:F=Σ(0,1,2,3,7)S3:F=Π(4,5,6)S4:F=Π(0,1,2,3,7)\begin{aligned}S_1 &: F=\Sigma(4,5,6)\\S_2 &: F=\Sigma(0,1,2,3,7)\\S_3 &: F=\Pi(4,5,6)\\S_4 &: F=\Pi(0,1,2,3,7)\end{aligned}

Which of the following is true? [GATE CSE 2015, Set 3]

(A)
S1S_1-False, S2S_2-True, S3S_3-True, S4S_4-False
(B)
S1S_1-True, S2S_2-False, S3S_3-False, S4S_4-True
(C)
S1S_1-False, S2S_2-False, S3S_3-True, S4S_4-True
(D)
S1S_1-True, S2S_2-True, S3S_3-False, S4S_4-False

A 16 Kb (=16,384 bit) memory array is designed as a square with an aspect ratio of one (number of rows is equal to the number of columns). The minimum number of address lines needed for the row decoder is ________. [GATE ECE 2015, Set 1]

The Boolean expression F(X,Y,Z)=XˉYZˉ+XYˉZˉ+XYZˉ+XYZF(X,Y,Z)=\bar XY\bar Z+X\bar Y\bar Z+XY\bar Z+XYZ converted into the canonical product of sum (POS) form is [GATE ECE 2015, Set 1]

(A)
(X+Y+Z)(X+Y+Zˉ)(X+Yˉ+Zˉ)(Xˉ+Y+Zˉ)(X+Y+Z)(X+Y+\bar Z)(X+\bar Y+\bar Z)(\bar X+Y+\bar Z)
(B)
(X+Yˉ+Z)(Xˉ+Y+Zˉ)(Xˉ+Yˉ+Z)(Xˉ+Yˉ+Zˉ)(X+\bar Y+Z)(\bar X+Y+\bar Z)(\bar X+\bar Y+Z)(\bar X+\bar Y+\bar Z)
(C)
(X+Y+Z)(Xˉ+Y+Zˉ)(X+Yˉ+Z)(Xˉ+Yˉ+Zˉ)(X+Y+Z)(\bar X+Y+\bar Z)(X+\bar Y+Z)(\bar X+\bar Y+\bar Z)
(D)
(X+Yˉ+Zˉ)(Xˉ+Y+Z)(Xˉ+Yˉ+Z)(X+Y+Z)(X+\bar Y+\bar Z)(\bar X+Y+Z)(\bar X+\bar Y+Z)(X+Y+Z)

All the logic gates shown in the figure have a propagation delay of 20 ns. Let A=C=0A=C=0 and B=1B=1 until time t=0t=0. At t=0t=0, all the inputs flip (i.e., A=C=1A=C=1 and B=0B=0) and remain in that state. For t>0t>0, output Z=1Z=1 for a duration (in ns) of ________.

[GATE ECE 2015, Set 1]

A 3-input majority gate is defined by the logic function M(a,b,c)=ab+bc+caM(a,b,c)=ab+bc+ca. Which one of the following gates is represented by the function M(M(a,b,c)‾,M(a,b,cˉ),c)M(\overline{M(a,b,c)},M(a,b,\bar c),c) ? [GATE ECE 2015, Set 1]

(A)
3-input NAND gate
(B)
3-input XOR gate
(C)
3-input NOR gate
(D)
3-input XNOR gate

In the figure shown, the output YY is required to be Y=AB+CˉDˉY=AB+\bar C\bar D. The gates G1 and G2 must be, respectively,

[GATE ECE 2015, Set 2]

(A)
NOR, OR
(B)
OR, NAND
(C)
NAND, OR
(D)
AND, NAND

A function of Boolean variables XX, YY and ZZ is expressed in terms of the min-terms as

F(X,Y,Z)=Σ(1,2,5,6,7)F(X,Y,Z)=\Sigma(1,2,5,6,7)

Which one of the product of sums given below is equal to the function F(X,Y,Z)F(X,Y,Z)? [GATE ECE 2015, Set 2]

(A) (Xˉ+Yˉ+Zˉ)⋅(Xˉ+Y+Z)⋅(X+Yˉ+Zˉ)(\bar X+\bar Y+\bar Z)\cdot(\bar X+Y+Z)\cdot(X+\bar Y+\bar Z)

(B) (X+Y+Z)⋅(X+Yˉ+Zˉ)⋅(Xˉ+Y+Z)(X+Y+Z)\cdot(X+\bar Y+\bar Z)\cdot(\bar X+Y+Z)

(C) (Xˉ+Yˉ+Z)⋅(Xˉ+Y+Zˉ)⋅(X+Yˉ+Z)⋅(X+Y+Zˉ)⋅(X+Y+Z)(\bar X+\bar Y+Z)\cdot(\bar X+Y+\bar Z)\cdot(X+\bar Y+Z)\cdot(X+Y+\bar Z)\cdot(X+Y+Z)

(D) (X+Y+Zˉ)⋅(Xˉ+Y+Z)⋅(Xˉ+Y+Zˉ)⋅(Xˉ+Yˉ+Z)⋅(Xˉ+Yˉ+Zˉ)(X+Y+\bar Z)\cdot(\bar X+Y+Z)\cdot(\bar X+Y+\bar Z)\cdot(\bar X+\bar Y+Z)\cdot(\bar X+\bar Y+\bar Z)

A 1-to-8 demultiplexer with data input DinD_{in}, address inputs S0S_0, S1S_1, S2S_2 (with S0S_0 as the LSB) and Y0‾\overline{Y_0} to Y7‾\overline{Y_7} as the eight demultiplexed outputs, is to be designed using two 2-to-4 decoders (with enable input E‾\overline{E} and address inputs A0A_0 and A1A_1) as shown in the figure. DinD_{in}, S0S_0, S1S_1 and S2S_2 are to be connected to P, Q, R and S, but not necessarily in this order. The respective input connections to P, Q, R, and S terminals should be

[GATE ECE 2015, Set 2]

(A)
S2,Din,S0,S1S_2,D_{in},S_0,S_1
(B)
S1,Din,S0,S2S_1,D_{in},S_0,S_2
(C)
Din,S0,S1,S2D_{in},S_0,S_1,S_2
(D)
Din,S2,S0,S1D_{in},S_2,S_0,S_1

In the circuit shown, diodes D1D_1, D2D_2 and D3D_3 are ideal, and the inputs E1E_1, E2E_2 and E3E_3 are “0 V” for logic ‘0' and “10 V” for logic ‘1'. What logic gate does the circuit represent?

[GATE ECE 2015, Set 3]

(A)
3-input OR gate
(B)
3-input NOR gate
(C)
3-input AND gate
(D)
3-input XOR gate

A universal logic gate can implement any Boolean function by connecting sufficient number of them appropriately. Three gates are shown.

Which one of the following statements is TRUE? [GATE ECE 2015, Set 3]

(A)
Gate 1 is a universal gate.
(B)
Gate 2 is a universal gate.
(C)
Gate 3 is a universal gate.
(D)
None of the gates shown is a universal gate.

Consider the Boolean operator # with the following properties :

x#0=x,x#1=x‾,x#x=0x \# 0 = x, x \# 1=\overline{x}, x \# x = 0 and x#x‾=1.x \# \overline{x} = 1. Then x#yx\#y is equivalent to [GATE CSE 2016, Set 1]

(A)
xy‾+x‾yx\overline{y}+\overline{x}y
(B)
xy‾+x‾  y‾x\overline{y}+ \overline{x} \; \overline{y}
(C)
x‾y+xy\overline{x}y+xy
(D)
xy+x‾  y‾xy+\overline{x} \; \overline{y}

Consider the two cascade 22 to 11 multiplexers as shown in the figure .

The minimal sum of products form of the output XX is [GATE CSE 2016, Set 1]

(A)
P‾ Q‾+PQR\overline{P} \ \overline {Q}+PQR
(B)
P‾ Q+QR\overline{P} \ {Q}+QR
(C)
PQ+P‾ Q‾RPQ +\overline{P} \ \overline{Q}R
(D)
Q‾ R‾+PQR\overline{Q} \ \overline{R} + PQR

Consider a carry look ahead adder for adding two nn-bit integers, built using gates of fan-in at most two. The time to perform addition using this adder is [GATE CSE 2016, Set 1]

(A)
Θ(1)\Theta (1)
(B)
Θ(log⁡(n))\Theta (\log(n))
(C)
Θ(n)\Theta (\sqrt{n})
(D)
Θ(n)\Theta (n)

Consider an eight-bit ripple-carry adder for computing the sum of AA and BB, where AA and BB are integers represented in 22's complement form. If the decimal value of AA is one, the decimal value of BB that leads to the longest latency for the sum to stabilize is ________ [GATE CSE 2016, Set 2]

Let, x1⊕x2⊕x3⊕x4=0x_{1} \oplus x_{2} \oplus x_{3} \oplus x_{4}= 0 where x1,x2,x3,x4x_{1}, x_{2}, x_{3}, x_{4} are Boolean variables, and ⊕\oplus is the XOR operator.

Which one of the following must always be TRUE? [GATE CSE 2016, Set 2]

(A)
x1x2x3x4=0x_{1}x_{2}x_{3}x_{4} = 0
(B)
x1x3+x2=0x_{1}x_{3} + x_{2} = 0
(C)
xˉ1⊕xˉ3=xˉ2⊕xˉ4\bar{x}_{1} \oplus \bar{x}_{3} = \bar{x}_{2} \oplus \bar{x}_{4}
(D)
x1+x2+x3+x4=0x_{1} + x_{2} + x_{3} + x_{4} = 0

Identify the circuit below.

[GATE ECE 2016, Set 1]

(A)
Binary to Gray code converter
(B)
Binary to XS3 converter
(C)
Gray to Binary converter
(D)
XS3 to Binary converter

The functionality implemented by the circuit below is

[GATE ECE 2016, Set 1]

(A)
2-to-1 multiplexer
(B)
4-to-1 multiplexer
(C)
7-to-1 multiplexer
(D)
6-to-1 multiplexer

A 4:1 multiplexer is to be used for generating the output carry of a full adder. A and B are the bits to be added while CinC_{\mathrm{in}} is the input carry and CoutC_{\mathrm{out}} is the output carry. A and B are to be used as the select bits with A being the more significant select bit.

Which one of the following statements correctly describes the choice of signals to be connected to the inputs I0I_0, I1I_1, I2I_2 and I3I_3 so that the output is CoutC_{\mathrm{out}}? [GATE ECE 2016, Set 2]

(A)
I0=0I_0=0, I1=CinI_1=C_{\mathrm{in}}, I2=CinI_2=C_{\mathrm{in}} and I3=1I_3=1
(B)
I0=1I_0=1, I1=CinI_1=C_{\mathrm{in}}, I2=CinI_2=C_{\mathrm{in}} and I3=1I_3=1
(C)
I0=CinI_0=C_{\mathrm{in}}, I1=0I_1=0, I2=1I_2=1 and I3=CinI_3=C_{\mathrm{in}}
(D)
I0=0I_0=0, I1=CinI_1=C_{\mathrm{in}}, I2=1I_2=1 and I3=CinI_3=C_{\mathrm{in}}

An 8 Kbyte ROM with an active low Chip Select input (CS‾\overline{\mathrm{CS}}) is to be used in an 8085 microprocessor based system. The ROM should occupy the address range 1000H to 2FFFH. The address lines are designated as A15A_{15} to A0A_0, where A15A_{15} is the most significant address bit.

Which one of the following logic expressions will generate the correct CS‾\overline{\mathrm{CS}} signal for this ROM? [GATE ECE 2016, Set 2]

(A) A15+A14+(A13⋅A12+A13‾⋅A12‾)A_{15}+A_{14}+(A_{13}\cdot A_{12}+\overline{A_{13}}\cdot\overline{A_{12}})

(B) A15⋅A14⋅(A13+A12)A_{15}\cdot A_{14}\cdot(A_{13}+A_{12})

(C) A15‾⋅A14‾⋅(A13⋅A12‾+A13‾⋅A12)\overline{A_{15}}\cdot\overline{A_{14}}\cdot(A_{13}\cdot\overline{A_{12}}+\overline{A_{13}}\cdot A_{12})

(D) A15‾+A14‾+A13⋅A12\overline{A_{15}}+\overline{A_{14}}+A_{13}\cdot A_{12}

The logic functionality realized by the circuit shown below is

[GATE ECE 2016, Set 3]

(A)
OR
(B)
XOR
(C)
NAND
(D)
AND

The minimum number of 2-input NAND gates required to implement a 2-input XOR gate is [GATE ECE 2016, Set 3]

(A)
4
(B)
5
(C)
6
(D)
7

Following is the K-map of a Boolean function of five variables P, Q, R, S and X. The minimum sum-of-product (SOP) expression for the function is

[GATE ECE 2016, Set 3]

(A) P‾ Q‾SX‾+PQ‾SX‾+QR‾ S‾X+QRS‾X\overline P\,\overline Q S\overline X+P\overline Q S\overline X+Q\overline R\,\overline S X+QR\overline S X

(B) Q‾SX‾+QS‾X\overline Q S\overline X+Q\overline S X

(C) Q‾SX+QS‾ X‾\overline Q SX+Q\overline S\,\overline X

(D) Q‾S+QS‾\overline Q S+Q\overline S

For the circuit shown in the figure, the delays of NOR gates, multiplexers and inverters are 2 ns, 1.5 ns and 1 ns, respectively. If all the inputs P, Q, R, S and T are applied at the same time instant, the maximum propagation delay (in ns) of the circuit is ________

[GATE ECE 2016, Set 3]

Consider the Karnaugh map given below, where XX represents "don't care" and blank represents 00.

Assume for all inputs (a,b,c,d)\left ( a,b,c,d \right ), the respective complements (aˉ,bˉ,cˉ,dˉ)\left ( \bar{a}, \bar{b}, \bar{c}, \bar{d} \right ) are also available. The above logic is implemented using 22-input NOR\text{NOR} gates only. The minimum number of gates required is ________ . [GATE CSE 2017, Set 1]

If w,x,y,zw, x, y, z are Boolean variables, then which one of the following is INCORRECT? [GATE CSE 2017, Set 2]

(A)
wx+w(x+y)+x(x+y)=x+wywx+w(x+y)+x(x +y) = x+wy
(B)
wxˉ(y+zˉ)‾+wˉx=wˉ+x+yˉz\overline{w \bar{x}(y+\bar{z})} + \bar{w}x = \bar{w} + x + \bar{y}z
(C)
(wxˉ(y+xzˉ)+wˉxˉ)y=xyˉ(w \bar{x}(y+x\bar{z}) + \bar{w} \bar{x}) y = x \bar{y}
(D)
(w+y)(wxy+wyz)=wxy+wyz(w+y)(wxy+wyz) = wxy+wyz

Given f(w,x,y,z)=Σm(0,1,2,3,7,8,10)+Σd(5,6,11,15)f(w, x, y, z) = \Sigma_m(0,1, 2, 3, 7, 8, 10) + \Sigma_d(5, 6, 11, 15); where dd represents the 'don't-care' condition in Karnaugh maps. Which of the following is a minimum product-of-sums (POS) form of f(w,x,y,z)f(w, x, y, z)? [GATE CSE 2017, Set 2]

(A)
f=(wˉ+zˉ)(xˉ+z)f=(\bar{w}+\bar{z}) (\bar{x}+z)
(B)
f=(wˉ+z)(x+z)f=(\bar{w}+z) (x+z)
(C)
f=(w+z)(xˉ+z)f=(w+z) (\bar{x}+z)
(D)
f=(w+zˉ)(xˉ+z)f=(w+\bar{z}) (\bar{x}+z)

Which one of the following gives the simplified sum of products expression for the Boolean function F=m0+m2+m3+m5F=m_0+m_2+m_3+m_5, where m0m_0, m2m_2, m3m_3 and m5m_5 are minterms corresponding to the inputs AA, BB and CC with AA as the MSB and CC as the LSB? [GATE ECE 2017, Set 1]

(A)
A‾B+A‾BC‾+AB‾C\overline A B+\overline A B\overline C+A\overline B C
(B)
A‾ C‾+A‾B+AB‾C\overline A\,\overline C+\overline A B+A\overline B C
(C)
A‾ C‾+AB‾+AB‾C\overline A\,\overline C+A\overline B+A\overline B C
(D)
A‾BC+A‾ C‾+AB‾C\overline A BC+\overline A\,\overline C+A\overline B C

For the circuit shown in the figure, P and Q are the inputs and Y is the output.

The logic implemented by the circuit is [GATE ECE 2017, Set 2]

(A)
XNOR
(B)
XOR
(C)
NOR
(D)
OR

Consider the circuit shown in the figure.

The Boolean expression FF implemented by the circuit is [GATE ECE 2017, Set 2]

(A)
X‾ Y‾ Z‾+XY+Y‾Z\overline X\,\overline Y\,\overline Z+XY+\overline Y Z
(B)
X‾YZ‾+XZ+Y‾Z\overline X Y\overline Z+XZ+\overline Y Z
(C)
X‾YZ‾+XY+Y‾Z\overline X Y\overline Z+XY+\overline Y Z
(D)
X‾ Y‾ Z‾+XZ+Y‾Z\overline X\,\overline Y\,\overline Z+XZ+\overline Y Z

Figure I shows a 4-bit ripple carry adder realized using full adders and Figure II shows the circuit of a full-adder (FA). The propagation delay of the XOR, AND and OR gates in Figure II are 20 ns, 15 ns and 10 ns, respectively. Assume all the inputs to the 4-bit adder are initially reset to 0.

Figure I

Figure II

At t=0t=0, the inputs to the 4-bit adder are changed to X3X2X1X0=1100X_3X_2X_1X_0=1100, Y3Y2Y1Y0=0100Y_3Y_2Y_1Y_0=0100 and Z0=1Z_0=1. The output of the ripple carry adder will be stable at tt (in ns) = ________. [GATE ECE 2017, Set 2]

A programmable logic array (PLA) is shown in the figure.

The Boolean function FF implemented is [GATE ECE 2017, Set 2]

(A)
P‾ Q‾R+P‾QR+PQ‾ R‾\overline P\,\overline Q R+\overline P QR+P\overline Q\,\overline R
(B)
(P‾+Q‾+R)(P‾+Q+R)(P+Q‾+R‾)(\overline P+\overline Q+R)(\overline P+Q+R)(P+\overline Q+\overline R)
(C)
P‾ Q‾R+P‾QR+PQ‾R\overline P\,\overline Q R+\overline P QR+P\overline Q R
(D)
(P‾+Q‾+R)(P‾+Q+R)(P+Q‾+R)(\overline P+\overline Q+R)(\overline P+Q+R)(P+\overline Q+R)

Let ⊕\oplus and ⊙\odot denote the Exclusive OR and Exclusive NOR operations, respectively. Which one of the following is NOT CORRECT? [GATE CSE 2018]

(A)
P⊕Q‾=P⊙Q\overline{P \oplus Q} = P \odot Q
(B)
P‾⊕Q=P⊙Q\overline{P} \oplus Q = P \odot Q
(C)
P‾⊕Q‾=P⊕Q\overline{P} \oplus \overline{Q} = P \oplus Q
(D)
P⊕P‾⊕Q=(P⊙P‾⊙Q‾)P \oplus \overline{P} \oplus Q = ( P \odot \overline{P} \odot \overline{Q})

Consider the minterm list form of a Boolean function FF given below.

F(P,Q,R,S)=Σm(0,2,5,7,9,11)+d(3,8,10,12,14)F(P, Q, R, S) = \Sigma m(0, 2, 5, 7, 9, 11) + d(3, 8, 10, 12, 14)

Here, mm denotes a minterm and dd denotes a don't care term. The number of essential prime implicants of the function FF is ________ [GATE CSE 2018]

The logic function f(X,Y)f(X,Y) realized by the given circuit is

[GATE ECE 2018]

(A)
NOR
(B)
AND
(C)
NAND
(D)
XOR

A function F(A,B,C)F(A,B,C) defined by three Boolean variables A, B and C when expressed as sum of products is given by

F=A‾⋅B‾⋅C‾+A‾⋅B⋅C‾+A⋅B‾⋅C‾F=\overline A\cdot\overline B\cdot\overline C+\overline A\cdot B\cdot\overline C+A\cdot\overline B\cdot\overline C

where, A‾\overline A, B‾\overline B, and C‾\overline C are the complements of the respective variables. The product of sums (POS) form of the function F is [GATE ECE 2018]

(A) F=(A+B+C)⋅(A+B‾+C)⋅(A‾+B+C)F=(A+B+C)\cdot(A+\overline B+C)\cdot(\overline A+B+C)

(B) F=(A‾+B‾+C‾)⋅(A‾+B+C‾)⋅(A+B‾+C‾)F=(\overline A+\overline B+\overline C)\cdot(\overline A+B+\overline C)\cdot(A+\overline B+\overline C)

(C) F=(A+B+C‾)⋅(A+B‾+C‾)⋅(A‾+B+C‾)⋅(A‾+B‾+C)⋅(A‾+B‾+C‾)F=(A+B+\overline C)\cdot(A+\overline B+\overline C)\cdot(\overline A+B+\overline C)\cdot(\overline A+\overline B+C)\cdot(\overline A+\overline B+\overline C)

(D) F=(A‾+B‾+C)⋅(A‾+B+C)⋅(A+B‾+C)⋅(A+B+C‾)⋅(A+B+C)F=(\overline A+\overline B+C)\cdot(\overline A+B+C)\cdot(A+\overline B+C)\cdot(A+B+\overline C)\cdot(A+B+C)

A four-variable Boolean function is realized using 4×14\times1 multiplexers as shown in the figure.

The minimized expression for F(U,V,W,X)F(U,V,W,X) is [GATE ECE 2018]

(A)
(UV+U‾ V‾)W‾(UV+\overline U\,\overline V)\overline W
(B)
(UV+U‾ V‾)(W‾ X‾+W‾X)(UV+\overline U\,\overline V)(\overline W\,\overline X+\overline W X)
(C)
(UV‾+U‾V)W‾(U\overline V+\overline U V)\overline W
(D)
(UV‾+U‾V)(W‾ X‾+W‾X)(U\overline V+\overline U V)(\overline W\,\overline X+\overline W X)

The logic gates shown in the digital circuit below use strong pull-down nMOS transistors for LOW logic level at the outputs. When the pull-downs are off, high-value resistors set the output logic levels to HIGH (i.e. the pull-ups are weak). Note that some nodes are intentionally shorted to implement “wired logic”. Such shorted nodes will be HIGH only if the outputs of all the gates whose outputs are shorted are HIGH.

The number of distinct values of X3X2X1X0X_3X_2X_1X_0 (out of the 16 possible values) that give Y=1Y=1 is ________. [GATE ECE 2018]

The chip select logic for a certain DRAM chip in a memory system design is shown below. Assume that the memory system has 16 address lines denoted by A15A_{15} to A0A_0. What is the range of address (in hexadecimal) of the memory system that can get enabled by the chip select (CS) signal?

[GATE CSE 2019]

(A)
C800 to CFFF
(B)
CA00 to CAFF
(C)
C800 to C8FF
(D)
DA00 to DFFF

Which one of the following is NOT a valid identity? [GATE CSE 2019]

(A)
(x⊕y)⊕z=x⊕(y⊕z)(x \oplus y) \oplus z = x \oplus (y \oplus z)
(B)
(x+y)⊕z=x⊕(y+z)(x + y) \oplus z = x \oplus (y+z)
(C)
x⊕y=x+y, if xy=0x \oplus y = x+y, \text{ if } xy=0
(D)
x⊕y=(xy+x′y′)′x \oplus y = (xy+x'y')'

Consider three 44-variable functions f1,f2f_1, f_2, and f3f_3, which are expressed in sum-of-minterms as

f1=Σ(0,2,5,8,14),f_1=\Sigma(0,2,5,8,14),

f2=Σ(2,3,6,8,14,15),f_2=\Sigma(2,3,6,8,14,15),

f3=Σ(2,7,11,14)f_3=\Sigma (2,7,11,14)

For the following circuit with one AND gate and one XOR gate the output function ff can be expressed as:

[GATE CSE 2019]

(A)
Σ(7,8,11)\Sigma(7,8,11)
(B)
Σ(2,7,8,11,14)\Sigma (2,7,8,11,14)
(C)
Σ(2,14)\Sigma (2,14)
(D)
Σ(0,2,3,5,6,7,8,11,14,15)\Sigma (0,2,3,5,6,7,8,11,14,15)

What is the minimum number of 22-input NOR gates required to implement a 44 -variable function expressed in sum-of-minterms form as f=Σ(0,2,5,7,8,10,13,15)?f=\Sigma(0,2,5,7, 8, 10, 13, 15)? Assume that all the inputs and their complements are available. Answer: ________ [GATE CSE 2019]

In the circuit shown, A and B are the inputs and F is the output. What is the functionality of the circuit?

[GATE ECE 2019]

(A)
Latch
(B)
XNOR
(C)
SRAM Cell
(D)
XOR

A multiplexer is placed between a group of 3232 registers and an accumulator to regulate data movement such that at any given point in time the content of only one register will move to the accumulator. The number of select lines needed for the multiplexer is ________. [GATE CSE 2020]

If there are mm input lines and nn output lines for a decoder that is used to uniquely address a byte addressable 11 KB RAM, then the minimum value of m+nm+n is ________ . [GATE CSE 2020]

Consider the Boolean function z(a,b,c)z(a,b,c).

Which one of the following minterm lists represents the circuit given above? [GATE CSE 2020]

(A)
z=∑(0,1,3,7)z=\sum (0,1,3,7)
(B)
z=∑(1,4,5,6,7)z=\sum (1,4,5,6,7)
(C)
z=∑(2,4,5,6,7)z=\sum (2,4,5,6,7)
(D)
z=∑(2,3,5)z=\sum (2,3,5)

The figure below shows a multiplexer where S1S_1 and S0S_0 are the select lines, I0I_0 to I3I_3 are the input data lines, EN is the enable line, and F(P,Q,R)F(P,Q,R) is the output. FF is

[GATE ECE 2020]

(A)
PQ+Q‾RPQ+\overline Q R.
(B)
P+QR‾P+Q\overline R.
(C)
PQ‾R+P‾QP\overline Q R+\overline P Q.
(D)
Q‾+PR\overline Q+PR.

Consider the following Boolean expression.

F=(X+Y+Z)(X‾+Y)(Y‾+Z)F=(X+Y+Z)(\overline X +Y)(\overline Y +Z)

Which of the following Boolean expressions is/are equivalent to F‾\overline F (complement of FF)? [GATE CSE 2021, Set 1]

(A)
(X‾+Y‾+Z‾)(X+Y‾)(Y+Z‾)(\overline X +\overline Y +\overline Z)(X+\overline Y)(Y+\overline Z)
(B)
XY‾+Z‾X\overline Y + \overline Z
(C)
(X+Z‾)(Y‾+Z‾)(X+\overline Z)(\overline Y +\overline Z)
(D)
XY‾+YZ‾+X‾  Y‾  Z‾X\overline Y +Y\overline Z + \overline X\; \overline Y \;\overline Z

Which one of the following circuits implements the Boolean function given below?

f(x,y,z)=m0+m1+m3+m4+m5+m6f(x,y,z) = m_0+m_1+m_3+m_4+m_5+m_6, where mim_i is the ithi^{\text{th}} minterm.

[GATE CSE 2021, Set 2]

Consider a Boolean function f(w,x,y,z)f(w,x,y,z) such that

f(w,0,0,z)=1f(1,x,1,z)=x+zf(w,1,y,z)=wz+y\begin{array}{lll} f(w,0,0,z) & = & 1 \\ f(1,x,1,z) & =& x+z \\ f(w,1,y,z) & = & wz +y \end{array}

The number of literals in the minimal sum-of-products expression of ff is ________ [GATE CSE 2021, Set 2]

Addressing of a 32K×1632\mathrm{K}\times16 memory is realized using a single decoder. The minimum number of AND gates required for the decoder is [GATE ECE 2021]

(A)
282^8
(B)
2322^{32}
(C)
2152^{15}
(D)
2192^{19}

The propagation delays of the XOR gate, AND gate and multiplexer (MUX) in the circuit shown in the figure are 4 ns, 2 ns and 1 ns, respectively. If all the inputs P, Q, R, S and T are applied simultaneously and held constant, the maximum propagation delay of the circuit is

[GATE ECE 2021]

(A)
3 ns
(B)
5 ns
(C)
6 ns
(D)
7 ns

Consider a digital display system (DDS)\text{(DDS)} shown in the figure that displays the contents of register X.\text{X}. A 16−bit16 - \text{bit} code word is used to load a word in X,\text{X}, either from S\text{S} or from R.\text{R}. S\text{S} is a 1024−1024-word memory segment and R\text{R} is a 32−32-word register file. Based on the value of mode bit M, T\text{M, T} selects an input word to load in X.\text{X.}

P\text{P} and Q\text{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,\text{P, Q,} and T?\text{T}?

[GATE CSE 2022]

(A) P\text{P} is 10:110:1 multiplexer;    Q; \qquad \; \;\text{Q} is 5:15:1 multiplexer;  T; \qquad \; \text{T} is 2:12:1 multiplexer

(B) P\text{P} is 10:21010:2^{10} decoder;Q; \qquad \quad \text{Q} is 5:255:2^{5} decoder;T; \qquad \quad \text{T} is 2:12:1 encoder

(C) P\text{P} is 10:21010:2^{10} decoder;Q; \qquad \quad \text{Q} is 5:255:2^{5} decoder;T; \qquad \quad \text{T} is 2:12:1 multiplexer

(D) P\text{P} is 1:101:10 de-multiplexer;    Q; \quad \; \;\text{Q} is 1:51:5 de-multiplexer;T; \quad \text{T} is 2:12:1 multiplexer

Consider the 2-bit multiplexer (MUX) shown in the figure. For OUTPUT to be the XOR of C and D, the values for A0A_0, A1A_1, A2A_2, and A3A_3 are ________.

[GATE ECE 2022]

(A)
A0=0A_0=0, A1=0A_1=0, A2=1A_2=1, A3=1A_3=1
(B)
A0=1A_0=1, A1=0A_1=0, A2=1A_2=1, A3=0A_3=0
(C)
A0=0A_0=0, A1=1A_1=1, A2=1A_2=1, A3=0A_3=0
(D)
A0=1A_0=1, A1=1A_1=1, A2=0A_2=0, A3=0A_3=0

Select the Boolean function(s) equivalent to x+yzx+yz, where xx, yy, and zz are Boolean variables, and ++ denotes logical OR operation. [GATE ECE 2022]

(A)
x+z+xyx+z+xy
(B)
(x+y)(x+z)(x+y)(x+z)
(C)
x+xy+yzx+xy+yz
(D)
x+xz+xyx+xz+xy

Consider a Boolean gate (D) where the output YY is related to the inputs AA and BB as, Y=A+B‾Y=A+\overline B, where ++ denotes logical OR operation. The Boolean inputs ‘0' and ‘1' are also available separately. Using instances of only D gates and inputs ‘0' and ‘1', ________ (select the correct option(s)). [GATE ECE 2022]

(A)
NAND logic can be implemented
(B)
OR logic cannot be implemented
(C)
NOR logic can be implemented
(D)
AND logic cannot be implemented

A 4 kilobyte (KB) byte-addressable memory is realized using four 1 KB memory blocks. Two input address lines (IA4IA_4 and IA3IA_3) are connected to the chip select (CS) port of these memory blocks through a decoder as shown in the figure. The remaining ten input address lines from IA11IA_{11}--IA0IA_0 are connected to the address port of these blocks. The chip select (CS) is active high.

The input memory addresses (IA11IA_{11}--IA0IA_0), in decimal, for the starting locations (Addr=0) of each block (indicated as X1X_1, X2X_2, X3X_3, X4X_4 in the figure) are among the options given below. Which one of the following options is CORRECT? [GATE CSE 2023]

(A)
(0, 1, 2, 3)
(B)
(0, 1024, 2048, 3072)
(C)
(0, 8, 16, 24)
(D)
(0, 0, 0, 0)

A Boolean digital circuit is composed using two 44-input multiplexers (M1 and M2)\text{(M1 and M2)} and one 22-input multiplexer (M3)\text{(M3)} as shown in the figure. X0-X7\text{X0-X7} are the inputs of the multiplexers M1 and M2\text{M1 and M2} and could be connected to either 00 or 1.1. The select lines of the multiplexers are connected to Boolean variables A, B and C\text{A, B and C} as shown.

Which one of the following set of values of (X0, X1, X2, X3, X4, X5, X6, X7)\text{(X0, X1, X2, X3, X4, X5, X6, X7)} will realise the Boolean function A‾+A‾⋅C‾+A⋅B‾⋅C?\overline{\mathrm{A}}+\overline{\mathrm{A}} \cdot \overline{\mathrm{C}}+\mathrm{A} \cdot \overline{\mathrm{B}} \cdot \mathrm{C}? [GATE CSE 2023]

(A)
(1,1,0,0,1,1,1,0)(1,1,0,0,1,1,1,0)
(B)
(1,1,0,0,1,1,0,1)(1,1,0,0,1,1,0,1)
(C)
(1,1,0,1,1,1,0,0)(1,1,0,1,1,1,0,0)
(D)
(0,0,1,1,0,1,1,1)(0,0,1,1,0,1,1,1)

Consider a Boolean expression given by F(X, Y, Z)=∑(3,5,6,7)\text{F(X, Y, Z)}=\sum(3,5,6,7).

Which of the following statements is/are CORRECT? [GATE CSE 2024, Set 1]

(A)
F(X, Y, Z)=Π(0,1,2,4)\text{F(X, Y, Z)}=\Pi(0,1,2,4)
(B)
F(X, Y, Z)=X Y+Y Z+X Z\text{F(X, Y, Z)=X Y+Y Z+X Z}
(C)
F(X, Y, Z)\text{F(X, Y, Z)} is independent of input Y\text{Y}
(D)
F(X, Y, Z)\text{F(X, Y, Z)} is independent of input X\text{X}

Consider a digital logic circuit consisting of three 22-to-11 multiplexers M1, M2\text{M1, M2}, and M3\text{M3} as shown below. X1\mathrm{X} 1 and X2\mathrm{X} 2 are inputs of M1\mathrm{M} 1. X3\text{X3} and X4\text{X4} are inputs of M2\text{M2}. A, B\text{A, B}, and C\text{C} are select lines of M1, M2\text{M1, M2}, and M3\text{M3}, respectively.

For an instance of inputs X1=1,X2=1,X3=0\mathbf{X} \mathbf{1}=\mathbf{1}, \mathbf{X} \mathbf{2}=\mathbf{1}, \mathbf{X} \mathbf{3}=\mathbf{0}, and X4=0\mathbf{X} \mathbf{4}=\mathbf{0}, the number of combinations of A,B,C\mathrm{A}, \mathrm{B}, \mathrm{C} that give the output Y=1\mathbf{Y}=\mathbf{1} is ________. [GATE CSE 2024, Set 1]

For a Boolean variable xx, which of the following statements is/are FALSE? [GATE CSE 2024, Set 2]

(A)
x.1=xx .1=x
(B)
x+1=xx+1=x
(C)
x⋅x=0x \cdot x=0
(D)
x+xˉ=1x+\bar{x}=1

For the Boolean function F(A,B,C,D)=∑m(0,2,5,7,8,10,12,13,14,15)F(A,B,C,D)=\sum m(0,2,5,7,8,10,12,13,14,15), the essential prime implicants are ________. [GATE ECE 2024]

(A)
BDBD, B‾ D‾\overline B\,\overline D
(B)
BDBD, ABAB
(C)
ABAB, B‾ D‾\overline B\,\overline D
(D)
BDBD, B‾ D‾\overline B\,\overline D, ABAB

A 4-bit priority encoder has inputs D3D_3, D2D_2, D1D_1, and D0D_0 in descending order of priority. The two-bit output ABAB is generated as 00, 01, 10, and 11 corresponding to inputs D3D_3, D2D_2, D1D_1, and D0D_0, respectively. The Boolean expression of the output bit BB is ________. [GATE ECE 2024]

(A)
D3‾ D2‾\overline{D_3}\,\overline{D_2}
(B)
D3‾D2+D3‾ D1‾\overline{D_3}D_2+\overline{D_3}\,\overline{D_1}
(C)
D3D2‾+D3‾D1D_3\overline{D_2}+\overline{D_3}D_1
(D)
D3‾ D1‾\overline{D_3}\,\overline{D_1}

Let XX be a 33-variable Boolean function that produces output as ′1′'1' when at least two of the input variables are ′1′'1'. Which of the following statement(s) is/are CORRECT, where a,b,c,d,ea, b, c, d, e are Boolean variables? [GATE CSE 2025, Set 1]

(A)
X(a,b,X(c,d,e))=X(X(a,b,c),d,e)X(a, b, X(c, d, e))=X(X(a, b, c), d, e)
(B)
X(a,b,X(a,b,c))=X(a,b,c)X(a, b, X(a, b, c))=X(a, b, c)
(C)
X(a,b,X(a,c,d))=(X(a,b,a)X(a, b, X(a, c, d))=(X(a, b, a) AND X(c,d,c))X(c, d, c))
(D)
X(a,b,c)=X(a,X(a,b,c),X(a,c,c))X(a, b, c)=X(a, X(a, b, c), X(a, c, c))

Consider the following four variable Boolean function in sum-of-product form

F(b3,b2,b1,b0)=∑(0,2,4,8,10,11,12) F\left(b_{3}, b_{2}, b_{1}, b_{0}\right)=\sum(0,2,4,8,10,11,12)

where the value of the function is computed by considering b3b2b1b0b_{3} b_{2} b_{1} b_{0} as a 44-bit binary number, where b3b_{3} denotes the most significant bit and b0b_{0} denotes the least significant bit. Note that there are no don't care terms. Which ONE of the following options is the CORRECT minimized Boolean expression for FF ? [GATE CSE 2025, Set 1]

(A)
bˉ1bˉ0+bˉ2bˉ0+b1bˉ2b3\bar{b}_{1} \bar{b}_{0}+\bar{b}_{2} \bar{b}_{0}+b_{1} \bar{b}_{2} b_{3}
(B)
bˉ1bˉ0+bˉ2bˉ0\bar{b}_{1} \bar{b}_{0}+\bar{b}_{2} \bar{b}_{0}
(C)
bˉ2bˉ0+b1b2b3\bar{b}_{2} \bar{b}_{0}+b_{1} b_{2} b_{3}
(D)
bˉ0bˉ2+bˉ3\bar{b}_{0} \bar{b}_{2}+\bar{b}_{3}

Consider the following logic circuit diagram.

Which is/are the CORRECT option(s) for the output function FF ? [GATE CSE 2025, Set 2]

(A)
XY‾\overline{X Y}
(B)
X‾+Y‾+XY‾\overline{X}+\overline{Y}+X \overline{Y}
(C)
XY‾+X‾+XY‾\overline{XY}+\overline{X}+X \overline{Y}
(D)
X+Y‾X+\overline{Y}

Given the following Karnaugh Map for a Boolean function F(w,x,y,z)F(w, x, y, z) :

Which one or more of the following Boolean expression(s) represent(s) FF ? [GATE CSE 2025, Set 2]

(A) wˉxˉyˉzˉ+wxˉyˉzˉ+wˉxˉyzˉ+wxˉyzˉ+xz\bar{w} \bar{x} \bar{y} \bar{z}+w \bar{x} \bar{y} \bar{z}+\bar{w} \bar{x} y \bar{z}+w \bar{x} y \bar{z}+x z

(B) wˉxˉyˉzˉ+wˉxˉyzˉ+wxˉyz+xz\bar{w} \bar{x} \bar{y} \bar{z}+\bar{w} \bar{x} y \bar{z}+w \bar{x} y z+x z

(C) wˉxˉyˉzˉ+wxˉyˉzˉ+wxˉyˉz+xz\bar{w} \bar{x} \bar{y} \bar{z}+w \bar{x} \bar{y} \bar{z}+w \bar{x} \bar{y} z+x z

(D) xˉzˉ+xz\bar{x} \bar{z}+x z

Which of the following Boolean algebraic equation(s) is/are CORRECT? [GATE CSE 2025, Set 2]

(A) AˉBC+ABˉCˉ+AˉBˉCˉ+ABˉC+ABC=BC+BˉCˉ+AˉBˉ\bar{A} B C+A \bar{B} \bar{C}+\bar{A} \bar{B} \bar{C}+A \bar{B} C+A B C=B C+\bar{B} \bar{C}+\bar{A} \bar{B}

(B) AB+AˉC+BC=AB+AˉCA B+\bar{A} C+B C=A B+\bar{A} C

(C) (A+C)(Aˉ+B)=AB+AˉC(A+C)(\bar{A}+B)=A B+\bar{A} C

(D) (A+Bˉ+Dˉ)(C+D)(Aˉ+C+D)(A+B+Dˉ)‾=AˉD+CˉDˉ\overline{(A+\bar{B}+\bar{D})(C+D)(\bar{A}+C+D)(A+B+\bar{D})}=\bar{A} D+\bar{C} \bar{D}

A 3-input majority logic gate has inputs X, Y and Z. The output F of the gate is logic ‘1' if two or more of the inputs are logic ‘1'. The output F is logic ‘0' if two or more of the inputs are logic ‘0'.

Which one of the following options is a Boolean expression of the output F? [GATE ECE 2025]

(A)
XY+YZ+ZXXY+YZ+ZX
(B)
X⊕Y⊕ZX\oplus Y\oplus Z
(C)
X+Y+ZX+Y+Z
(D)
XYZXYZ

A full adder and an XOR gate are used to design a digital circuit with inputs X, Y, and Z, and output F, as shown below. The input Z is connected to the carry-in input of the full adder.

If the input Z is set to logic ‘1', then the circuit functions as ________ with X and Y as inputs.

[GATE ECE 2025]

(A)
an adder
(B)
a subtractor
(C)
a multiplier
(D)
a binary to Gray code converter

Consider the following Boolean expression of a function F :

F(P,Q)=(P‾+Q)⊕(P‾Q)F(P,Q)=(\overline P+Q)\oplus(\overline P Q)

Which of the following expressions is/are equivalent to F ? [GATE CSE 2026, Set 1]

(A)
P⊕Q‾\overline{P\oplus Q}
(B)
P⊕QP\oplus Q
(C)
P‾⊕Q\overline P\oplus Q
(D)
P‾⊕Q‾\overline P\oplus\overline Q

Consider a Boolean function F with the following minterm expression:

F(P,Q,R,S)=∑m(1,2,3,4,5,7,10,12,13,14)F(P,Q,R,S)=\sum m(1,2,3,4,5,7,10,12,13,14)

Which of the following options is/are the minimal sum-of-products expression(s) of F ? [GATE CSE 2026, Set 1]

(A)
P‾S+QR‾+P‾ Q‾R+Q‾RS‾\overline P S+Q\overline R+\overline P\,\overline Q R+\overline Q R\overline S
(B)
P‾S+QR‾+P‾ Q‾R+PRS‾\overline P S+Q\overline R+\overline P\,\overline Q R+PR\overline S
(C)
P‾S+QR‾+PQS‾+PRS‾\overline P S+Q\overline R+PQ\overline S+PR\overline S
(D)
P‾S+QR‾+PQS‾+Q‾RS‾\overline P S+Q\overline R+PQ\overline S+\overline Q R\overline S

Which one of the following options is not a property of Boolean Algebra?

Note: ++ is OR operation, ⋅\cdot is AND operation, and ′' is NOT operation [GATE CSE 2026, Set 2]

(A)
a+b=b+aa+b=b+a
(B)
a⋅a′=1a\cdot a'=1
(C)
a+a′=1a+a'=1
(D)
a⋅b=b⋅aa\cdot b=b\cdot a

Consider the following 4-variable Boolean function

F(A,B,C,D)=Σm(0,1,2,3,8,9,10,11)F(A,B,C,D)=\Sigma m(0,1,2,3,8,9,10,11)

Consider A as MSB, D as LSB. Which one of the following options represents the minimal sum of products form for the above function?

Note: ++ is OR operation, ⋅\cdot is AND operation, ′' is NOT operation [GATE CSE 2026, Set 2]

(A)
A′+B′+C′+D′A'+B'+C'+D'
(B)
B′B'
(C)
A′⋅B′+A⋅BA'\cdot B'+A\cdot B
(D)
A′A'

Consider the digital circuit shown below with two input lines A and B, two select lines S0S_0 and S1S_1, and an output line Y. The blocks Q and M represent active high 2:4 decoder and 4-to-1 multiplexer, respectively. Out of 16 possible input combinations, the number of combinations that produce Y=1 is ________. (answer in integer)

Note: One input combination is an instance of [A B S1 S0][A\ B\ S_1\ S_0].

[GATE CSE 2026, Set 2]

A Boolean function, f(x,y,z)f(x,y,z) with x as MSB and z as LSB is realized by 4:1 multiplexer (MUX) with select lines, S1S_1 and S0S_0 (S1S_1 is MSB, S0S_0 is LSB) and inputs, I0I_0, I1I_1, I2I_2, I3I_3 as shown in the Figure.

Which of the following options is the correct expression of f(x,y,z)f(x,y,z)?

[GATE ECE 2026]

(A)
xz+yxz+y
(B)
xy‾+zx\overline y+z
(C)
xy+z‾xy+\overline z
(D)
x‾y+z‾\overline x y+\overline z

Consider the four-variable Boolean function,

f(w,x,y,z)=∑m(0,2,5,7,8,10,13,14,15)f(w,x,y,z)=\sum m(0,2,5,7,8,10,13,14,15)

with ‘w' as MSB and ‘z' as LSB.

Which of the following expressions is/are the valid form(s) of f(w,x,y,z)f(w,x,y,z)? [GATE ECE 2026]

(A)
x‾ z‾+xz+wxy\overline x\,\overline z+xz+wxy
(B)
xz+wxy+wx‾ z‾+w‾xyz‾xz+wxy+w\overline x\,\overline z+\overline wxy\overline z
(C)
x‾ z‾+wxy+wx‾ z‾+w‾xyz‾\overline x\,\overline z+wxy+w\overline x\,\overline z+\overline wxy\overline z
(D)
x‾ z‾+xz+wyz‾\overline x\,\overline z+xz+wy\overline z

Which of the following operations is commutative but not associative? [GATE CSE 1998]

(A)
AND
(B)
OR
(C)
NAND
(D)
EXOR

Which of the following expressions is not equivalent to xˉ\bar{x}? [GATE CSE 1999]

(A)
x NAND xx \text{ NAND } x
(B)
x NOR xx \text{ NOR } x
(C)
x NAND 1x \text{ NAND } 1
(D)
x NOR 1x \text{ NOR } 1

The simultaneous equations on the Boolean variables x,y,zx, y, z and ww,

  • x+y+z=1x + y + z = 1
  • xy=0xy = 0
  • xz+w=1xz + w = 1
  • xy+zˉwˉ=0xy + \bar{z}\bar{w} = 0

have the following solution for x,y,zx, y, z and w,w, respectively: [GATE CSE 2000]

(A)
0 1 0 00 \ 1 \ 0 \ 0
(B)
1 1 0 11 \ 1 \ 0 \ 1
(C)
1 0 1 11 \ 0 \ 1 \ 1
(D)
1 0 0 01 \ 0 \ 0 \ 0

Let f(A,B)=A′+Bf(A,B) = A'+B. Simplified expression for function f(f(x+y,y),z)f(f(x+y, y), z) is [GATE CSE 2002]

(A)
x′+zx' + z
(B)
xyzxyz
(C)
xy′+zxy' + z
(D)
None of the above

A Boolean function x′y′+xy+x′yx'y' + xy + x'y is equivalent to [GATE CSE 2004]

(A)
x′+y′x' + y'
(B)
x+yx + y
(C)
x+y′x + y'
(D)
x′+yx' + y

Which of the following expressions is equivalent to (A⊕B)⊕C(A \oplus B) \oplus C [GATE IT 2005]

(A)
(A+B+C)(Aˉ+Bˉ+Cˉ)(A + B + C) (\bar A +\bar B +\bar C)
(B)
(A+B+C)(Aˉ+Bˉ+C)(A + B + C) (\bar A +\bar B + C)
(C)
ABC+Aˉ(B⊕C)+Bˉ(A⊕C)ABC + \bar A (B \oplus C) + \bar B(A \oplus C)
(D)
None of these

Chapter 4

Sequential Logic, Memory, and Control

Flip-flops, registers, counters, state machines and memory

84 questions

You are given a free running clock with a duty cycle of 50%50\% and a digital waveform ff which changes only at the negative edge of the clock. Which one of the following circuits (using clocked D flip-flops) will delay the phase of ff by 180∘180^\circ?

[GATE CSE 2006]

Consider the circuit in the diagram. The ⊕\oplus operator represents Ex-OR. The D flip-flops are initialized to zeroes (cleared).

The following data: 100110000100110000 is supplied to the “data” terminal in nine clock cycles. After that the values of q2q1q0q_{2}q_{1}q_{0} are: [GATE CSE 2006]

(A)
000000
(B)
001001
(C)
010010
(D)
101101

Consider numbers represented in 4-bit Gray code. Let h3h2h1h0 h_{3}h_{2}h_{1}h_{0} be the Gray code representation of a number nn and let g3g2g1g0 g_{3}g_{2}g_{1}g_{0} be the Gray code of (n+1)(modulo16) (n+1)(modulo 16) value of the number. Which one of the following functions is correct? [GATE CSE 2006]

(A)
g0(h3h2h1h0)=∑(1,2,3,6,10,13,14,15) g_{0}(h_{3}h_{2}h_{1}h_{0})=\sum (1,2,3,6,10,13,14,15)
(B)
g1(h3h2h1h0)=∑(4,9,10,11,12,13,14,15) g_{1}(h_{3}h_{2}h_{1}h_{0})=\sum (4, 9,10,11,12,13,14,15)
(C)
g2(h3h2h1h0)=∑(2,4,5,6,7,12,13,15) g_{2}(h_{3}h_{2}h_{1}h_{0})=\sum (2, 4,5,6,7,12,13,15)
(D)
g3(h3h2h1h0)=∑(0,1,6,7,10,11,12,13) g_{3}(h_{3}h_{2}h_{1}h_{0})=\sum (0,1,6,7,10,11,12,13)

The control signal functions of a 4-bit binary counter are given below (where XX is “don't care”):

ClearClockLoadCountFunction1XXXClear to 00X00No Change0↑1XLoad Input0↑01Count Next\small {\begin{array}{|c|c|c|c|l|}\hline \textbf{Clear}& \textbf{Clock}& \textbf{Load}&\mathbf{ Count}& \textbf{Function}\\\hline 1&\text{X}&\text{X}&\text{X}&\text{Clear to 0} \\ 0&\text{X}&0&0&\text{No Change}\\ 0&\uparrow&1&\text{X}& \text{Load Input} \\ 0&\uparrow&0&1& \text{Count Next} \\ \hline \end{array}}

The counter is connected as follows:

Assume that the counter and gate delays are negligible. If the counter starts at 0,0, then it cycles through the following sequence: [GATE CSE 2007]

(A)
0,3,40, 3, 4
(B)
0,3,4,50, 3, 4, 5
(C)
0,1,2,3,40, 1, 2, 3, 4
(D)
0,1,2,3,4,50, 1, 2, 3, 4, 5

The following binary values were applied to the XX and YY inputs of the NAND latch shown in the figure in the sequence indicated below:

X=0,Y=1;X=0,Y=0;X=1,Y=1.X=0,Y=1;\qquad X=0,Y=0;\qquad X=1,Y=1.

The corresponding stable P,QP,Q outputs will be

[GATE ECE 2007]

(A)
P=1,Q=0;P=1,Q=0;P=1,Q=0P=1,Q=0;\quad P=1,Q=0;\quad P=1,Q=0 or P=0,Q=1P=0,Q=1
(B)
P=1,Q=0;P=0,Q=1P=1,Q=0;\quad P=0,Q=1 or P=0,Q=1;P=0,Q=1P=0,Q=1;\quad P=0,Q=1
(C)
P=1,Q=0;P=1,Q=1;P=1,Q=0P=1,Q=0;\quad P=1,Q=1;\quad P=1,Q=0 or P=0,Q=1P=0,Q=1
(D)
P=1,Q=0;P=1,Q=1;P=1,Q=1P=1,Q=0;\quad P=1,Q=1;\quad P=1,Q=1

For the circuit shown, the counter state (Q1Q0)(Q_1Q_0) follows the sequence

[GATE ECE 2007]

(A)
00,01,10,11,00…00,01,10,11,00\ldots
(B)
00,01,10,00,01…00,01,10,00,01\ldots
(C)
00,01,11,00,01…00,01,11,00,01\ldots
(D)
00,10,11,00,10…00,10,11,00,10\ldots

For each of the positive edge-triggered J-K flip flop used in the following figure, the propagation delay is ΔT\Delta T.

Which of the following waveforms correctly represents the output at Q1Q_1?

[GATE ECE 2008]

For the circuit shown in the figure, DD has a transition from 0 to 1 after CLK changes from 1 to 0. Assume gate delays to be negligible.

Which of the following statements is true? [GATE ECE 2008]

(A)
QQ goes to 1 at the CLK transition and stays at 1.
(B)
QQ goes to 0 at the CLK transition and stays at 0.
(C)
QQ goes to 1 at the CLK transition and goes to 0 when DD goes to 1.
(D)
QQ goes to 0 at the CLK transition and goes to 1 when DD goes to 1.

In the following circuit, the comparator output is logic “1” if V1>V2V_1>V_2 and is logic “0” otherwise. The D/A conversion is done as per the relation

VDAC=∑n=032n−1bn Volts,V_{DAC}=\sum_{n=0}^{3}2^{n-1}b_n\ \text{Volts},

where b3b_3 (MSB), b2b_2, b1b_1 and b0b_0 (LSB) are the counter outputs.

The counter starts from the clear state.

(a)

The stable reading of the LED displays is [GATE ECE 2008]

(A)
06
(B)
07
(C)
12
(D)
13

(b)

The magnitude of the error between VDACV_{DAC} and V1V_1 at steady state in volts is [GATE ECE 2008]

(A)
0.2
(B)
0.3
(C)
0.5
(D)
1.0

How many 32K×132K \times 1 RAM chips are needed to provide a memory capacity of 256K 256K bytes? [GATE CSE 2009]

(A)
88
(B)
3232
(C)
6464
(D)
128128

Given the following state table of an FSM with two states AA and BB,one input and one output.

PRESENTPRESENTNext State Next StateSTATE ASTATE BInputABOutput000001010100100010110100001010011001101011111001\small\begin{array}{|c|c|c|c|c|c|}\hline \textbf{PRESENT} & \textbf{PRESENT} & & \textbf{Next State } & \textbf{Next State} & \\ \textbf{STATE A} & \textbf{STATE B} & \mathbf{Input}& \mathbf{A} & \mathbf{B} & \mathbf{Output}\\\hline \text{0} & \text{0} & \text{0} & \text{0} & \text{0} & \text{1} \\\hline \text{0} & \text{1} & \text{0} & \text{1} & \text{0} & \text{0}\\\hline \text{1} & \text{0} & \text{0} & \text{0} & \text{1} & \text{0}\\\hline \text{1} & \text{1} & \text{0} & \text{1} & \text{0} & \text{0}\\\hline \text{0} & \text{0} & \text{1} & \text{0} & \text{1} & \text{0} \\\hline \text{0} & \text{1} & \text{1} & \text{0} & \text{0} & \text{1} \\\hline \text{1} & \text{0} & \text{1} & \text{0} & \text{1} & \text{1} \\\hline \text{1} & \text{1} & \text{1} & \text{0} & \text{0} & \text{1} \\\hline \end{array}

If the initial state is A=0,B=0A=0 ,B=0 what is the minimum length of an input string which will take the machine to the state A=0,B=1A=0,B=1 with output=1output=1. [GATE CSE 2009]

(A)
33
(B)
44
(C)
55
(D)
66

Refer to the NAND and NOR latches shown in the figure. The inputs (P1,P2)(P_1,P_2) for both the latches are first made (0,1)(0,1) and then, after a few seconds, made (1,1)(1,1). The corresponding stable outputs (Q1,Q2)(Q_1,Q_2) are

[GATE ECE 2009]

(A)
NAND: first (0,1) then (0,1) NOR: first (1,0) then (0,0)
(B)
NAND: first (1,0) then (1,0) NOR: first (1,0) then (1,0)
(C)
NAND: first (1,0) then (1,0) NOR: first (1,0) then (0,0)
(D)
NAND: first (1,0) then (1,1) NOR: first (0,1) then (0,1)

What are the counting states (Q1,Q2)(Q_1,Q_2) for the counter shown in the figure below ?

[GATE ECE 2009]

(A)
11,10,00,11,10,…11,10,00,11,10,\ldots
(B)
01,10,11,00,01,…01,10,11,00,01,\ldots
(C)
00,11,01,10,00,…00,11,01,10,00,\ldots
(D)
01,10,00,01,10,…01,10,00,01,10,\ldots

The main memory unit with a capacity of 44 megabytes\text{megabytes} is built using 1M×1-bit1\text{M} \times \text{1-bit} DRAM chips. Each DRAM chip has 1K1\text{K} rows of cells with 1K1\text{K} cells in each row. The time taken for a single refresh operation is 100  nanoseconds100\; \text{nanoseconds}. The time required to perform one refresh operation on all the cells in the memory unit is [GATE CSE 2010]

(A)
100100 nanoseconds
(B)
100×210100\times 2^{10} nanoseconds
(C)
100×220100\times 2^{20} nanoseconds
(D)
3200×2203200\times 2^{20} nanoseconds

In the sequential circuit shown below, if the initial value of the output Q1Q0Q_1Q_0 is 0000. What are the next four values of Q1Q0Q_1Q_0?

[GATE CSE 2010]

(A)
1111, 1010, 0101, 0000
(B)
1010, 1111, 0101, 0000
(C)
1010, 0000, 0101, 1111
(D)
1111, 1010, 0000, 0101

Assuming that all flip-flops are in reset condition initially, the count sequence observed at QAQ_A in the circuit shown is

[GATE ECE 2010]

(A)
0010111…0010111\ldots
(B)
0001011…0001011\ldots
(C)
010111…010111\ldots
(D)
0110100…0110100\ldots

The minimum number of D flip-flops needed to design a mod-258 counter is. [GATE CSE 2011]

(A)
9
(B)
8
(C)
512
(D)
258

Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.

If all the flip-flops were reset to 00 at power on, what is the total number of distinct outputs (states) represented by PQRPQR generated by the counter? [GATE CSE 2011]

(A)
33
(B)
44
(C)
55
(D)
66

Consider the following circuit involving three D-type flip-flops used in a certain type of counter configuration.

If at some instance prior to the occurrence of the clock edge, P,QP, Q and RR have a value 00, 11 and 00 respectively, what shall be the value of PQRPQR after the clock edge? [GATE CSE 2011]

(A)
000000
(B)
001001
(C)
010010
(D)
011011

When the output YY in the circuit below is “1”, it implies that data has

[GATE ECE 2011]

(A)
changed from “0” to “1”
(B)
changed from “1” to “0”
(C)
changed in either direction
(D)
not changed

The output of a 3-stage Johnson (twisted-ring) counter is fed to a digital-to-analog (D/A) converter as shown in the figure below. Assume all states of the counter to be unset initially. The waveform which represents the D/A converter output VoV_o is

[GATE ECE 2011]

Two D flip-flops are connected as a synchronous counter that goes through the following QBQAQ_BQ_A sequence 00→11→01→10→00→⋯00\to11\to01\to10\to00\to\cdots

The connections to the inputs DAD_A and DBD_B are [GATE ECE 2011]

(A)
DA=QB, DB=QAD_A=Q_B,\ D_B=Q_A
(B)
DA=QˉA, DB=QˉBD_A=\bar Q_A,\ D_B=\bar Q_B
(C)
DA=(QAQˉB+QˉAQB), DB=QAD_A=(Q_A\bar Q_B+\bar Q_AQ_B),\ D_B=Q_A
(D)
DA=(QAQB+QˉAQˉB), DB=QˉBD_A=(Q_AQ_B+\bar Q_A\bar Q_B),\ D_B=\bar Q_B

Consider the given circuit.

In this circuit, the race around [GATE ECE 2012]

(A)
does not occur
(B)
occurs when CLK =0=0
(C)
occurs when CLK =1=1 and A=B=1A=B=1
(D)
occurs when CLK =1=1 and A=B=0A=B=0

The state transition diagram for the logic circuit shown is

[GATE ECE 2012]

Let k=2nk=2^n. A circuit is built by giving the output of an nn-bit binary counter as input to an n-to-2nn\text{-to-}2^n bit decoder. This circuit is equivalent to a [GATE CSE 2014, Set 2]

(A)
kk-bit binary up counter.
(B)
kk-bit binary down counter.
(C)
kk--bit ring counter.
(D)
kk-bit Johnson counter.

The above synchronous sequential circuit built using JK flip-flops is initialized with Q2Q1Q0=000Q_2Q_1Q_0 = 000. The state sequence for this circuit for the next 33 clock cycles is [GATE CSE 2014, Set 3]

(A)
001,010,011001, 010, 011
(B)
111,110,101111, 110, 101
(C)
100,110,111100, 110, 111
(D)
100,011,001100, 011, 001

Five JK flip-flops are cascaded to form the circuit shown in Figure. Clock pulses at a frequency of 1 MHz are applied as shown. The frequency (in kHz) of the waveform at Q3Q_3 is ________ .

[GATE ECE 2014, Set 1]

The digital logic shown in the figure satisfies the given state diagram when Q1Q_1 is connected to input A of the XOR gate.

Suppose the XOR gate is replaced by an XNOR gate. Which one of the following options preserves the state diagram? [GATE ECE 2014, Set 1]

(A)
Input A is connected to Qˉ2\bar Q_2
(B)
Input A is connected to Q2Q_2
(C)
Input A is connected to Qˉ1\bar Q_1 and S is complemented
(D)
Input A is connected to Qˉ1\bar Q_1

The outputs of the two flip-flops Q1,Q2Q_1,Q_2 in the figure shown are initialized to 0, 0. The sequence generated at Q1Q_1 upon application of clock signal is

[GATE ECE 2014, Set 2]

(A)
01110…01110\ldots
(B)
01010…01010\ldots
(C)
00110…00110\ldots
(D)
01100…01100\ldots

The circuit shown in the figure is a

[GATE ECE 2014, Set 3]

(A)
Toggle Flip Flop
(B)
JK Flip Flop
(C)
SR Latch
(D)
Master-Slave D Flip Flop

If WL is the Word Line and BL the Bit Line, an SRAM cell is shown in

[GATE ECE 2014, Set 3]

Consider a 4 bit Johnson counter with an initial value of 0000. The counting sequence of this counter is: [GATE CSE 2015, Set 1]

(A)
0, 1, 3, 7, 15, 14, 12, 8, 0
(B)
0, 1, 3, 5, 7, 9, 11, 13, 15, 0
(C)
0, 2, 4, 6, 8, 10, 12, 14, 0
(D)
0, 8, 12, 14, 15, 7, 3, 1, 0

A positive edge-triggered D flip-flop is connected to a positive edge-triggered JK flipflop as follows. The Q output of the D flip-flop is connected to both the J and K inputs of the JK flip-flop, while the Q output of the JK flip-flop is connected to the input of the D flip-flop. Initially, the output of the D flip-flop is set to logic one and the output of the JK flip-flop is cleared. Which one of the following is the bit sequence (including the initial state) generated at the Q output of the JK flip-flop when the flip-flops are connected to a free-running common clock? Assume that J = K = 1 is the toggle mode and J = K = 0 is the state-holding mode of the JK flip-flop. Both the flip-flops have non-zero propagation delays. [GATE CSE 2015, Set 1]

(A)
0110110…0110110\ldots
(B)
0100100…0100100\ldots
(C)
011101110…011101110\ldots
(D)
011001100…011001100\ldots

The minimum number of JK\text{JK} flip-flops required to construct a synchronous counter with the count sequence (0,0,1,1,2,2,3,3,0,0,…)(0, 0, 1, 1, 2, 2, 3, 3, 0, 0, \ldots) is ________. [GATE CSE 2015, Set 2]

A mod-nn counter using a synchronous binary up-counter with synchronous clear input is shown in the figure. The value of nn is ________.

[GATE ECE 2015, Set 2]

The figure shows a binary counter with synchronous clear input. With the decoding logic shown, the counter works as a

[GATE ECE 2015, Set 2]

(A)
mod-2 counter
(B)
mod-4 counter
(C)
mod-5 counter
(D)
mod-6 counter

The circuit shown consists of J-K flip-flops, each with an active low asynchronous reset (Rd‾(\overline{R_d} input). The counter corresponding to this circuit is

[GATE ECE 2015, Set 3]

(A)
a modulo-5 binary up counter
(B)
a modulo-6 binary down counter
(C)
a modulo-5 binary down counter
(D)
a modulo-6 binary up counter

A three bit pseudo random number generator is shown. Initially the value of output Y=Y2Y1Y0Y=Y_2Y_1Y_0 is set to 111. The value of output YY after three clock cycles is

[GATE ECE 2015, Set 3]

(A)
000
(B)
001
(C)
010
(D)
100

An SR latch is implemented using TTL gates as shown in the figure. The set and reset pulse inputs are provided using the push-button switches. It is observed that the circuit fails to work as desired. The SR latch can be made functional by changing

[GATE ECE 2015, Set 3]

(A)
NOR gates to NAND gates
(B)
inverters to buffers
(C)
NOR gates to NAND gates and inverters to buffers
(D)
5 V to ground

We want to design a synchronous counter that counts the sequence 0−1−0−2−0−30-1-0-2-0-3 and then repeats. The minimum number of J-K\text{J-K} flip-flops required to implement this counter is ________. [GATE CSE 2016, Set 1]

Assume that all the digital gates in the circuit shown in the figure are ideal, the resistor R=10 kΩR=10\,\mathrm{k}\Omega and the supply voltage is 5 V. The D flip-flops D1D_1, D2D_2, D3D_3, D4D_4 and D5D_5 are initialized with logic values 0, 1, 0, 1 and 0, respectively. The clock has a 30% duty cycle.

The average power dissipated (in mW) in the resistor RR is ________ [GATE ECE 2016, Set 2]

The state transition diagram for a finite state machine with states A, B and C, and binary inputs X, Y and Z, is shown in the figure.

Which one of the following statements is correct? [GATE ECE 2016, Set 2]

(A)
Transitions from State A are ambiguously defined.
(B)
Transitions from State B are ambiguously defined.
(C)
Transitions from State C are ambiguously defined.
(D)
All of the state transitions are defined unambiguously.

For the circuit shown in the figure, the delay of the bubbled NAND gate is 2 ns and that of the counter is assumed to be zero.

If the clock (Clk) frequency is 1 GHz, then the counter behaves as a [GATE ECE 2016, Set 3]

(A)
mod-5 counter
(B)
mod-6 counter
(C)
mod-7 counter
(D)
mod-8 counter

Consider a combination of T\text{T} and D\text{D} flip-flops connected as shown below. The output of the D\text{D} flip-flop is connected to the input of the T\text{T} flip-flop and the output of the T\text{T} flip-flop is connected to the input of the D\text{D} flip-flop.

Initially, both Q0Q_{0} and Q1Q_{1} are set to 11 (before the 1st1^{\text{st}} clock cycle). The outputs [GATE CSE 2017, Set 1]

(A) Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 1111 and after the 4th4^{\text{th}} cycle are 0000 respectively.

(B) Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 1111 and after the 4th4^{\text{th}} cycle are 0101 respectively.

(C) Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 0000 and after the 4th4^{\text{th}} cycle are 1111 respectively.

(D) Q1Q0Q_{1}Q_{0} after the 3rd3^{\text{rd}} cycle are 0101 and after the 4th4^{\text{th}} cycle are 0101 respectively.

The next state table of a 2−2-bit saturating up-counter is given below.

Q1Q0Q1+Q0+0001011010111111\begin{array}{cc|cc} Q_1 & Q_0 & Q_1^+ & Q_0^+ \\ \hline 0 & 0 & 0 & 1 \\ 0 & 1 & 1 & 0 \\ 1 & 0 & 1 & 1 \\ 1 & 1 & 1 & 1 \end{array}

The counter is built as a synchronous sequential circuit using TT flip-flops. The expressions for T1T_1 and T0T_0 are [GATE CSE 2017, Set 2]

(A)
T1=Q1Q0,T0=Q1ˉQ0ˉT_1 = Q_1Q_0, \quad T_0= \bar{Q_1} \bar{Q_0}
(B)
T1=Q1ˉQ0,T0=Q1ˉ+Q0ˉT_1 = \bar{Q_1}Q_0, \quad T_0= \bar{Q_1} + \bar{Q_0}
(C)
T1=Q1+Q0,T0=Q1ˉQ0ˉT_1 = Q_1+Q_0, \quad T_0= \bar{Q_1} \bar{Q_0}
(D)
T1=Q1ˉQ0,T0=Q1+Q0T_1 = \bar{Q_1}Q_0, \quad T_0= Q_1 + Q_0

In the latch circuit shown, the NAND gates have non-zero, but unequal propagation delays. The present input condition is: P = Q = ‘0'. If the input condition is changed simultaneously to P = Q = ‘1', the outputs X and Y are

[GATE ECE 2017, Set 1]

(A)
X = ‘1', Y = ‘1'
(B)
either X = ‘1', Y = ‘0' or X = ‘0', Y = ‘1'
(C)
either X = ‘1', Y = ‘1' or X = ‘0', Y = ‘0'
(D)
X = ‘0', Y = ‘0'

Consider the D-Latch shown in the figure, which is transparent when its clock input CK is high and has zero propagation delay. In the figure, the clock signal CLK1 has a 50% duty cycle and CLK2 is a one-fifth period delayed version of CLK1. The duty cycle at the output of the latch in percentage is ________.

[GATE ECE 2017, Set 1]

A 4-bit shift register circuit configured for right-shift operation, i.e. Din→AD_{\mathrm{in}}\to A, A→BA\to B, B→CB\to C, C→DC\to D, is shown. If the present state of the shift register is ABCD=1101ABCD=1101, the number of clock cycles required to reach the state ABCD=1111ABCD=1111 is ________.

[GATE ECE 2017, Set 1]

A finite state machine (FSM) is implemented using the D flip-flops A and B, and logic gates, as shown in the figure below. The four possible states of the FSM are QAQB=00,01,10Q_AQ_B=00,01,10, and 11.

Assume that XINX_{\mathrm{IN}} is held at a constant logic level throughout the operation of the FSM. When the FSM is initialized to the state QAQB=00Q_AQ_B=00 and clocked, after a few clock cycles, it starts cycling through [GATE ECE 2017, Set 1]

(A)
all of the four possible states if XIN=1X_{\mathrm{IN}}=1
(B)
three of the four possible states if XIN=0X_{\mathrm{IN}}=0
(C)
only two of the four possible states if XIN=1X_{\mathrm{IN}}=1
(D)
only two of the four possible states if XIN=0X_{\mathrm{IN}}=0

In a DRAM, [GATE ECE 2017, Set 2]

(A)
periodic refreshing is not required
(B)
information is stored in a capacitor
(C)
information is stored in a latch
(D)
both read and write operations can be performed simultaneously

The state diagram of a finite state machine (FSM) designed to detect an overlapping sequence of three bits is shown in the figure. The FSM has an input ‘In' and an output ‘Out'. The initial state of the FSM is S0S_0.

If the input sequence is 10101101001101, starting with the left-most bit, then the number of times ‘Out' will be 1 is ________. [GATE ECE 2017, Set 2]

Consider the sequential circuit shown in the figure, where both flip-flops used are positive edge-triggered D\text{D} flip-flops.

The number of states in the state transition diagram of this circuit that have a transition back to the same state on some value of "in" is ________ [GATE CSE 2018]

A 32-bit wide main memory unit with a capacity of 1 GB is built using 256M×4256\mathrm{M}\times4-bit DRAM chips. The number of rows of memory cells in the DRAM chip is 2142^{14}. The time taken to perform one refresh operation is 50 nanoseconds. The refresh period is 2 milliseconds. The percentage (rounded to the closest integer) of the time available for performing the memory read/write operations in the main memory unit is ________. [GATE CSE 2018]

A traffic signal cycles from GREEN to YELLOW, YELLOW to RED and RED to GREEN. In each cycle, GREEN is turned on for 70 seconds, YELLOW is turned on for 5 seconds and the RED is turned on for 75 seconds. This traffic light has to be implemented using a finite state machine (FSM). The only input to this FSM is a clock of 5 second period. The minimum number of flip-flops required to implement this FSM is ________. [GATE ECE 2018]

A 2×22\times2 ROM array is built with the help of diodes as shown in the circuit below. Here W0 and W1 are signals that select the word lines and B0 and B1 are signals that are output of the sense amps based on the stored data corresponding to the bit lines during the read operation.

During the read operation, the selected word line goes high and the other word line is in a high impedance state. As per the implementation shown in the circuit diagram above, what are the bits corresponding to DijD_{ij} (where i=0i=0 or 1 and j=0j=0 or 1) stored in the ROM? [GATE ECE 2018]

(A) [1001]\begin{bmatrix}1&0\\0&1\end{bmatrix}

(B) [0110]\begin{bmatrix}0&1\\1&0\end{bmatrix}

(C) [1010]\begin{bmatrix}1&0\\1&0\end{bmatrix}

(D) [1100]\begin{bmatrix}1&1\\0&0\end{bmatrix}

In the circuit shown below, a positive edge-triggered D Flip-Flop is used for sampling input data DinD_{in} using clock CKCK. The XOR gate outputs 3.3 volts for logic HIGH and 0 volts for logic LOW levels. The data bit and clock periods are equal and the value of ΔT/TCK=0.15\Delta T/T_{CK}=0.15, where the parameters ΔT\Delta T and TCKT_{CK} are shown in the figure. Assume that the Flip-Flop and the XOR gate are ideal.

If the probability of input data bit (DinD_{in}) transition in each clock period is 0.3, the average value (in volts, accurate to two decimal places) of the voltage at node XX, is ________. [GATE ECE 2018]

In the circuit shown, the clock frequency, i.e., the frequency of the Clk signal, is 12 kHz. The frequency of the signal at Q2Q_2 is ________ kHz.

[GATE ECE 2019]

The state transition diagram for the circuit shown is

[GATE ECE 2019]

The state diagram of a sequence detector is shown below. State S0S_0 is the initial state of the sequence detector. If the output is 1, then

[GATE ECE 2020]

(A)
the sequence 01010 is detected.
(B)
the sequence 01011 is detected.
(C)
the sequence 01110 is detected.
(D)
the sequence 01001 is detected.

For the components in the sequential circuit shown below, tpdt_{\mathrm{pd}} is the propagation delay, tsetupt_{\mathrm{setup}} is the setup time, and tholdt_{\mathrm{hold}} is the hold time. The maximum clock frequency (rounded off to the nearest integer), at which the given circuit can operate reliably, is ________ MHz.

[GATE ECE 2020]

Consider a 33-bit counter, designed using TT flip-flops, as shown below:

Assuming the initial state of the counter given by PQR\text{PQR} as 000000, what are the next three states? [GATE CSE 2021, Set 1]

(A)
011,101,000011,101,000
(B)
001,010,111001,010,111
(C)
011,101,111011,101,111
(D)
001,010,000001,010,000

Suppose we want to design a synchronous circuit that processes a string of 0's and 1's. Given a string, it produces another string by replacing the first 1 in any subsequence of consecutive 1's by a 0. Consider the following example.

Input sequence :00100011000011100
Output sequence :00000001000001100

A Mealy Machine is a state machine where both the next state and the output are functions of the present state and the current input. The above mentioned circuit can be designed as a two-state Mealy machine. The states in the Mealy machine can be represented using Boolean values 0 and 1. We denote the current state, the next state, the next incoming bit, and the output bit of the Mealy machine by the variables s, t, b and y respectively. Assume the initial state of the Mealy machine is 0. What are the Boolean expressions corresponding to t and y in terms of s and b? [GATE CSE 2021, Set 2]

(A)
t=s+by=sbt=s+b\quad y=sb
(B)
t=by=sbt=b\quad y=sb
(C)
t=by=sb′t=b\quad y=sb'
(D)
t=s+by=sb′t=s+b\quad y=sb'

The propagation delay of the exclusive-OR (XOR) gate in the circuit in the figure is 3 ns. The propagation delay of all the flip-flops is assumed to be zero. The clock (Clk) frequency provided to the circuit is 500 MHz.

Starting from the initial value of the flip-flop outputs Q2Q1Q0=111Q_2Q_1Q_0=111 with D2=1D_2=1, the minimum number of triggering clock edges after which the flip-flop outputs Q2Q1Q0Q_2Q_1Q_0 becomes 1 0 0 (in integer) is ________. [GATE ECE 2021]

For the circuit shown, the clock frequency is f0f_0 and the duty cycle is 25%. For the signal at the Q output of the Flip-Flop, ________.

[GATE ECE 2022]

(A)
frequency is f0/4f_0/4 and duty cycle is 50%
(B)
frequency is f0/4f_0/4 and duty cycle is 25%
(C)
frequency is f0/2f_0/2 and duty cycle is 50%
(D)
frequency is f0f_0 and duty cycle is 25%

The output of a 22-input multiplexer is connected back to one of its inputs as shown in the figure.

Match the functional equivalence of this circuit to one of the following options. [GATE CSE 2023]

(A)
D\text{D} Flip-flop
(B)
D\text{D} Latch
(C)
Half-adder
(D)
Demultiplexer

Consider a sequential digital circuit consisting of T\mathrm{T} flip-flops and D\mathrm{D} flip-flops as shown in the figure. CLKIN\text{CLKIN} is the clock input to the circuit. At the beginning, Q1, Q2\text{Q1, Q2} and Q3\text{Q3} have values 0,10,1 and 1,1, respectively.

Which one of the given values of (Q1, Q2, Q3)\text{(Q1, Q2, Q3)} can NEVER\text{NEVER} be obtained with this digital circuit? [GATE CSE 2023]

(A)
(0,0,1)(0,0,1)
(B)
(1,0,0)(1,0,0)
(C)
(1,0,1)(1,0,1)
(D)
(1,1,1)(1,1,1)

The synchronous sequential circuit shown below works at a clock frequency of 1 GHz. The throughput, in Mbits/s, and the latency, in ns, respectively, are

[GATE ECE 2023]

(A)
1000, 3
(B)
333.33, 1
(C)
2000, 3
(D)
333.33, 3

For the circuit shown below, the propagation delay of each NAND gate is 1 ns. The critical path delay, in ns, is ________ (rounded off to the nearest integer).

[GATE ECE 2023]

In a given sequential circuit, initial states are Q1=1Q_1=1 and Q2=0Q_2=0. For a clock frequency of 1 MHz, the frequency of signal Q2Q_2 in kHz, is ________ (rounded off to the nearest integer).

[GATE ECE 2023]

The sequence of states (Q1Q0Q_1Q_0) of the given synchronous sequential circuit is ________.

[GATE ECE 2024]

(A)
00→10→11→0000\to10\to11\to00
(B)
11→00→10→01→0011\to00\to10\to01\to00
(C)
01→10→11→00→0101\to10\to11\to00\to01
(D)
00→01→10→0000\to01\to10\to00

Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is ________. (Answer in integer)

[GATE CSE 2025, Set 1]

In a 44-bit ripple counter, if the period of the waveform at the last flip-flop is 6464 microseconds, then the frequency of the ripple counter in kHz is ________. (Answer in integer) [GATE CSE 2025, Set 2]

A positive-edge-triggered sequential circuit is shown below. There are no timing violations in the circuit. Input P0 is set to logic ‘0' and P1 is set to logic ‘1' at all times. The timing diagram of the inputs SEL and S are also shown below.

The sequence of output Y from time T0T_0 to T3T_3 is ________.

[GATE ECE 2025]

(A)
1011
(B)
0100
(C)
0010
(D)
1101

In the circuit shown below, the AND gate has a propagation delay of 1 ns. The edge-triggered flip-flops have a set-up time of 2 ns, a hold-time of 0 ns, and a clock-to-Q delay of 2 ns.

The maximum clock frequency (in MHz, rounded off to the nearest integer) such that there are no setup violations is ________.

[GATE ECE 2025]

Consider a 2-bit saturating up/down counter that performs the saturating up count when the input P is 0, and the saturating down count when P is 1. The Next State table of the counter is as shown. The counter is built as a synchronous sequential circuit using D flip-flops.

InputCurrent StateNext State
PPQ1Q_1Q0Q_0Q1+Q_1^+Q0+Q_0^+
00001
00110
01011
01111
10000
10100
11001
11110

Which one of the following options corresponds to the expressions for the inputs of the D flip-flops, D1D_1 and D0D_0? [GATE CSE 2026, Set 1]

(A) D1=PQ1+P‾Q0+Q1Q0D0=PQ0+P‾Q1+Q1Q0‾D_1=PQ_1+\overline P Q_0+Q_1Q_0\qquad D_0=PQ_0+\overline P Q_1+Q_1\overline{Q_0}

(B) D1=P‾Q1+P‾Q0+Q1Q0D0=P‾ Q0‾+P‾Q1+Q1Q0‾D_1=\overline P Q_1+\overline P Q_0+Q_1Q_0\qquad D_0=\overline P\,\overline{Q_0}+\overline P Q_1+Q_1\overline{Q_0}

(C) D1=P‾ Q1‾+P‾Q0+Q1Q0D0=P‾Q0+P‾Q1+Q1Q0‾D_1=\overline P\,\overline{Q_1}+\overline P Q_0+Q_1Q_0\qquad D_0=\overline P Q_0+\overline P Q_1+Q_1\overline{Q_0}

(D) D1=PQ1‾+P‾Q0+Q1Q0D0=PQ0‾+P‾Q1+Q1Q0‾D_1=P\overline{Q_1}+\overline P Q_0+Q_1Q_0\qquad D_0=P\overline{Q_0}+\overline P Q_1+Q_1\overline{Q_0}

A binary ripple counter is designed to count (0)10(0)_{10} to (64)10(64)_{10}.

Which of the following is/are the number of flip-flops required to design the counter? [GATE ECE 2026]

(A)
6
(B)
7
(C)
4
(D)
5

The negative edge triggered JK flip-flop in the Figure has J and K inputs tied to Logic High and a square wave of 10 cycles/second is applied to its clock (C) input.

The frequency of the output Q (in cycles/second) is ________.

(rounded off to two decimal places)

[GATE ECE 2026]

A shift-left Shift Register (SR) and a D flip-flop are connected to a synchronized clock as shown in the Figure. Assume that the SR and D flip-flops are initially cleared and the XOR gate has no propagation delay.

Which of the following options gives the correct binary representation (b7b6b5b4b3b2b1b0b_7b_6b_5b_4b_3b_2b_1b_0) of the content of the shift register immediately after the 5th clock transition (positive edge)?

[GATE ECE 2026]

(A)
00011111
(B)
10111111
(C)
00111111
(D)
11000011

The number of flip-flops required to construct a binary modulo NN counter is ________ [GATE CSE 1994]

How many pulses are needed to change the contents of a 88-bit up counter from 1010110010101100 to 0010011100100111 (rightmost bit is the LSB)? [GATE IT 2005]

(A)
134134
(B)
133133
(C)
124124
(D)
123123

Consider the following state diagram and its realization by a JK flip flop

The combinational circuit generates J and K in terms of x, y and Q.

The Boolean expressions for J and K are : [GATE IT 2008]

(A)
x⊕y‾\overline {x \oplus y} and x⊕y‾\overline {x \oplus y}
(B)
x⊕y‾\overline {x \oplus y} and x⊕y {x \oplus y}
(C)
x⊕y {x \oplus y} and x⊕y‾\overline {x \oplus y}
(D)
x⊕y {x \oplus y} and x⊕y {x \oplus y}

A ROM is used to store the Truth table for binary multiple units that will multiply two 44-bit numbers. The size of the ROM (number of words ×\times number of bits) that is required to accommodate the Truth table is M words× N bits\text{M words}\times \text{ N bits}. Write the values of M\text{M} and N\text{N}. [GATE CSE 1993]

A ROM is used to store the table for multiplication of two 88-bit unsigned integers. The size of ROM required is [GATE CSE 1996]

(A)
256×16256 \times 16
(B)
64K×864 K \times 8
(C)
4K×164 K \times 16
(D)
64K×1664 K \times 16

What is the minimum size of ROM required to store the complete truth table of an 88-bit ×\times 88-bit multiplier? [GATE IT 2004]

(A)
32K×1632K\times16 bits
(B)
64K×1664K\times16 bits
(C)
16K×3216K\times32 bits
(D)
64K×3264K\times32 bits
Question figure