Digital Electronics Ec 1201
Digital Electronics Ec 1201
Digital Electronics Ec 1201
ENGINEERING
DIGITAL ELECTRONICS
PREPARED BY
Part - A
Unit – 1
Binary logic consists of binary variables and logical operations. The variables are
designated by the alphabets such as A, B, C, x, y, z, etc., with each variable having only two
distinct values: 1 and 0. There are three basic logic operations: AND, OR, and NOT.
6 3 4
110 011 100
Ans = 110011100
N = 9 x 16 2 + B x 16 1 + 2 x 16 0 + 1 x 16 -1 + A (10) x 16 -2
= 2304 + 176 + 2 + 0.0625 + 0.039
= 2482.1 10
1. Weighted codes
2. Non - weighted codes
3. Reflective codes
4. Sequential codes
5. Alphanumeric codes
6. Error Detecting and correcting codes.
0.640625 x 8 = 5.125
0.125 x 8 = 1.0
= 0.640 625 10 = (0.51) 8
0.1289062 x 16 = 2.0625
0.0625 x 16 = 1.0
= 0.21 16
16 22 -6
16 1 -1
0
0.64 x 16 = 10.24
0.24 x 16 = 3.84
0.84 x 16 = 13.44
.44 x 16 = 7.04
Ans = (16. A 3 D 7) 16
The MSB of the binary number is the same as the MSB of the gray code number. So
write it down. To obtain the next binary digit, perform an exclusive OR operation between
the bit just written down and the next gray code bit. Write down the result.
Gray Code: 1 0 1 0 1 1
Binary Code: 1 1 0 0 1 0
1010
0101
Answer = 0 1 1 0
1010
0011
Answer = (1 1 0 1) 2
M = 72532
10’s complement of N = + 96750
-----------
Sum = 169282
101011
+ 000111 - 2’s comp. of 1 1 1 0 0 1
1 1 0 0 1 0 in 2’s complement form
Answer (0 0 1 1 1 0 )2
15) Find the excess -3 code and 9’s complement of the number 403 10
4 0 3
0100 0000 0011
0011 0011 0011+
9’s complement 1 0 0 0 1 1 0 0 1 0 0 1
Group of 8 bits.
i) r’s Complement
ii) (r-1)’s Complement.
21) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction
(a) X -Y and (b) Y - X using 2's complements.
a) X = 1010100
2's complement of Y = 0111101
--------------
Sum = 10010001
Discard end carry
Answer: X - Y = 0010001
b) Y = 1000011
2's complement of X = + 0101100
---------------
Sum = 1101111
22) Given the two binary numbers X = 1010100 and Y = 1000011, perform the subtraction
(a) X -Y and (b) Y - X using 1's complements.
a) X - Y = 1010100 - 1000011
X = 1010100
1's complement of Y = + 0111100
--------------
Sum = 10010000
End -around carry = + 1
--------------
Answer: X - Y = 0010001
b) Y - X = 1000011 - 1010100
Y = 1000011
1's complement of X = + 0101011
-----------
Sum = + 1101110
1. NOT / INVERT
2. AND
3. OR
The associative property of Boolean algebra states that the OR ing of several variables
results in the same regardless of the grouping of the variables. The associative property is
stated as follows:
A+ (B+C) = (A+B) +C
The commutative property states that the order in which the variables are OR ed
makes no difference. The commutative property is:
A+B=B+A
The distributive property states that AND ing several variables and OR ing the result
with a single variable is equivalent to OR ing the single variable with each of the the several
variables and then AND ing the sums. The distributive property is:
De Morgan suggested two theorems that form important part of Boolean algebra.
They are,
A(A + B) = AA + AB
= A(1 + B) [1 + B = 1]
= A.
Y = AC + AB + BC
=AC(B + B' ) + AB(C + C' ) + (A + A')BC
=ABC + ABC' + AB'C + AB'C' + ABC + ABC' + ABC
=ABC + ABC' +AB'C + AB'C' [A + A =1]
Duality property states that every algebraic expression deducible from the postulates
of Boolean algebra remains valid if the operators and identity elements are interchanged. If
the dual of an algebraic expression is desired, we simply interchange OR and AND operators
and replace 1's by 0's and 0's by 1's.
39) Find the complement of the functions F1 = x'yz' + x'y'z and F2 = x(y'z' + yz). By
applying De-Morgan's theorem.
Y = (A + B) (A = C) (B + C)
= (A A + A C + A B + B C) (B + C)
= (A C + A B + B C) (B + C)
=ABC+ACC+ABB+ABC+BBC+BCC
=ABC
i) Karnaug map
ii) Tabular method or Quine Mc-Cluskey method
iii) Variable entered map technique.
i) Generally it is limited to six variable map (i.e) more then six variable
involving expression are not reduced.
ii) The map method is restricted in its capability since they are useful for
simplifying only Boolean expression represented in standard form.
43) What is a karnaugh map?
A karnaugh map or k map is a pictorial form of truth table, in which the map diagram
is made up of squares, with each squares representing one minterm of the function.
44) Find the minterms of the logical expression Y = A'B'C' + A'B'C + A'BC + ABC'
In some logic circuits certain input conditions never occur, therefore the
corresponding output never appears. In such cases the output level is not defined, it can be
either high or low. These output levels are indicated by ‘X’ or‘d’ in the truth tables and are
called don’t care conditions or incompletely specified functions.
If a min term is covered by only one prime implicant, the prime implicant is
said to be essential
Unit – II
Bipolar Unipolar
52. Which gates are called as the universal gates? What are its advantages?
The NAND and NOR gates are called as the universal gates. These gates are used to
perform any type of logic application.
69. How schottky transistors are formed and state its use?
A schottky diode is formed by the combination of metal and semiconductor. The
presence of schottky diode between the base and the collector prevents the transistor from
going into saturation. The resulting transistor is called as schottky transistor.
The use of schottky transistor in TTL decreases the propagation delay without a
sacrifice of power dissipation.
Disadv:
Wired output capability is possible only with tristate and open collector types
Special circuits in Circuit layout and system design are required.
73. When does the noise margin allow digital circuits to function properly.
When noise voltages are within the limits of VNA(High State Noise Margin) and VNK
for a particular logic family.
74. What happens to output when a tristate circuit is selected for high impedance.
Output is disconnected from rest of the circuits by internal circuitry.
76. Implement the Boolean Expression for EX – OR gate using NAND Gates.
90. Draw the logic Symbol and construct the truth table for the two input EX – OR gate.
Unit 3
96. What are the classification of sequential circuits?
The sequential circuits are classified on the basis of timing of their signals into two
types. They are,
1)Synchronous sequential circuit.
2)Asynchronous sequential circuit.
128.Define flip-flop
Flip - flop is a sequential device that normally samples its inputs and changes its
outputs only at times determined by clocking signal.
129. Draw the logic diagram for SR latch using two NOR gates.
130. The following wave forms are applied to the inputs of SR latch. Determine the Q
waveform Assume initially Q = 1
Here the latch input has to be pulsed momentarily to cause a change in the latch
output state, and the output will remain in that new state even after the input pulse is over.
135.The t pd for each flip-flop is 50 ns. Determine the maximum operating frequency for
MOD - 32 ripple counter
f max (ripple) = 5 x 50 ns = 4 MHZ
Unit 4
136. What are secondary variables?
-present state variables in asynchronous sequential circuits
147.What is hazard?
-unwanted switching transients
152.What is SM chart?
-describes the behavior of a state machine
-used in hardware design of digital systems
158.Define compatibility
States Si and Sj said to be compatible states, if and only if for every input sequence
that affects the two states, the same output sequence, occurs whenever both outputs are
specified and regardless of whether Si on Sj is the initial state.
159.Define merger graph.
The merger graph is defined as follows. It contains the same number of vertices as the
state table contains states. A line drawn between the two state vertices indicates each
compatible state pair. It two states are incompatible no connecting line is drawn.
160.Define incompatibility
The states are said to be incompatible if no line is drawn in between them. If implied
states are incompatible, they are crossed & the corresponding line is ignored.
166.What are the steps for the design of asynchronous sequential circuit?
1. Construction of a primitive flow table from the problem statement.
2. Primitive flow table is reduced by eliminating redundant states using the state
reduction
3. State assignment is made
4. The primitive flow table is realized using appropriate logic elements.
169.Give the comparison between state Assignment Synchronous circuit and state assignment
asynchronous circuit.
In synchronous circuit, the state assignments are made with the objective of circuit
reduction. In asynchronous circuits, the objective of state assignment is to avoid critical races.
173What is a cycle?
A cycle occurs when an asynchronous circuit makes a transition through a series of
unstable states. If a cycle does not contain a stable state, the circuit will go from one unstable
to stable to another, until the inputs are changed.
179. A pulse mode asynchronous machine has two inputs. If produces an output whenever
two consecutive pulses occur on one input line only. The output remains at 1 until a pulse has
occurred on the other input line. Write down the state table for the machine.
212.Define ROM.
ROM is a type of memory in which data are stored permanently or semi permanently.
Data can be read from a ROM, but there is no write operation
Part – B
Unit-I
Five variables hence two variable k maps one for A = 0 and the other for A = 1.
F = A'B'E' + BD'E + ACE
X+0=X X·1=X
X + X' = 1 X · X' = 0
X+X=X X·X=X
X+1=1 X·0= 0
(X')' = X
X+Y=Y+X XY = YX
X + (Y + Z) = (X + Y) + Z X(YZ) = (XY)Z
X(Y + Z) = XY + XZ X + YX = (X + Y) (X + Z)
(X + Y)' = X'Y' (XY)' = X' + Y'
X + XY = X X(X + Y) = X
Unit-II
6. Explain with neat diagrams TTL.
Disadvantages of other families
Diagram of TTL
Theory
Working principle
7. Discuss all the characteristics of digital IC’s.
Fan out
Power dissipation
Propagation Delay
Noise Margin
Fan In
Operating temperature
Power supply requirements
Unit-III
14.Explain the working of BCD Ripple Counter with the help of state diagram and logic
diagram.
BCD Ripple Counter Count sequence
Truth Table
State diagram representing the Truth Table
Truth Table for the J-K Flip Flop
Logic Diagram
17.Design a sequential detector which produces an output 1 every time the input sequence
1011 is detected.
Construct state diagram
Obtain the flow table
Obtain the flow table & output table
Transition table
Select flip flop
Excitation table
Logic diagram
19.Explain with neat diagram the different hazards and the way to eliminate them.
Classification of hazards
Static hazard & Dynamic hazard definitions
K map for selected functions
Method of elimination
Essential hazards
20.State with a neat example the method for the minimization of primitive flow table.
Consider a state diagram
Obtain the flow table
Using implication table reduce the flow table
Using merger graph obtain maximal compatibles
Verify closed & covered conditions
Plot the reduced flow table
21.Design a asynchronous sequential circuit with 2 inputs T and C. The output attains a value
of 1 when T = 1 & c moves from 1 to 0. Otherwise the output is 0.
Obtain the state diagram
Obtain the flow table
Using implication table reduce the flow table
Using merger graph obtain maximal compatibles
Verify closed & covered conditions
Plot the reduced flow table
Obtain transition table
Excitation table
Logic diagram
Unit-V