Digital Electronics EC 1201
Digital Electronics EC 1201
Digital Electronics EC 1201
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
7) Convert 22.64 to hexadecimal number.
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
24) What are basic properties of Boolean algebra?
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:
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.
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
Part – B
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
Part - A
Bipolar Unipolar
4. 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.
21. 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.
25. 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.
26. What happens to output when a tristate circuit is selected for high impedance.
Output is disconnected from rest of the circuits by internal circuitry.
28. Implement the Boolean Expression for EX – OR gate using NAND Gates.
32. Draw the logic Symbol and construct the truth table for the two input EX – OR
Gate.
33. Define Decoder?
A decoder is a multiple - input multiple output logic circuit that converts
coded
inputs into coded outputs where the input and output codes are different.
Part – B
1. Explain with neat diagrams TTL.
Disadvantages of other families
Diagram of TTL
Theory
Working principle
2. Discuss all the characteristics of digital IC’s.
Fan out
Power dissipation
Propagation Delay
Noise Margin
Fan In
Operating temperature
Power supply requirements
26. Give the comparison between combinational circuits and sequential circuits.
Combinational circuits Sequential circuits
Memory unit is not required Memory unity is required
Parallel adder is a combinational circuit Serial adder is a sequential circuit
32. Give the comparison between synchronous & Asynchronous sequential circuits?
35. 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.
1. 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
4. 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
Unit 4
1. What are secondary variables?
-present state variables in asynchronous sequential circuits
11. What are the steps for the design of asynchronous sequential circuit?
-construction of primitive flow table
-reduction of flow table
-state assignment is made
-realization of primitive flow table
33. 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.
46. 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.
Part – B
1. 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
2. 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
3. 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 5
1. Explain ROM
A read only memory(ROM) is a device that includes both the decoder and the
OR gates within a single IC package. It consists of n input lines and m output lines.
Each bit combination of the input variables is called an address. Each bit combination
that comes out of the output lines is called a word. The number of distinct addresses
possible with n input variables is 2n.
2. What are the types of ROM?
1.PROM
2.EPROM
3.EEPROM
3. Explain PROM.
PROM (Programmable Read Only Memory)
It allows user to store data or program. PROMs use the fuses with
material like nichrome and polycrystalline. The user can blow these
fuses by passing around 20 to 50 mA of current for the period 5 to
20µs.The blowing of fuses is called programming of ROM. The
PROMs are one time programmable. Once programmed, the
information is stored permanent.
4. Explain EPROM.
EPROM(Erasable Programmable Read Only Memory)
EPROM use MOS circuitry. They store 1’s and 0’s as a packet of
charge in a buried layer of the IC chip. We can erase the stored data in
the EPROMs by exposing the chip to ultraviolet light via its quartz
window for 15 to 20 minutes. It is not possible to erase selective
information. The chip can be reprogrammed.
5. Explain EEPROM.
EEPROM(Electrically Erasable Programmable Read Only Memory)
EEPROM also use MOS circuitry. Data is stored as charge or no
charge on an insulated layer or an insulated floating gate in the device.
EEPROM allows selective erasing at the register level rather than
erasing all the information since the information can be changed by
using electrical signals.
6. What is RAM?
Random Access Memory. Read and write operations can be carried out.
7. Define ROM
A read only memory is a device that includes both the decoder and the OR
gates within a single IC package.
Part B