Final Revision Logic
Final Revision Logic
Number System – 1
1) Any signed negative binary number is recognized by its ________
a) MSB
b) LSB
c) Byte
d) Nibble
Answer: a
Answer: a
Answer: a
Answer: c
Answer: c
3
Answer: a
Number System – 2
1) The given hexadecimal number (1E.53)16 is equivalent to ____________
a) (35.684)8
b) (36.246)8
c) (34.340)8
d) (35.599)8
Answer: b
Answer: a
Answer: a
Answer: c
4
Answer: c
Answer: a
Answer: b
Answer: a
Answer: b
5
Answer: b
Arithmetic Operation
1) What is the addition of the binary numbers 11011011010 and 010100101?
a) 0111001000
b) 1100110110
c) 11101111111
d) 10011010011
Answer: c
Answer: d
Answer: c
Answer: a
6
Answer: a
Answer: c
Answer: c
Answer: d
7
Answer: d
Answer: b
Answer: b
Answer: c
Answer: a
8
Answer: d
10) On subtracting +28 from +29 using 2’s complement, we get ____________
a) 11111010
b) 111111001
c) 100001
d) 1
Answer: d
11) The addition of +19 and +43 results as _________ in 2’s complement system.
a) 11001010
b) 101011010
c) 00101010
d) 0111110
Answer: d
Answer: b
Answer: a
9
Answer: b
Answer: c
Answer: c
Answer: c
Explanation: Firstly, Add the 1001 and 0100. We get 1101 as output but it’s not in
BCD form. So, we add 0110 (i.e., 6) with 1101. As a result, we get 10011 and it’s BCD
form is 0001 0011.
10
Answer: c
Answer: a
Explanation: The addition of ‘3’ to each digit yields the three new digits ‘8’, ’12’
and ’10’. Hence, the corresponding four-bit binary equivalents are 100011001010,
in accordance to 8421 format.
Answer: a
Answer: b
11
Answer: a
Answer: a
5) A (A + B) =?
a) AB
b) 1
c) (1 + AB)
d) A
Answer: d
6) (A + B) (A’ * B’) =?
a) 1
b) 0
c) AB
d) AB’
Answer: b
Answer: b
12
Answer: b
Answer: a
Sum of Products
1) The logical sum of two or more logical product terms is called __________
a) SOP
b) POS
c) OR operation
d) NAND operation
Answer: a
Answer: b
Answer: c
13
4) _____________ expressions can be implemented using either (1) 2-level AND-OR logic
circuits or (2) 2-level NAND logic circuits.
a) POS
b) Literals
c) SOP
d) POS
Answer: c
Answer: b
Logic Gates
1) The output of a logic gate is 1 when all the input are at logic 0 as shown below:
INPUT OUTPUT
A B C
0 0 1
0 1 0
1 0 0
1 1 0
INPUT OUTPUT
A B C
0 0 1
0 1 0
1 0 0
14
1 1 1
Answer: d
Answer: d
Answer: c
Answer: d
15
5) The NOR gate output will be high if the two inputs are __________
a) 00
b) 01
c) 10
d) 11
Answer: a
6) A universal logic gate is one which can be used to generate any logic function.
Which of the following is a universal logic gate?
a) OR
b) AND
c) XOR
d) NAND
Answer: d
Answer: d
Answer: a
Answer: c
16
10) Exclusive-OR (XOR) logic gates can be constructed from what other logic gates?
a) OR gates only
b) AND gates and NOT gates
c) AND gates, OR gates, and NOT gates
d) OR gates and NOT gates
Answer: c
11) How many two-input AND and OR gates are required to realize Y = CD+EF+G?
a) 2, 2
b) 2, 3
c) 3, 3
d) 3, 2
Answer: a
12) How many two input AND gates and two input OR gates are required to realize
Y = BD + CE + AB?
a) 3, 2
b) 4, 2
c) 1, 1
d) 2, 3
Answer: a
13) If we use an AND gate to inhibit a signal from passing one of the inputs must be
___________
a) LOW
b) HIGH
c) Inverted
d) Floating
Answer: a
17
14) The AND function can be used to ___________ and the OR function can be used to
_____________
a) Enable, disable
b) Disable, enable
c) Synchronize, energize
d) Detect, invert
Answer: a
Answer: d
18
Answer: a
Answer: b
4) If A and B are the inputs of a half adder, the sum is given by __________
a) A AND B
b) A OR B
c) A XOR B
d) A EX-NOR B
Answer: c
5) If A and B are the inputs of a half adder, the carry is given by __________
a) A AND B
b) A OR B
c) A XOR B
d) A EX-NOR B
Answer: a
Answer: c
19
Answer: c
8) If A, B and C are the inputs of a full adder then the sum is given by __________
a) A AND B AND C
b) A OR B AND C
c) A XOR B XOR C
d) A OR B OR C
Answer: c
9) If A, B and C are the inputs of a full adder then the carry is given by __________
a) A AND B OR (A OR B) AND C
b) A OR B OR (A AND B) C
c) (A AND B) OR (A AND B)C
d) A XOR B XOR (A XOR B) AND C
Answer: a
10) How many AND, OR and EX-OR gates are required for the configuration of full
adder?
a) 1, 2, 2
b) 2, 1, 2
c) 3, 1, 2
d) 4, 0, 1
Answer: b
Answer: a
Answer: b
Combinational Circuits
1) Which of the circuits in figure (a to d) is the sum-of-products implementation of
figure (e)?
21
a) a
b) b
c) c
d) d
Answer: d
2) Which of the following logic expressions represents the logic diagram shown?
a) X=AB’+A’B
b) X=(AB)’+AB
c) X=(AB)’+A’B’
d) X=A’B’+AB
Answer: d
a) XOR
b) XNOR
c) AND
d) XAND
Answer: b
22
4) Which of the following combinations of logic gates can decode binary 1101?
a) One 4-input AND gate
b) One 4-input AND gate, one inverter
c) One 4-input AND gate, one OR gate
d) One 4-input NAND gate, one inverter
Answer: b
5) For a two-input XNOR gate, with the input waveforms as shown below, which
output waveform is correct?
a) d
b) a
c) c
d) b
Answer: a
Answer: d
23
Answer: b
Answer: b
Answer: a
Answer: a
24
Answer: d
Answer: a
6) If the number of n selected input lines is equal to 2^m then it requires _____
select lines.
a) 2
b) m
c) n
d) 2n
Answer: b
Answer: d
25
a) X0
b) X1
c) X2
d) X3
Answer: b
Explanation: The output will be X1, because c1 = 0 and c0 = 1 results into 1 which
further results as X1. And rest of the AND gates gives output as 0.
Answer: c
Answer: a
11) A combinational circuit that selects one from many inputs are ____________
a) Encoder
b) Decoder
c) Demultiplexer
d) Multiplexer
26
Answer: d
12) Which of the following circuit can be used as parallel to serial converter?
a) Multiplexer
b) Demultiplexer
c) Decoder
d) Digital counter
Answer: a
Explanation: A combinational circuit that selects one from many inputs is known
as Multiplexer. In multiplexer, different inputs are inserted parallely and then it
gives one output which is in serial form.
13) Without any additional circuitry an 8:1 MUX can be used to obtain ____________
a) Some but not all Boolean functions of 3 variables
b) All function of 3 variables but none of 4 variables
c) All functions of 3 variables and some but not all of 4 variables
d) All functions of 4 variables
Answer: d
Explanation: A 2^n:1 MUX can implement all logic functions of (n+1) variables
without any additional circuitry. Thus 8:1 MUX can implement all logic functions
of (3+1) variables, for 4 variables there are 16 possible combinations. So to use 8:1
MUX use 3 inputs as select lines of MUX and the 4th input as input of MUX.
Code Converters
1) Use the weighting factors to convert the following BCD numbers to binary
___________
Answer: c
27
Explanation: Firstly, convert every 4 sets of binary to decimal from the given:
0101=5, 0011=3. Then convert 53 to binary, which will give 110101. Again, do the
same with the next 4 set of binary digits.
Answer: a
Answer: c
b5 = g6 (XOR) g5
b4 = g6 (XOR) g5 (XOR) g4
.
.
.
b1 = g6 (XOR) g5 (XOR) g4 (XOR) g3 (XOR) g2 (XOR) g1
Flip Flops
1) When both inputs of a J-K flip-flop cycle, the output will ___________
a) Be invalid
b) Change
c) Not change
d) Toggle
Answer: c
28
Answer: a
Answer: b
Answer: b
Explanation: In S-R flip-flop, if Q = 0 the output is said to be reset and set for Q = 1.
Answer: a
29
Answer: a
Answer: d
Answer: d
Answer: A
30
Answer: d
Answer: a
13) A J-K flip-flop can be obtained from the clocked S-R flip-flop by augmenting
___________
a) Two AND gates
b) Two NAND gates
c) Two NOT gates
d) Two OR gates
Answer: a
14) A J-K flip-flop with J = 1 and K = 1 has a 20 kHz clock input. The Q output is ________
a) Constantly LOW
b) Constantly HIGH
c) A 20 kHz square wave
d) A 10 kHz square wave
Answer: d
Explanation: The flip flop is sensitive only to the positive or negative edge of the
clock pulse. So, the flip-flop toggles whenever the clock is falling/rising at edge.
This triggering of flip-flop during the transition state, is known as Edge-triggered
flip-flop. Thus, the output curve has a time period twice that of the clock.
Frequency is inversely related to time period and hence frequency gets halved.
31
15) Two J-K flip-flops with their J-K inputs tied HIGH are cascaded to be used as
counters. After four input clock pulses, the binary count is ________
a) 00
b) 11
c) 01
d) 10
Answer: a
Explanation: Every O/P repeats after its mod. Here mod is 4 (because 2 flip-flops
are used. So, mod = 22 = 4). So, after 4 clock pulses the O/P repeats i.e., 00.
16) Four J-K flip-flops are cascaded ( )متتاليةwith their J-K inputs tied HIGH. If the input
frequency (fin) to the first flip-flop is 32 kHz, the output frequency (four) is ________
a) 1 kHz
b) 2 kHz
c) 4 kHz
d) 16 kHz
Answer: b
Explanation: 32/2=16: -first flip-flop, 16/2=8: - second flip-flop, 8/2=4: - third flip-
flop, 4/2=2: - fourth flip-flop. Since the output frequency is determined on basis of
the 4th flip-flop.
17) Determine the output frequency for a frequency division circuit that contains 12
flip-flops with an input clock frequency of 20.48 MHz
a) 10.24 kHz
b) 5 kHz
c) 30.24 kHz
d) 15 kHz
Answer: b
Answer: c
Explanation: In J-K flip-flop, if both the inputs are same then it behaves like T flip-
flop.
Answer: c
Answer: c
21) The flip-flops which has not any invalid states are _____________
a) S-R, J-K, D
b) S-R, J-K, T
c) J-K, D, S-R
d) J-K, D, T
Answer: d
22) On a positive edge-triggered S-R flip-flop, the outputs reflect the input condition
when ________
a) The clock pulse is LOW
b) The clock pulse is HIGH
c) The clock pulse transitions from LOW to HIGH
d) The clock pulse transitions from HIGH to LOW
33
Answer: c
Answer: d
Answer: d
Answer: a
Answer: a
Answer: a
34
Explanation: The D flip-flop has two outputs: Q and Q complement. The D flip-flop
has one input. The D of D-flip-flop stands for “data”. It stores the value on the
data line.
Answer: a
29) In D flip-flop, if clock input is HIGH & D=1, then output is ___________
a) 0
b) 1
c) Forbidden
d) Toggle
Answer: a
Answer: d
Answer: b
35
Answer: c
2) In a sequential circuit, the output at any time depends only on the input values at
that time.
a) Past output values
b) Intermediate values
c) Both past output and present input
d) Present input values
Answer: c
Answer: a
Answer: c
36
Answer: c
Counters
1)What is the maximum possible range of bit-count specifically in n-bit binary
counter consisting of ‘n’ number of flip-flops?
a) 0 to 2n
b) 0 to 2n + 1
c) 0 to 2n – 1
d) 0 to 2(n+1)/2
Answer: c
Answer: b
Answer: a
Answer: d
Explanation: The parallel outputs of a counter circuit represent the clock count. A
counter counts the number of times an event takes place in accordance to the
clock pulse.
Registers
1) The register is a type of ___________
a) Sequential circuit
b) Combinational circuit
c) CPU
d) Latches
Answer: a
Answer: a
Answer: b
38
Shift Registers
1)The full form of SIPO is ___________
a) Serial-in Parallel-out
b) Parallel-in Serial-out
c) Serial-in Serial-out
d) Serial-In Peripheral-Out
Answer: a
2) A shift register that will accept a parallel input or a bidirectional serial load and
internal shift features is called as?
a) Tristate
b) End around
c) Universal
d) Conversion
Answer: c
Answer: d
Answer: a
5) The group of bits 11001 is serially shifted (right-most bit first) into a 5-bit parallel
output shift register with an initial state 01110. After three clock pulses, the register
contains ________
a) 01110
39
b) 00001
c) 00101
d) 00110
Answer: c
6) Assume that a 4-bit serial in/serial out shift register is initially clear. We wish to
store the nibble 1100. What will be the 4-bit pattern after the second clock pulse?
(Right-most bit first)
a) 1100
b) 0011
c) 0000
d) 1111
Answer: c
7) A serial in/parallel out, 4-bit shift register initially contains all 1s. The data nibble
0111 is waiting to enter. After four clock pulses, the register contains ________
a) 0000
b) 1111
c) 0111
d) 1000
Answer: c
8) With a 200 kHz clock frequency, eight bits can be serially entered into a shift register
in ________
a) 4 μs
b) 40 μs
40
c) 400 μs
d) 40 ms
Answer: b
9) An 8-bit serial in/serial out shift register is used with a clock frequency of 2 MHz
to achieve a time delay (td) of ________
a) 16 us
b) 8 us
c) 4 us
d) 2 us
Answer: c
10) A bidirectional 4-bit shift register is storing the nibble 1101. Its input is HIGH.
The nibble 1011 is waiting to be entered on the serial data-input line. After three
clock pulses, the shift register is storing ________
a) 1101
b) 0111
c) 0001
d) 1110
Answer: b
11) A 4-bit shift register that receives 4 bits of parallel data will shift to the ________
by ________ position for each clock pulse.
a) Right, one
b) Right, two
c) Left, one
d) Left, three
Answer: a
41
Explanation: If register shifts towards left then it shift by a bit to the left and if
register shifts right then it shift to the right by one bit. Since, it receives parallel
data, then by default, it will shift to right by one position.
12) How many clock pulses will be required to completely load serially a 5-bit shift
register?
a) 2
b) 3
c) 4
d) 5
Answer: d
13) An 8-bit serial in/serial out shift register is used with a clock frequency of 150
kHz. What is the time delay between the serial input and the Q3 output?
a) 1.67 s
b) 26.67 s
c) 26.7 ms
d) 267 ms
Answer: b
Answer: a
b) High-Z, 0, float
c) Negative, positive, 0
d) 1, Low-Z, float
Answer: a
Answer: b
Explanation: Parallel in parallel out gives the same output as input. Thus, after
three clock pulses, the data outputs are 0001.
17) How much storage capacity does each stage in a shift register represent?
a) One bit
b) Two bits
c) Four bits
d) Eight bits
Answer: a
Explanation: A register is made of flip-flops. And each flip-flop stores 1 bit of data.
Thus, a shift register has the capability to store one bit and if another bit is to
store, in such a situation it deletes the previous data and stores them.
Answer: c
2) The instruction used in a program for executing them is stored in the __________
a) CPU
b) Control Unit
43
c) Memory
d) Microprocessor
Answer: c
Answer: b
Answer: b
Answer: d
Answer: b
Answer: d
Answer: b
Answer: b
Answer: c
c) PROM
d) EEPROM
Answer: a
Answer: c
Answer: c
Answer: b
Answer: c
46
Answer: d
Answer: b
Answer: b
Answer: c
Answer: d
Answer: d
22) Which of the following has the capability to store the information permanently?
a) RAM
b) ROM
c) Storage cells
d) Both RAM and ROM
Answer: b
Answer: b
Answer: b
Answer: b
3) In ROM, each bit combination that comes out of the output lines is called ___________
a) Memory unit
b) Storage class
c) Data word
d) Address
Answer: c
Explanation: In ROM, each bit combination that comes out of the output lines is
called data word. Usually, a word consists of 16-bits or 2-bytes.
Answer: b
5) Which bus is used for input and output in case of microprocessor operation?
a) Address bus
b) System bus
c) Control bus
d) Data bus
Answer: c
49
sequential circuits
1) If the initial state QA QB QC = 110, after how many clocks it get back same
value
• A) 2
• B) 6
• C) 7
• D) 8
Solution:
2) What will be the current state after two clock pulses further from the
number of pulses obtained from the above question?
• A) 011
• B) 100
• C) 101
• D) 110
Solution:
A) 5
B) 6
C) 3
D) 4
Solution:
Which one of the following is the. correct state sequence of the circuit?
A) 1,3,4,6,7,5,2
B) 1,2,5,3,7,6,4
C) 1,2,7,3,5,6,4
D) 1,6,5,7,2,3,4
Solution:
Solution:
The flip-flops are positive edge triggered DFFs. Each state is designated as a two-bit
string Q0Q1 Let the initial state be 00. The state transition sequence is:
A.
B.
C.
D.
Solution:
Solution:
S-R flip flop gives invalid output when both inputs are 1 while JK flip-flop toggle the
previous output when both inputs are 1. Hence it accepts both inputs 1.
A)
B)
C)
D)
Solution:
56
Initially all flip-flops are cleared. How many docks pulse have to be applied to the
system before the output from FF3 becomes a HIGH level?
A) 2
B) 4
C) 6
D) 8
Solution:
A) Shift register
Solution:
A) Toggle
B) Set
C) Reset
Solution:
A) n2
B) n
C) 2n
D) log(n)
Solution:
n
n-flip-flop divide the clock frequency by a factor of 2 .
13) If a clock with time period 'T' is used with n stage shift register, the output
of final stage will be delayed by
A) nT sec
B) (n -1) T (sec)
C) n/T (sec)
D) (2n-1) T (sec)
Solution:
N stage shift register will take (n - 1) x clock time to show the output of final stage.
60
14) For which of the following flip-flops, the output is clearly defined for all
combinations of two inputs?
A) R-S flip-flop
B) J-K flip-flop
C) D flip-flop
D) None of these
Solution:
For J-K flip-flop, the output is clearly defined for all combinations of two inputs. For
S-R flip-flop output is not defined when S = R = 1. A D flip-flop has only one input.
A) set Q = 0 and
B) set 0 = 1 and
Solution:
In a J-K flip-flop, toggle means change the output to the opposite state. A J-K flip-flop toggles
when
61
16) What J-K input condition will always set ‘Q+ upon the occurrence of the
active clock transition?
A) J = 1, K = 0
B) J = 1, K = 1
C) J = 0, K = 1
D) J = 0, K = 0
Solution:
When J = 1 and K = 0, output (Q+) is always set upon the occurrence of the active
clock transition.
62
A) low
B) high
C) no change
D) high impedance
Solution:
18) The output of a J-K flip-flop with asynchronous preset and clear inputs if
‘1’. The output can be changed to ‘0’ with which one of the following
conditions?
Solution:
When J = 1, K = 1 and the clock, next state will be complemented of the present
state. Thus,
63
A) 500 MHz
B) 2 MHz
C) 4 MHz
D) 1.5 MHz
Solution:
Maximum time taken for all flip-flops to stabilize is (75 ns x 8) + 50 ns = 650 ns.
Frequency of operation must be less than
20) A J-K flip-flop can be implemented using D flip- flop connected such that
A)
B)
C)
D)
Solution:
Solution:
A) 2, 3 and 4
B) 1. and 5 only
C) 3 and 5 only
66
D) 1,2 and 4
Solution:
• Combinational circuits are often faster than sequential circuits since the
combination’s circuits do not require memory whereas the sequential circuits need
memory devices to perform their operations in sequence. Hence statement - 1 is
not correct.
• in an asynchronous circuit, events are allowed to occur without any
synchronization In such a case, the system become: unstable which results in
difficulties. Hence statement-2 is not correct.
• Statement-3 is correct which is the definition of a combinational circuit.
• in a combinational circuit, for a change if the input, the output appears
immediately except for the propagation delay through circuit gates. Thus,
statement-4 is no correct.
• In a sequential circuit, an output signal is e function of the present input signals
and e sequence of the past input signals i.e., the past output signals since the
output signals are fed back to the input side. Hence, statement-5 is correct.
Thus, statements 3 and 5 are only correct.