Professional Documents
Culture Documents
• Table 2.5.2 (a) and (b)show the truth table and excitation tables for SR flip-flop, respectively.
• There are four possible transitions from the present state to the next state.
• For each transition, the required input condition is derived from the information available in the truth
table.
Note The symbol "X" in the table represents a don't care condition, i.e., it indicates that to get required
output it does not matter whether the input is either 1 or 0.
• 0 → 0 Transition: The present state of the flip-flop is 0 and is to remain 0 when a clock pulse is applied.
Looking at truth table of SR flip-flop we can understand that, this can happen either when R = S = 0 (no-
change condition) or when R = 1 and S = 0. Thus, S has to be at 0, but R can be at either level. The table
indicates this with a "0" under S and an "X" (don't care) under R.
• 0 → 1 Transition: The present state is 0 and is to change to 1. This can happen only when S = 1 and R =
0 (set condition). Therefore, S has to be 1 and R has to be 0 for this transition to occur.
•1→ 0 Transition: The present state is 1 and is to change to a 0. This can happen only when S = 0 and R =
1 (reset condition). Therefore, S has to be 0 and R has to be 1 for this transition to occur.
• 1 → 1 Transition: The present state is 1 and is to remain 1. This can happen either when S = 1 and R = 0
(set condition) or when S = 0 and R = 0 (no change condition). Thus R has to be 0, but S can be at either
level. The table indicates this with a "X" under S and "0" under R.
Q.2 With reference to a JK flip-flop, what is racing ? AU: May-04,17, Dec.-08, 16
Ans. :In a level triggered J-K flip-flop, when J and K are both high, then the output toggles continuously.
This condition is called a race around condition.
(Refer section 2.5.3.2) AU : May-05, 09• The truth table and excitation table for JK flip-flop are shown in
Table 2.5.3 (a) and (b) respectively.
• 0 → 0 Transition: When both present state and next state are 0, the J input must remain at and the K
input can be either 0 and 1.
• 0 → 1 Transition: The present state is 0 and is to change to 1. This can happen either when J = 1 and K
= 0 (set condition) or when J = K = 1 (toggle condition). Thus, J has to be 1, but K can be at either level for
this transition to occur.
• 1 → 0 Transition: The present state is 1 and is to change to 0. This can happen either when J = 0 and K
= 1 or when J = K = 1. Thus, K has to be 1 but J can be at either level.
• 1→ 1 Transition: When both present state and next are 1, the K input must remain at 0 while the J
input can be 0 or 1.
• The excitation table for JK flip-flop has more don't care conditions than the excitation table for RS flip-
flop.
• The don't care terms usually simplify the function. Therefore, the combinational circuits using JK flip-
flops for the input functions are likely to be simpler than those using RS flip-flops.
D Flip-Flop
• The Table 2.5.4 (a) and (b) show the truth table and excitation table for
D flip-flop, respectively.
• In D flip-flop, the next state is always equal to the D input and it is independent of the present state.
Therefore, D must be 0 if Qn+1 has to be 0, and 1 if Qn+1 has to be 1, regardless of the value of Qn.
JK Flip-Flop
• The truth table and excitation table for JK flip-flop are shown in Table 2.5.3 (a) and (b) respectively.
• 0→0 Transition: When both present state and next state are 0, the J input must remain at and the K
input can be either 0 and 1.
• 0 → 1 Transition: The present state is 0 and is to change to 1. This can happen either when J = 1 and K
= 0 (set condition) or when J = K = 1 (toggle condition). Thus, J has to be 1, but K can be at either level for
this transition to occur.
• 1→0 Transition: The present state is 1 and is to change to 0. This can happen either when J = 0 and K =
1 or when J = K = 1. Thus, K has to be 1 but J can be at either level.
• 1→ 1 Transition: Whn both present state and next are 1, the K input must remain at 0 while the J input
can be 0 or 1.
• The excitation table for JK flip-flop has more don't care conditions than the excitation table for RS flip-
flop.
• The don't care terms usually simplify the function. Therefore, the combinational circuits using JK flip-
flops for the input functions are likely to be simpler than those using RS flip-flops.
Q.6 Give the meaning for edge triggering in flip-flops. AU: Dec.-06, 07, May-17, 19
Ans.: In the edge triggering, the output responds to the changes in the input only at the positive or
negative edge of the clock pulse at the clock input. There are two types of edge triggering.
• Positive edge triggering: Here, the output responds to the changes in the input only at the positive
edge of the clock pulse at the clock input.
• Negative edge triggering: Here, the output responds to the changes in the input only at the negative
edge of the clock pulse at the clock input.
Q.7 If the input frequency of a T FF is 1600 kHz, what will be the output frequency? Give reason for your
answer. AU: Dec.-06
Ans. :800 kHz, because it toggles at every clock pulse.
• The excitation table for above conversion is as shown in the Table 2.6.6
(Refer Book) AU: May-03, 05, 10, Dec.-02, 03, 04, 07, 08, 09
Ans. :Synchronous sequential circuits are those in which signals can affect the memory elements only at
discrete instants of time. Clocked flip-flops are examples of synchronous sequential circuits.
AU: May-10
Q.14 Give the characteristic equation and state diagram of JK flip-flop. AU: May-07, 10, June-13
Ans. : In D flip-flop during the occurrence of clock pulse if D = 1, the output Q is set and if D = 0, the
output is reset.
• When K input is low and J input is high the Q output of flip-flop is set.
• When K input is high and J input is low the Q output of flip-flop is reset.
• When both the inputs K and J are low the output does not change.
• When both the inputs K and J are high the output toggle on the next positive clock edge.
AU: Dec.-02
Q.20 What are the various types of triggering of FFs ? AU: Dec.-03
Level Triggering
• In the level triggering, the output state is allowed to change according to input(s) when active level
(either positive or negative) is maintained at the enable input.
Edge Triggering
•In the edge triggering, the output responds to the changes in the input only at the positive or negative
edge of the clock pulse at the clock input.
Q.21 Derive the characteristic equation of a T flip-flop. AU: May-04 Refer Q.No.19
Q.22 Derive the characteristic equation of a SR flip-flop. AU: Dec.-02
AU: Dec.-03
• The excitation table for above conversion is as shown in the Table 2.6.6.
•In the edge triggering, the output responds to the changes in the input only at the positive or negative
edge of the clock pulse at the clock input.
• There are two types of edge triggering.
• Positive edge triggering: Here, the output responds to the changes in the input only at the positive
edge of the clock pulse at the clock input.
• Negative
edge triggering: Here, the output responds to the changes in the input only at the negative edge of the
clock pulse at the clock input.
Q.26 How can a D flip-flop be converted into a T flip-flop ? AU: Dec.-05, May-07
The excitation table for above conversion is as shown in the Table 2.6.7.
Q.27 Draw the internal circuit of a NOR gate latch and derive the truth table. AU: May-06
• The basic bistable element circuit has two stable states logic 0 and logic 1, hence the name 'bistable'.
• When A = 0, the output of inverter 1 is 1 (A), i.e., Q = 1
• Since the output of the inverter 1 is connected to the input of the inverter 2, Ā = B = 1. Consequently,
the output of inverter 2, i.e., is 0.
• Since the output of the inverter 2 is connected to the input of the inverter 1, = = A = 0.
• We have assumed same value for A. Thus, the circuit is stable with = A = = 0 and Q = Ā = B = 1.
• Using similar explanation it is easy to show that if it is assumed that A = 1 basic bistable element is
stable with = A = = 1 and Q= Ā = B = 0. This is a second stable condition of the basic bistable element.
Q.28 Discuss the operation of SR flip-flop with the help of the state diagram. AU: May-06
• Fig. 2.5.1 shows the state transition diagram for all flip-flops. Here, the 0 and the 1 in the circle
represents the two states of the flip-flops and the arcs with arrow heads indicate the state transitions
for specific inputs of the flip-flop.
• For example, when SR flip-flop is in state 0, it goes to state 1 if SR inputs are 10, i.e. S = 1 and R = 0.
Q.29 Draw the diagram of a clocked SR flip-flop using four NAND gates. AU: Dec.-04
Q.30 Draw the logic diagram for D-type latch. AU: Dec.-07
Case 1 : J = K = 0
When J = K = 0, S = R = 0 and according to truth table of SR flip-flop there is no change in the output.
When inputs J = K = 0, output does not change.
Case 2: J= 1 and K = 0
Q = 0, =1: When J=1,K=0 and Q=0,S=1 and R=0.According to truth table of SR flip-flop it is set state and
the output Q will be 1.
Q = 1, =0: When J = 1, K = 0 and Q = 1, S = 0 and R = 0. Since SR = 00, there is no change in the output
and therefore, Q = 1 and = 0.
The inputs J = 1 and K = 0, makes Q = 1, i.e. set state.
Case 3: J= 0 and K = 1
Q = 0, = 1: When J = 0, K = 1 and Q = 0, S = 0 and R = 0. Since SR there is no change in the output and
therefore, Q = 0 and = 1.
Q = 1, = 0: When J 0, K = 1 and Q = 1, S = O and R = 1. According to truth table of SR flip-flop it is a reset
state and the output Q will be 0.
The inputs J = 0 and K = 1, makes Q = 0, i.e., reset state.
Case 4: J = K = 1
Q = 0, = 1: When J = K = 1 and Q = 0, S = 1 and R=0.According to truth table of SR flip-flop it is a set state
and the output Q will be 1.
Q = 1, = 0: When J = K = 1 and Q = 1, S = 0 and R = 1. According to truth table of SR flip-flop it is a reset
state and the output Q will be 0.
The input J = K = 1, toggles the flip-flop output.
Q.33 What are the advantages of debounce circuit? AU: Dec.-08, May-12, 14. AU: Dec.-08
• Reading taken during bouncing period may be faulty. This problem is known as key debounce.
• The problem of key debounce is undesirable and it must be avoided.
• One way to avoid key debounce problem is to use SR latch.
• The circuit used to avoid keybounce with SR latch is called a switch or contact debouncer.
• When key is at position A, the output of SR latch is logic 1 and when key is at position B, the output of
SR latch is logic 0.
• When key is in between A and B, SR inputs are 00 and hence output does not change, preventing
debouncing of key output.
• We can say that the output does not change during transition period, eliminating key debounce.
• In JK flip-flop, when J = K = 1, the output toggles (output changes either from 0 to 1 or from 1 to 0).
• Consider that initially Q = 0 and J = K = 1. After a time interval At equal to the propagation delay
through two NAND gates in series, the output will change to Q = 1 and after another time interval of At
the output will change back to Q=0. This toggling will continue until the flip-flop is enabled and J = K = 1.
At the end of clock pulse the flip-flop is disabled and the value of Q is uncertain. This situation is referred
to as the race-around condition. This is illustrated in Fig. 2.4.22.
This condition exists when tp ≥ ∆t. Thus by keepingtp ≥ ∆t we can avoid race around condition.
• We can keep tp ≥ ∆t by keeping the duration of edge less than ∆t.
• A more practical method for overcoming this difficulty is the use of the Master-Slave (MS)
configuration.
Q.36 Draw the excitation table and state diagram for JK and SR flip-flop. AU : May-10 Refer book
Q.37 Write the state transition table of J-K flip-flop. AU: May-11
• 0→0 Transition: When both present state and next state are 0, the J input must remain at and the K
input can be either 0 and 1.
• 0 → 1 Transition: The present state is 0 and is to change to 1. This can happen either when J = 1 and K
= 0 (set condition) or when J = K = 1 (toggle condition). Thus, J has to be 1, but K can be at either level for
this transition to occur.
• 1→0 Transition: The present state is 1 and is to change to 0. This can happen either when J = 0 and K =
1 or when J = K = 1. Thus, K has to be 1 but J can be at either level.
• 1→ 1 Transition: When both present state and next are 1, the K input must remain at 0 while the J
input can be 0 or 1.
Q.38 Express the next state characteristics of D and SR flip-flops. AU: May-11
Qn+1 = S + Ȓ Qn
Q.39 List any two mechanisms to achieve edge triggering of flip-flops. AU: Dec.-12
• In JK flip-flop, when J = K = 1, the output toggles (output changes either from 0 to 1 or from 1 to 0).
• Consider that initially Q = 0 and J = K = 1. After a time interval At equal to the propagation delay
through two NAND gates in series, the output will change to Q = 1 and after another time interval of At
the output will change back to Q=0. This toggling will continue until the flip-flop is enabled and J = K = 1.
At the end of clock pulse the flip-flop is disabled and the value of Q is uncertain. This situation is referred
to as the race-around condition.
• Both the flip-flops are positive level triggered, but inverter connected at the clock input of the slave
flip-flop forces it to trigger at the negative level.
• D input is transferred to the master at the positive edge of the clock pulse and the same is copied by
the slave and therefore appears at the output Q of the slave flip-flop at the negative going edge of the
clock pulse.
• A more practical method for overcoming this difficulty is the use of the Master-Slave (MS)
configuration.
Q.44 Draw the logic diagram and write the function table of D latch. AU: May-19
• The NAND gates 1, 2, 3 and 4 form the basic SR latch with enable input.
• The fifth NAND gate is used to provide the complemented inputs.
• As shown in the Fig. 2.3.6, D input goes directly to the S input and its complement is applied to the R
input, through gate 5. Therefore, only two input conditions exists, either S = 0 and R = 1 or S = 1 and R =
0.
• The truth table for D latch is as shown in the Table 2.3.2.
• As shown in the truth table, the Q output follows the D input. For this reason D latch is sometimes
called transparent latch.
Q.1 Give the comparison between synchronous and asynchronous sequential circuits. (Refer section 3.1)
AU: Dec.-10
Q.6 Draw the block diagram of Moore model. (Refer section 3.2.1) AU : May-10
Q.7 What is a Mealy machine? Give an example. (Refer section 3.2.2) AU: Dec.-08, May-13
• When the output of the sequential circuit depends on both the present state of flip-flop(s) and on the
input(s), the sequential circuit is referred to as Mealy model.
• The output of the circuit is derived from the combination of present state of flip-flops and input(s) of
the circuit.
• we can easily realize that, changes in the input within the clock pulses can not affect the state of the
flip-flop. However, they can affect the output of the circuit.
Q.8 Compare Moore and Mealy models. (Refer section 3.2.3) AU: May-05, 09, Dec.-08, 10
Q.10 What are state diagrams and state tables ? AU: May-06
Ans. :State diagram is a pictorial representation of a behaviour of a sequential circuit. The state is
represented by the circle, and the transition between states for different input conditions are indicated
by directed lines connecting the circles.
State table is the translation of state diagram into a tabular form; representing relationships among
input, output and flip-flop states.
Q.11 Explain about state reduction or Why is state reduction necessary? AU Dec.-04, 06; May-09
Ans. : The state reduction is a technique that reduces the number of states in the sequential circuit by
keeping only one state for two or more redundant/equivalent states. This reduces the number of
required flip-flops and logic gates, reducing the cost of the final circuit. Two states are said to be
redundant or equivalent, if every possible set of inputs generate exactly same output and same next
state.
• When the output of the sequential circuit depends only on the present state of the flip-flop,the
sequential circuit is referred to as Moore model.
Q.16 Compare the ASM chart with a conventional flow chart. AU Dec.-12
Ans. : The ASM chart resembles a conventional flow chart, but is interpreted somewhat differently. A
conventional flow chart describes the sequence of procedural steps and decision paths for an algorithm
without concern for their time relationship. An ASM chart describes the sequence of events as well as
the timing relationship between the states of a sequential controller and the events that occur while
going from one state to the next.
Q.17 What are the basic building blocks of an algorithmic state machine chart? AU: May-11
Ans. :The basic building blocks of an ASM chart are:
• State box
• Decision box and
• Conditional box
Q.18 Under what circumstances asynchronous circuits are preferred ? AU: Dec.-11
Ans. :Asynchronous circuits can operate faster than synchronous circuits and hence they are preferred
when speed is an important criteria.
Q.19 When is a counter said to suffer from lockout? (Refer section 3.4.7) AU: Dec.-02, 03
• In a counter if the next state of some unused state is again an unused state and if by chance the
counter happens to find itself in the unused states and never arrived at an used state then the counter is
said to be in the lockout conditions.
• The counter which never goes in lockout condition is called self starting counter.
Q.20 What are the models used to represent clocked sequential circuits ? (Refer section 3.2)AU: Dec.-06
Q.21 A reduced state table has 14 rows. What is the minimum number of flip-flops needed to build the
sequential circuit ? AU: Dec.-04
Ans. :24> 14. Therefore, 4 flip-flops.
Q.22 Distinguish Moore and Mealy circuit. (Refer section 3.2.3) AU: Dec.-14
Registers
Q.5 If a serial-in-serial-out shift register has N stages and if the clock frequency is f, what will be time
delay between input and output ?AU: Dec.-03
Ans. : The time delay between input and output is TD = N/f
Q.6 Draw the timing diagram of 4-bit ring counter. AU: Dec.-04
Ans. :See Fig. 4.8.1 on next page.
Q.7 Draw a 2-bit ripple counter and convert this into a 2-bit ring counter.
(Refer section 4.6) AU :Dec-05
Q.8 Define universal shift registers.
Ans. :The register which has both shifts( right-shift and left-shift ) and parallel load capabilities is
referred to as universal shift register.
1. Delay line
2. Serial to parallel converter
3. Parallel to serial converter
4. Pseudo-random binary sequence generator
5. Sequence detector
Q.11 What are the advantages of shift registers?( Refer section 4.5) AU : May-03, IT
• A Serial-In-Parallel-Out (SIPO) shift register can be used to convert data in the serial form to the
parallel form.
• A Parallel-In-Serial-Out (PISO) shift register can be used to convert data in the parallel form to the
serial form.
• A shift register can be used as a pseudo-random binary sequence generator.
• The shift register can be used to generate a particular bit pattern repetitively.
• The shift register can be used to detect the desired sequence.
Q.12 What are the applications of a shift register?( Refer answer of Q.9) AU :Dec-10,May-05,12, IT
1. Delay line
2. Serial to parallel converter
3. Parallel to serial converter
4. Pseudo-random binary sequence generator
5. Sequence detector
Q.13 How many flip-flops are needed to build an 8-bit shift register? AU:Dec-02, CSE
Ans. :8 flip-flops are needed to build an 8-bit shift register.
Q.14 A shift register comprises of JK flip-flops. How will you complement the contents of the register?
AU :May-03, CSE
Ans. :In shift registers outputs J and K of previous flip-flop is connected to the inputs of the next flip-flop.
If these lines are connected through OR ass shown in Fig.1, we can complement the contents of flip-flop.
When complement line is high al J and K inputs will be high and flip-flops will complement the output.
Q.15 What is a shift register? (Refer answer of Q.2) AU: Dec.-03, CSE
Ans. : The binary information in a register can be moved from stage to stage within the register or into
or out of the register upon application of clock pulses. This type of bit movement or shifting is essential
for certain arithmetic and logic operations used in microprocessors. This gives rise to group of registers
called shift registers.
Q.16 How many states are there in a 3-bit ring counter? What are they? AU: May-07, CSE/IT, Dec.-14
Q.17 What is shift register? List the types. (Refer answer of Q.2 and Q.3) AU: May-09, CSE/IT
Ans. : The binary information in a register can be moved from stage to stage within the register or into
or out of the register upon application of clock pulses. This type of bit movement or shifting is essential
for certain arithmetic and logic operations used in microprocessors. This gives rise to group of registers
called shift registers.
Ans. :A ring counter is a type of counter composed of a type circular shift register. The output of the last
shift register is fed to the input of the first register.
Ans. : A twisted ring counter, also called Johnson counter connects the complement of the output of the
last shift register to the input of the first register and circulates a stream of ones followed by zeros
around the ring.
Q.20 Mention the different types of shift registers. (Refer section 4.3) AU: Dec.-18
Counters
Q.1 What is the minimum number of flip-flops needed to design a counter of modulus 60 ? AU: May-04
Ans.:2n ≥ 60 Therefore n = 6
Q.2 What is the minimum number of flip flops needed to build a counter of modulus 8 ? AU: June-16
Q.3 What is meant by programmable counter? Mention its application. AU: May-10
Ans. : A counter that divides an input frequency by a number which can be programmed, is called
programmable counter.
Applications of programmable counter
1. Frequency division
2. Digital clock
3. Stop watch
Ans. : When counter is clocked such that each flip-flop in the counter is triggered at the same time, the
counter is called synchronous counter.
Ans. : The counter in which the output of the current flip-flop drives the clock input of the net higher-
order flip-flop is called asynchronous counter.
Q.8 Draw the timing diagram showing the output of a 2 stage synchronous counter with respect to its
clock signal. (Refer section 5.4.1) AU: May-11
Q.9 How many flip flops are required for designing synchronous MOD 50 counter? AU: May-09
Ans. : >50
Therefore x = 6. Thus 6 flip-flops are required for designing synchronous MOD 50 counter