Home
MCQS
Gate MCQ Quiz Hub
GATE STUDY MATERIAL /COMPUTER ARCHITECTURE MCQ SET 1
Choose a topic to test your knowledge and improve your Gate skills
1. Which one of the following expressions does NOT represent exclusive NOR of x and y?
xy + x' y'
x ^ y' where ^ is XOR
x' ^ y where ^ is XOR
x' ^ y' where ^ is XOR
2. The simplified SOP (Sum Of Product) form of the boolean expression (P + Q' + R') . (P + Q' + R) . (P + Q + R') is
(P'.Q + R')
(P + Q'.R')
(P'.Q + R)
(P.Q + R)
3. The minterm expansion of f(P, Q, R) = PQ + QR' + PR' is
m2 + m4 + m6 + m7
m0 + m1 + m3 + m5
m0 + m1 + m6 + m7
m2 + m3 + m4 + m5
4. What is the minimum number of gates required to implement the Boolean function (AB+C)if we have to use only 2-input NOR gates
2
3
4
5
5. If P, Q, R are Boolean variables, then (P + Q')(PQ' + PR)(P'R' + Q') simplifies
PQ'
PR'
PQ' + R
PR'' + Q
6. How many 3-to-8 line decoders with an enable input are needed to construct a 6-to-64 line decoder without using any other logic gates?
7
8
9
10
7. Consider the following Boolean function of four variables: f(w,x,y,z) = ∑(1,3,4,6,9,11,12,14) The function is:
independent of one variables
independent of two variables
independent of three variables
dependent on all the variables
8. Let f(w, x, y, z) = ∑(0, 4, 5, 7, 8, 9, 13, 15). Which of the following expressions are NOT equivalent to f?
x'y'z' + w'xy' + wy'z + xz
w'y'z' + wx'y' + xz
w'y'z' + wx'y' + xyz + xy'z
x'y'z' + wx'y' + w'y
9. Define the connective * for the Boolean variables X and Y as: X * Y = XY + X' Y'. Let Z = X * Y. Consider the following expressions P, Q and R. P: X = Y⋆Z Q: Y = X⋆Z R: X⋆Y⋆Z=1 Which of the following is TRUE?
Only P and Q are valid
Only Q and R are valid
Only P and R are valid
All P, Q, R are valid
10. Suppose only one multiplexer and one inverter are allowed to be used to implement any Boolean function of n variables. What is the minimum size of the multiplexer needed?
2^n line to 1 line
2^(n+1) line to 1 line
2^(n-1) line to 1 line
2^(n-2) line to 1 line
11. In a look-ahead carry generator, the carry generate function Gi and the carry propagate function Pi for inputs Ai and Bi are given by: Pi = Ai ⨁ Bi and Gi = AiBi The expressions for the sum bit Si and the carry bit Ci+1 of the look-ahead carry adder are given by: Si = Pi ⨁ Ci and Ci+1 = Gi + PiCi , where C0 is the input carry. Consider a two-level logic implementation of the look-ahead carry generator. Assume that all Pi and Gi 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 4-bit adder with S3, S2, S1, S0 and C4 as its outputs are respectively:
6, 3
10, 4
6, 4
10, 5
12. Let k = 2^n. A circuit is built by giving the output of an n-bit binary counter as input to an n-to-2^n bit decoder. This circuit is equivalent to a
k-bit binary up counter
k-bit binary down counter
k-bit ring counter
k-bit Johnson counter
13. Consider the equation (123)5 = (x8)y with x and y as unknown. The number of possible solutions is _____ .
1
2
3
4
14. Consider the following combinational function block involving four Boolean variables x, y, a, b where x, a, b are inputs and y is the output. f (x, y, a, b) { 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?
Full adder
Priority encoder
Multiplexer
Flip-flop
15. Let X denote the Exclusive OR (XOR) operation. Let ‘1’ and ‘0’ denote the binary constants. Consider the following Boolean expression for F over two variables P and Q: F(P, Q) = ( ( 1 X P) X (P X Q) ) X ( (P X Q) X (Q X 0) ) The equivalent expression for F is
P + Q
(P + Q)'
P X Q
(P X Q)'
16. Consider a Boolean function 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) and i2 = (w2, x2, y2, z2) we would like the function to remain true as the input changes from i1 to i2 (i1 and i2 differ in exactly one bit position), without becoming false momentarily. Let f (w, x, y, z) = ∑(5,7,11,12,13,15). Which of the following cube covers of f will ensure that the required property is satisfied?
w'xz, wxy', xy'z, xyz,wyz
wxy,w'xz,wyz
wx(yz)', xz, wx'yz
wzy, wyz, wxz, w'xz, xy'z, xyz
17. The hexadecimal representation of 6578 is
1AF
D78
D71
32F
18. The switching expression corresponding to f(A, B, C, D) = Σ (1, 4, 5, 9, 11, 12) is
BC'D' + A'C'D + AB'D
ABC' + ACD + B'C'D
ACD' + A'BC' + AC'D
A'BD + ACD' + BCD'
19. The Boolean function x'y' + xy + x'y is equivalent to
BC'D' + A'C'D + AB'D b. c. d.
ABC' + ACD + B'C'D
ACD' + A'BC' + AC'D'
A'BD + ACD' + BCD'
20. The Boolean function x'y' + xy + x'y is equivalent to
x' + y'
x + y
x + y'
x' + y
21. In an SR latch made by cross-coupling two NAND gates, if both S and R inputs are set to 0, then it will result in
Q = 0, Q' = 1
Q = 1, Q' = 0
Q = 1, Q' = 1
Indeterminate states
22. A circuit outputs a digit in the form of 4 bits. 0 is represented by 0000, 1 by 0001, ..., 9 by 1001. A combinational circuit is to be designed which takes these 4 bits as input and outputs 1 if the digit ≥ 5, and 0 otherwise. If only AND, OR and NOT gates may be used, what is the minimum number of gates required?
2
3
4
5
23. Which are the essential prime implicants of the following Boolean function? f(a, b, c) = a'c + ac' + b'c
a'c and ac'
a'c and b'c
a'c only
ac' and bc'
24. Consider a multiplexer with X and Y as data inputs and Z as control input. Z = 0 selects input X, and Z = 1 selects input Y. What are the connections required to realize the 2-variable Boolean function f = T + R, without using any additional hardware ?
R to X, 1 to Y, T to Z
T to X, R to Y, T to Z
T to X, R to Y, 0 to Z
R to X, 0 to Y, T to Z
25. A 4-bit carry lookahead adder, which adds two 4-bit numbers, is designed using AND, OR, NOT, NAND, NOR gates only. Assuming that all the inputs are available in both complemented and uncomplemented forms and the delay of each gate is one time unit, what is the overall propagation delay of the adder? Assume that the carry network has been implemented using two-level AND-OR logic.
4 time units
6 time units
10 time units
12 time units
26. Consider an array multiplier for multiplying two n bit numbers. If each gate in the circuit has a unit delay, the total delay of the multiplier is
Θ(1)
Θ(log n)
Θ(n)
Θ(n^2)
27. A 1-input, 2-output synchronous sequential circuit behaves as follows : Let zk, nk denote the number of 0's and 1's respectively in initial k bits of the input (zk + nk = k). The circuit outputs 00 until one of the following conditions holds. zk - nk = 2. In this case, the output at the k-th and all subsequent clock ticks is 10. nk - zk = 2. In this case, the output at the k-th and all subsequent clock ticks is 01. What is the minimum number of states required in the state transition graph of the above circuit?
5
6
7
8
28. Let f(A, B) = A' + B. Simplified expression for function f(f(x + y, y)z) is :
x' + z
xyz
xy' + z
None of these
29. Consider a 4 bit Johnson counter with an initial value of 0000. The counting sequence of this counter is:
0, 1, 3, 7, 15, 14, 12, 8, 0
0, 1, 3, 5, 7, 9, 11, 13, 15, 0
0, 2, 4, 6, 8, 10, 12, 14, 0
0, 8, 12, 14, 15, 7, 3, 1, 0
30. Consider the operations f(X, Y, Z) = X'YZ + XY' + Y'Z' and g(X′, Y, Z) = X′YZ + X′YZ′ + XY. Which one of the following is correct?
Both {f} and {g} are functionally complete
Only {f} is functionally complete
Only {g} is functionally complete
Neither {f} nor {g} is functionally complete
31. The minimum number of JK flip-flops required to construct a synchronous counter with the count sequence (0, 0, 1, 1, 2, 2, 3, 3, 0, 0,...) is ________.
0
1
2
3
32. The number of min-terms after minimizing the following Boolean expression is _________. [D′ + AB′ + A′C + AC′D + A′C′D]′
1
2
3
4
33. 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 full adders. The total propagation time of this 4-bit binary adder in microseconds is
19.2 microseconds
18.0 microseconds
12.3 microseconds
16.6 microseconds
34. The total number of prime implicants of the function f(w, x, y, z) = Σ(0, 2, 4, 5, 6, 10) is ________.
2
3
4
5
35. Given the function F = P′ + QR, where F is a function in three Boolean variables P, Q and R and P′ = !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) Which of the following is true?
S1-False, S2-True, S3-True, S4-False
S1-True, S2-False, S3-False, S4-True
S1-False, S2-False, S3-True, S4-True
S1-True, S2-True, S3-False, S4-False
36. What is the minimum number of NAND gates required to implement a 2-input EXCLUSIVE-OR function without using any other logic gate?
3
4
5
6
37. Using a 4-bit 2’s complement arithmetic, which of the following additions will result in an overflow? (i) 1100 + 1100 (ii) 0011 + 0111 (iii) 1111 + 0111
(i) only
(ii) only
(iii) only
(i) and (iii) only
38. The number (123456)8 is equivalent to
(A72E)16 and (22130232)4
(A72E)16 and (22131122)4
(A73E)16 and (22130232)4
(A62E)16 and (22120232)4
39. The function AB’C + A’BC + ABC’ + A’B’C + AB’C’ is equivalent to
AC’+AB+A’C
AB’+AC’+A’C
A’B+AC’+AB'
A’B+AC+AB'
40. Which of the following expressions is equivalent to (A⊕B)⊕C
(A+B+C)(A¯+B¯+C¯)
(A+B+C)(A¯+B¯+C)
ABC+A¯(B⊕C)+B¯(A⊕C)
None of the above
41. Using Booth's Algorithm for multiplication, the multiplier -57 will be recoded as
0 -1 0 0 1 0 0 -1
1 1 0 0 0 1 1 1
0 -1 0 0 1 0 0 0
0 1 0 0 -1 0 0 1
42. How many pulses are needed to change the contents of a 8-bit up counter from 10101100 to 00100111 (rightmost bit is the LSB)?
134
133
124
123
43. We want to design a synchronous counter that counts the sequence 0-1-0-2-0-3 and then repeats. The minimum number of J-K flip-flops required to implement this counter is
1
2
4
5
44. Consider a carry lookahead adder for adding two n-bit integers, built using gates of fan-in at most two. The time to perform addition using this adder is
Θ(1)
Θ(Log (n))
Θ(√ n)
Θ(n)
45. Consider an eight-bit ripple-carry adder for computing the sum of A and B, where A and B are integers represented in 2’s complement form. If the decimal value of A is one, the decimal value of B that leads to the longest latency for the sum to stabilize is _____________
-1
2
1
-2
46. Let X be the number of distinct 16-bit integers in 2’s complement representation. Let Y be the number of distinct 16-bit integers in sign magnitude representation. Then X −Y is _________
1
2
3
0
47. The addition of 4-bit, two's complement, binary numbers 1101 and 0100 results in
0001 and an overflow
1001 and no overflow
0001 and no overflow
1001 and an overflow
48. Which of the following input sequences for a cross-coupled R-S flip-flop realized with two NAND gates may lead to an oscillation ?
11, 00
01, 10
10, 01
00, 11
49. The following bit pattern represents a floating point number in IEEE 754 single precision format 1 10000011 101000000000000000000000 The value of the number in decimal form is
-10
-13
-26
None of These
50. A processor that has carry, overflow and sign flag bits as part of its program status word (PSW) performs addition of the following two 2's complement numbers 01001101 and 11101001. After the execution of this addition operation, the status of the carry, overflow and sign flags, respectively will be:
1, 1, 0
1, 0, 0
0, 1, 0
1, 0, 1
Submit