GATE 2007
184 questions
MCQ 1841-mark 184
Questions 46–50 of 184
Consider the following Boolean function of four variables:
f (w, x, y, z)=(1,3,4,6,9,11,12,14)
The function is:
f (w, x, y, z)=(1,3,4,6,9,11,12,14)
The function is:
Answer: (B)
Draw the K-map for the function:
Group (1, 3, 9, 11): x = 0 and z = 1 while w and y change, so it gives .
Group (4, 6, 12, 14): x = 1 and z = 0 while w and y change, so it gives .
The variables w and y do not appear in f, so f is independent of two variables.
Answer: (B)
Group (1, 3, 9, 11): x = 0 and z = 1 while w and y change, so it gives .
Group (4, 6, 12, 14): x = 1 and z = 0 while w and y change, so it gives .
The variables w and y do not appear in f, so f is independent of two variables.
Answer: (B)
What is the maximum number of different Boolean functions involving n Boolean variables?
Answer: (C)
A Boolean function of n variables is fixed by its truth table.
The truth table has rows (one for each input combination).
Each row can be 0 or 1, independently of the other rows.
So the number of functions is ( times) .
In terms of sets: (size of codomain)^(size of domain) = . For example, n = 2 gives 16 functions.
Answer: (C)
The truth table has rows (one for each input combination).
Each row can be 0 or 1, independently of the other rows.
So the number of functions is ( times) .
In terms of sets: (size of codomain)^(size of domain) = . For example, n = 2 gives 16 functions.
Answer: (C)
The following circuit implements a two-input AND gate using two 2-1 multiplexers.
What are the values of ?
What are the values of ?
Answer: (A)
From the figure, mux 1 has data input 1 = a, data input 0 = b and select . Mux 2 has data input 1 = (output of mux 1), data input 0 = and select . So
.
Check each option for :
- (A) : mux 1 gives . Then . Correct.
- (B) : . Not AND.
- (C) : . This is OR.
- (D) : mux 1 gives , so . Not AND.
Answer: (A)
.
Check each option for :
- (A) : mux 1 gives . Then . Correct.
- (B) : . Not AND.
- (C) : . This is OR.
- (D) : mux 1 gives , so . Not AND.
Answer: (A)
The control signal functions of a 4-bit binary counter are given below (where X is "don't care"):
Assume that the counter and gate delays are negligible. If the counter starts at 0, then it cycles through the following sequence:
Assume that the counter and gate delays are negligible. If the counter starts at 0, then it cycles through the following sequence:
Answer: (C)
From the figure, Load = 0 and Count = 1, so on each rising clock edge the counter counts up by one. The Clear input is the AND of and . From the table, Clear = 1 clears the counter to 0 whatever the clock is (clock is X), so the clear is asynchronous: it acts at once, not at a clock edge.
Counting from 0, the values in binary are:
- 1 = 0001, 2 = 0010, 3 = 0011: , so no clear.
- 4 = 0100: but , so no clear.
- 5 = 0101: and , so Clear = 1.
The first value that sets Clear is 5. With negligible delays, the counter is cleared to 0 at once, before the next clock edge, so 5 never stays as a state. The sequence is 0, 1, 2, 3, 4 and then back to 0.
Answer: (C)
Counting from 0, the values in binary are:
- 1 = 0001, 2 = 0010, 3 = 0011: , so no clear.
- 4 = 0100: but , so no clear.
- 5 = 0101: and , so Clear = 1.
The first value that sets Clear is 5. With negligible delays, the counter is cleared to 0 at once, before the next clock edge, so 5 never stays as a state. The sequence is 0, 1, 2, 3, 4 and then back to 0.
Answer: (C)
In a look-ahead carry generator, the carry generate function and the carry
propagate function for inputs and are given by:
The expressions for the sum bit and the carry bit of the look-ahead carry adder are given by:
Consider a two-level logic implementation of the look-ahead carry generator. Assume that all and 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 and as its outputs are respectively:
The expressions for the sum bit and the carry bit of the look-ahead carry adder are given by:
Consider a two-level logic implementation of the look-ahead carry generator. Assume that all and 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 and as its outputs are respectively:
Answer: (B)
Use again and again to write each carry in terms of , and the input carry :
How to read : the carry out of stage 3 is
- generated in stage 3, OR
- generated in stage 2 AND passed on through stage 3, OR
- generated in stage 1 AND passed on through stages 2, 3, OR
- generated in stage 0 AND passed on through stages 1, 2, 3, OR
- the initial carry passed on through stages 0, 1, 2, 3.
In two-level logic each product term with two or more inputs is one AND gate. A lone term goes straight to the OR gate. Each carry needs one OR gate.
- : 1 AND, 1 OR
- : 2 AND, 1 OR
- : 3 AND, 1 OR
- : 4 AND, 1 OR
Total: AND gates and 4 OR gates.
Answer: (B)
How to read : the carry out of stage 3 is
- generated in stage 3, OR
- generated in stage 2 AND passed on through stage 3, OR
- generated in stage 1 AND passed on through stages 2, 3, OR
- generated in stage 0 AND passed on through stages 1, 2, 3, OR
- the initial carry passed on through stages 0, 1, 2, 3.
In two-level logic each product term with two or more inputs is one AND gate. A lone term goes straight to the OR gate. Each carry needs one OR gate.
- : 1 AND, 1 OR
- : 2 AND, 1 OR
- : 3 AND, 1 OR
- : 4 AND, 1 OR
Total: AND gates and 4 OR gates.
Answer: (B)