Chapter 7
Digital Logic (old course)
TU BIM past exam questions
Past questions and answers
211 questions set from this chapter, 1 of them more than once; 7 are most repeated (set, or a close variant set, in 3 or more exams). Most repeated first.
- Most repeated · 7 of 18 exams
- 2009 AD · 4 marks
Design an Asynchronous MOD-12 Counter.
Similar questions: Design an asynchronous MOD-88 counter (2010 AD) · Design an asynchronous MOD-03 counter (2011 AD) · Design an asynchronous MOD-440 counter (2012 AD)
Answer
A MOD-12 counter counts 0 to 11 and then returns to 0. The number of flip-flops needed is with , so ().
Design: Use four negative-edge triggered J-K flip-flops with (toggle mode). Connect them as an asynchronous (ripple) counter: the external clock drives FF0, and each drives the clock of the next flip-flop.
The counter would run 0 to 15, so it is forced back to 0 when the count 12 (, ) appears. A NAND gate with inputs and drives the active-low asynchronous CLEAR inputs of all flip-flops.
CLK --> [FF0] Q0 --> [FF1] Q1 --> [FF2] Q2 --> [FF3] Q3
J=K=1 J=K=1 J=K=1 J=K=1
^CLR ^CLR ^CLR ^CLR
| | | |
+-------------+------+-----+------------+
|
NAND(Q3, Q2)
^ ^
Q3 Q2
Count sequence:
| Count | |
|---|---|
| 0 | 0000 |
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 4 | 0100 |
| 5 | 0101 |
| 6 | 0110 |
| 7 | 0111 |
| 8 | 1000 |
| 9 | 1001 |
| 10 | 1010 |
| 11 | 1011 |
| 12 (momentary) | 1100, which clears the counter to 0000 |
The state 1100 lasts only for a very short time, so the counter effectively goes through 12 states. The output frequency at is (not exactly 50% duty cycle).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 7 of 18 exams
- 2010 AD · 4 marks
Design an asynchronous MOD-88 counter.
Similar questions: Design an Asynchronous MOD-12 Counter (2009 AD) · Design an asynchronous MOD-03 counter (2011 AD) · Design an asynchronous MOD-440 counter (2012 AD)
Answer
Number of flip-flops : . Since , .
Design: Use seven negative-edge triggered J-K flip-flops with , connected as a ripple counter: the clock drives FF0, and each drives the clock of the next flip-flop. The counter would count 0 to 127, so it must be cleared when the count reaches 88.
Decimal 88 in binary:
The flip-flops at 1 are . A 3-input NAND gate with inputs drives the active-low CLEAR of all seven flip-flops. No smaller count has all three of these outputs at 1 (the first such count is 88 itself), so the counter is cleared exactly at 88.
CLK --> [FF0]-->[FF1]-->[FF2]-->[FF3]-->[FF4]-->[FF5]-->[FF6]
J=K=1 each Q3 Q4 Q6
\ | /
+-- NAND(Q6, Q4, Q3) --+---> to CLR of all FFs
The counter counts 0 to 87 (88 states) and 88 appears only momentarily before the reset. The output frequency is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 7 of 18 exams
- 2011 AD · 4 marks
Design an asynchronous MOD-03 counter.
Similar questions: Design an Asynchronous MOD-12 Counter (2009 AD) · Design an asynchronous MOD-88 counter (2010 AD) · Design an asynchronous MOD-440 counter (2012 AD)
Answer
A MOD-3 counter counts and then returns to .
Number of flip-flops: gives . Use two JK (or T) flip-flops with so each toggles.
Connections (asynchronous / ripple):
- The external clock drives FF0 (output ).
- drives the clock of FF1 (output ).
- A 2-input NAND gate takes and and its output goes to the active-low CLEAR inputs of both flip-flops.
Operation:
| Clock pulse | |
|---|---|
| 0 | 00 |
| 1 | 01 |
| 2 | 10 |
| 3 | 11 (momentary) then reset to 00 |
When the count reaches (decimal 3), the NAND output goes low and clears both flip-flops almost immediately. The state lasts only for a very short time, so the stable states are , i.e. MOD-3. The output frequency is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 7 of 18 exams
- 2012 AD · 4 marks
Design an asynchronous MOD-440 counter.
Similar questions: Design an Asynchronous MOD-12 Counter (2009 AD) · Design an asynchronous MOD-88 counter (2010 AD) · Design an asynchronous MOD-03 counter (2011 AD)
Answer
Number of flip-flops: , so 9 flip-flops ( to ) are needed.
Design: use 9 JK flip-flops with (toggle mode), connected as a ripple counter. The clock goes to FF0, and each clocks the next flip-flop.
Reset decoding: the counter must return to 0 when the count reaches .
so .
Only the 1s are decoded. The first time all of are 1 is exactly at count 440 (smaller counts do not set all of these bits). Feed these five outputs to a 5-input NAND gate. Its output goes to the active-low CLEAR (reset) inputs of all nine flip-flops.
Operation: the counter counts to . At count 440 the NAND output goes low and resets all flip-flops, so 440 is a very brief transient state and the stable cycle has 440 states ( to ): MOD-440. The output frequency is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 7 of 18 exams
- 2013 AD · 4 marks
Design an asynchronous MOD-156 counter.
Similar questions: Design an Asynchronous MOD-12 Counter (2009 AD) · Design an asynchronous MOD-88 counter (2010 AD) · Design an asynchronous MOD-03 counter (2011 AD)
Answer
Number of flip-flops: , so 8 flip-flops ( to ) are needed.
Design: 8 JK flip-flops with (toggle) connected as a ripple counter: the external clock feeds FF0 and each clocks the next flip-flop.
Reset decoding:
So , and the others are 0. The first count that makes all 1 is exactly 156. Connect these four outputs to a 4-input NAND gate. The NAND output goes to the active-low CLEAR inputs of all eight flip-flops.
Operation: the counter counts . When it reaches 156, the NAND output goes low and clears all flip-flops to 00000000 immediately, so 156 appears only momentarily. The counter therefore has 156 stable states: MOD-156, and the output frequency is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 7 of 18 exams
- 2021 Jan · 10 marks
Design MOD 33 asynchronous counter.
Similar questions: Design an Asynchronous MOD-12 Counter (2009 AD) · Design an asynchronous MOD-88 counter (2010 AD) · Design an asynchronous MOD-03 counter (2011 AD)
Answer
A MOD-33 counter counts to and then resets, giving 33 states. The number of flip-flops must satisfy , so ().
Design.
- Use six negative-edge triggered JK flip-flops (or T flip-flops) with , so each toggles on every falling clock edge at its clock input.
- Connect the external clock to FF0, and clock of FF1, clock of FF2, and so on up to FF5. This is a ripple (asynchronous) counter, counting up in binary.
- The natural count goes (). The counter must reset on the next state, 33 = . This is the first state in which and at the same time, so the decode is unique.
- Connect a 2-input NAND gate to and . Its output goes to the active-low asynchronous CLEAR inputs of all six flip-flops.
Operation. When the count reaches 33 the NAND output goes low and immediately clears all flip-flops to 000000. The state 33 therefore lasts only a very short time (a glitch), and the stable states are to , which is exactly 33 states.
| Count | |
|---|---|
| 0 | 000000 |
| 1 | 000001 |
| ... | ... |
| 31 | 011111 |
| 32 | 100000 |
| 33 (momentary) | 100001, then reset to 000000 |
The output frequency at is not exactly because the state 33 is only a transient, but the counter has modulus 33.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Most repeated · 7 of 18 exams
- 2021 Oct · 4 marks
Design MOD-33 Asynchronous Counter.
Similar questions: Design an Asynchronous MOD-12 Counter (2009 AD) · Design an asynchronous MOD-88 counter (2010 AD) · Design an asynchronous MOD-03 counter (2011 AD)
Answer
A MOD-33 counter has 33 states ( to ), so flip-flops with are needed: .
Design
- Six negative-edge triggered JK flip-flops with (toggle mode). The clock drives FF0 and each drives the clock of the next flip-flop (ripple counter).
- The counter counts up in binary: to (32). The next count, 33 = , is the first state with and together.
- A 2-input NAND gate with inputs and drives the active-low CLEAR inputs of all six flip-flops. As soon as the count reaches 33 the NAND output goes low and clears the counter to .
Count sequence
| Pulse | |
|---|---|
| 0 | 000000 |
| 1 | 000001 |
| 2 | 000010 |
| ... | ... |
| 32 | 100000 |
| 33 | 100001 (momentary), cleared to 000000 |
The stable states are to , so the counter has modulus 33.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- Asked 2 times
- 2012 AD · 1 mark
- 2015 AD · 1 mark
Compare between TTL and ECL.
Answer
| Basis | TTL | ECL |
|---|---|---|
| Basic element | Bipolar transistors operated in saturation | Differential amplifier of bipolar transistors, never saturated |
| Speed | Moderate (about 10 ns per gate for standard TTL) | Fastest logic family (below 1 ns) |
| Power dissipation | Moderate | High |
| Noise margin | Good (about 0.4 V) | Low (about 0.15 to 0.2 V) |
| Logic levels | 0 V and +5 V | About -1.7 V (logic 0) and -0.9 V (logic 1) |
| Supply | +5 V | -5.2 V |
| Fan-out | About 10 | About 25 |
| Use | General-purpose digital circuits | High-speed computers and communication |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
What is the minimum number of inverters required to find the 2's complement of ?
Similar questions: What is the minimum number of inverters (2011 AD)
Answer
3 inverters.
To find the 2's complement, copy all bits up to and including the first (least significant) 1 and invert only the bits to its left.
The lowest 1 is at bit 4, so the bits and that 1 are copied unchanged, and only the 3 higher bits are inverted, which needs 3 inverters. (The usual method, 1's complement followed by adding 1, needs 8 inverters and an adder.)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 4 marks
You are provided with a bit sequence 1101 to operate with serial in parallel out register. Draw the circuit diagram and functional table to illustrate the procedure to store and retrieve those bits.
Similar questions: You are provided with a bit sequence (2013 AD)
Answer
A serial-in parallel-out (SIPO) register is used. The 4 bits are entered serially, one per clock pulse, and then read together at the parallel outputs.
Circuit (4 D flip-flops):
Serial in --> [D FF0 Q0] --> [D FF1 Q1] --> [D FF2 Q2] --> [D FF3 Q3]
| | | |
Q0 Q1 Q2 Q3 (parallel outputs)
CLK -------------- common to all four flip-flops ----------------
CLR -------------- common clear
Storing 1101 (the first bit, 1, is entered first):
| Clock pulse | Serial in | |
|---|---|---|
| Clear | - | 0000 |
| 1 | 1 | 1000 |
| 2 | 1 | 1100 |
| 3 | 0 | 0110 |
| 4 | 1 | 1011 |
After 4 clock pulses, , so the whole word is stored with the first bit in .
Retrieving: all four bits are available at the same time at after the 4th pulse and can be read in parallel. Retrieval needs no further clock pulses. Applying CLR resets the register for the next word.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 5 marks
Design a synchronous sequential circuit using T flip flop with one input A and an output B. The input A is a serial message and the system reads A one bit at time. The output B=1 whenever the pattern 101 is encountered in the serial message.
For example, if input: 0101011101 then output: 0001010001
Similar questions: Design a synchronous sequential circuit using D (2011 AD)
Answer
This is an overlapping 101 detector, a Mealy machine (the example shows overlap: the 1 ending one pattern starts the next).
States: S0 = no useful bits, S1 = last bit "1", S2 = last two bits "10". Encode with : S0 = 00, S1 = 01, S2 = 10 (11 unused, don't care).
State diagram (input A / output B):
S0 --0/0--> S0 S1 --0/0--> S2
S0 --1/0--> S1 S1 --1/0--> S1
S2 --0/0--> S0 S2 --1/1--> S1
State table with T excitations ():
| A | Next | B | |||
|---|---|---|---|---|---|
| 00 | 0 | 00 | 0 | 0 | 0 |
| 00 | 1 | 01 | 0 | 0 | 1 |
| 01 | 0 | 10 | 0 | 1 | 1 |
| 01 | 1 | 01 | 0 | 0 | 0 |
| 10 | 0 | 00 | 0 | 1 | 0 |
| 10 | 1 | 01 | 1 | 1 | 1 |
| 11 | x | xx | x | x | x |
K-map simplification (using the don't cares):
Circuit: Two T flip-flops with a common clock. is an OR of and the AND of and ; is an XOR of and ; the output is an AND of and .
Check with input 0101011101: the states go S0, S1, S2, S1(out 1), S2, S1(out 1), S1, S1, S2, S0... which gives the output 0001010001, as required.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
What is the minimum number of inverters required to find the 1's complement of
Similar questions: What is the minimum number of inverters (2010 AD)
Answer
The 1's complement is obtained by inverting every bit. The number has 9 bits, so 9 inverters are required.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 5 marks
Design a synchronous sequential circuit using D flip flop with one input P and an output Q. The input P is a serial message and the system reads P one bit at a time. The output Q=1 whenever the pattern 000 is encountered in the serial message.
Similar questions: Design a synchronous sequential circuit using T (2010 AD)
Answer
Detector for the pattern in a serial stream (overlapping allowed), Mealy type. Output is called here to avoid confusion with flip-flop outputs.
States:
- : no trailing 0 seen
- : one trailing 0 seen
- : two or more trailing 0s seen
State table (state , input ):
| Present | (next, ) | (next, ) |
|---|---|---|
| , 0 | , 0 | |
| , 0 | , 0 | |
| , 1 | , 0 |
State is unused (don't care).
D inputs ( next state):
Circuit: two D flip-flops with a common clock, an OR gate (A+B) followed by an AND with for , a 3-input AND of for , and an AND of and for the output.
Check: the stream moves , and the third 0 produces , and the fourth 0 gives again (overlap).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
Why Gray Code is used in K-map instead of binary code?
Similar questions: Why gray codes are used in K-map (2017 AD)
Answer
Gray code changes only one bit between adjacent values. Labelling the K-map rows and columns in Gray order () makes physically adjacent cells differ in exactly one variable, so they can be grouped and the differing variable eliminated. Binary order () would put cells such as and next to each other although they differ in two variables, so grouping would give wrong results.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 5 marks
Design circuit of sequence recognizer machine using T flip-flop which recognize sequence 010.
Similar questions: Design a sequence recognizer circuit using D (2016 AD)
Answer
Sequence recogniser, Mealy machine with overlapping allowed, using T flip-flops.
States:
- : start / no useful bits
- : last bit was 0
- : last two bits were 01
Encoding: (); unused (don't care).
State table ( = input, = output):
| : next, | : next, | |
|---|---|---|
| 00 | 01, 0 | 00, 0 |
| 01 | 01, 0 | 10, 0 |
| 10 | 01, 1 | 00, 0 |
Next-state functions (from K-maps with the don't care):
T inputs ():
Excitation check: for : , (A toggles to 1) and , (B toggles to 0), giving ✓.
Circuit: two T flip-flops with a common clock; an AND gate () followed by an XOR with for ; a NOT on and an XOR with for ; and an AND of and for the output .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 4 marks
You are provided with a bit sequence 101 to operate with serial in serial out shift register. Draw the circuit diagram and timing diagram to illustrate the procedure to store and retrieve those bits.
Similar questions: You are provided with a bit sequence (2010 AD)
Answer
Serial In Serial Out (SISO) register storing 101
Circuit: three D flip-flops in cascade with a common clock. The serial data input goes to the D input of ; drives of ; drives of ; and the serial output is taken from .
Din ─►[D FF2]─Q2─►[D FF1]─Q1─►[D FF0]─Q0─► Dout
▲ ▲ ▲
└────────── Clock ────────┘
Store operation: the bits are entered one per clock pulse, so entering one bit per clock:
| Clock | ||||
|---|---|---|---|---|
| Initial | - | 0 | 0 | 0 |
| 1 | 1 | 1 | 0 | 0 |
| 2 | 0 | 0 | 1 | 0 |
| 3 | 1 | 1 | 0 | 1 |
After 3 clock pulses, is stored.
Retrieve operation: with no further input (), three more clock pulses shift the bits out at :
| Clock | (output) | ||
|---|---|---|---|
| 4 | 0 | 1 | 0 |
| 5 | 0 | 0 | 1 |
| 6 | 0 | 0 | 0 |
The output sequence seen at is (the first bit in the first out). The first stored bit is already at after pulse 3, and the remaining bits appear after pulses 4 and 5.
Timing diagram: each stage's waveform is the input waveform delayed by one clock period per stage; follows after clock 1, after clock 2, after clock 3. Storing and reading 3 bits therefore takes 3 clocks each.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
If the state of 4-bit Johnson counter is 1100, what is its state after 4th clock pulse?
Similar questions: If the state of Johnson counter is (2018 AD)
Answer
0011 (taking the counter to shift right, with the inverted last output fed back to the first flip-flop):
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 4 marks
If you have five bit of data to insert into a shift register all at once and you need to extract these data one bit at a time, which shift register will you suggest? Design a circuit diagram for your selection and explain its operation.
Similar questions: If you have 4-bit of data to (2015 AD)
Answer
The 5 bits are loaded all at once (in parallel) and taken out one bit at a time (serially), so a Parallel-In Serial-Out (PISO) shift register is suitable.
Circuit: five D flip-flops share a common clock. The D input of each flip-flop (except the first) is fed from a 2-to-1 selector (two ANDs and an OR) controlled by a line. With the parallel data enter the flip-flop inputs; with each flip-flop takes the output of its neighbour, i.e. . The serial output is taken from the last flip-flop's .
D4 D3 D2 D1 D0 (parallel inputs)
| | | | |
[MUX][MUX][MUX][MUX]-- (SHIFT/LOAD selects)
| | | | |
[FF4]->[FF3]->[FF2]->[FF1]->[FF0]--> Serial out
^------------- common clock ------------^
Operation:
- Set and apply one clock pulse. All 5 data bits are loaded into the flip-flops at the same time.
- Set . On each following clock pulse the data move one place towards the output.
- After 5 clock pulses all 5 bits have appeared one by one at the serial output.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
If the initial state of 4-bit ring counter is 1001, what is its state after 7th clock pulse?
Similar questions: What will be the state of twisted (2019 AD)
Answer
0011 (taking the ring counter to shift right, with the last bit fed back to the first). A 4-bit ring counter repeats every 4 pulses, so 7 pulses equal pulses:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 4 marks
If you have 4-bit of data to insert into a shift register 1-bit at a time and need to extract those data all at once; which shift register will you use? Design a circuit diagram for your selection and explain its operation with timing diagram.
Similar questions: If you have five bit of data (2014 AD)
Answer
The data enter one bit at a time (serial) and are read out all at once (parallel), so a Serial-In Parallel-Out (SIPO) shift register is used.
Circuit: four D flip-flops are connected in cascade: the serial input goes to the D input of the first flip-flop, and of each flip-flop feeds the D input of the next. All flip-flops share one clock. The outputs of the four flip-flops are the parallel outputs.
Serial in -> [D FF3 Q]->[D FF2 Q]->[D FF1 Q]->[D FF0 Q]
| | | |
Q3 Q2 Q1 Q0 (parallel out)
(common clock to all)
Operation: on each clock pulse, every bit moves one flip-flop to the right and a new bit enters the first flip-flop. After 4 clock pulses the 4 bits are present in the register and are read together at .
Timing diagram for the serial input 1, 0, 1, 1 (the first bit entered ends in the last flip-flop):
| Clock | Serial in | Q3 | Q2 | Q1 | Q0 |
|---|---|---|---|---|---|
| initial | - | 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 0 | 0 | 0 |
| 2 | 0 | 0 | 1 | 0 | 0 |
| 3 | 1 | 1 | 0 | 1 | 0 |
| 4 | 1 | 1 | 1 | 0 | 1 |
After the 4th pulse, is available in parallel.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 5 marks
Design a sequence recognizer circuit using D flip flop that recognize the sequence 11101.
Similar questions: Design circuit of sequence recognizer machine using (2012 AD)
Answer
Design a Mealy sequence detector for that allows overlapping, with input and output .
States (by the progress made so far): = nothing matched, = "1", = "11", = "111", = "1110".
State table (next state / output ):
| Present | ||
|---|---|---|
After "1110" a 1 completes the sequence, and the final 1 can start a new match, so the next state is .
State assignment (): , , , , . The states 101, 110 and 111 are don't cares. For D flip-flops .
K-map results
Check. Sequence 1,1,1,0,1 from : (input 0), then input 1 gives and the state returns to .
Circuit. Three D flip-flops with a common clock, the gates above for , and one AND gate () for the output.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Why gray codes are used in K-map instead of binary code?
Similar questions: Why Gray Code is used in K-map (2012 AD)
Answer
Gray code changes only one bit between successive values, so adjacent cells in the K-map differ in exactly one variable. This lets terms in neighbouring cells combine by and be grouped to eliminate variables. With binary ordering adjacent cells could differ in several bits, and the grouping would not work.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
If the state of Johnson counter is 1101 what will be the state after 7th clock pulse?
Similar questions: If the state of 4-bit Johnson counter (2014 AD)
Answer
Taking the usual 4-bit right-shifting Johnson counter, the new MSB is the complement of the old LSB: and the other bits shift right.
| Pulse | State |
|---|---|
| start | 1101 |
| 1 | 0110 |
| 2 | 1011 |
| 3 | 0101 |
| 4 | 0010 |
| 5 | 1001 |
| 6 | 0100 |
| 7 | 1010 |
The state after the 7th clock pulse is 1010. (1101 is not in the normal 8-state Johnson sequence, so the counter is in an unused cycle.)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
What will be the state of twisted ring counter after 4th clock pulse if its initial state is 1001001?
Similar questions: If the initial state of 4-bit ring (2015 AD)
Answer
A twisted ring (Johnson) counter shifts right and feeds the complement of the last bit back to the first bit. Starting at :
| Clock | State |
|---|---|
| 0 | 1001001 |
| 1 | 0100100 |
| 2 | 1010010 |
| 3 | 1101001 |
| 4 | 0110100 |
The state after the 4th clock pulse is 0110100.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
Design a sequence recognizer that detect the sequence 1001, the machine will produce output "1" when a given sequence is detected, if not detected the output will be "0".
Similar questions: Design a sequence recognizer that detect the (2021 Oct)
Answer
Sequence 1001 (overlapping), Mealy machine with D flip-flops.
States: = start, = "1", = "10", = "100".
State diagram (edges input/output):
S0 --1/0--> S1 S0 --0/0--> S0
S1 --0/0--> S2 S1 --1/0--> S1
S2 --0/0--> S3 S2 --1/0--> S1
S3 --1/1--> S1 S3 --0/0--> S0
State table
| Present | Next X=0 | Next X=1 | Y (X=0) | Y (X=1) |
|---|---|---|---|---|
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 1 |
State assignment: for .
| AB | X | Y | |
|---|---|---|---|
| 00 | 0 | 00 | 0 |
| 00 | 1 | 01 | 0 |
| 01 | 0 | 10 | 0 |
| 01 | 1 | 01 | 0 |
| 10 | 0 | 11 | 0 |
| 10 | 1 | 01 | 0 |
| 11 | 0 | 00 | 0 |
| 11 | 1 | 01 | 1 |
Flip-flop inputs ():
- for and , so .
- for every row with and for , so .
- only for , so .
Circuit: two D flip-flops with a common clock, an XOR gate and AND gate for , an AND and OR gate for , and a 3-input AND gate for the output .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 5 marks
Design a sequence recognizer that detect the 0101, the machine will produce output "1" when a given sequence is detected in rest of the case the output will be "0".
Similar questions: Design a sequence recognizer that detect the (2021 Jan)
Answer
0101 sequence recognizer (overlapping, Mealy machine)
States (each remembers the longest suffix of the input that matches a prefix of 0101):
- : nothing matched yet
- : "0" seen
- : "01" seen
- : "010" seen
State table (next state / output ):
| Present state | ||
|---|---|---|
In with input 1 the sequence 0101 is complete, so . The last "01" can start a new match, so the machine goes to (overlap allowed).
State assignment: for , using D flip-flops.
| 00 | 0 | 01 | 0 |
| 00 | 1 | 00 | 0 |
| 01 | 0 | 01 | 0 |
| 01 | 1 | 10 | 0 |
| 10 | 0 | 11 | 0 |
| 10 | 1 | 00 | 0 |
| 11 | 0 | 01 | 0 |
| 11 | 1 | 10 | 1 |
Simplified equations:
Circuit: two D flip-flops with a common clock. is just an inverter on . uses two AND gates and one OR gate. The output is a 3-input AND of .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
Define a Clock Pulse?
Answer
A clock pulse is a periodic rectangular (square) waveform that alternates between logic 1 (high) and logic 0 (low). It is used to synchronise the operation of sequential circuits such as flip-flops, registers and counters. Each pulse has a rising edge, a high level, a falling edge and a low level.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
What are error detection codes? Give an example.
Answer
Error detection codes add extra (redundant) bits to data so that the receiver can detect errors introduced during transmission or storage.
Example: the parity bit. In even parity, a bit is added so that the total number of 1s is even. The data 1011001 has four 1s, so the parity bit is 0 and the transmitted word is 10110010. If a single bit flips, the receiver sees an odd number of 1s and detects the error. Other examples are checksum and CRC.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
Differentiate between LCD and LED.
Answer
| LCD (Liquid Crystal Display) | LED (Light Emitting Diode) display |
|---|---|
| Does not emit light; it controls ambient or backlight by polarisation | Emits light itself when current flows |
| Very low power consumption | Consumes more power |
| Hard to read in the dark without a backlight | Visible in the dark |
| Needs AC drive to avoid damage | Works on DC |
| Slower response | Fast response |
| Used in watches, calculators, laptop screens | Used in indicators, 7-segment displays, signboards |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
What is the weight of 0 in binary number 10111?
Answer
In 10111 the bit positions from the right are . The 0 is in the fourth position, so its weight is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
How many Full Adders and Half Adders are required if you want to add 2 four bit words?
Answer
Adding two 4-bit words needs a 4-bit ripple adder:
- 1 half adder for the least significant bit (there is no carry-in).
- 3 full adders for the remaining three bits, each taking the carry from the previous stage.
(If a full adder is also used for the LSB, 4 full adders and no half adder are needed.)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
Describe PLA with a simple example of your choice.
Answer
A Programmable Logic Array (PLA) is a combinational device with a programmable AND array followed by a programmable OR array. Inputs and their complements feed the AND array, which forms product terms. The OR array sums chosen product terms to give the outputs. Any set of sum-of-products functions can be implemented by programming the fuse connections.
Example: implement
Product terms: , , .
| Product term | A | B | C | F1 | F2 |
|---|---|---|---|---|---|
| 1 | 1 | - | 1 | 1 | |
| 0 | - | 1 | 1 | - | |
| - | 1 | 1 | - | 1 |
The AND array is programmed with the A, B, C columns (1 means true input, 0 means complemented, - means not connected). The OR array connects to and to . The shared term is generated once and used for both outputs.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
Differentiate Combinational circuit from Sequential Circuit.
Answer
| Combinational circuit | Sequential circuit |
|---|---|
| Output depends only on the present inputs | Output depends on present inputs and previous state |
| Has no memory | Has memory elements (flip-flops) |
| Usually no clock | Usually clocked, with feedback |
| Simpler and faster | More complex, slower |
| Examples: adder, multiplexer, decoder | Examples: counter, register, flip-flop |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
Suggest a circuit to obtain 1 Hz pulse if you are provided with 16 Hz pulse. Draw the necessary timing diagrams.
Answer
A 1 Hz pulse is obtained from 16 Hz by dividing the frequency by 16. A MOD-16 binary (ripple) counter made of flip-flops does this, because each flip-flop (J = K = 1, or T = 1) halves the frequency of its input.
16 Hz --> [FF0] --8 Hz--> [FF1] --4 Hz--> [FF2] --2 Hz--> [FF3] --> 1 Hz
CLK T=1 T=1 T=1 T=1 (output Q3)
The output of each stage is the clock of the next stage; the output of the last flip-flop (Q3) is the 1 Hz pulse.
Timing diagram (one output cycle spans 16 input clock pulses):
CLK(16Hz) : _|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|
Q0 (8 Hz) : ‾‾|__|‾‾|__|‾‾|__|‾‾|__|‾‾|__|‾‾|__|‾‾|__|‾‾|__| (toggles every clock)
Q1 (4 Hz) : toggles every 2 clocks
Q2 (2 Hz) : toggles every 4 clocks
Q3 (1 Hz) : high for 8 clocks, low for 8 clocks -> period = 16 clocks = 1 s
Check: .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
A Memory device has 500 distinct memory locations. How many address line are required?
Answer
Number of address lines must satisfy .
and .
So 9 address lines are required.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 1 mark
List the properties of TTL.
Answer
Properties of TTL (Transistor-Transistor Logic):
- Built from bipolar junction transistors (multi-emitter input transistor and a totem-pole output).
- Single +5 V supply.
- Logic levels: LOW is 0 to 0.8 V, HIGH is 2 to 5 V.
- Propagation delay about 10 ns per gate (fast).
- Power dissipation about 10 mW per gate.
- Fan-out of about 10.
- Noise margin about 0.4 V.
- Wide range of available functions (the 74xx series).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 4 marks
a. If A=61 and B=32, Represent them in Binary and perform B-A. (Use 2's complement)
b. Explain briefly about the process involved in Analog to digital conversion.
Answer
(a) Using 8 bits:
2's complement of : invert to and add 1 to get .
:
There is no carry out of the MSB, so the result is negative and is in 2's complement form. Its magnitude is the 2's complement of : .
So , which matches .
(b) Analog to digital conversion has these steps:
- Sampling: the analog signal is measured at regular intervals. The sampling rate must be at least twice the highest signal frequency (Nyquist criterion).
- Holding: a sample-and-hold circuit keeps each sampled value constant while it is converted.
- Quantization: each held value is approximated to the nearest of a finite set of levels. The difference is the quantization error.
- Encoding: each quantized level is given an -bit binary code, producing the digital output.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 4 marks
A multiplexer has 99 inputs. How many select lines are required? Construct 8 to 1 Multiplexer using 4 to 1 Multiplexers.
Answer
Select lines must satisfy . Since , 7 select lines are required.
8-to-1 MUX from 4-to-1 MUXes: Use three 4-to-1 MUXes in two levels. Select lines are .
I0..I3 --> [4:1 MUX A] --\
S1 S0 \
[4:1 MUX C] --> Y
I4..I7 --> [4:1 MUX B] --/ (inputs: A, B; other two unused)
S1 S0 select = S2 (on its S0), S1 = 0
- MUX A selects one of to and MUX B selects one of to , both using .
- MUX C passes A when and B when (a 2-to-1 selection, so only two of its inputs are used).
This gives the full 8-to-1 function.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 4 marks
Draw the circuit diagram of a J-K Flip Flop along with its Truth Table and Characteristic equation.
Answer
Circuit diagram (clocked J-K flip-flop using NAND gates):
+-----------+
J ------| NAND G1 |--+--------+
Q' -----| (3 in) | | |
CLK ----| | | +---------+
+-----------+ +----| NAND G3 |---- Q
| |<----- Q'
+-----------+ +----| |
K ------| NAND G2 |--+ +---------+
Q ------| (3 in) | +---------+
CLK ----| |-------| NAND G4 |---- Q'
+-----------+ | |<---- Q
+---------+
G1 has inputs J, CLK and Q'; G2 has inputs K, CLK and Q. G3 and G4 are the cross-coupled NAND latch, with outputs Q and Q'. The feedback from Q and Q' removes the invalid state of the S-R flip-flop.
Truth table (at the active clock edge):
| J | K | Operation | |
|---|---|---|---|
| 0 | 0 | No change | |
| 0 | 1 | 0 | Reset |
| 1 | 0 | 1 | Set |
| 1 | 1 | Toggle |
Characteristic equation:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 4 marks
You are provide with a bit sequence 101, and you are asked to extract those bits after right shifting. Which shift register would you use? How many Clock Pulses would it consume? Discuss with necessary block diagrams and timing diagrams.
Answer
A serial-in serial-out (SISO) right-shift register is used. The bits are loaded one per clock pulse at the serial input, and shift right on every pulse until they leave at the serial output. The sequence has 3 bits, so a 3-bit register (3 D flip-flops) is needed.
Din --> [D FF0 Q0] --> [D FF1 Q1] --> [D FF2 Q2] --> Dout
^ ^ ^
CLK -------+--------------+--------------+
Input bits in order: 1, 0, 1.
| Clock | Din | Q0 Q1 Q2 | Dout (Q2) |
|---|---|---|---|
| 0 | - | 0 0 0 | 0 |
| 1 | 1 | 1 0 0 | 0 |
| 2 | 0 | 0 1 0 | 0 |
| 3 | 1 | 1 0 1 | 1 (first bit) |
| 4 | 0 | 0 1 0 | 0 (second bit) |
| 5 | 0 | 0 0 1 | 1 (third bit) |
Timing diagram:
CLK : _|‾|_|‾|_|‾|_|‾|_|‾|_
Din : 1 0 1 0 0
Q0 : 1 0 1 0 0
Q1 : 0 1 0 1 0
Q2 : 0 0 1 0 1 <- Dout
Clock pulses needed: 3 pulses to load the 3 bits (the first bit then appears at the output), plus 2 more to shift out the remaining bits. The total is clock pulses.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 5 marks
Simplify the following using k-map
and draw circuits using:
a. AND-OR gates
b. NAND gates only.
You can use Not Gates wherever necessary.
Answer
Expand to minterms (order ):
K-map:
| 00 | 01 | 11 | 10 | |
|---|---|---|---|---|
| 00 | 0 | 0 | 1 | 1 |
| 01 | 0 | 0 | 0 | 0 |
| 11 | 0 | 0 | 1 | 1 |
| 10 | 0 | 1 | 1 | 0 |
Groups:
- gives
- gives
- gives
All three are essential (each covers a minterm no other prime implicant covers).
(a) AND-OR circuit: Three AND gates (3-input) produce , and (using NOT gates for and ). Their outputs feed one 3-input OR gate that gives .
(b) NAND-only circuit: Apply double complement and De Morgan:
Three 3-input NAND gates form the first level and a 3-input NAND gate is the second level. NOT gates for and are used as allowed.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2009 AD · 5 marks
a. Draw the circuit diagram of a Digital Clock.
b. You are provided with a sequence 011, at the end of this sequence, the output of the Sequential Machine should be at logic 1. Draw the State Diagram and State Table for your machine.
Answer
(a) Digital clock: A digital clock counts pulses of a stable 1 Hz signal and displays the time in hours, minutes and seconds.
Crystal Divider chain 1 Hz Seconds Minutes Hours
oscillator --> (divide by 2^15 --------> counter ---> counter ---> counter
32.768 kHz = 15 flip-flops) MOD-60 MOD-60 MOD-12/24
(or 50 Hz mains (MOD-10 + (MOD-10 +
+ MOD-50 counter) MOD-6) MOD-6)
| | |
BCD-to-7seg BCD-to-7seg BCD-to-7seg
decoders decoders decoders
| | |
7-seg displays (SS) (MM) (HH)
- The oscillator gives a stable frequency, divided down to 1 Hz.
- The units-of-seconds counter is MOD-10 and the tens counter is MOD-6, giving MOD-60. The carry from it clocks the minutes counter, whose carry clocks the hours counter (MOD-12 or MOD-24).
- Each BCD digit goes through a BCD-to-seven-segment decoder to a seven-segment display.
- Set switches allow hours and minutes to be adjusted.
(b) Sequence detector for 011 (Mealy machine, output Z = 1 when 011 has just been received).
States:
- S0: initial / no useful bits received
- S1: last bit received was 0 (so far "0")
- S2: last two bits received were "01"
State diagram (arrows labelled input/output):
1/0 0/0
+-----+ +-----+
v | v |
(S0) ---0/0---> (S1) ---1/0---> (S2)
^ ^ | |
| +------0/0-----+ |
+----------------1/1---------------+
State table:
| Present state | Input = 0: next state / Z | Input = 1: next state / Z |
|---|---|---|
| S0 | S1 / 0 | S0 / 0 |
| S1 | S1 / 0 | S2 / 0 |
| S2 | S1 / 0 | S0 / 1 |
The output 1 occurs only from S2 on input 1, which is the completion of 0-1-1.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Convert to hexadecimal.
Answer
Convert each octal digit to 3 bits:
Regroup into 4 bits from the radix point:
- Integer part:
- Fraction part:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Write one advantage of alphanumeric code from other codes.
Answer
An alphanumeric code (such as ASCII or EBCDIC) can represent letters, decimal digits, punctuation and control characters, so text as well as numbers can be stored and communicated. Other codes such as BCD or Gray code represent only numbers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Why k-map is suggested only for limited number of variables?
Answer
A K-map has cells for variables, so its size doubles with each variable. Beyond 5 or 6 variables the map becomes too large and needs many dimensions, so adjacent cells are hard to see and grouping becomes error-prone. Hence it is practical only for a limited number of variables (up to about 4-6).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Draw a circuit diagram to count 6 different numbers using Johnson counter.
Answer
A Johnson (twisted-ring) counter with flip-flops has states, so 6 states need D flip-flops. The inverted output of the last flip-flop is fed back to the first D input.
+----------------------------------------+
| |
+--> [D FF0 Q0] --> [D FF1 Q1] --> [D FF2 Q2]--+
D0=Q2' D1=Q0 D2=Q1 (Q2' from here)
^ ^ ^
CLK -----+----------------+--------------+
Count sequence:
| Clock | |
|---|---|
| 0 | 000 |
| 1 | 100 |
| 2 | 110 |
| 3 | 111 |
| 4 | 011 |
| 5 | 001 |
| 6 | 000 (repeats) |
Six different states are counted.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Simplify:
Answer
Using absorption, . Also .
Final answer: .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Write one application area of ECL and CMOS each.
Answer
- ECL: high-speed applications such as supercomputers, high-speed communication and test equipment, because it is the fastest logic family.
- CMOS: low-power battery-operated devices such as digital watches, calculators and portable equipment (it is also used in microprocessors and memory chips).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
A memory contains 1696 distinct cell; which is organized in such a fashion that 32 bit data can be Read/Write once. Find out the input and output of address decoder.
Answer
Each read or write accesses 32 bits at once, so the memory is organised in words of 32 bits.
The address decoder selects one of 53 words:
- Input: address lines with , so (since ).
- Output: 53 word-select lines (a 6-to-64 decoder with only 53 outputs used).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
Why is PLA better than PAL?
Answer
In a PLA both the AND array and the OR array are programmable, while in a PAL only the AND array is programmable and the OR array is fixed. The PLA is therefore more flexible: product terms can be shared between several outputs and any product term can be connected to any output, so Boolean functions are implemented with fewer product terms and less area.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 1 mark
How many flip flops are required to generate a 7 Hz pulse from 56 Hz pulse?
Answer
Division ratio .
Each flip-flop divides the frequency by 2, so 3 flip-flops (a MOD-8 counter) are required.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 4 marks
a. If A=37 and B=-18, then calculate B-A using 2's Complement concept.
b. Write two advantages of Analog and Digital technology each.
Answer
(a) Use 8 bits.
, so (2's complement).
. The 2's complement of : invert to and add 1 to get .
Discard the carry out: result . The MSB is 1, so the result is negative. Its magnitude is .
So , which matches .
(b) Advantages:
Analog technology:
- It represents real-world quantities continuously, with theoretically infinite resolution.
- It needs less bandwidth and often simpler circuitry for simple signals.
Digital technology:
- High noise immunity and accuracy, since only two levels need to be distinguished.
- Data is easy to store, process, copy and transmit without loss, and errors can be detected and corrected.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 4 marks
Differentiate between T and D flip-flop along with its truth table and circuit diagram.
Answer
| Basis | D flip-flop | T flip-flop |
|---|---|---|
| Input | Data input D | Toggle input T |
| Operation | Output copies the input: | Output toggles when T = 1: |
| Holding state | Needs D = Q fed back to hold | T = 0 holds the state |
| Use | Registers, data storage, delay | Counters, frequency dividers |
| Construction | Basic gated latch with an inverter | Made from J-K with , or D with an XOR |
Truth tables:
| D | |
|---|---|
| 0 | 0 |
| 1 | 1 |
| T | |
|---|---|
| 0 | (no change) |
| 1 | (toggle) |
Circuit diagrams:
D flip-flop (NAND) T flip-flop (from J-K)
D --+--------[NAND]--+ T --+--- J
| CLK--/ |--[latch]->Q | [J-K FF] --> Q
+--[NOT]-[NAND]--+ +--- K --> Q'
CLK--/ CLK ------> clock
For the D flip-flop, D and its complement go to two NAND gates enabled by CLK, and the outputs feed a cross-coupled NAND latch giving Q and Q'. For the T flip-flop, the J and K inputs of a J-K flip-flop are tied together as T.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 4 marks
Draw a circuit diagram to display A, B, C, D, E and F in seven segment display.
Answer
Hexadecimal digits A to F (decimal 10 to 15) are displayed on a seven-segment display using a 4-bit decoder. The letters are shown as A, b, C, d, E, F.
Input D C B A (4 bits)
|
[4-to-16 decoder or logic gates]
|
segment drivers a b c d e f g --> seven-segment display (common cathode)
--a--
f| |b
--g--
e| |c
--d--
Segments lit (common-cathode, 1 = ON):
| Digit | Input | a | b | c | d | e | f | g |
|---|---|---|---|---|---|---|---|---|
| A | 1010 | 1 | 1 | 1 | 0 | 1 | 1 | 1 |
| b | 1011 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |
| C | 1100 | 1 | 0 | 0 | 1 | 1 | 1 | 0 |
| d | 1101 | 0 | 1 | 1 | 1 | 1 | 0 | 1 |
| E | 1110 | 1 | 0 | 0 | 1 | 1 | 1 | 1 |
| F | 1111 | 1 | 0 | 0 | 0 | 1 | 1 | 1 |
Each segment is the OR of the decoder outputs for the digits where it is lit:
In the circuit, the four inputs go to a 4-to-16 decoder (or inverters and AND gates), and the outputs for lines 10 to 15 are combined by the OR gates above to drive segments a to g. (For a common-anode display the segment outputs are inverted.)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2010 AD · 5 marks
Minimize the given expression using k-map and draw the logic diagram using minimum number of NAND gate only.
Answer
Minterms (order ):
K-map:
| 00 | 01 | 11 | 10 | |
|---|---|---|---|---|
| 00 | 1 | 0 | 0 | 1 |
| 01 | 0 | 1 | 1 | 1 |
| 11 | 1 | 1 | 0 | 1 |
| 10 | 1 | 0 | 0 | 1 |
Groups:
- Quad gives
- Quad gives
- Pair gives
- Pair gives
Check: minterms 9, 11, 15, 1, 3, 4 give 0 in this expression, as in the original.
NAND-only logic diagram:
- First level: four NAND gates (two 2-input for and , two 3-input for and ).
- Second level: one 4-input NAND gate gives .
- The complements are produced by inverters (each a NAND with joined inputs).
This uses 5 NAND gates plus the inverters for , and .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
Write one application area of and ECL.
Answer
- : large-scale integrated circuits needing high packing density and low power, such as digital watches, calculators and LSI/VLSI chips.
- ECL: high-speed systems such as supercomputers and high-speed communication equipment.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
Simplify: .
Answer
Since , we get . Also by absorption.
Final answer: .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
Convert to Binary.
Answer
Replace each hex digit by its 4-bit binary value: , , , .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
Write the advantage of BCD code.
Answer
BCD represents each decimal digit by its own 4-bit group, so conversion between decimal and BCD is simple (digit by digit) and no arithmetic conversion is needed. This makes it well suited to digital displays, calculators and clocks, which take decimal input and output.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
What is the output frequency if the input frequency to the Mod-8 counter is 800 Hz?
Answer
A MOD-8 counter divides the input frequency by 8.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
What is the weight of 1 in binary number 0.0000100?
Answer
In the digit 1 is in the 5th place after the binary point, so its weight is
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
Draw the logic symbol of AND and OR gate used in PAL and PLA.
Answer
In PAL and PLA diagrams the many inputs of a gate are drawn as a single input line, and each crossing of an input line with a vertical signal line is a programmable connection (fuse), marked with an X when connected.
AND gate (product term) OR gate (sum term)
A ----x---| P1 ----x---|
A' ---- | P2 ---- |
B ----x---|-- AND --> P1 P3 ----x---|-- OR --> F
B' ---- | (D-shaped) P4 ---- | (curved shape)
C ----x---|
x = connection kept, no mark = fuse blown
P1 = A·B·C
- The AND gate is drawn as a D-shaped symbol with one input line (an AND array row) crossing all the input literals. here.
- The OR gate is drawn with the curved symbol and one input line crossing all product terms, so the output is the sum of the selected products.
- In a PLA both arrays are programmable (crosses in both); in a PAL only the AND array is programmable and the OR array connections are fixed.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
List the levels of integration.
Answer
Levels of integration of ICs:
- SSI (small scale integration): fewer than 12 gates per chip.
- MSI (medium scale integration): 12 to 99 gates per chip.
- LSI (large scale integration): 100 to 9,999 gates per chip.
- VLSI (very large scale integration): 10,000 to about 99,999 gates per chip.
- ULSI (ultra large scale integration): more than 100,000 gates (up to millions) per chip.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 1 mark
What is the advantages of Johnson Counter over Ring Counter?
Answer
For the same number of flip-flops , a Johnson counter has states, while a ring counter has only . It therefore needs half as many flip-flops for a given count, and each state can be decoded with a simple 2-input gate.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 4 marks
a. If A=127 and B=15, then calculate (-A) + (-B) using 2's complement concept.
b. Compare Analog and Digital signal.
Answer
(a) The result is , which needs 9 bits in 2's complement (8 bits can hold only to ).
Discard the carry out: result . The MSB is 1, so it is negative. Magnitude: .
So .
(b) Comparison of analog and digital signals:
| Analog | Digital |
|---|---|
| Continuous in time and amplitude | Discrete values (0 and 1) |
| Takes any value in a range | Takes only two levels |
| Easily affected by noise; degrades on copying | High noise immunity; accurate |
| Hard to store and process | Easy to store, process and transmit |
| Simple for small systems | Needs A/D and D/A conversion for real signals |
| Examples: sine wave, voice from a microphone | Examples: computer data, pulse trains |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 4 marks
Make distinction between RS and D flip flop along with its circuit diagram, characteristic equation and characteristic table.
Answer
| Basis | RS flip-flop | D flip-flop |
|---|---|---|
| Inputs | Two: S and R | One: D |
| Invalid state | S = R = 1 is not allowed | None; R and S are always complementary |
| Function | Set, reset, hold | Copies D to Q (delay) |
| Characteristic equation | (with ) | |
| Use | Basic latch, control | Registers, data storage |
A D flip-flop is an RS flip-flop with an inverter between S and R (, ), so the invalid input is never applied.
Circuit diagrams (gated NAND forms):
RS flip-flop D flip-flop
S --[NAND]--+ D -+-[NAND]--+
CLK-/ +-[NAND]-> Q |CLK-/ +-[NAND]-> Q
R --[NAND]--+ (cross-coupled) +[NOT]-[NAND]-+ (cross-coupled)
CLK-/ +-[NAND]-> Q' CLK-/ +-[NAND]-> Q'
Characteristic tables:
RS flip-flop:
| S | R | |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | Invalid |
D flip-flop:
| D | |
|---|---|
| 0 | 0 |
| 1 | 1 |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 4 marks
You are provided with a bit sequence 00010 to operate with Serial In Out register. Describe the store and retrieve mechanism with supportive diagram and also draw the timing diagram.
Answer
A serial-in serial-out (SISO) shift register is used. A 5-bit sequence needs a 5-bit register (5 D flip-flops). Bits enter at Din one per clock pulse and shift right; the first bit entered reaches the output after 5 pulses.
Din --> [D FF0 Q0] --> [D FF1 Q1] --> [D FF2 Q2] --> [D FF3 Q3] --> [D FF4 Q4] --> Dout
CLK ------------------------ common to all flip-flops --------------------------
Storing and retrieving 00010 (bits entered in the order 0, 0, 0, 1, 0). Flip-flops are cleared first.
| Clock | Din | Dout () | |
|---|---|---|---|
| 0 | - | 00000 | 0 |
| 1 | 0 | 00000 | 0 |
| 2 | 0 | 00000 | 0 |
| 3 | 0 | 00000 | 0 |
| 4 | 1 | 10000 | 0 |
| 5 | 0 | 01000 | 0 (bit 1) |
| 6 | 0 | 00100 | 0 (bit 2) |
| 7 | 0 | 00010 | 0 (bit 3) |
| 8 | 0 | 00001 | 1 (bit 4) |
| 9 | 0 | 00000 | 0 (bit 5) |
- Store: pulses 1 to 5 load the five bits.
- Retrieve: the bits come out serially at in the same order as entered, from pulse 5 to pulse 9. The total time is pulses.
Timing diagram:
CLK : _|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_
Din : 0 0 0 1 0 0 0 0 0
Q0 : 0 0 0 1 0 0 0 0 0
Q1 : 0 0 0 0 1 0 0 0 0
Q2 : 0 0 0 0 0 1 0 0 0
Q3 : 0 0 0 0 0 0 1 0 0
Q4 : 0 0 0 0 0 0 0 1 0 (Dout: 0 0 0 1 0 from pulses 5-9)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 4 marks
Draw the circuit diagram of half adder and 1x4 Demultiplexer.
Answer
(a) Half adder
A half adder adds two single bits and and gives a Sum and a Carry.
| A | B | Sum | Carry |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
Circuit: one XOR gate and one AND gate. Both and feed both gates. The XOR output is Sum and the AND output is Carry.
A ──┬──────────┐
│ ┌─┴─┐
│ │XOR├──── Sum
B ──┼──┬─────┴───┘
│ │
│ │ ┌───┐
└──┼─────┤AND├──── Carry
└─────┴───┘
(b) 1x4 Demultiplexer
A 1x4 DEMUX sends one data input to one of four outputs to , chosen by select lines .
| S1 | S0 | Output carrying D |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | |
| 1 | 0 | |
| 1 | 1 |
Circuit: two NOT gates generate and . Four 3-input AND gates each take and one combination of , (or their complements). Their outputs are to .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2011 AD · 5 marks
Draw the circuit diagram to represent the given K-map using: (A K-map on variables R, P, Q with don't-care entries is given in a figure in the original paper.)
a) AND-OR-NOT gate
b) Minimum number of NOR gates.
Answer
The K-map figure is not reproduced here, so the method is shown on a representative map of three variables with .
Simplification (groups using the don't-care):
- Quad gives .
- Pair gives .
(a) AND-OR-NOT implementation
One AND gate forms . One OR gate combines it with to give . (If a complemented literal appears in a group, a NOT gate supplies it.)
(b) Minimum NOR gates
Write as a product of sums: .
- Gate 1:
- Gate 2:
- Gate 3:
Only 3 NOR gates are needed. In general: group the 0s (and don't-cares) to get , or group the 1s to get a POS form, then replace each OR-AND level by NOR-NOR.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
Which logic gates have output same when two inputs are same?
Answer
The XNOR gate gives output 1 when both inputs are the same. The XOR gate gives output 0 when the inputs are the same. For identical inputs, AND, OR, and also NAND and NOR, simply follow the input or its complement (output equals the input for AND/OR, and its complement for NAND/NOR).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
How many flip-flops are required to construct a mod-90 counter?
Answer
7 flip-flops.
A counter with flip-flops can count up to states. We need . Since and , .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
Convert to gray code.
Answer
Rule: the MSB is copied; every other Gray bit is the XOR of the corresponding binary bit and the previous binary bit.
Binary: 1 0 1 1 0 1 1
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
List two advantage of analog signal.
Answer
- An analog signal represents the real quantity continuously with infinite resolution, so no information is lost through quantization.
- It needs less bandwidth than a digital signal carrying the same information, and the hardware for simple analog processing and transmission is cheaper.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
Write the characteristic equation of RS flip flop.
Answer
with the constraint (the input is not allowed).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
Convert AB0.0EF (hexadecimal) to octal number system.
Answer
Convert hex to binary (4 bits per digit), then regroup into 3 bits per octal digit.
Integer part:
Fraction part:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
Differentiate LCD and LED.
Answer
| Basis | LCD | LED |
|---|---|---|
| Full form | Liquid Crystal Display | Light Emitting Diode |
| Light | Does not emit light; modulates ambient or backlight | Emits its own light |
| Power | Very low | Higher |
| Visibility in dark | Needs backlight | Clearly visible |
| Viewing angle | Narrow | Wide |
| Cost / use | Calculators, watches, laptops | Indicators, seven-segment displays, signs |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 1 mark
What is the size of data register if memory supports 64-bit R/W at once?
Answer
64 bits. The data register (memory data register) holds the word being read or written, so it must be as wide as the memory transfer: 64 bits (8 bytes).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 4 marks
a. Show the necessary steps to convert analog signal to digital signal.
b. If A = 62 and B = -510 then calculate B-A using 2's Complement Concept.
Answer
(a) Analog to digital conversion
- Sampling: the continuous signal is measured at regular intervals. The sampling rate must be at least twice the highest signal frequency (Nyquist: ). This gives a discrete-time signal.
- Quantization: each sample is rounded to the nearest of a finite set of levels ( levels for bits). The rounding creates a small quantization error.
- Encoding: each quantized level is assigned a binary code word, giving the digital bit stream.
(b) with ,
. Use 12-bit two's complement.
- , so : invert , add 1, giving .
- , so : invert , add 1, giving .
Add:
Discard the carry out: . The MSB is 1, so the result is negative. Its magnitude is the two's complement: invert , add 1, giving .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 4 marks
Differentiate between RS and JK flip-flop along with its Excitation Table, Characteristic Table and Logic Diagram
Answer
Difference
| Basis | RS flip-flop | JK flip-flop |
|---|---|---|
| Inputs | S (set), R (reset) | J (set), K (reset) |
| Input (or ) | Invalid / forbidden | Allowed; output toggles |
| Characteristic equation | ||
| Race condition | Has invalid state | Overcome (with edge triggering) |
| Feedback | None | Outputs fed back to inputs |
Characteristic tables
RS:
| S | R | |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | Invalid |
JK:
| J | K | |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 |
Excitation tables
RS:
| S | R | |
|---|---|---|
| 0 → 0 | 0 | X |
| 0 → 1 | 1 | 0 |
| 1 → 0 | 0 | 1 |
| 1 → 1 | X | 0 |
JK:
| J | K | |
|---|---|---|
| 0 → 0 | 0 | X |
| 0 → 1 | 1 | X |
| 1 → 0 | X | 1 |
| 1 → 1 | X | 0 |
Logic diagrams
RS (NOR latch, clocked version adds two AND gates with the clock): two cross-coupled NOR gates; the output of each gate feeds one input of the other. The inputs are and , outputs and .
JK: a clocked RS flip-flop with two 3-input NAND/AND gates at the input. The first gate takes , , and feeds ; the second takes , , and feeds . Because and are fed back, toggles the output instead of creating an invalid state.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 4 marks
Differentiate between adder and subtractor. Draw the circuit diagram of half subtractor.
Answer
Adder vs subtractor
| Basis | Adder | Subtractor |
|---|---|---|
| Operation | Adds two binary numbers | Subtracts one binary number from another |
| Outputs | Sum and Carry | Difference and Borrow |
| Half adder equations | , | , |
| Full version | Full adder takes carry-in | Full subtractor takes borrow-in |
Half subtractor
| A | B | Difference | Borrow |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 |
Circuit: an XOR gate with inputs gives the Difference. A NOT gate on feeds an AND gate along with and gives the Borrow.
A ──┬───────────┐
│ ┌─┴─┐
│ │XOR├──── Difference
B ──┼──┬──────┴───┘
│ │
└─NOT──┐
┌┴──┐
B ─────────┤AND├──── Borrow
└───┘
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 4 marks
Describe the store and retrieve operation in 4-bit parallel in parallel out register with circuit diagram and timing diagram.
Answer
4-bit PIPO (Parallel In Parallel Out) register
Circuit: four D flip-flops to share a common clock (and optionally a common clear). The data inputs are connected one-to-one to the D inputs of the flip-flops. The outputs are available directly as the parallel output lines.
D3 ─►[D FF3]─► Q3
D2 ─►[D FF2]─► Q2
D1 ─►[D FF1]─► Q1
D0 ─►[D FF0]─► Q0
▲ common clock
Store (write) operation:
- Place the 4-bit word on .
- Apply a clock pulse. On the active edge, every flip-flop copies its input to , so all four bits are stored at the same time (in one clock pulse).
- Removing or changing the data inputs afterwards does not change the stored bits until the next clock edge.
Retrieve (read) operation: the stored bits are present continuously at , so the whole word is read at once without any clock pulse. If a tri-state buffer is used, an output-enable signal places the word on the bus.
Timing diagram (example, data = 1011):
| Time | Clock | ||
|---|---|---|---|
| Before edge | 0 | 1011 | previous value (e.g. 0000) |
| Active edge | ↑ | 1011 | 1011 |
| After edge | 1/0 | any | 1011 (held) |
Because there is no shifting, a single clock pulse is enough for both loading and reading, which makes PIPO the fastest register type.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2012 AD · 5 marks
Draw the circuit diagram to represent the given K-map using: (A four-variable K-map is given in a figure in the original paper.)
a. Only NAND gate
b. Only NOR gates
Answer
The K-map figure is not reproduced here, so the method is shown on a representative 4-variable map .
Minimal SOP (groups of 1s):
- gives
- gives
- gives
(a) Only NAND gates (two-level NAND-NAND):
Three NAND gates produce the product terms (using made with NAND inverters). A fourth 3-input NAND combines them and gives .
(b) Only NOR gates: group the 0s: .
Use four NOR gates to produce the sums, and one 4-input NOR to combine them:
- , , ,
since . Inverters (single-input NORs) supply the complemented literals.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Convert 1001.01110 into binary.
Answer
The number is already written with the binary digits 0 and 1, so it is a binary number. Removing the trailing zero of the fraction gives
Its decimal value is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Simplify to a minimum number of literals.
Answer
Since (absorption):
This has 4 literals (the original had 8).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
On what basis flip-flop is categorized?
Answer
Flip-flops are categorized on two bases:
- Type of input / function (logic): SR, JK, D and T flip-flops.
- Method of triggering the clock: level-triggered (latch type), positive or negative edge-triggered, and master-slave.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Calculate output frequency if MOD-45 counter is inputted with 9 KHZ frequency.
Answer
A MOD- counter divides the input frequency by .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Why the output of last flip-flop is connected to the input of first flip flop in case of Ring Counter?
Answer
In a ring counter, the output of the last flip-flop is fed back to the input of the first so that the single 1 (or 0) circulates continuously around the register. Without the feedback, the 1 would be shifted out after the last stage and the counter would stop; with it, the same bit pattern repeats every clock pulses, which makes a self-repeating sequence of states.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Differentiate between PLA and PAL.
Answer
| Basis | PLA | PAL |
|---|---|---|
| AND array | Programmable | Programmable |
| OR array | Programmable | Fixed |
| Flexibility | More flexible; product terms can be shared among outputs | Less flexible |
| Cost and complexity | More costly and complex | Cheaper and simpler |
| Speed | Slower | Faster |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
In case of memory read operation what is the function of data register?
Answer
In a memory read operation, the data register (memory data register, MDR) temporarily holds the word that is fetched from the addressed memory location. The word is placed on the data bus from the memory cell into this register, and from there the CPU or other unit takes it.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Compare between LCD and LED on the basis of power consumption, viewing angle and picture quality.
Answer
| Basis | LCD | LED |
|---|---|---|
| Power consumption | Very low, because it only controls light | Higher, because it emits light |
| Viewing angle | Narrow; the image degrades at an angle | Wide; visible from almost any angle |
| Picture quality | Good in lit surroundings, lower contrast and black level | Brighter, higher contrast and better colour in dark surroundings |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
List out the application area of ECL.
Answer
ECL (Emitter Coupled Logic) is used where very high speed is needed:
- High-speed supercomputers and mainframe CPUs
- High-speed communication and telecommunication equipment
- Frequency dividers, counters and prescalers in RF and microwave systems
- High-speed data acquisition and test and measurement instruments
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 1 mark
Differentiate between SOP and POS.
Answer
| Basis | SOP | POS |
|---|---|---|
| Full form | Sum of Products | Product of Sums |
| Structure | OR of AND terms | AND of OR terms |
| Terms used | Minterms (output = 1) | Maxterms (output = 0) |
| Example | ||
| K-map | Group the 1s | Group the 0s |
| Implementation | AND-OR (or NAND-NAND) | OR-AND (or NOR-NOR) |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 4 marks
(a). If A=25 and B=9, then calculate B-A and A-B using 2's Complement concept.
(b) Increase in quantization bit increase the signal quality, explain with example
Answer
(a) Use 8-bit two's complement. , .
: two's complement of is .
There is no carry out, so the result is negative. Magnitude: invert , add 1, giving .
: two's complement of is .
A carry out is produced and discarded, so the result is positive: .
(b) In analog to digital conversion, an -bit quantizer has levels. The step size is and the maximum quantization error is . More bits means smaller steps, less error and a higher signal-to-noise ratio (about dB).
Example: signal range 0 to 8 V, sample value 5.3 V.
- 3 bits: 8 levels, V. The sample is stored as 5 V (code 101), error 0.3 V.
- 4 bits: 16 levels, V. The sample is stored as 5.5 V (code 1011), error 0.2 V, and the maximum error is 0.25 V instead of 0.5 V.
So increasing the number of quantization bits reproduces the signal more closely and improves the quality.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 4 marks
What is similarity and differences between JK flip-flop and T flip-flop explain with the help of circuit diagram and characteristic table?
Answer
Similarity
- Both are clocked, edge-triggered flip-flops with outputs and .
- Both toggle the output when the input condition is met ( for JK and for T).
- Both have no invalid state and both can hold the previous state.
- A T flip-flop is simply a JK flip-flop with and tied together.
Differences
| Basis | JK flip-flop | T flip-flop |
|---|---|---|
| Inputs | Two (, ) | One () |
| Functions | Hold, set, reset, toggle | Hold and toggle only |
| Characteristic equation | ||
| Use | General purpose, building other flip-flops | Counters, frequency dividers |
Circuit diagram: a JK flip-flop is built from a clocked SR flip-flop with and and the clock feeding the gate and and and the clock feeding the gate. Joining and into one input gives a T flip-flop.
Characteristic tables
JK:
| J | K | |
|---|---|---|
| 0 | 0 | |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 |
T:
| T | |
|---|---|
| 0 | |
| 1 |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 4 marks
Design a circuit that display 4, 5 and 8 in seven segment display.
Answer
Inputs: a 4-bit BCD code for the digit: , , . All other codes are treated as don't care.
Segment requirements (segments to of a common-cathode display, 1 = on):
| Digit | a | b | c | d | e | f | g | |
|---|---|---|---|---|---|---|---|---|
| 4 | 0100 | 0 | 1 | 1 | 0 | 0 | 1 | 1 |
| 5 | 0101 | 1 | 0 | 1 | 1 | 0 | 1 | 1 |
| 8 | 1000 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
K-map simplification (with don't cares):
- (on for 5 and 8, off for 4)
- (on for 4 and 8, off for 5)
- (on only for 8)
Circuit: one OR gate () drives both segments and ; a NOT gate on drives segment ; drives segment directly; segments , and are tied to logic 1 (supply). The outputs go to the seven-segment display through current-limiting resistors.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 5 marks
Express the Boolean function in a Standard POS and simplify it using K-map and draw circuit diagram using NAND Gates only.
Answer
Minterms: gives 100, 101, 110, 111 ( to ); gives . So .
Standard POS (maxterms for the zeros ):
K-map (rows , columns in Gray order ):
| X \ YZ | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 1 |
Grouping the 0s: (cells 000, 010) give ; (010, 011) give .
Expanding this gives , the original function.
NAND-only circuit:
- NAND 1: inverter on gives (NAND with both inputs tied)
- NAND 2: inverter on gives
- NAND 3:
- NAND 4:
A total of 4 two-input NAND gates is needed.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2013 AD · 5 marks
Design a sequential machine if you are provided with a sequence 010 and at the end of this sequence, the output of the Sequential Machine should be at logic 1.
Answer
Sequence detector for (overlapping), Moore machine: the output is 1 only in the state reached after the sequence 010. D flip-flops are used.
States:
- : start, no useful bits
- : last bit was 0
- : last two bits were 01
- : 010 detected (output = 1)
Encoding : .
State table ( = input):
| Present | next | next | Output |
|---|---|---|---|
| 00 | 01 | 00 | 0 |
| 01 | 01 | 10 | 0 |
| 10 | 11 | 00 | 0 |
| 11 | 01 | 10 | 1 |
(From the last bit was 0, so it behaves like .)
Excitation (D = next state):
- for (), () and ()
- when in every state
Output:
Circuit: two D flip-flops on a common clock; two AND gates and an OR gate for ; the inverter on for ; and one AND gate on and for .
Check with input : , so at the end of the sequence.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
Differentiate periodic and non periodic wave.
Answer
| Basis | Periodic wave | Non-periodic (aperiodic) wave |
|---|---|---|
| Repetition | The pattern repeats after a fixed time period | The pattern never repeats |
| Definition | No such exists | |
| Example | Sine wave, square wave, clock signal | Speech, random noise, a single pulse |
| Frequency | A definite frequency | No single frequency |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
Decimal numbers are weighted numbers. Justify.
Answer
In a weighted number system, each digit position has a fixed weight and the value is the sum of digit times weight. In decimal the weights are powers of 10, so each digit's value depends on its position.
Example: .
Because every position has a fixed weight (), decimal is a weighted number system.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
What is the number selection line if multiplexer have 1234 input lines?
Answer
, so the multiplexer needs 11 selection lines.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
How many Flip-flops are required to divide a frequency by 16?
Answer
4 flip-flops. Each flip-flop divides the frequency by 2, so flip-flops divide by ; .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
It is possible to implement counting function using data flip-flop? Support your answer.
Answer
Yes. A D flip-flop can count. If the complemented output is fed back to the input (), it toggles on every clock pulse and divides the clock by 2, which behaves as a 1-bit counter. Cascading such stages (clocking each from the previous output) gives a ripple counter. A synchronous counter can also be built by setting each input to the required next-state function.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
How size of data register and address register are calculated in computer system?
Answer
The data register size equals the word length, i.e. the number of bits stored in each memory location. The address register size is found from the number of words : it needs bits, so that . For example, 4096 words of 8 bits need a 12-bit address register and an 8-bit data register.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
Write advantages of PLA over ROM.
Answer
- A ROM decodes all minterms, whereas a PLA has a programmable AND plane and generates only the product terms that are needed, so it needs far less area.
- It is cheaper and faster for functions with few product terms or many don't-care conditions.
- Both AND and OR planes are programmable, so the same product term can be shared by several outputs.
- It needs less power and fewer connections for large numbers of inputs.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
Explain any operational characteristics of an IC.
Answer
Propagation delay is the time a gate takes to respond to a change at its input, measured between the 50% points of input and output. It limits how fast the IC can work. Other operational characteristics are fan-out, noise margin, power dissipation and the speed-power product.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 1 mark
Define Excitation table.
Answer
An excitation table lists, for each possible present-state to next-state transition of a flip-flop, the input values that must be applied to cause that transition. It is used to design sequential circuits. For a JK flip-flop: needs ; needs ; needs ; needs .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 4 marks
a. If and Compute B-A and A+B by converting them to binary system.
b. Verify any one De Morgan's law for three variables using Truth Table.
Answer
(a) Use 8-bit 2's complement.
. : , 1's complement , plus 1 gives .
A + B:
Discard the carry: . Check: .
B - A . : .
Discard the carry: . This is negative; its 2's complement is , so the result is . Check: .
(b) De Morgan's law:
| A | B | C | A+B+C | ||
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 1 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 |
The last two columns are identical in every row, so the law is verified.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 4 marks
Design circuit diagram for code converter.
Answer
A code converter changes data from one binary code to another. As an example, design a BCD to Excess-3 converter. The inputs are the BCD bits (A is the MSB) and the outputs are , where Excess-3 = BCD + 3.
| Digit | ABCD | wxyz |
|---|---|---|
| 0 | 0000 | 0011 |
| 1 | 0001 | 0100 |
| 2 | 0010 | 0101 |
| 3 | 0011 | 0110 |
| 4 | 0100 | 0111 |
| 5 | 0101 | 1000 |
| 6 | 0110 | 1001 |
| 7 | 0111 | 1010 |
| 8 | 1000 | 1011 |
| 9 | 1001 | 1100 |
Combinations 1010 to 1111 are don't-cares. K-map simplification gives:
Circuit: the inputs and their complements feed a two-level AND-OR network.
- is a single NOT gate on .
- is two AND gates ( and ) feeding an OR gate, i.e. an XNOR of and .
- uses three AND gates (, , ) feeding a 3-input OR gate.
- uses two AND gates (, ) and feeding a 3-input OR gate.
Check: BCD 0101 gives , , , , i.e. 1000 (Excess-3 of 5).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 4 marks
Construct MOD-8 asynchronous up down counter with timing diagram.
Answer
A MOD-8 counter needs flip-flops (). Use JK flip-flops with (toggle mode). In an asynchronous (ripple) counter only receives the external clock; each later flip-flop is clocked by the previous one.
Connections:
- Up counting: , (flip-flops trigger on the falling edge).
- Down counting: , .
- A control input selects between them:
Each of these is an AND-OR (2-to-1 multiplexer) network placed before the clock input of and .
Count sequence: up: 000, 001, 010, 011, 100, 101, 110, 111, 000. Down: 000, 111, 110, 101, 100, 011, 010, 001, 000.
Timing diagram (up mode):
CLK _|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_|‾|_
Q0 _|‾‾|__|‾‾|__|‾‾|__|‾‾|__|‾‾|__
Q1 ___|‾‾‾‾‾|_____|‾‾‾‾‾|_____
Q2 _________|‾‾‾‾‾‾‾‾‾‾‾‾‾|__________
toggles on every clock pulse, at half that rate and at one quarter, so the output frequency is . In down mode the waveforms run in the reverse count order, because each stage is driven by the complement of the previous output.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 4 marks
Discuss flip flop operating characteristics.
Answer
Operating characteristics specify the performance and limits of a flip-flop.
- Propagation delay: the time between the triggering clock edge and the change at the output (, ).
- Setup time (): the time the input data must be stable before the active clock edge.
- Hold time (): the time the input must stay stable after the active clock edge.
- Maximum clock frequency (): the highest clock rate at which the flip-flop triggers reliably.
- Minimum pulse width (): the shortest allowed clock (HIGH or LOW) and asynchronous set/clear pulse width.
- Asynchronous input active time: the minimum duration of the preset and clear pulses.
- Clock transition time: the maximum rise and fall time of the clock edge.
- Power dissipation: the power consumed by the device, , usually in mW.
Violating setup or hold time can make the output unpredictable (metastability).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 5 marks
If and design a truth table for this expression and design a circuit using
a) Using Basic gates
b) Using minimum number of NAND gates.
Answer
Truth table (X = don't care):
| m | A B C D | f |
|---|---|---|
| 0 | 0000 | 0 |
| 1 | 0001 | X |
| 2 | 0010 | 0 |
| 3 | 0011 | 1 |
| 4 | 0100 | 1 |
| 5 | 0101 | 0 |
| 6 | 0110 | X |
| 7 | 0111 | 1 |
| 8 | 1000 | 1 |
| 9 | 1001 | X |
| 10 | 1010 | 0 |
| 11 | 1011 | 0 |
| 12 | 1100 | 0 |
| 13 | 1101 | X |
| 14 | 1110 | 1 |
| 15 | 1111 | 0 |
K-map grouping (using don't cares where they help):
- give .
- give .
- give .
- give .
No larger groups are possible (for example, the neighbours , , are 0). Hence
(a) Basic gates: four inverters to get ; four 3-input AND gates producing the four product terms; one 4-input OR gate combining them.
(b) Minimum NAND gates: replace each AND by a 3-input NAND, and the final OR by a 4-input NAND (the product terms are already complemented). The inverters are single-input NAND gates. This uses 4 three-input NAND gates, 1 four-input NAND gate, and the NAND inverters for the complemented literals:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2014 AD · 5 marks
Analyze the following sequential circuit. (A circuit with two D flip-flops Q0 and Q1, an input M, AND, OR, NAND and XOR gates is given in a figure in the original paper.)
Answer
The figure is not reproduced here, so the analysis is given as the standard procedure applied to a circuit of two D flip-flops and with an input .
Step 1: Input equations. Read the D inputs from the gates in the figure, as functions of the present state and :
Step 2: State equations. For a D flip-flop the next state equals its input, so and .
Step 3: State table. List all combinations of (00, 01, 10, 11) and (0, 1), evaluate and for each, and record the next state (and any output).
Step 4: State diagram. Draw one circle per state () and an arrow for each row of the state table, labelled with (and the output).
Step 5: Interpretation. From the diagram identify the behaviour: if, for one value of , the states cycle the circuit is a 2-bit counter; for the other value it holds, counts down or reverses, which makes it a controlled (up/down) counter. The next state depends on the present state and on , so the circuit is a clocked synchronous sequential circuit, and its behaviour is completely described by the state table and state diagram.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Convert to Octal number system.
Answer
Convert each hex digit to 4 bits: , , , so .
Regroup into 3 bits from the right: .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Is gray weighted or un-weighted code? Support your answer.
Answer
Gray code is an un-weighted code. No fixed weight (such as 8, 4, 2, 1) is assigned to the bit positions, so the decimal value cannot be found by summing weights times bits. For example, the 3-bit Gray code of 3 is 010 and that of 4 is 110, and the same bit position does not carry a fixed value. Its property is that only one bit changes between consecutive numbers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Suppose you are adding 1101 and 1001 using binary parallel adder, what is the final carry out bit?
Answer
. The final carry-out bit is 1.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Define power dissipation of flip flop.
Answer
Power dissipation of a flip-flop is the total electrical power it consumes while operating, equal to the supply voltage times the average supply current, . It is usually given in milliwatts (mW) and sets the heat produced and the battery or supply requirement.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Add numbers 99.0 and 699.0 by converting them to BCD code.
Answer
and .
Add digit by digit, correcting any digit greater than 9 (or with a carry) by adding :
- Units: . This is more than 9, so add : . The digit is with carry 1.
- Tens: . Add : . The digit is with carry 1.
- Hundreds: .
Check: .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Why data bus need to be PIPO?
Answer
The data bus has to carry a whole word (for example 8, 16 or 32 bits) between the registers, memory and CPU at the same time. A Parallel-In Parallel-Out (PIPO) register loads and outputs all bits simultaneously in one clock pulse, so a word is transferred in a single clock cycle. A serial register would need one clock pulse per bit, which would be far too slow.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
List the advantages of PLDs over fixed function ICs.
Answer
- The user can configure them to implement any logic function, so one device type serves many designs.
- Fewer chips are needed, so the board is smaller and the cost lower.
- Lower power consumption and higher reliability, because there are fewer interconnections.
- Design changes can be made quickly, often without rewiring.
- Short design time and easy prototyping.
- Lower inventory, because one standard part replaces many fixed-function ICs.
- Design security, since a programmed device is hard to copy.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 1 mark
Differentiate between characteristics table and excitation table.
Answer
| Characteristic table | Excitation table |
|---|---|
| Gives the next state for each combination of the present state and the flip-flop inputs. | Gives the flip-flop inputs required for each given present-state to next-state transition. |
| Inputs are known and the next state is found. | The state change is known and the inputs are found. |
| Used for analysis of circuits. | Used for design of circuits. |
| Example (JK): . | Example (JK): needs . |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 4 marks
Design full subtractor circuit using only NAND gates.
Answer
The full subtractor has inputs (minuend), (subtrahend), (borrow in) and outputs Difference and Borrow-out .
| A | B | Bin | D | Bout |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 1 | 0 | 0 | 0 |
| 1 | 1 | 1 | 1 | 1 |
NAND-only implementation (9 gates):
Why the borrow is correct: , so . Also , so . Then , as required.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 4 marks
Design synchronous 3-bit gray code counter.
Answer
Sequence (, A is the MSB): 000, 001, 011, 010, 110, 111, 101, 100, then back to 000. Use 3 D flip-flops with a common clock, so next state.
| Present ABC | Next ABC | |||
|---|---|---|---|---|
| 000 | 001 | 0 | 0 | 1 |
| 001 | 011 | 0 | 1 | 1 |
| 011 | 010 | 0 | 1 | 0 |
| 010 | 110 | 1 | 1 | 0 |
| 110 | 111 | 1 | 1 | 1 |
| 111 | 101 | 1 | 0 | 1 |
| 101 | 100 | 1 | 0 | 0 |
| 100 | 000 | 0 | 0 | 0 |
K-map simplification (each state is a minterm of ):
Circuit: three D flip-flops with a common clock. Feed the logic above into the D inputs, using AND/OR gates (and an XNOR for ) driven by , , and their complements. The outputs give the 3-bit Gray count, and only one bit changes at each clock pulse.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 4 marks
What is the size of memory if address register is of 12-bits and data register is of 256-bits? Explain memory read / write operation with necessary diagram.
Answer
Size: a 12-bit address register can address words, and each word is 256 bits (the data register width).
Block diagram: the CPU is connected to the memory through an address register (12 bits) and an address decoder that selects one of the 4096 locations, a data register (256 bits) joined to the memory array through a bidirectional data path, and control lines READ/WRITE (and chip select).
Read operation:
- The CPU puts the address of the required word in the address register.
- The READ control signal is activated.
- The decoder selects the location, and its 256 bits are copied into the data register.
- The CPU takes the data from the data register. The memory content is unchanged.
Write operation:
- The address is placed in the address register.
- The data to be stored is placed in the data register.
- The WRITE signal is activated.
- The selected location is overwritten with the data in the data register.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 4 marks
(a) Define analog quantities. What are the uses of it?
(b) Minimize the following Boolean expression using Boolean rule:
Answer
(a) Analog quantities are physical quantities that vary continuously over a range and can take any value in it, for example temperature, pressure, speed, light intensity and sound.
Uses: they represent real-world signals, and are measured by sensors and converted by an ADC for digital processing. They are used in audio and radio systems, measuring instruments, and control systems, and can be reproduced by a DAC.
(b) Let
Inside the bar: , and is absorbed by . Then
using . Taking the complement:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 5 marks
Given ; construct truth table for this expression and design a circuit
Answer
Simplify first: , so the first factor is , and the second factor (XNOR).
Truth table:
| X | Y | Z | F | ||
|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 |
, which simplifies (rows 6 and 7 combine to ) to
Circuit: one 2-input AND gate for ; inverters for and one 3-input AND gate for ; the two outputs go to a 2-input OR gate which gives .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2015 AD · 5 marks
Draw state diagram and state table for sequence recognizer machine which recognize bit sequence 11010
Answer
Use a Mealy machine with overlapping detection. The output when the last five input bits are 11010.
States:
- : no useful bits yet (start)
- : last bit 1
- : last bits 11
- : last bits 110
- : last bits 1101
State table (next state / output ):
| Present state | ||
|---|---|---|
State diagram (arrows labelled input/output):
S0 --1/0--> S1 --1/0--> S2 --0/0--> S3 --1/0--> S4 --0/1--> S0
S0 --0/0--> S0 S1 --0/0--> S0 S2 --1/0--> S2
S3 --0/0--> S0 S4 --1/0--> S2
Five states need 3 flip-flops (for example ), and the flip-flop inputs and output are derived from this table in the usual way. The machine outputs 1 only when the sequence 1-1-0-1-0 has just been completed.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
Mention the disadvantages of parity method of error detection.
Answer
- It detects only an odd number of bit errors; an even number of errors (for example two bits) goes undetected.
- It can only detect an error; it cannot tell which bit is wrong, so it cannot correct it.
- It adds an extra bit to every word (overhead).
- It is unreliable for burst errors.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
Minimize to minimum number of literals using Boolean rule.
Answer
using . The result is , which has 3 literals (the original had 5).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
It is possible to design a combinational circuit that adds two 3-bit numbers using only half adder? Support your answer.
Answer
Yes, it is possible. The least significant bit needs one half adder. For the other two bits, a full adder can be made from two half adders and an OR gate, and the OR is not needed in the carry: its two inputs (carries from the two half adders) can never both be 1, so , which is the sum output of a third half adder. Thus a 3-bit adder can be built from 7 half adders alone.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
What is the advantage of flip flop over latch?
Answer
A flip-flop is edge triggered: its output changes only at a clock edge, so it samples its inputs at one instant. A latch is level sensitive and transparent while enabled, so input glitches and race-through can pass to the output. Flip-flops therefore give more reliable synchronous operation and are better for counters and registers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
Why BCD counters is define as truncated counter?
Answer
A 4-bit counter would naturally count states (0 to 15). A BCD (decade) counter skips the states 1010 to 1111 and returns to 0000 after 1001, i.e. its natural sequence is cut short at 10 states. Hence it is called a truncated counter (modulus 10 instead of 16).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
What is the strength of Johnson counter over Ring counter?
Answer
For the same number of flip-flops, a Johnson counter has distinct states, whereas a ring counter has only . It therefore needs half the flip-flops for a given modulus, and each state can be decoded with a simple 2-input gate.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
What are the symbols used in state diagram?
Answer
- Circle: represents a state, with the state name or code written inside.
- Directed arrow (arc): represents a transition from one state to another.
- Label on the arrow: the input that causes the transition (input/output in a Mealy machine).
- Output inside the circle: state/output notation for a Moore machine.
- Self-loop: an arrow from a state back to itself, when the state does not change.
- Double circle or an incoming arrow: marks the final or initial state, respectively.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
What is the importance of refreshing circuit in DRAM?
Answer
A DRAM cell stores data as charge on a capacitor, and this charge leaks away within a few milliseconds. The refresh circuit periodically reads each row and writes the data back, restoring the charge. Without it the stored data would be lost.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
Differentiate between CPLD and SPLD.
Answer
| SPLD (simple PLD) | CPLD (complex PLD) |
|---|---|
| A single PLA/PAL/GAL block with a small number of logic gates. | Many SPLD-like logic blocks joined by a programmable interconnect matrix. |
| Supports a small number of inputs, outputs and macrocells (about 10 to 20 pins). | Supports many more inputs, outputs and macrocells (hundreds). |
| Implements only simple functions and small circuits. | Implements large, complex designs. |
| Cheaper, lower power. | Costlier and uses more power. |
| Examples: PAL, GAL. | Examples: Xilinx CoolRunner, Altera MAX. |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 1 mark
Which logic family of IC will be suitable for circuit requiring wide range of dc supply voltage and why?
Answer
CMOS is the suitable logic family. A CMOS gate uses complementary MOSFETs, so it works over a wide supply range (for example 3 V to 15 V for the 4000 series) and gives a noise margin of about 45% of the supply. TTL needs a tightly regulated 5 V supply (4.75 V to 5.25 V).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 4 marks
(a) If and ; then design PLA that produce F1 and F2.
(b) If and , then calculate A-B using signed 2's Complement data.
Answer
(a) Simplify first:
A PLA needs two product terms, and .
| Product term | A | B | F1 | F2 |
|---|---|---|---|---|
| - | 1 | 1 | 0 | |
| 0 | - | 0 | 1 |
- AND plane: the inputs run as vertical lines. Fuses are kept at for and at for .
- OR plane: connects to the output line and connects to the output line.
(b) , , so . This needs 6 bits (range to ).
- , so (2's complement).
- , so .
Adding :
Discard the carry out. The result is . This is negative because the sign bit is 1. Its magnitude is the 2's complement , so , which is correct.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 4 marks
Design and explain the flip flop which complements its present state when the clock is triggered with both input HIGH.
Answer
The flip-flop that toggles (complements) its state when both inputs are HIGH is the JK flip-flop. For , on each clock edge.
Design. A clocked SR flip-flop is built from four NAND gates, and the outputs are fed back to the input gates:
- gate: NAND of , and CLK.
- gate: NAND of , and CLK.
- The outputs of these two gates drive the cross-coupled NAND latch that gives and .
The feedback removes the invalid state of the SR flip-flop.
Characteristic table
| J | K | Q(t+1) | Operation |
|---|---|---|---|
| 0 | 0 | Q(t) | No change |
| 0 | 1 | 0 | Reset |
| 1 | 0 | 1 | Set |
| 1 | 1 | Q'(t) | Toggle |
Characteristic equation:
Explanation. When and the clock is active, the gate connected to the currently HIGH output of or opens. This resets the flip-flop if and sets it if , so the state flips. In a level-triggered JK this would flip repeatedly while the clock is high (race-around). So an edge-triggered or master-slave JK is used to get exactly one toggle per clock.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 4 marks
Design 12x1 multiplexer using minimum number of NAND gates.
Answer
A 12x1 multiplexer has 12 data inputs , so it needs select lines , and the output is
where is the product of the select lines (true or complemented) for the binary value of . The codes 12 to 15 are unused.
NAND-NAND implementation
- Four NAND gates connected as inverters give .
- Twelve 5-input NAND gates form the first level. Gate takes and the four select literals of . For example, gate 0 takes , gate 5 takes , and gate 11 takes .
- One 12-input NAND gate takes the outputs of all twelve first-level gates and gives .
By De Morgan's theorem, the NAND of the NANDed products is the OR of the products, so is the required sum of products.
Gate count: 12 five-input NANDs, one 12-input NAND and 4 NAND inverters. A 12-input NAND can be made from smaller NANDs if only a limited fan-in is available.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 4 marks
Design a 3 bit synchronous counter using T flip flop that counts only even sequences.
Answer
The counter must follow the sequence , that is . The bits are (MSB), , .
Excitation table of the T flip-flop: .
| Present | Next | |||
|---|---|---|---|---|
| 000 | 010 | 0 | 1 | 0 |
| 010 | 100 | 1 | 1 | 0 |
| 100 | 110 | 0 | 1 | 0 |
| 110 | 000 | 1 | 1 | 0 |
The odd states (001, 011, 101, 111) are unused. Treat them as don't cares and choose so that any odd state clears after one clock and falls into the even cycle.
From the table:
Circuit. Three T flip-flops share a common clock.
- is tied to logic 1, so FF1 toggles on every clock.
- is connected to , so FF2 toggles only when .
- is connected to . In the even states is 0, so FF0 stays at 0.
Check: ( toggles); ( and toggle); ; . This confirms the counter counts only the even numbers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 4 marks
You have five bit data: 11001 which is to be loaded in a register simultaneously, and you are asked to shift those bits one bit at a time. Which shift register will you use? Explain with necessary diagrams.
Answer
Use a Parallel-In Serial-Out (PISO) shift register with 5 flip-flops. All 5 bits are loaded at the same time, then shifted out one bit per clock pulse.
Diagram. Five D flip-flops share one clock. In front of each D input is a 2-to-1 multiplexer (or AND-OR gating) controlled by a SHIFT/ line:
- LOAD (= 0): the multiplexer passes the parallel input to .
- SHIFT (= 1): the multiplexer passes the output of the previous flip-flop, so , and the serial input of the leftmost flip-flop is 0.
- The serial output is taken from (the rightmost flip-flop).
Operation with data 11001 (, shifting right):
| Clock | Mode | Serial out | |
|---|---|---|---|
| 1 | Load | 11001 | 1 |
| 2 | Shift | 01100 | 0 |
| 3 | Shift | 00110 | 0 |
| 4 | Shift | 00011 | 1 |
| 5 | Shift | 00001 | 1 |
The serial output appears LSB first as 1, 0, 0, 1, 1, so 5 shift pulses are needed to read all bits.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2016 AD · 5 marks
If and , then design circuit using minimum number of NOR gates and basic gates.
Answer
The function is given in maxterm form, with as the MSB ().
- at 0, 1, 4, 5, 11, 14, 15.
- Don't cares at 2, 3, 7, 8, 9, 13.
- at the remaining cells: 6, 10, 12.
K-map (product of sums). Group the 0s together with the don't cares.
| Group | Cells | Sum term |
|---|---|---|
| Quad of 0s: 0, 1, 4, 5 () | 0, 1, 4, 5 | |
| Quad: 3, 7, 11, 15 using the X cells () | 11, 15 | |
| Pair: 14, 15 () | 14 |
Check: at minterms 6, 10 and 12 every factor is 1, so . At 0, 1, 4, 5, 11, 14 and 15 at least one factor is 0, so .
NOR implementation. Using :
- 3 first-level NOR gates (two 2-input and one 3-input).
- 1 three-input NOR gate at the output.
- 4 inverters (NOT gates) for .
Total: 4 NOR gates and 4 basic NOT gates.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Express FOM in ASCII code.
Answer
The ASCII codes are F = 70 (46 hex), O = 79 (4F hex), M = 77 (4D hex).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
What is the maximum number of half adder that we can use in n bit parallel adder and why?
Answer
The maximum is half adders. An -bit parallel adder needs full adders, and each full adder is made from 2 half adders and an OR gate. (If the LSB stage has no carry-in, it can use a single half adder, so the true count in that case is .)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Identify and state the similarity between latch and flip-flop.
Answer
Latches and flip-flops are both bistable devices. Each has two stable states (Q = 0 or Q = 1) with complementary outputs and , each stores one bit of information, and both are sequential circuits built from cross-coupled gates with feedback. They have the same set, reset and hold behaviour.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
What is the use of cascaded counters?
Answer
Cascaded counters are used to get a larger modulus than a single counter provides. Connecting counters of moduli and in cascade gives an overall modulus . They are also used for frequency division (for example, a 60 Hz or 1 Hz clock for digital clocks) and for building multi-digit decade counters.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Which shift register counter constructed using "n" flip-flop can "2n" states and why?
Answer
The Johnson (twisted-ring) counter. The complement of the last flip-flop output () is fed back to the first input. The register first fills with 1s and then with 0s, one bit per clock, so it passes through distinct states, twice as many as a ring counter with flip-flops.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
If the size of address register is 4-bit then what will be the maximum number of words that can be stored in memory?
Answer
With a 4-bit address register the memory can hold words.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Differentiate between fine grained and coarse-grained FPGA.
Answer
| Fine-grained FPGA | Coarse-grained FPGA |
|---|---|
| Logic blocks are small (simple gates or small 4-input look-up tables) and work on single bits | Logic blocks are large (ALUs, multipliers, memory blocks, even processor cores) and work on words |
| Very flexible; can implement any logic | Less flexible; efficient only for the functions the blocks support |
| Needs many routing resources, so more delay and area | Needs less routing, so faster and smaller for arithmetic-heavy designs |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Define noise immunity.
Answer
Noise immunity is the ability of a logic circuit to tolerate unwanted noise voltage at its input without a change in the output logic level. It is measured by the noise margins: and .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 1 mark
Differentiate between Truth table and Characteristics table.
Answer
| Truth table | Characteristic table |
|---|---|
| Lists the output for every combination of inputs of a combinational circuit | Lists the next state of a flip-flop for every combination of inputs and present state |
| Output depends only on present inputs | Next state depends on the inputs and the present state |
| Used for gates, adders, multiplexers and so on | Used for flip-flops (SR, JK, D, T) |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 4 marks
(a) State and prove distributive law using truth table method.
(b) If , then perform A-B using signed 2's Complement method.
Answer
(a) Distributive laws:
Proof of the first law by truth table:
| A | B | C | B+C | A(B+C) | AB | AC | AB+AC |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
The columns and are identical in all 8 rows, so the law is proved.
(b) The value of is not given in the question, so take for the working. Use 5 bits including a sign bit.
- , so (2's complement)
Discard the end carry. The result is , which equals .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 4 marks
Design and explain the operational characteristics of flip-flop that is single input version of JK flip flop.
Answer
The single-input version of the JK flip-flop is the T (toggle) flip-flop. It is obtained by connecting J and K together, so .
Design. Join the J and K inputs of a JK flip-flop to one line T. (A D flip-flop is the other single-input version, made with an inverter between J and K.)
Characteristic table
| T | Q(t) | Q(t+1) | Operation |
|---|---|---|---|
| 0 | 0 | 0 | No change |
| 0 | 1 | 1 | No change |
| 1 | 0 | 1 | Toggle |
| 1 | 1 | 0 | Toggle |
Characteristic equation:
Operation.
- : J = K = 0, so the output holds its state.
- : J = K = 1, so the output toggles on each clock pulse.
With permanently, the output frequency is half the clock frequency, which makes the T flip-flop the basic element of counters and frequency dividers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 4 marks
Design circuit that can display 2, 5, 7 and E in seven segments.
Answer
Use a 2-bit input to select the digit and a common-cathode seven-segment display (1 = segment on).
| A B | Digit | a | b | c | d | e | f | g |
|---|---|---|---|---|---|---|---|---|
| 0 0 | 2 | 1 | 1 | 0 | 1 | 1 | 0 | 1 |
| 0 1 | 5 | 1 | 0 | 1 | 1 | 0 | 1 | 1 |
| 1 0 | 7 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
| 1 1 | E | 1 | 0 | 0 | 1 | 1 | 1 | 1 |
Equations from the table
Circuit. Segment is tied to logic 1, uses a NOT gate on B, is connected directly to B, is an XOR gate, is an XNOR gate, and is one NAND gate taking and (that is, ). Each output drives its segment through a current-limiting resistor.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 4 marks
Design 3-bit asynchronous UP/DOWN counter.
Answer
Use three negative-edge-triggered JK (or T) flip-flops with , so each toggles on the falling edge of its clock input. A mode control selects the direction: for UP and for DOWN.
Clocking of the stages
- FF0 is clocked by the external clock.
In the UP mode () each flip-flop is clocked from the output of the previous stage. In the DOWN mode () it is clocked from the output. Each clock input is made with two AND gates and an OR gate (a 2-to-1 multiplexer).
Count sequence ()
| Pulse | UP () | DOWN () |
|---|---|---|
| 0 | 000 | 000 |
| 1 | 001 | 111 |
| 2 | 010 | 110 |
| 3 | 011 | 101 |
| 4 | 100 | 100 |
| 5 | 101 | 011 |
| 6 | 110 | 010 |
| 7 | 111 | 001 |
| 8 | 000 | 000 |
This is a mod-8 counter in both directions. Because the clock ripples from stage to stage, the propagation delay adds up, and the counter is slower than a synchronous one.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 4 marks
Design and explain a shift register where 4 bit data be simultaneously loaded in a single clock pulse and data can be shifted one bit at time from it.
Answer
A Parallel-In Serial-Out (PISO) shift register loads all 4 bits in a single clock pulse and then shifts them out one bit at a time.
Design. Four D flip-flops share a common clock. Each D input has a 2-to-1 multiplexer controlled by SHIFT/:
- LOAD = 0: (parallel data loaded on the next clock edge).
- SHIFT = 1: , with taking the serial input (0).
The serial output is taken from .
Operation for data :
| Clock | Mode | Serial out () | |
|---|---|---|---|
| 1 | Load | 1011 | 1 |
| 2 | Shift | 0101 | 1 |
| 3 | Shift | 0010 | 0 |
| 4 | Shift | 0001 | 1 |
All 4 bits are loaded in one clock pulse, and then 3 further pulses shift the rest out (4 bits in total are read serially). This conversion from parallel to serial is used in serial data transmission.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 5 marks
If then minimize it using K-map and design a circuit using minimum numbers of NAND gates.
Answer
Cells where (each factor equals 0):
- : , so cells 8, 9, 10, 11.
- : , so cells 0, 2, 4, 6.
- : , so cells 4, 5.
- : cell 15.
So at 0, 2, 4, 5, 6, 8, 9, 10, 11, 15, and at the minterms .
K-map (AB rows, CD columns)
| AB \ CD | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 0 | 1 | 1 | 0 |
| 01 | 0 | 0 | 1 | 0 |
| 11 | 1 | 1 | 0 | 1 |
| 10 | 0 | 0 | 0 | 0 |
Groups of 1s (pairs):
- 1, 3:
- 3, 7:
- 12, 13:
- 12, 14:
All four groups are essential, because cells 1, 7, 13 and 14 are each covered by only one group.
NAND implementation (NAND-NAND form).
- 4 NAND gates used as inverters for .
- Four 3-input NAND gates, one for each product term.
- One 4-input NAND gate for the output.
Total: 9 NAND gates.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2017 AD · 5 marks
Design circuit of sequence recognizer that detects the bit sequence 11111
Answer
Design a Mealy detector for the sequence with overlapping allowed (input , output ).
States: = no 1s yet, = one 1, = two 1s, = three 1s, = four or more consecutive 1s.
| Present | ||
|---|---|---|
State assignment (): , , , , . The states 101, 110 and 111 are don't cares. Use D flip-flops ().
Next-state equations (from K-maps with the don't cares):
Check. The input 1,1,1,1,1 moves the machine , and the fifth 1 (in ) gives . Any 0 returns the circuit to .
Circuit. Three D flip-flops on a common clock, the gates above for , and an AND gate () for the output.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
What do you mean by truncated counter?
Answer
A truncated counter is a counter whose modulus is less than for flip-flops. It skips some of the natural binary states by resetting (or presetting) after a chosen count. For example, a decade (mod-10) counter uses 4 flip-flops but counts only 0 to 9 and then returns to 0.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
Differentiate between latch and flip-flop
Answer
| Latch | Flip-flop |
|---|---|
| Level-sensitive: the output follows the input while the enable is active | Edge-triggered: the output changes only at the rising or falling edge of the clock |
| Has an enable input (or none) | Has a clock input |
| Simple, faster, uses fewer gates | More complex; built from two latches (master-slave) |
| Can be unstable (race condition) while enabled | More reliable and used in synchronous design |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
What are the purposes of adder and subtractors?
Answer
Adders and subtractors perform binary addition and subtraction. They are the arithmetic building blocks of the ALU, and are used in computing addresses, in incrementers and decrementers, and in multiplication and division circuits. A subtractor, or an adder with 2's complement, allows subtraction with the same hardware.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
Differentiate between PLA and ROM.
Answer
| PLA | ROM |
|---|---|
| Both the AND plane and the OR plane are programmable | The AND plane is fixed (a full decoder giving all minterms) and only the OR plane is programmable |
| Implements only the needed product terms of simplified functions | Implements every minterm, even those not needed |
| Efficient for functions with few product terms or many don't cares | Wasteful for such functions, but suitable for look-up tables and storing data |
| Used for logic implementation | Used for storing programs and data |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
Which flip-flop can complement the state if input gives high and clock is enabling?
Answer
The T (toggle) flip-flop. When and the clock is enabled, the state is complemented: . (A JK flip-flop does the same with .)
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
Why do we need don't cares in K-map?
Answer
Don't-care conditions are input combinations that never occur or whose output is unimportant. In a K-map each X can be taken as 1 or 0, whichever gives larger groups. This gives fewer literals and terms, so the expression is simpler and the circuit cheaper.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
If T-flip flop have input 0&1 when the present state are respectively 0&1 what will be the output in both cases?
Answer
For a T flip-flop .
- , present state 0: (no change).
- , present state 1: (toggles).
The output is 0 in both cases.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
"Flip-flop is 1 bit memory". Justify
Answer
A flip-flop has two stable states, 0 and 1, and it stays in the state it was set to as long as power is on and no clock-triggered input changes it. Its output therefore stores one binary digit, so it is a 1-bit memory cell. flip-flops can store bits, as in registers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 1 mark
List the advantage of PLDS over Fixed function devices.
Answer
Advantages of PLDs over fixed-function devices:
- One device replaces many SSI/MSI ICs, so the chip count, board area and power consumption are lower.
- The user programs the logic, so the design is flexible and can be changed or corrected easily (reprogrammable types).
- Design time and time to market are shorter, since prototyping is quick.
- Lower overall cost and higher reliability, with fewer interconnections.
- Better design security, as a programmed device is hard to copy.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 4 marks
(a) Convert the decimal number 2.5 to equivalence binary number.
(b) Differentiate between min-term and max-term.
Answer
(a) Integer part: .
Fraction part: , so the digit is 1 and the fraction ends.
(b)
| Min-term | Max-term |
|---|---|
| A product (AND) term in which every variable appears once, complemented or not | A sum (OR) term in which every variable appears once, complemented or not |
| Equals 1 for exactly one input combination | Equals 0 for exactly one input combination |
| Denoted ; used in the sum-of-products form | Denoted ; used in the product-of-sums form |
| For 2 variables: | For 2 variables: |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 4 marks
You need to store binary information 0101 by shifting right and extract those bits by shifting left, which shift register will you suggest? Design your suggested shift register with Operational table and timing diagram.
Answer
A bidirectional (shift-left/shift-right) serial-in serial-out shift register is needed. Use four D flip-flops with a 2-to-1 multiplexer at each D input controlled by a RIGHT/LEFT line:
- RIGHT = 1: serial input, , , .
- LEFT = 0: serial input, , , . The serial output is taken from .
Operation table. To store 0101, feed the bits LSB first (1, 0, 1, 0) while shifting right. Then shift left with 0 as serial input and read the bits from .
| Clock | Mode | Serial in | out | |
|---|---|---|---|---|
| 0 | - | - | 0000 | - |
| 1 | Right | 1 | 1000 | - |
| 2 | Right | 0 | 0100 | - |
| 3 | Right | 1 | 1010 | - |
| 4 | Right | 0 | 0101 | - |
| 5 | Left | 0 | 1010 | 0 |
| 6 | Left | 0 | 0100 | 1 |
| 7 | Left | 0 | 1000 | 0 |
| 8 | Left | 0 | 0000 | 1 |
Timing diagram (values after each clock pulse 1 to 8; pulses 1 to 4 shift right, pulses 5 to 8 shift left)
Pulse 1 2 3 4 | 5 6 7 8
R/L 1 1 1 1 | 0 0 0 0
SIN 1 0 1 0 | 0 0 0 0
Q0 1 0 1 0 | 1 0 1 0
Q1 0 1 0 1 | 0 1 0 0
Q2 0 0 1 0 | 1 0 0 0
Q3 0 0 0 1 | 0 0 0 0
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 4 marks
Design a combinational circuit that take 3 bit input and output is generate 1's complement of its input using NOR gate only.
Answer
The 1's complement of a 3-bit input is .
| 000 | 111 |
| 001 | 110 |
| 010 | 101 |
| 011 | 100 |
| 100 | 011 |
| 101 | 010 |
| 110 | 001 |
| 111 | 000 |
Each output is the inverse of the input bit:
A NOR gate with its inputs tied together works as an inverter, since . So the circuit uses three 2-input NOR gates, one per bit, each with both inputs connected to and the output giving .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 4 marks
Design decade asynchronous counter with operational table and timing diagram.
Answer
A decade (mod-10) asynchronous counter counts 0 to 9 and then resets to 0. It is a truncated 4-bit ripple counter.
Design. Use four negative-edge-triggered JK flip-flops with (toggle). The external clock drives FF0, and , , . The count 10 is , so a 2-input NAND gate with inputs and drives the active-low asynchronous CLEAR of all flip-flops. At count 10 the NAND output goes low and immediately clears the counter to 0000.
Operational table
| Clock pulse | Decimal | ||||
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 1 |
| 2 | 0 | 0 | 1 | 0 | 2 |
| 3 | 0 | 0 | 1 | 1 | 3 |
| 4 | 0 | 1 | 0 | 0 | 4 |
| 5 | 0 | 1 | 0 | 1 | 5 |
| 6 | 0 | 1 | 1 | 0 | 6 |
| 7 | 0 | 1 | 1 | 1 | 7 |
| 8 | 1 | 0 | 0 | 0 | 8 |
| 9 | 1 | 0 | 0 | 1 | 9 |
| 10 | 1 | 0 | 1 | 0 | clears to 0000 |
Timing diagram (the state is shown after each clock pulse 1 to 10):
Clock : 1 2 3 4 5 6 7 8 9 10
Q0 : 1 0 1 0 1 0 1 0 1 0
Q1 : 0 1 1 0 0 1 1 0 0 0
Q2 : 0 0 0 1 1 1 1 0 0 0
Q3 : 0 0 0 0 0 0 0 1 1 0
State 1010 lasts only a few nanoseconds before the clear acts, and divided by 10 gives one output pulse for every 10 input pulses.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 4 marks
Design and explain the operational characteristics of flip-flop which solved the problem of clocked JK flip-flop.
Answer
The master-slave JK flip-flop solves the problem (race-around) of the clocked JK flip-flop.
Problem. In a level-triggered JK flip-flop with , the output toggles repeatedly during the time the clock is high if that time is longer than the propagation delay. The output at the end of the pulse is then uncertain.
Design. Two clocked SR/JK latches are connected in series:
- The master takes the external J and K inputs and is enabled when CLK = 1.
- The slave takes the master's outputs and is enabled through an inverter when CLK = 0.
- The slave outputs and are fed back to the master's input gates (Q to the K gate and Q' to the J gate).
Operation
- CLK = 1: the master is enabled and follows J and K, and the slave is disabled, so the output does not change.
- CLK goes to 0: the master is disabled (it holds its value), the slave is enabled and copies the master's state to .
The output therefore changes only once per clock cycle, on the falling edge, so there is no race-around even for .
Characteristic table
| J | K | Q(t+1) |
|---|---|---|
| 0 | 0 | Q(t) |
| 0 | 1 | 0 |
| 1 | 0 | 1 |
| 1 | 1 | Q'(t) |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 5 marks
Simplify the Boolean expression and don't care conditions in POS and realized it with minimum no of NAND gate.
Answer
Given: with .
For POS we group the 0s of the K-map. The 0s are the minterms not in the list: . The don't cares and may be used in groups if that helps.
| AB \ CD | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | X | 1 | 0 | 1 |
| 01 | 1 | 0 | 1 | 1 |
| 11 | 1 | 1 | X | 0 |
| 10 | 0 | 0 | 1 | 0 |
Groups of 0s:
- gives , so the sum term is .
- gives , so the sum term is .
- is isolated, giving .
- is isolated, giving .
NAND realization. Each sum term equals a NAND of the complemented literals:
So four first-level NAND gates (3-, 3-, 4- and 4-input) produce the sum terms. Their AND is formed by a 4-input NAND followed by a NAND used as an inverter. The input complements come from NAND gates with tied inputs.
Total: 4 + 1 + 1 = 6 NAND gates, plus 4 NAND inverters for the input complements.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2018 AD · 5 marks
Design a sequence detector whose output is 1 when a pattern found 0101 using D flip-flop.
Answer
Sequence 0101 (overlapping), Mealy machine, D flip-flops.
States: = nothing yet, = "0", = "01", = "010".
| Present state | Next state, X=0 | Next state, X=1 | Output Y, X=0 | Output Y, X=1 |
|---|---|---|---|---|
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 1 |
(From on input 1 the pattern 0101 is found; the last "01" is reused, so the next state is .)
Assignment: for .
| AB | X | Y | |
|---|---|---|---|
| 00 | 0 | 01 | 0 |
| 00 | 1 | 00 | 0 |
| 01 | 0 | 01 | 0 |
| 01 | 1 | 10 | 0 |
| 10 | 0 | 11 | 0 |
| 10 | 1 | 00 | 0 |
| 11 | 0 | 01 | 0 |
| 11 | 1 | 10 | 1 |
For D flip-flops .
- for , so .
- whenever , so .
- only for , so .
Circuit: two D flip-flops with common clock, inputs and , and an AND gate .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
Why alphabets are used for representing number above 9 in hexadecimal number system?
Answer
Hexadecimal has 16 digits, but the decimal system provides only the single symbols 0 to 9. The values 10 to 15 therefore need extra single-character symbols, and the letters A to F are used (A=10, B=11, C=12, D=13, E=14, F=15). Writing them as "10", "11" and so on would be ambiguous, since "10" would look like the two digits 1 and 0.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
Why NAND gate is said to be universal gate?
Answer
A NAND gate is universal because NOT, AND and OR gates can all be built from NAND gates alone: NOT is a NAND with its inputs tied together, AND is a NAND followed by a NOT, and OR is a NAND of the complemented inputs. Since every Boolean function can be built from AND, OR and NOT, any logic circuit can be made using only NAND gates.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
How many don't cares are there in 10x4 encoder?
Answer
A 10x4 encoder (decimal to BCD) has 10 inputs, so there are input combinations. Only 10 are valid, those with exactly one input high. The other combinations never occur, so there are 1014 don't care conditions.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
Define noise immunity of IC.
Answer
Noise immunity of an IC is its ability to tolerate unwanted noise voltage on its inputs without the output changing its logic level incorrectly. It is measured by the noise margin: for the high state and for the low state. The larger the margin, the better the noise immunity.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
What is the use of cascaded Counter?
Answer
Cascading counters means connecting the output of one counter to the clock of the next. It is used to obtain a larger modulus than a single counter gives (the overall modulus is the product of the individual moduli, for example MOD-10 followed by MOD-6 gives MOD-60), and for frequency division and counting large numbers such as in clocks and timers.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
How combinational circuit is recognized?
Answer
A combinational circuit is recognized by the fact that its output depends only on the present values of its inputs. It has no memory elements (no flip-flops or latches), no clock and no feedback path from output to input. Examples are adders, multiplexers, decoders and encoders.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
If the word size of a memory is 32-bit and size of memory is 2GB then what will be the size of address decoder?
Answer
Memory size is bytes, and the word size is 32 bits = 4 bytes = bytes.
So 29 address lines are needed, and the address decoder is a 29-to- decoder (29 inputs and 536,870,912 output lines).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
Draw PLA circuit for expression .
Answer
needs two product terms, so the PLA has an AND plane with 2 product lines and an OR plane with 1 output. Each input is available in true and complemented form.
A A' B B' C C' D D'
| | | | | | | |
P1=AB ---x-----x----------------------+
| OR plane
P2=CD ---------------x-----x----------+---x--- F = AB + CD
AND plane (x = programmed connection)
AND plane: P1 is connected to A and B, and P2 is connected to C and D. OR plane: both P1 and P2 are connected to the output F, so .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 1 mark
Define coarse grained FPGA.
Answer
A coarse grained FPGA is one whose programmable building blocks are large, complex units such as ALUs, multipliers, memory blocks or small processor cores, instead of small logic cells like single look-up tables and flip-flops (fine grained). It suits arithmetic-heavy designs and needs fewer routing resources and less configuration data.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 4 marks
Explain Setup time, Hold time, Propagation delay, Power dissipation and Maximum clock frequency of flip flop.
Answer
- Setup time (): the minimum time the data input must be stable before the active clock edge so that it is reliably captured.
- Hold time (): the minimum time the data input must remain stable after the active clock edge.
- Propagation delay (): the time between the active clock edge and the moment the output reaches its new stable level (for example and ).
- Power dissipation: the power the flip-flop consumes, (average), usually given in mW. It limits how many devices fit in a system and how much heat is produced.
- Maximum clock frequency (): the highest clock rate at which the flip-flop triggers reliably. It is limited by the propagation delay and the minimum clock pulse widths, roughly .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 4 marks
You are provided with data bits 101101 to operate in a register which supports I/O (single bit per clock pulse) from either side of it. Also draw timing diagram to illustrate store /retrieve operation.
Answer
The register is a 6-bit bidirectional serial-in serial-out shift register. Each D flip-flop has a 2:1 multiplexer on its input, controlled by : . shifts right, shifts left. Data enters one bit per clock pulse and leaves from the opposite end.
Store (shift right, serial input at the left, bits fed 1,0,1,1,0,1), state :
| Clock | Input | |
|---|---|---|
| 0 | - | 000000 |
| 1 | 1 | 100000 |
| 2 | 0 | 010000 |
| 3 | 1 | 101000 |
| 4 | 1 | 110100 |
| 5 | 0 | 011010 |
| 6 | 1 | 101101 |
Retrieve: further clock pulses move the bits out through in the order stored: 1, 0, 1, 1, 0, 1 (first bit available after pulse 6, then at pulses 7 to 11).
Left shift (input at , output from ) gives 000001, 000011, 000110, 001101, 011011, 101101 after pulses 1 to 6, and then 101101 leaves from .
Timing diagram: the clock has 6 pulses. is high at pulses 1, 3, 4, 6 style transitions given by the table above, with every output changing only on the rising clock edge, one position per pulse. The serial data line is 1,0,1,1,0,1 and the bit sequence moves through , one stage per clock.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 4 marks
Draw state diagram and construct state table for sequence recognizer machine which recognizes bit pattern 11001.
Answer
Sequence 11001 (overlapping), Mealy machine.
States: = start, = "1", = "11", = "110", = "1100".
State diagram (edges written input/output):
S0 --1/0--> S1 --1/0--> S2 --0/0--> S3 --0/0--> S4 --1/1--> S1
S0 --0/0--> S0 S2 --1/0--> S2
S1 --0/0--> S0 S3 --1/0--> S1
S4 --0/0--> S0
State table
| Present state | Next X=0 | Next X=1 | Output X=0 | Output X=1 |
|---|---|---|---|---|
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 0 | |||
| 0 | 1 |
After detection the final "1" is reused as the start of a new pattern, so the machine goes to .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 4 marks
Design 10x1 Multiplexer using only NOR gates.
Answer
A 10x1 multiplexer has 10 data inputs , four select lines () and one output.
NOR-only implementation. By De Morgan, . So each product term is one NOR gate:
where if bit of is 0, and if bit of is 1. For example (0101) , and .
Then
The inner 10-input NOR gives the complement of the OR, and a second NOR used as an inverter restores .
Gate count: 4 inverters for , 10 inverters for (NOR gates with tied inputs), 10 five-input NOR gates for , one 10-input NOR, and one NOR inverter. The select values 10 to 15 are unused.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 4 marks
a. Convert to binary, octal and hexadecimal number system.
b. Add: using signed 2's complement data.
Answer
(a)
Integer part. , so
(check: ).
Fractional part. . Since , shifting 10 places gives
Binary:
Octal (groups of 3 bits): integer , fraction .
Hexadecimal (groups of 4 bits): integer , fraction .
(b) in signed 2's complement (9 bits are needed because lies outside the 8-bit range).
- , so : invert , add 1, giving .
- , so : invert , add 1, giving .
Discard the carry out: . The sign bit is 1, so the result is negative. Its magnitude is the 2's complement . The result is , as expected.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 5 marks
Convert given SOP expression: to POS expression and draw circuit of minimized expression using minimum number of NAND gates.
Answer
Simplify. is absorbed by . . also absorbs the repeated .
Minterms: , and .
K-map of the 0s:
| AB \ CD | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 0 | 0 | 1 | 0 |
| 01 | 0 | 1 | 1 | 0 |
| 11 | 0 | 1 | 1 | 1 |
| 10 | 0 | 1 | 1 | 0 |
Groups: ; ; ; .
Complementing gives the POS:
Check: , and , which matches.
NAND circuit. The cheapest NAND circuit comes from the equivalent two-level form :
- Level 1: NAND gates for (3-input), , , (2-input).
- Level 2: one 4-input NAND combining the four outputs.
Total: 5 NAND gates and no inverters, since all literals are uncomplemented. Building the POS form directly with NAND needs complemented inputs and an extra inverter, so it costs more gates.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2019 AD · 5 marks
Design synchronous counter, which generates odd numbers from 0 to 15.
Answer
The counter must count (8 states). Bit is always 1, so only needs flip-flops that count in binary .
| Present | Next |
|---|---|
| 0001 | 0011 |
| 0011 | 0101 |
| 0101 | 0111 |
| 0111 | 1001 |
| 1001 | 1011 |
| 1011 | 1101 |
| 1101 | 1111 |
| 1111 | 0001 |
Use JK flip-flops with a common clock. From the excitation table:
- : always 1, so it is tied to logic 1 (or after presetting).
- toggles on every clock: .
- toggles when : .
- toggles when : .
Circuit: three JK flip-flops on one clock with , , an AND gate giving , and fixed at 1. The output is the odd number from 1 to 15, repeating.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
(a) If A = (101) and B = (11)10, then calculate B-A using 2's Complement method.
(b) Convert (1983.22)10 to octal.
Answer
(a) and . Find by adding the 2's complement of , using 4 bits.
- , 1's complement , 2's complement
The carry out of the MSB is 1, so the result is positive. Discard the carry: , which equals .
(b) Convert to octal.
Integer part (divide by 8):
| Division | Quotient | Remainder |
|---|---|---|
| 1983 / 8 | 247 | 7 |
| 247 / 8 | 30 | 7 |
| 30 / 8 | 3 | 6 |
| 3 / 8 | 0 | 3 |
Reading upward gives .
Fraction (multiply by 8):
| Step | Result | Digit |
|---|---|---|
| 1.76 | 1 | |
| 6.08 | 6 | |
| 0.64 | 0 | |
| 5.12 | 5 | |
| 0.96 | 0 | |
| 7.68 | 7 |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
If then minimize it using K-MAP and design a circuit using minimum number of NOR gates only.
Answer
Reading the function as .
Expand the first factor. , so
Evaluate on a K-map. Since forces :
- then requires .
- is then 1.
- is 1 because .
So , which is the single minterm (0010).
| AB \ CD | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 00 | 0 | 0 | 0 | 1 |
| 01 | 0 | 0 | 0 | 0 |
| 11 | 0 | 0 | 0 | 0 |
| 10 | 0 | 0 | 0 | 0 |
The single 1 cannot be grouped with others, so the minimal SOP is .
NOR realization. By De Morgan,
Circuit: one NOR gate acting as inverter to produce (inputs tied together), and one 4-input NOR gate with inputs . This needs 2 NOR gates in total.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
Design 1X11 de-multiplexer using NAND gates only.
Answer
A 1x11 demultiplexer has one data input , four select lines () and eleven outputs . The selected output follows , all others are 0.
| Output carrying D | |
|---|---|
| 0000 | |
| 0001 | |
| 0010 | |
| ... | ... |
| 1010 |
For example:
NAND-only implementation.
- Complements are made by NAND gates with tied inputs (4 gates).
- For each output a 5-input NAND takes and the four select literals: (11 gates).
- A NAND with tied inputs inverts to give the active-high output (11 gates).
Total: 4 + 11 + 11 = 26 NAND gates. If active-low outputs are acceptable, step 3 can be dropped.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
Design Bidirectional shift register and operate it with 110111 from both ends.
Answer
Design. A 6-bit bidirectional shift register is used, since the data has 6 bits. It is built from six D flip-flops on a common clock. Each input has a 2:1 multiplexer controlled by the direction input :
- : shift right. serial input (right-shift data), .
- : shift left. serial input (left-shift data), .
Each multiplexer is realized by two AND gates and one OR gate with and .
Operation 1: shift right, bits fed in the order 1,1,0,1,1,1 at the left end ().
| Clock | Input | |
|---|---|---|
| 0 | - | 000000 |
| 1 | 1 | 100000 |
| 2 | 1 | 110000 |
| 3 | 0 | 011000 |
| 4 | 1 | 101100 |
| 5 | 1 | 110110 |
| 6 | 1 | 111011 |
After six pulses the register holds 111011 (the first bit entered has reached ). Further pulses push the bits out of in the order they were entered: 1,1,0,1,1,1.
Operation 2: shift left, bits fed in the order 1,1,0,1,1,1 at the right end ().
| Clock | Input | |
|---|---|---|
| 0 | - | 000000 |
| 1 | 1 | 000001 |
| 2 | 1 | 000011 |
| 3 | 0 | 000110 |
| 4 | 1 | 001101 |
| 5 | 1 | 011011 |
| 6 | 1 | 110111 |
After six pulses the register holds 110111, and further pulses shift the bits out of in the order 1,1,0,1,1,1.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
Illustrate the differences between T and D Flip-Flop along with its characteristic table, excitation table and characteristic equation.
Answer
D flip-flop (data/delay): the output copies the input after the clock edge. T flip-flop (toggle): the output toggles when and holds when . A T flip-flop is made from a JK flip-flop with (or from a D flip-flop with ).
Characteristic tables
| D | |
|---|---|
| 0 | 0 |
| 1 | 1 |
| T | ||
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 0 |
Excitation tables
| D | T | ||
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 |
Characteristic equations
Differences
| Point | D flip-flop | T flip-flop |
|---|---|---|
| Inputs | One data input D | One toggle input T |
| Action | Stores/delays data | Toggles or holds |
| Next state | , independent of present state | , depends on present state |
| Uses | Registers, data storage, synchronization | Counters, frequency dividers |
| Excitation |
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Jan · 10 marks
Write Short Notes on:
a. PLA
b. ULSI
c. Memory organization
d. Digital Codes
Answer
a. PLA (Programmable Logic Array)
A PLA is a programmable logic device with a programmable AND plane followed by a programmable OR plane. Inputs (true and complemented) feed the AND array that forms product terms, and the OR array sums selected product terms to form the outputs. Because both planes are programmable, a product term can be shared by several outputs, which makes PLAs flexible and economical for implementing several SOP functions together. For example and can share the term . A PLA is described by its number of inputs, product terms and outputs. It is slower and more complex than a PAL, in which only the AND plane is programmable.
b. ULSI (Ultra Large Scale Integration)
ULSI is an integration level where a single chip contains more than about 1 million (some definitions say more than 10 million) transistors. Examples are modern microprocessors, large memories and system-on-chip devices. ULSI follows SSI, MSI, LSI and VLSI, and gives higher speed, lower power per function, smaller size and lower cost per function, at the price of design complexity and heat management.
c. Memory organization
Memory is organized as an array of storage cells arranged in words. A memory with words of bits needs address lines, data lines and control lines (read/write, chip select). An address decoder selects one word line from the address, and the selected word is read or written on the data bus. Memory size is bits, for example 1K x 8 uses 10 address lines. Large memories are built by combining chips: widening the word (more chips in parallel) and increasing depth (using decoders on the higher address lines). The memory hierarchy ranges from registers and cache to main memory and secondary storage.
d. Digital codes
Digital codes represent numbers, letters and symbols in binary form. Main types:
- Weighted codes: BCD (8421), 2421.
- Non-weighted codes: Excess-3 (self-complementing), Gray code (only one bit changes between successive values, used in encoders and K-maps).
- Alphanumeric codes: ASCII (7/8 bit) and EBCDIC, Unicode.
- Error detecting/correcting codes: parity bit, Hamming code.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
Simplify the Boolean Function to a minimum number of literals.
Answer
Since :
The minimum form is , which has a single literal.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
Realize the property of NOR gate using NAND gate.
Answer
A NOR gate can be built from four NAND gates:
- (OR)
- Invert it with a NAND whose inputs are tied:
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
How the number of Input and Output are related in an Encoder?
Answer
An encoder has at most input lines and output lines. In general, for inputs the number of outputs is . For example an 8x3 encoder has 8 inputs and 3 outputs, and only one input is active at a time. It converts the active input line into its binary code.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
If the state of a Flip-Flop is "1", what is the normal output and complement output?
Answer
When the flip-flop is in state 1 (set), the normal output is and the complement output is .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
Define Positive edge triggering.
Answer
Positive edge triggering means that the flip-flop responds to its inputs and changes its output only at the instant the clock goes from LOW to HIGH (the rising edge, 0 to 1). At all other times, including while the clock stays high or low, the output does not change.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
How many clock pulses and Flip-Flops are required to input and output "N bit" of data in a Parallel in Parallel out shift register?
Answer
A parallel-in parallel-out register of bits needs flip-flops and one clock pulse: all bits are loaded together on a single pulse and are available together at the outputs.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
Define a state table.
Answer
A state table is a table that lists, for a sequential circuit, the next state and the output for every combination of present state and input. Its columns are present state, input, next state and output. It is the tabular form of the state diagram and is used to derive the flip-flop input equations.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
What is the use of Address decoder?
Answer
An address decoder takes the address lines and activates exactly one output line, which selects a particular memory location or memory chip (or I/O device). It enables the chip select/word line so that only the addressed location is read or written.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
Why PLA is more flexible than PAL?
Answer
In a PLA both the AND plane and the OR plane are programmable, so any product term can be connected to any output and product terms can be shared among outputs. In a PAL only the AND plane is programmable and the OR plane is fixed, so each output gets a fixed number of product terms and sharing is not possible. Hence the PLA is more flexible.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 1 mark
Write down two major characteristics of TTL logic family.
Answer
- Speed: TTL has a short propagation delay (about 10 ns for standard TTL), so it is fast. It also has a totem-pole output giving good drive capability.
- Fan-out and supply: standard TTL has a fan-out of about 10, operates from a +5 V supply, and has a noise margin of about 0.4 V. Power dissipation is relatively high (about 10 mW per gate).
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 4 marks
Explain the operational characteristics of a T Flip-Flop with logic diagram
Answer
The T (toggle) flip-flop has one data input and a clock. It is obtained from a JK flip-flop by joining and together as .
Logic diagram: a JK flip-flop with and outputs and . Equivalently a D flip-flop with (an XOR gate feeds from and the output ).
Operation
| T | Action | ||
|---|---|---|---|
| 0 | 0 | 0 | No change |
| 0 | 1 | 1 | No change |
| 1 | 0 | 1 | Toggle |
| 1 | 1 | 0 | Toggle |
- When the output holds its previous state at the clock edge.
- When the output changes to its complement at each active clock edge.
Characteristic equation: .
With permanently, the output frequency is half of the clock frequency, so the T flip-flop works as a divide-by-2 circuit and is the basic element of counters.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 4 marks
Design a shift register where the binary data "1110" can be loaded simultaneously in a single clock pulse after the Data is loaded the output is generated from left most Flip Flop one bit at a time.
Answer
This is a parallel-in serial-out (PISO) shift register using four D flip-flops , where is the left-most and the serial output. A control input (SHIFT/) selects the mode.
Design. Each flip-flop input has a 2:1 multiplexer:
- : load. The parallel data is loaded into all flip-flops on one clock pulse.
- : shift left. Each bit moves one place towards , a 0 enters at , and the output is taken from .
Operation
| Clock pulse | Mode | Serial output | |
|---|---|---|---|
| 1 | Load () | 1110 | 1 |
| 2 | Shift | 1100 | 1 |
| 3 | Shift | 1000 | 1 |
| 4 | Shift | 0000 | 0 |
Reading before each shift gives the bits 1, 1, 1, 0 (the original data 1110, left-most bit first), one bit per clock pulse after the single-pulse parallel load.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 4 marks
Design a combinational circuit that convert 3-bit binary into its equivalent gray code.
Answer
3-bit binary to Gray code converter
Let the binary input be and the Gray output be . The rule is: the MSB is copied, and each other Gray bit is the XOR of the corresponding binary bit and the next higher binary bit.
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 | 1 |
| 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 | 0 |
| 1 | 0 | 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 0 | 0 |
Simplifying with K-maps gives:
Circuit: is connected directly to . One XOR gate with inputs gives , and a second XOR gate with inputs gives . The whole converter needs only two XOR gates.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 4 marks
Convert
a. into Binary and Octal Form
b. Design a 2-bit odd parity generator.
Answer
(a) Convert to binary and octal.
Replace each hex digit by its 4-bit group: 1 = 0001, A = 1010, 2 = 0010, 2 = 0010, B = 1011.
For octal, regroup in 3 bits: the integer part from the right and the fraction from the left, padding with zeros.
- Integer: 110 100 010 gives 6 4 2
- Fraction: 001 010 110 gives 1 2 6
(b) 2-bit odd parity generator.
The parity bit is chosen so that the total number of 1s in is odd.
| 0 | 0 | 1 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
The circuit is one XOR gate followed by a NOT gate, or equivalently a single XNOR gate with inputs .
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
- 2021 Oct · 5 marks
If a Boolean function with a don't care condition , solve using K-map and Design a circuit only using
a. Minimum number of NAND gates.
b. Minimum number of NOR gates.
Answer
The don't-care term is read as an expression in the variables (the "D" is taken as a misprint of ), i.e. .
Simplify the function. Since implies , we get .
The don't-care expression is 1 for every minterm except 0. The ones not already in are the true don't cares: .
K-map (rows , columns in Gray order 00, 01, 11, 10):
| 00 | 01 | 11 | 10 | |
|---|---|---|---|---|
| 0 | 0 | 1 | 1 | X |
| 1 | X | 1 | 1 | 1 |
Groups: the quad gives . The quad (using the don't care ) gives .
(a) Only NAND gates. By De Morgan: and are made by NAND gates with both inputs tied together. Minimum: 3 NAND gates (two as inverters, one as the output gate).
(b) Only NOR gates. One NOR gate produces and a second NOR gate with its inputs tied together inverts it. Minimum: 2 NOR gates.
Answer checked by Claude Sonnet · Oct 21, 2026
Test yourself · 2 MCQs
Loading…
Questions from TU BIM First Semester Model Questions 2022 (IT 231, C Programming, Basic Mathematics, English I, MGT 231) (Faculty of Management model question set, 2022, via EducateNepal), TU BIM 2016 First Semester IT 211 Computer Information System (model question) (Faculty of Management model question, 2016 (old course), via EducateNepal), TU BIM Computer Information System (ITC 211) 2009 AD (Board exam paper, 2009 AD), TU BIM Computer Information System (ITC 211) 2010 AD (Board exam paper, 2010 AD), TU BIM Computer Information System (ITC 211) 2011 AD (Board exam paper, 2011 AD), TU BIM Computer Information System (ITC 211) 2013 AD (Board exam paper, 2013 AD), TU BIM Computer Information System (ITC 211) 2014 AD (Board exam paper, 2014 (one short-answer question is cut off between the pages of the scan and is omitted)), TU BIM Computer Information System (ITC 211) 2015 AD (Board exam paper, 2015 AD), TU BIM Computer Information System (ITC 211) 2016 AD (Board exam paper, April 2016), TU BIM Computer Information System (ITC 211) 2017 AD (Board exam paper, March-April 2017), TU BIM Computer Information System (ITC 211) 2018 AD (Board exam paper, April 2018), TU BIM Computer Information System (ITC 211) 2019 AD (Board exam paper, April 2019), TU BIM Computer Information System (ITC 211) 2021 Jan (FM 60) (Board exam paper, January 2021, full marks 60, answer any six; this paper is listed as the 2020 batch paper on the source site), TU BIM Computer Information System (ITC 211) 2021 Jan (FM 40) (Board exam paper, January 2021, full marks 40), TU BIM Basic Mathematics (MTH 201) 2009 AD (Board exam paper, 2009 AD), TU BIM Basic Mathematics (MTH 201) 2010 AD (Board exam paper, 2010 AD), TU BIM Basic Mathematics (MTH 201) 2011 AD (Board exam paper, 2011 AD), TU BIM Basic Mathematics (MTH 201) 2013 AD (Board exam paper listed as 2013 on the source site (the scanned header reads 2009)), TU BIM Basic Mathematics (MTH 201) 2014 AD (Board exam paper, 2014 AD), TU BIM Basic Mathematics (MTH 201) 2015 AD (Board exam paper, 2015 AD), TU BIM Basic Mathematics (MTH 201) 2017 AD (Board exam paper, 2017 AD), TU BIM Basic Mathematics (MTH 201) 2018 AD (Board exam paper, April 2018), TU BIM Basic Mathematics (MTH 201) 2019 AD (Board exam paper, April 2019), TU BIM Digital Logic (ITC 212) 2009 AD (Board exam paper, 2009 AD), TU BIM Digital Logic (ITC 212) 2010 AD (Board exam paper, 2010 AD), TU BIM Digital Logic (ITC 212) 2011 AD (Board exam paper, 2011 AD), TU BIM Digital Logic (ITC 212) 2012 AD (Board exam paper, 2012 AD), TU BIM Digital Logic (ITC 212) 2013 AD (Board exam paper, 2013 AD), TU BIM Digital Logic (ITC 212) 2014 AD (Board exam paper, 2014 AD), TU BIM Digital Logic (ITC 212) 2015 AD (Board exam paper, 2015 AD), TU BIM Digital Logic (ITC 212) 2016 AD (Board exam paper, 2016 AD), TU BIM Digital Logic (ITC 212) 2017 AD (Board exam paper, 2017 AD), TU BIM Digital Logic (ITC 212) 2018 AD (Board exam paper, April 2018), TU BIM Digital Logic (ITC 212) 2019 AD (Board exam paper listed as 2019 on the source site (scanned header reads April 2018)), TU BIM Digital Logic (ITC 212) 2021 Jan (Board exam paper, January 2021, full marks 60, answer any six; listed as 2020 on the source site), TU BIM Digital Logic (ITC 212) 2021 Oct (Board exam paper, October 2021), TU BIM Principles of Management (MGT 201) 2009 AD (Board exam paper, 2009 AD), TU BIM Principles of Management (MGT 201) 2010 AD (Board exam paper, 2010 AD), TU BIM Principles of Management (MGT 201) 2011 AD (Board exam paper, 2011 AD), TU BIM Principles of Management (MGT 201) 2012 AD (Board exam paper, 2012 AD), TU BIM Principles of Management (MGT 201) 2014 AD (Board exam paper, 2014 AD), TU BIM Principles of Management (MGT 201) 2015 AD (Board exam paper, 2015 AD), TU BIM Principles of Management (MGT 201) 2016 AD (Board exam paper, 2016 AD), TU BIM Principles of Management (MGT 201) 2017 AD (Board exam paper, 2017 AD), TU BIM Principles of Management (MGT 201) 2018 AD (Board exam paper, April 2018), TU BIM Principles of Management (MGT 201) 2019 AD (Board exam paper, April 2019), TU BIM Principles of Management (MGT 201) 2021 Jan (Board exam paper, January 2021, full marks 60, answer any six; listed as 2020 on the source site), TU BIM Principles of Management (MGT 201) 2021 Oct (Board exam paper, October 2021), TU BIM English Composition January 2013 (Board exam paper, January 2013 (scanned images on neupanenirmal.com.np)) and TU BIM English Composition 2014 (Board exam paper, 2014 (scanned images on neupanenirmal.com.np)). Answers are written for this site; check them against your class notes.