S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

Size: px
Start display at page:

Download "S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques"

Transcription

1 S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1(a) Attempt any SIX of the following : [12] Q.1(a) (i) Derive AND gate and OR gate using NAND gates only. [2] (A) OR Gate using NAND gates A B AND Gate Using NAND gates A B A AB Q.1(a) (ii) Define Duality theorem and give example. [2] (A) Theorem: Starting with a boolean relation, another boolean relation can be derived by (i) Changing each OR sign to an AND sign (ii) Changing each AND sign to an OR sign (iii) Complementing any 0 or 1 appearing in the expression Example: A.0 = 0 The dual relation is A = 1 = 1 B Y = A B = A + B Y = AB = A B Q.1(a) (iii) List any four Boolean laws. [2] (A) OR Laws AND Laws Associative Law Commutative Law Distributive Law A + 0 = A A. 1 = A (A. B) C = A. (B. C) A.B = B.A A.B + A.C = A(B + C) A + 1 = 1 A. 0 = 0 (A + B) + C = A + (B + C) A + B = B + A (A + B) (A + C) = A + BC A + A = A A. A = A A + A = 1 A. A = 0 1

2 : S.Y. Diploma DT Q.1(a) (iv) Define any two specifications of ADC. [2] (A) Analog input voltage This is the maximum allowable input voltage range. Input impedance Its value ranges from 1 K to 1 M depending upon the type of A/D converter. Input capacitance is in the range of tens of pf. Linearity It is conventionally equal to the deviation of the performance of the converter from a best straight line. Accuracy The accuracy of the A/D converter depends upon the accuracy of maximum deviation of the digital output from the ideal linear line. Monotoxicity In response to a continuously increasing input signal the output of an A/D converter should not at any point decrease or skip one or more codes. This is called the monotoxicity of A/D converter. Resolution It is define as the maximum number of digital output codes. This is same as that of a DAC Resolution = 2 n Resolution is defined as the ratio of change in the value of the input analog voltage V A; required to change the digital output by 1 LSB. vfs Resolution n 2 1 Conversion Time It is the total time required to convert the analog input signal into a corresponding digital output. Quantization Error This approximation process is called as quantization and the error due to the quantization process is called as quantization error. Q.1(a) (v) Draw the symbol and truth lable of AND and OR gate. [2] (A) AND OR A A X X B B A B X A B X

3 Prelim Question Paper Solution Q.1(a) (vi) Define with respect to digital ICs [2] (1) Propagation delay (2) Noise immunity (A) (1) Propagation delay (or speed of operation) Input Output 50 % 50 % t PHL The delay times are measured between the 50 % voltage levels of input and output waveforms. There are two delay times t PHL when output goes from High to Low t PLH when output goes from Low to High Propagation delay is average of above two delay times. (2) Noise immunity (or Noise margin) The input & output voltage levels defined above are shown in figure. Stray electric and magnetic fields may induce unwanted voltages, known as noise, on the connecting wires between logic circuits. This may cause the voltage at the input to a logic circuit to drop below V 1H or rise above V 1L and may produce undesired operation. The circuit s ability to tolerate noise signals is referred to as the noise immunity, a quantitative measure of which is called noise margin. There are two types of noise margins. (a) High level noise margin (NM H ) NM H = V 0H V 1H (b) Low level noise margin (NM L ) NM L = V 1L V 0L 1 state noise margin 0 state noise margin V 0H V 1H V 1L V 0L 0 Voltages V 0H V 1H V 1L V 0L t PLH 3

4 : S.Y. Diploma DT Q.1(a) (vii) Which are the universal gates? Why they called it? [2] (A) NAND and NOR gates are called as Universal gates. With the help of NAND and NOR gates only all basic logical operations can be constructed, hence they are called as universal gates. Q.1(a) (viii) Define any two specifications of DAC. [2] (A) (i) Resolution Resolution is defined as the ratio of change in analog output voltage resulting from a change of 1 LSB at the digital input VFSis defined as the full scale analog output voltage i.e. the analog output voltage when all the digital input with all digits 1. (ii) Accuracy Accuracy indicates how close the analog output voltage is to its theoretical value. It indicates the deviation of actual output from the theoretical value. Accuracy depends on the accuracy of the resistors used in the ladder, and the precision of the reference voltage used. Accuracy is always specified in terms of percentage of the full scale output that means maximum output voltage. (iii) Linearity The relation between the digital input and analog output should be linear. However practically it is not so due to the error in the values of resistors used for the resistive networks. (iv) Temperature sensitivity The analog output voltage of D to A converter should not change due to changes in temperature. But practically the output is a function of temperature. It is so because the resistance values and OPAMP parameters change with changes in temperature. (v) Settling time The time required to settle the analog output within the final value, after the change in digital input is called as settling time. The settling time should be as short as possible. (vi) Long term drift Long term drift are mainly due to resistor and semiconductor aging and can affect all the characteristics. Characteristics mainly affected are linearity, speed etc. 4

5 Prelim Question Paper Solution (vii) Supply rejection Supply rejection indicates the ability of DAC to maintain scale, linearity and other important characteristics when the supply voltage is varied. Supply rejection is usually specified as percentage of full scale change at or near full scale voltage at 25 e. (viii) Speed It is defined as the time needed to perform a conversion from digital to analog. It is also defined as the number of conversions that can be performed per second. Q.1(b) Attempt any TWO of the following : [8] Q.1(b) (i) Draw symbol and write truth table of 2 : 1 MUX. Also draw [4] the block diagram of 8 : 1 mux. (A) D 0 D 1 2 : 1 MUX S 0 Q.1(b) (ii) Convert the following: (1) (11001) 2 = (? ) 10 (2) (10101) 2 = (? ) 8 (3) (37) 8 = (? ) 2 (4) (5AC) = (? ) 2 (A) (1) (11001) 2 = (? ) = = = = =16 25 D out S 0 D out 0 D 0 1 D 1 (11001) 2 = (25) 10 8 : 1 MUX (2) (10101) 2 = (? ) 8 The student may convert it to decimal first and then to octal or directly by forming groups of 3 bits starting from LSB. D 0 D 7 S 0 S 1 S 2 D out [4] 5

6 : S.Y. Diploma DT Method 1 (10101) 2 = (21) 10 = (25) (8) Method = (25) 8 OR (3) (37) 8 = (? ) 2 The student may write 3 bit equivalent binary for every octal digit to get the answer or convert the number to decimal first and then to binary. Method Method 2 (3 7) 8 = (3 1) 10 = (11111) 2 (37) 8 = ( ) 2 = (11111) 2 (4) (5AC) = (? ) 2 The student may convert the hexadecimal number to decimal first and then the obtained decimal to binary or form 4 bit binary groups equivalent of the hexadecimal digits to get the answer in binary directly. Method 1 (5 A C) 16 = (1452) 10 = ( ) 2 Method 2 5 A C = = = = = = ( ) 2

7 Prelim Question Paper Solution Q.1(b) (iii) Draw truth table of 3 inputs EX-OR gate. Draw its symbol. [4] Also give its output expression. (A) Q.2 Attempt any FOUR of the following : [16] Q.2(a) Draw logical symbol, truth table and logical expression for NAND [4] and NOR gate. (A) NAND Gate y = AB logical expression A B Y NOR Gate y = A B logical expression A B Y Output Expression: Q =A B C Symbol Symbol 7

8 : S.Y. Diploma DT Q.2(b) Perform the following binary operations. (i) (ii) (A) (i) Answer = (ii) Answer = 101 Q.2(c) For the given K-map in Figure, write minimized SOP expression and for the same draw NAND-NAND logic circuit. (A) CD CD CD CD AB AB AB AB CD CD CD CD AB AB AB AB ACD CD CD CD CD AB AB AB AB BD ACD [4] [4] 8 CB

9 Prelim Question Paper Solution Y BC ACD ACD BD A B C D A B C D Q.2(d) Simplify the following equation using k map and realize it using logic gates. Y= m(0, 1, 2, 3, 8, 10) + d(5, 7). (A) Y = (0, 1, 2, 3, 8, 10) + d(5, 7) AB AB AB AB CD CD X CD X CD Y = BD AD A A B B C D B.D y [4] 9

10 : S.Y. Diploma DT Q.2(e) Draw 16:1 MUX using 4:1 MUX [4] (A) Q.2(f) Perform the following substraction using 2's complement method. (1) (01000) 2 (01001) 2 (2) (01100) 2 (00011) 2 (A) [4] 10

11 Prelim Question Paper Solution Q.2(g) Design a full adder using half adder. [4] (A) Full Adder is a combinational circuit that performs the addition of three bits (two significant bits and previous carry). It consists of three inputs and two outputs, two inputs are the bits to be added, the third input represents the carry form the previous position A B Carry Input SUM CARRY OUT A circuit which obeys this truth table is called a full adder. We can design a full adder by linking together two half adder circuits: 11

12 : S.Y. Diploma DT Thus, we can implement a full adder circuit with the help of two half adder circuits. The first will half adder will be used to add A and B to produce a partial Sum. The second half adder logic can be used to add CIN to the Sum produced by the first half adder to get the final S output. If any of the half adder logic produces a carry, there will be an output carry. Thus, COUT will be an OR function of the half-adder Carry outputs. Q.3 Attempt any FOUR of the following : [16] Q.3(a) Convert the expression Y = AB + AC BC into the standard SOP [4] form. (A) Y = AB C C AC B B BC A A = ABC ABC ABC ABC ABC ABC = ABC ABC ABC ABC ABC AB C But A + A = A (ABC + ABC) = ABC and ABC ABC = ABC Y = ABC ABC ABC ABC Standard SOP form Q.3(b) Draw logic diagram of 1:4 demultiplexers. Write truth table of it. [4] (A) D in is connected to Y 0 when S 1 S 0 = 00, it is connected to Y 1 when S 1 S 0 = 01 and so on. The other outputs will remain zero. The enable input needs to be high in order to enable the demux. If E= 0 then all the outputs will be low irrespective of everything. 12

13 Prelim Question Paper Solution Inputs Outputs E D in S 1 S 0 Y 0 Y 1 Y 2 Y Implementation : The 1 : 4 Demux is implemented as shown in figure. D in (Input) E Enable Y 0 is connected to D in Y 1 is connected to D Y 2 is connected to D in Y 3 is connected to D in Q.3(c) Reduce the given logic expression using Boolean laws and draw NAND logic circuit. Y A A B A B (A) Y A A B A B A B (A A) A B A A 1 A A A B A B [4] B B 13

14 : S.Y. Diploma DT Q.3(d) For the given K-Map in figure, write the POS expression and draw NOR-NOR logic circuit for same. [4] (A) AB CD POS Expression y (A C D) (A B D) (A C) A B C D A B C D Q.3(e) Minimize the following equation using k map. (i) Y = m(0, 1, 2, 4, 5, 6) (ii) Y = m(0, 2, 4, 5). (A) (i) Y = m(0, 1, 2, 4, 5, 6) Y = m (0, 1, 2, 4, 5, 6) CD CD CD CD 00 AB AB AB AB A C D A C A B D (A + C + D) (A B C) A C [4] 14

15 BC A Y = B C BC B C BC B C A A B (ii) Y = m (0, 2, 4, 5) Y = m (0, 2, 4, 5) BC A BC B C BC B C A A A B Y = (A + C) A B Prelim Question Paper Solution Q.3(f) Explain working of PIPO with neat logic diagram and timing diagram. [4] (A) C. (A + C) Working In Parallel out Shift register, the data bits are entered simultaneously into their respective stages on parallel lines. The output data bits are also available on parallel lines. Immediately following the simultaneous entry of all data bits, the bits appear in the parallel outputs. 15

16 : S.Y. Diploma DT Truth Table Inputs Outputs ABCD QA QB QC QD Timing diagram Input D C B A = 1111 Q.3(g) Obtain an 1 : 8 demultiplexer using 1 : 4 demultiplexer. [4] (A) 16

17 Prelim Question Paper Solution Q.3(h) Explain the functions of 'preset' and 'clear' inputs in flip-flops. [4] (A) The normal data inputs to a flip flop (D, S and R, or J and K) are referred to as synchronous inputs because they have effect on the outputs (Q and not Q) only in step, or in sync, with the clock signal transitions. These extra inputs are called asynchronous because they can set or reset the flip-flop regardless of the status of the clock signal. Typically, they are called preset and clear: When the preset input is activated, the flip-flop will be set (Q=1, not-q=0) regardless of any of the synchronous inputs or the clock. When the clear input is activated, the flip-flop will be reset (Q=0, not-q=1), regardless of any of the synchronous inputs or the clock. So, what happens if both preset and clear inputs are activated? we get an invalid state on the output. Asynchronous inputs, just like synchronous inputs, can be engineered to be active-high or active low. If they re active-low, there will be an inverting bubble at that input lead on the block symbol, just like the negative edge-trigger clock inputs. 17

18 : S.Y. Diploma DT Sometimes the designations PRE and CLR will be shown with inversion bars above them, to further denote the negative logic of these inputs: Inputs CLK PR CLR OUTPUT Operation performed Qn+1 Normal JKFF X FF is set X FF is reset Q.4 Attempt any FOUR of the following : [16] Q.4(a) Classify the memories and explain ROM. [4] (A) [Correct classification of memories in other form may also be considered] Read only Memory (ROM) ROM is used to store information permanently. The data stored in ROM can be read or recalled for use in digital devices. ROM is nonvolatile memory i.e. the information once stored remains intact. 18

19 Prelim Question Paper Solution Q.4(b) State any four specifications of A to D converter. [4] (A) Analog input voltage: This is the maximum allowable input voltage range, 0 10 V, ± 5 V,± 10 V, and so on. Input Impedance: Its value ranges from 1 k to 1 M depending upon the type of A/D converter. Input capacitance is in the range of tens of pf. Stability : The temperature dependence. Even if analog input is kept constant, the digital output may change with temperature. This is called stability. It is expressed as % error per degree rise in temperature. Resolution : Is define as the maximum number of digital output code. This is same as that of a DAC. Resolution = 2 Resolution is defined as the ratio of change in the value of the input analog voltage V A, required to change the digital output by 1 LSB. VFS Resolution = n 2 1 Conversion Time It is the total time required to convert the analog input signal into a corresponding digital output. As we know the conversion time depends on the conversion technique used for an ADC. The conversion time is also dependent on the propagation delays introduced by the circuit components. Conversion time should ideally be zero and practically be as small as possible. Quantization Error As shown in the figure the digital output is not always the accurate representation of the analog input. For example any input voltage between 1/8 to 2/8 of full scale will be converted to a digital word of 001. This approximation process is called as quantization and the error due to the quantization process is called as quantization error. 1 The maximum value of quantization error is LBS. 2 The quantization error should be as small as possible. It can be reduce by increasing the number of bits. The increase in number of bits will also improve the resolution. 19

20 : S.Y. Diploma DT Q.4(c) Construct D-flip flop using R-S flip flop and explain it s working along with truth table. (A) Working : The SR flip flop can be converted into D flip flop by simply the addition of an inverter. This flip flop has only one input that is D input. The output Q will go to the same state that is present on the D input when negative edge of clock occurs. The output Q n+1 at the end of the clock pulse equal the input D n. hence we can say that the input data appears at the output at the end of the clock pulse. Thus the transfer of data from input to the output delayed and hence the name delay (D) flip flop. [4] 20

21 Truth Table for a D type Flip flop Input D n Output Q n Prelim Question Paper Solution Q.4(d) Describe working of RS ff using NAND gates only. [4] (A) The clocked SR flip flop is an edge triggered SR flip flop. It can be of two types. (i) Positive edge triggered (ii) Negative edge triggered. Positive edge triggered SR Flip Flop: Basic SR Latch Clocked S R Flip flop (Positive edge triggered) The positive edge triggered S-R flip Flop. It is also called as clocked SR FF. This circuit will operate as an SR flip flop only for the positive clock edge but there is no change in output id clock=0 or even for the negative going clock edge. Operation : Case I: S = X, R = X, clock = 0 Since clock = 0, the outputs of NAND gates 3 and 4 will be forced to be 1 irrespective of the values of S and R. that means R'= S'= 1 these are the inputs of the latch. Hence the outputs of basic SR F/F i.e. Q and Q will not change in the output of the clocked SR flip flop Case II: S = X, R = X, clock = 1 (high level) As this flip flop does respond not respond to levels applied at the clock input, the outputs Q and Q will not change. So Q n+1 = Q n and Q Q Case III: S = R = 0 : No Change If S = R = 0 then outputs of NAND gates 3 and 4 are force to become 1. Hence R' and S' both will be equal to 1. Since S' and R' are the inputs of the basic S-R flip flop using NAND gates, there will be no change in the state of outputs. n 1 n 21

22 : S.Y. Diploma DT Case IV: S = 0 R = 1, clock Now S = 0, R = 1 and a positive edge is applied to the clock input. Since S = 0, output of NAND-3 i.e. R =1. And as R = 1 and clock =1 the output of NAND-4 i.e. S = 0. Hence Q = 0 and Q = 1. This is the n 1 n 1 reset condition. Case V: S = 1 R = 0, clock = Now S = 1, R = 0 and a positive going edge is applied to the clock input. Output of NAND 3 i.e. R' = 0 and output of NAND 4 i.e. S' = 1 Hence output of SR flip flop is Q n+1 = 1 and Q = 0 n 1 This is the reset condition. Case VI: S = 1 R = 1, clock = As S = 1, R = 1 and clock = 1, the outputs of NAND gates 3 and 4 both are 0. i.e. S'= R' = 0. Hence the "Race" condition will occur in the basic SR flip-flop. The symbol of positive edge triggered SR flip flop is as shown in figure and the truth table. Inputs Outputs CLK S R Q n + 1 Q n 1 Remark 0 X X Q n Q n 1 No change (NC) 1 X X Q n Q n No change (NC) X X Q n Q n No change (NC) 0 0 Q n Q n No change (NC) Reset Set 1 1 Race Race Avoid = Negative edge of clock, = Positive edge of clock Note that for clock input to be at negative or positive levels as the edge triggered flip flop does not respond. Similarly it does not respond to negative edge of the clock. 22

23 Prelim Question Paper Solution The flip flop will respond only to the positive edge of clock. With positive edge of the clock, the SR flip flop behaves in the following way: S = R = 0 No change in output S = 0, R = 1 Q n+1 = 0, Q 1 Reset condition S = 1, R = 0 Q n+1 = 1, Q 0 Set condition S = R = 1 n 1 n 1 Race condition. Negative Edge Triggered S-R Flip Flop: The internal circuit (with NAND gates) of the negative edge triggered S-R flip flop is exactly same as that for the positive edge triggered one. The differentiator circuit is slightly modified in order to enable the flip flop for the negative (falling) edges of the clock input. The circuit symbol of the negative edge triggered S-R flip flop and its truth table. CLK S Q R Q (C 590) Fig. : Circuit symbol of negative edge triggered SR FF = Positive edge of clock = Negative edge of clock 23

24 : S.Y. Diploma DT Q.4(e) Draw and explain D flip-flop using SR flip-flop. Also draw truth [4] table. (A) Due to Inverter S and R will always be the complements of each other hence S=R=0 or S=R=1 conditions never appear. D S R Qn+1 Qn Q.4(f) Draw neat circuit diagram of clocked JK flip-flop using NAND gates. Give its truth table and explain race around condition. (A) [4] 24

25 Prelim Question Paper Solution Race around condition: When JK flip flop when the value of J and K =1 and at the same time value of clock is 1, so according to the truth table of J=k=1 the value of output should be toggled so the value keep on changing till the change in the clock pulse which is not acceptable. Elimination of Race around Condition: Race around condition can be avoided using Master Slave Flip flop & by using Edge Triggered Flip Flop. Q.5 Attempt any FOUR of the following : [16] Q.5(a) Draw the logic diagram of D type flip flop using NAND gates. [4] Write its truth table. (A) D (Input) Truth table Input (D n ) Output Q Q.5(b) Draw Master- slave J-K flip-flop and explain it s working. [4] (A) Master Slave JK FF 25

26 : S.Y. Diploma DT Truth Table : Case I: Clock = x, J=K=0 For clock=1 the master is active, slave in active. As J=K=0.Therefore Output of master i.e. Q 1 and will not change. Hence the S and R inputs to the slave will remain unchanged. As soon as clock = 0, the slave becomes active and master is inactive. But since the S and R inputs have not change the slave outputs will also remain unchanged. Therefore the output will not change if J=K=0 Case II: clock =, J = K = 0 This condition has been already discussed in case I. Case III: Clock=, J = 0 and K = 1 Clock = 1: Master active, slave inactive. Output of the master become Q 1 = 0 and Q = 1.That means S=0 and R = 1 1 Clock = 0 slave active master inactive Outputs of the slave become Q = 0 and Q =1 1 Again if clock=1: master active, slave inactive. Even with the change output Q=0 and Q 1 = 1 fed back to master, its outputs will Q 1 = 0 and Q = 1 that means S = 0 and R = 1. 1 Hence with clock = 0 and slave becoming active, the outputs of slave will remain Q = 0 and Q 1. Thus we get a stable output from the Master Slave. Case IV: CLK=, J=1, K=0 Clock =1 master active, slave inactive Outputs of master become Q 1 = 1 and Q = 0 i.e. S=1, 1 26

27 R = 0 Clock = 0: master inactive slave active. Prelim Question Paper Solution Outputs of slave become Q = 1 and Q = 0. 1 Again if clock=1 then it can be shown that the outputs of the slave are stabilized to Q = 1 and Q 0. 1 Case V : CLK : =, J = 1, K = 1 Clock =1: master will be active, slave inactive. Outputs of master will toggle so S and R also will be inverted. Clock=0: master inactive, slave active Outputs of the slave will toggle. These changed outputs are returned back to the master inputs. But since clock = 0, the master is still inactive. So it does not respond to these changed outputs. This avoids the multiple toggling which leads to the race around condition. Thus the master slave flip flop will avoid the race around condition. Q.5(c) Define Modulus of counter. Determine number of flip flops to be [4] used in MOD-21 counter. (A) Modulus of a counter is the no. of different states through which the counter progress during its operation. It indicates the no. of states in the counter, pulses to be counted are applied to counter. The circuit comes back to its starting state after counting N pluses in the case of modulus N counter. In general, m number of flip-flops are required to construct MOD-n counter, where n <=2 m MOD n Counter = 2 m where m is no. of flip flops and n is the no. of counters. MOD 21 = 2 m Hence m = 5 (5 flip flops are required for MOD 21) MOD n counter Number of flip flops(m) 21 5 Q.5(d) Compare combinational logic circuit and sequential logic circuit. (any [4] 4 points) (A) Combinational logic Sequential logic (i) The combinational logic circuit consists of logic gate only. Sequential logic circuit consists of combinational logic circuit along with memory for storage of information. 27

28 : S.Y. Diploma DT (ii) It operation depend upon present input and does not required history of inputs. (iii) Easy to design due to lack of memory. (iv) Faster in speed as all inputs are primary inputs are applies simultaneously. (v) Examples Encoders, decoders, multiplexer, demultiplexer etc. It operation depend upon present input as well as last state of input and output which are stored in memory. Difficult to design due to presence of memory. Slower in speed because of secondary Inputs. Examples counters, shift registers flip-flop etc. Q.5(e) Describe block diagram of digital comparator and write truth table [4] of 2 bit comparator. (A) Digital comparator is a combinational circuit which compares two numbers, A and B; and evaluates their relative magnitudes. The outcome of the comparison is given by three binary variables which indicate whether. A = B or A > B or A < B. Depending on the result of comparison one of these outputs will go high. Inputs Outputs A 1 A 0 B 1 B 0 A > B A = B A < B

29 Prelim Question Paper Solution Q.5(f) List different types of flip-flop. Draw the diagram of master Slave JK flip-flop. (A) Types of Flip-Flops RS flip-flop JK flip-flop D flip-flop T flip-flop Circuit Diagram Fig: Master Slave JK Q.5(g) Draw the diagram of serial in parallel out (SIPO) shift register. [4] Also draw timing diagram. (A) A serial-in/parallel-out shift register is similar to the serial-in/ serial-out shift register in that it shifts data into internal storage elements and shifts data out at the serial-out, data-out, pin. It is different in that it makes all the internal stages available as outputs. Therefore, a serial-in/parallel-out shift register converts data from serial format to parallel format. If four data bits are shifted in by four clock pulses via a single wire at data-in, below, the data becomes available simultaneously on the four outputs QA to QD after the fourth clock pulse. [4] 29

30 : S.Y. Diploma DT Figure: Serial in parallel Figure: Timing Diagram Q.5(h) State different applications of flip flops. [4] (A) Applications of flip flop Bounce elimination of key Memory Registers Counters Delay element Q.5(i) Draw and explain SISO with truth table and timing diagram. [4] (A) Serial in Serial out Shift Register (SISO), type of shift register accepts data serially, one bit at a time at the single input line, and shifted to next flip flop serially. The output is also obtained on a single output line in a same serial fashion. A shift right register can be constructed with either J-K or D flip flops as shown in below. 30

31 Prelim Question Paper Solution Shift-right register using J-K flip-flops As shown in figure J-K flip flop based shift register requires connection of both J and K inputs. Input data are connected to the J and K inputs of the left most (lowest order) flip flop of flip flop chain. And all flip flops are connected in serially. For a JK flip flop output is followed whatever the input of J and the both the input are complimentary. Let take an example to input a 0, one should apply a 0 at the J input, i.e., J = 0 and K = 1 and vice versa. With the application of a clock pulse the data will be shifted by one bit to the right. In this way the first data will store at Flip flop A then in next clock pulse the date of A flip flop is shifted to filp flop B in that way. Finally the serial output will appear from flip flop D. For example, consider that all the stages are reset and a logical input 1011 is applied at the serial input line connected to stage A. the table given below shows how the data is shifted from one flip flop to other and finally get the output from D flip flop. After fourth clock pulse we will get first input after next three clock pulse the complete input (1011) which we feed at flip flop A will out from flip flop D. Now in bellow see the waveform of 4 bit serial shift register. After fourth clock pulse we will get first input after next three clock pulse the complete input (1011) which we feed at flip flop A will out from flip flop D. Now in bellow see the waveform of 4 bit serial shift register. 31

32 : S.Y. Diploma DT Q.6 Attempt any TWO of the following : [16] Q.6(a) (i) Draw the circuit diagram of successive approximation type A to [8] D converter and describe its working. (ii) A D to A converter has a full scale analog output of 12V with 4 bit binary inputs. Find the voltage corresponding to each analog step. (A) (i) Block Diagram 32

33 Prelim Question Paper Solution Working The comparator serves the function of the scale, the output of which is used for setting/ resetting the bits at the output of the programmer. This output is converted into equivalent analog voltage from which offset is subtracted and then applied to the inverting input terminal of the comparator. The outputs of the programmer will change only when the clock pulse is present. To start the conversion, the programmer sets the MSB to 1 and all other bits to 0. This is converted into analog voltage by the DAC and the comparator compares it with the analog input voltage. If the analog input voltage Va >= Vi, the output voltage of the comparator is HIGH, which sets the next bit also. On the other hand if Va <= Vi. Then the output of the comparator is LOW which resets the MSB and sets the next bit. Thus a 1 is tried in each bit of DAC until the binary equivalent of analog input voltage is obtained. (ii) Formula Full scale analog output V o = n = = 12 = Inputs Output D C B A V O in Volts

34 : S.Y. Diploma DT Q.6(b) (i) List four applications of flip flops. [8] (ii) Compare synchronous and asynchronous counter on any two points. (iii) Convert JK- flip flop in to T-flip flop. Write it s truth table and explain. (A) (i) Applications of flip flops (1) Elimination of keyboard debounce. (2) As a memory elements. (3) In various types of registers. (4) In counters/timers. (5) As a delay elements (ii) Asynchronous Counter Synchronous Counter 1) In an Asynchronous Counter the In a Synchronous Counter all the output of one Flip Flop acts as the Flip Flop s are Connected to a clock Input of the next Flip Flop. common clock signal. 2) Speed is Low. Speed is High. 3) Only J K or T Flip Flop can be usedsynchronous Counter can be to construct Asynchronous designed using JK, RS, T and D Counter. FlipFlop. 4) Problem of Glitch arises Problem of Lockout 5) Only serial count either up or Random and serial counting is down is possible. possible. 6) Settling time is more Settling time is less 7) Also called as serial counter Also called as Parallel Counter 8) (iii) Truth Table for Conversion : Inputs Outputs T Present state of Q Next state of Q J K X X X X 0 Excitation table of T FF Excitation table of JK FF 34

35 Prelim Question Paper Solution K map and simplification : For J output For K output Q n T X 1 1 X J = T (a) K map for J output Logic Diagram : T (input) CLK K = T (b) K map for K outputs Q.6(c) (i) Convert the following SOP equation into standard SOP equation. Y = AB AB ABC (A) Y = AB AB ABC Y = AB(C C) AB(C C) ABC Y = ABC ABC ABC ABC ABC Q.6(c) (ii) List any four applications of multiplexer and implement the following logic expression using 16:1 MUX. Y = m(0, 3, 5, 6, 7, 10, 13). (A) Applications: 1) Digital computer 2) Microprocessor 3) Data converters 4) Digital systems Q n T X 0 1 X 1 Conversion logic J K Given JK F/F Q Q T Flipflop Outputs [8] [8] 35

36 : S.Y. Diploma DT Expression using 16:1 MUX Y = m(0, 3, 5, 6, 7, 10, 13) +V CC : 1 MUX S 3 S 2 S 1 S 0 Q.6(d) Draw block diagram and truth table of 1:4 demultiplexer. [8] (A) 1-to-4 Demultiplexer has a single input (D), two selection lines (S1 and S0) and four outputs (Y0 to Y3). The input data goes to any one of the four outputs at a given time for a particular combination of select lines. The block diagram of 1:4 DEMUX is shown below. y 36

37 Prelim Question Paper Solution The truth table of this type of demultiplexer is given below. From the truth table it is clear that, when S1=0 and S0= 0, the data input is connected to output Y0 and when S1= 0 and s0=1, then the data input is connected to output Y1. Similarly, other outputs are connected to the input for other two combinations of select lines. Q.6(e) (i) With suitable diagram describe successive approximation ADC. [4] (A) Successive approximation register The comparator serves the function of the scale, the output of which is used for setting /resetting the bits at the output of the programmer. This output is converted into equivalent analog voltage from which offset is subtracted and then applied to the inverting input terminal of the 37

38 : S.Y. Diploma DT comparator. The outputs of the programmer will change only when the clock pulse is present. To start the conversion, the programmer sets the MSB to 1 and all other bits to O. This is converted into analog voltage by the DAC and the comparator compares it with the analog input voltage. If the analog input voltage Va>= Vi, the output voltage of the comparator is HIGH, which sets the next bit also. On the other hand if Va<=Vi, Then the output of the comparator is LOW which resets the MSB and sets the next bit. Thus a 1 is tried in each bit of DAC until the binary equivalent of analog input voltage is obtained. Q.6(e) (ii) List any four specifications of ADC. [4] (A) Analog input voltage Input impedance Linearity Accuracy: Monotoxicity Resolution Conversion Time Quantization Error OR Analog input voltage: This is the maximum allowable input voltage range Input impedance: Its value ranges from 1 kω to 1 MΩ depending upon the type of A/D converter. Input capacitance is in the range of tens of pf. Linearity: is conventionally equal to the deviation of the performance of the converter from a best straight line. Accuracy: the accuracy of the A/D converter depends upon the accuracy of maximum deviation of the digital output from the ideal linear line. Monotoxicity: In response to a continuously increasing input signal the output of an A/D converter should not at any point decrease or skip one or more codes. This is called the monotoxicity of A/D converter. Resolution is define as the maximum number of digital output codes. This is same as that of a DAC Resolution= 2n Resolution is defined as the ratio of change in the value of the input analog voltage VA, required to change the digital output by 1 LSB. 38

39 Prelim Question Paper Solution Conversion Time: It is the total time required to convert the analog input signal into a corresponding digital output. Quantization Error: This approximation process is called as quantization and the error due to the quantization process is called as quantization error. 39

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1(a) Attempt any SIX of the following : [12]

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each) Subject Code: 17333 Model Answer Page 1/ 27 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model

More information

Sample Test Paper - I

Sample Test Paper - I Scheme G Sample Test Paper - I Course Name : Computer Engineering Group Marks : 25 Hours: 1 Hrs. Q.1) Attempt any THREE: 09 Marks a) Define i) Propagation delay ii) Fan-in iii) Fan-out b) Convert the following:

More information

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution S.E. Sem. III [ETRX] Digital Circuits and Design Prelim uestion Paper Solution. (a) Static Hazard Static hazards have two cases: static and static. static- hazard exists when the output variable should

More information

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques s complement 2 s complement 1 s complement

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques s complement 2 s complement 1 s complement S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques Time: 3 Hrs.] Prelim Question Paper Solution [Marks : Q.(a) (i) () (2) s COMPLEMENT s COMPLEMENT 2s COMPLEMENT 2s COMPLEMENT + Q.(a) (ii) ()

More information

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques Subject Code: Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word

More information

Digital Electronics Circuits 2017

Digital Electronics Circuits 2017 JSS SCIENCE AND TECHNOLOGY UNIVERSITY Digital Electronics Circuits (EC37L) Lab in-charge: Dr. Shankraiah Course outcomes: After the completion of laboratory the student will be able to, 1. Simplify, design

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 17 EXAMINATION Subject Name: Digital Techniques Model Answer Subject Code: 17333 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given

More information

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept.

on candidate s understanding. 7) For programming language papers, credit may be given to any other program based on equivalent concept. WINTER 17 EXAMINATION Subject Name: Digital Techniques Model Answer Subject Code: 17333 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given

More information

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE Estd-1984 KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE 641 006 QUESTION BANK UNIT I PART A ISO 9001:2000 Certified 1. Convert (100001110.010) 2 to a decimal number. 2. Find the canonical SOP for the function

More information

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU 534 007 DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING DIGITAL

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER 14 EXAMINATION Model Answer

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER 14 EXAMINATION Model Answer MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC 27001 2005 Certified) SUMMER 14 EXAMINATION Model Answer Subject Code : 17320 Page No: 1/34 Important Instructions to examiners: 1)

More information

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B . (a). (b). (c) S.E. Sem. III [EXTC] igital Electronics Prelim Question Paper Solution ABC ABC ABC ABC ABC ABC ABC ABC = B LHS = ABC ABC ABC ABC ABC ABC ABC ABC But ( ) = = ABC( ) ABC( ) ABC( ) ABC( )

More information

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering Sp 6 Reg. No. Question Paper Code : 27156 B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2015. Second Semester Computer Science and Engineering CS 6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN (Common

More information

DE58/DC58 LOGIC DESIGN DEC 2014

DE58/DC58 LOGIC DESIGN DEC 2014 Q.2 a. In a base-5 number system, 3 digit representations is used. Find out (i) Number of distinct quantities that can be represented.(ii) Representation of highest decimal number in base-5. Since, r=5

More information

Sequential vs. Combinational

Sequential vs. Combinational Sequential Circuits Sequential vs. Combinational Combinational Logic: Output depends only on current input TV channel selector (-9) inputs system outputs Sequential Logic: Output depends not only on current

More information

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D. Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Digital IC packages TTL (transistor-transistor

More information

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science Sequential Logic Rab Nawaz Khan Jadoon DCS COMSATS Institute of Information Technology Lecturer COMSATS Lahore Pakistan Digital Logic and Computer Design Sequential Logic Combinational circuits with memory

More information

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

LOGIC CIRCUITS. Basic Experiment and Design of Electronics Basic Experiment and Design of Electronics LOGIC CIRCUITS Ho Kyung Kim, Ph.D. hokyung@pusan.ac.kr School of Mechanical Engineering Pusan National University Outline Combinational logic circuits Output

More information

vidyarthiplus.com vidyarthiplus.com vidyarthiplus.com ANNA UNIVERSITY- COMBATORE B.E./ B.TECH. DEGREE EXAMINATION - JUNE 2009. ELECTRICAL & ELECTONICS ENGG. - FOURTH SEMESTER DIGITAL LOGIC CIRCUITS PART-A

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI DEPARTMENT: ECE MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI 6 QUESTION BANK SUBJECT NAME: DIGITAL ELECTRONICS UNIT : Design of Sequential Circuits PART A ( Marks). Draw the logic diagram 4: Multiplexer.(AUC

More information

SUMMER 18 EXAMINATION Subject Name: Principles of Digital Techniques Model Answer Subject Code:

SUMMER 18 EXAMINATION Subject Name: Principles of Digital Techniques Model Answer Subject Code: Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4 4.1.1 Signal... 4 4.1.2 Comparison of Analog and Digital Signal... 7 4.2 Number Systems... 7 4.2.1 Decimal Number System... 7 4.2.2 Binary

More information

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution . (a) (i) ( B C 5) H (A 2 B D) H S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution ( B C 5) H (A 2 B D) H = (FFFF 698) H (ii) (2.3) 4 + (22.3) 4 2 2. 3 2. 3 2 3. 2 (2.3)

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN UNIT I : BOOLEAN ALGEBRA AND LOGIC GATES PART - A (2 MARKS) Number

More information

Dept. of ECE, CIT, Gubbi Page 1

Dept. of ECE, CIT, Gubbi Page 1 Verification: 1) A.B = A + B 7404 7404 7404 A B A.B A.B 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 A B A B A + B 0 0 1 1 1 0 1 1 0 1 1 0 0 1 1 1 1 0 0 0 2) A+B = A. B 7404 7404 7404 A B A+B A+B 0 0 0 1 0 1 1 0 1

More information

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1

Lab 3 Revisited. Zener diodes IAP 2008 Lecture 4 1 Lab 3 Revisited Zener diodes R C 6.091 IAP 2008 Lecture 4 1 Lab 3 Revisited +15 Voltage regulators 555 timers 270 1N758 0.1uf 5K pot V+ V- 2N2222 0.1uf V o. V CC V Vin s = 5 V Vc V c Vs 1 e t = RC Threshold

More information

Vidyalankar S.E. Sem. III [INFT] Analog and Digital Circuits Prelim Question Paper Solution

Vidyalankar S.E. Sem. III [INFT] Analog and Digital Circuits Prelim Question Paper Solution . (a). (b) S.E. Sem. III [INFT] Analog and Digital Circuits Prelim Question Paper Solution Practical Features of OpAmp (A 74) i) Large voltage gain (of the order of 2 0 5 ) ii) Very high input resistance

More information

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits EE40 Lec 15 Logic Synthesis and Sequential Logic Circuits Prof. Nathan Cheung 10/20/2009 Reading: Hambley Chapters 7.4-7.6 Karnaugh Maps: Read following before reading textbook http://www.facstaff.bucknell.edu/mastascu/elessonshtml/logic/logic3.html

More information

ELCT201: DIGITAL LOGIC DESIGN

ELCT201: DIGITAL LOGIC DESIGN ELCT201: DIGITAL LOGIC DESIGN Dr. Eng. Haitham Omran, haitham.omran@guc.edu.eg Dr. Eng. Wassim Alexan, wassim.joseph@guc.edu.eg Lecture 6 Following the slides of Dr. Ahmed H. Madian محرم 1439 ه Winter

More information

Design of Sequential Circuits

Design of Sequential Circuits Design of Sequential Circuits Seven Steps: Construct a state diagram (showing contents of flip flop and inputs with next state) Assign letter variables to each flip flop and each input and output variable

More information

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS 1) 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

More information

Show that the dual of the exclusive-or is equal to its compliment. 7

Show that the dual of the exclusive-or is equal to its compliment. 7 Darshan Institute of ngineering and Technology, Rajkot, Subject: Digital lectronics (2300) GTU Question ank Unit Group Questions Do as directed : I. Given that (6)0 = (00)x, find the value of x. II. dd

More information

Digital Circuits ECS 371

Digital Circuits ECS 371 Digital Circuits ECS 371 Dr. Prapun Suksompong prapun@siit.tu.ac.th Lecture 18 Office Hours: BKD 3601-7 Monday 9:00-10:30, 1:30-3:30 Tuesday 10:30-11:30 1 Announcement Reading Assignment: Chapter 7: 7-1,

More information

SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS

SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS Unit : I - V Unit : I Overview Fundamentals of Computers Characteristics of Computers Computer Language Operating Systems Generation of Computers 2 Definition of

More information

S.E. Sem. III [ETRX] Digital Circuit Design. t phl. Fig.: Input and output voltage waveforms to define propagation delay times.

S.E. Sem. III [ETRX] Digital Circuit Design. t phl. Fig.: Input and output voltage waveforms to define propagation delay times. S.E. Sem. III [ETRX] Digital ircuit Design Time : 3 Hrs.] Prelim Paper Solution [Marks : 80. Solve following : [20].(a) Explain characteristics of logic families. [5] haracteristics of logic families are

More information

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of 27 WORKBOOK Detailed Eplanations of Try Yourself Questions Electrical Engineering Digital Electronics Number Systems and Codes T : Solution Converting into decimal number system 2 + 3 + 5 + 8 2 + 4 8 +

More information

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function Question Paper Digital Electronics (EE-204-F) MDU Examination May 2015 1. (a) represent (32)10 in (i) BCD 8421 code (ii) Excess-3 code (iii) ASCII code (b) Design half adder using only NAND gates. ( c)

More information

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date.

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date. Schedule Date Day Class No. Dec Mon 25 Final Review 2 Dec Tue 3 Dec Wed 26 Final Review Title Chapters HW Due date Lab Due date LAB 8 Exam 4 Dec Thu 5 Dec Fri Recitation HW 6 Dec Sat 7 Dec Sun 8 Dec Mon

More information

Synchronous Sequential Logic

Synchronous Sequential Logic 1 IT 201 DIGITAL SYSTEMS DESIGN MODULE4 NOTES Synchronous Sequential Logic Sequential Circuits - A sequential circuit consists of a combinational circuit and a feedback through the storage elements in

More information

DIGITAL LOGIC CIRCUITS

DIGITAL LOGIC CIRCUITS DIGITAL LOGIC CIRCUITS Introduction Logic Gates Boolean Algebra Map Specification Combinational Circuits Flip-Flops Sequential Circuits Memory Components Integrated Circuits Digital Computers 2 LOGIC GATES

More information

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value EGC22 Digital Logic Fundamental Additional Practice Problems. Complete the following table of equivalent values. Binary. Octal 35.77 33.23.875 29.99 27 9 64 Hexadecimal B.3 D.FD B.4C 2. Calculate the following

More information

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing IT 204 Section 3.0 Boolean Algebra and Digital Logic Boolean Algebra 2 Logic Equations to Truth Tables X = A. B + A. B + AB A B X 0 0 0 0 3 Sum of Products The OR operation performed on the products of

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI 6 DEPARTMENT: EEE QUESTION BANK SUBJECT NAME: DIGITAL LOGIC CIRCUITS SUBJECT CODE: EE55 SEMESTER IV UNIT : Design of Synchronous Sequential Circuits PART

More information

Fundamentals of Boolean Algebra

Fundamentals of Boolean Algebra UNIT-II 1 Fundamentals of Boolean Algebra Basic Postulates Postulate 1 (Definition): A Boolean algebra is a closed algebraic system containing a set K of two or more elements and the two operators and

More information

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10) ELEC 2200-002 Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and Computer Engineering

More information

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Computers also need devices capable of Storing data and information Performing mathematical operations on such data Sequential Machines Introduction Logic devices examined so far Combinational Output function of input only Output valid as long as input true Change input change output Computers also need devices capable

More information

Digital Logic Appendix A

Digital Logic Appendix A Digital Logic Appendix A Boolean Algebra Gates Combinatorial Circuits Sequential Circuits 1 Boolean Algebra George Boole ideas 1854 Claude Shannon, apply to circuit design, 1938 Describe digital circuitry

More information

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES EC 216(R-15) Total No. of Questions :09] [Total No. of Pages : 02 II/IV B.Tech. DEGREE EXAMINATIONS, DECEMBER- 2016 First Semester ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN

More information

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid CSE140: Components and Design Techniques for Digital Systems Midterm Information Instructor: Mohsen Imani Midterm Topics In general: everything that was covered in homework 1 and 2 and related lectures,

More information

Philadelphia University Student Name: Student Number:

Philadelphia University Student Name: Student Number: Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, First Semester: 2017/2018 Dept. of Computer Engineering Course Title: Logic Circuits Date: 29/01/2018

More information

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 7 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering SEQUENTIAL CIRCUITS: LATCHES Overview Circuits require memory to store intermediate

More information

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC - 27001-2005 Certified) Subject Code: 12069 SUMMER 13 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should

More information

CHW 261: Logic Design

CHW 261: Logic Design CHW 26: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed4 http://bu.edu.eg/staff/ahmedshalaby4# Slide Digital Fundamentals Digital Concepts Slide 2 What?

More information

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department Page 1 of 13 COE 202: Digital Logic Design (3-0-3) Term 112 (Spring 2012) Final

More information

Sequential Logic Circuits

Sequential Logic Circuits Chapter 4 Sequential Logic Circuits 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of a sequential circuit,

More information

Digital Electronics Final Examination. Part A

Digital Electronics Final Examination. Part A Digital Electronics Final Examination Part A Spring 2009 Student Name: Date: Class Period: Total Points: /50 Converted Score: /40 Page 1 of 13 Directions: This is a CLOSED BOOK/CLOSED NOTES exam. Select

More information

Chapter 4. Sequential Logic Circuits

Chapter 4. Sequential Logic Circuits Chapter 4 Sequential Logic Circuits 1 2 Chapter 4 4 1 The defining characteristic of a combinational circuit is that its output depends only on the current inputs applied to the circuit. The output of

More information

CHAPTER 7. Exercises 17/ / /2 2 0

CHAPTER 7. Exercises 17/ / /2 2 0 CHAPTER 7 Exercises E7. (a) For the whole part, we have: Quotient Remainders 23/2 /2 5 5/2 2 2/2 0 /2 0 Reading the remainders in reverse order, we obtain: 23 0 = 0 2 For the fractional part we have 2

More information

Boolean Algebra. Digital Logic Appendix A. Postulates, Identities in Boolean Algebra How can I manipulate expressions?

Boolean Algebra. Digital Logic Appendix A. Postulates, Identities in Boolean Algebra How can I manipulate expressions? Digital Logic Appendix A Gates Combinatorial Circuits Sequential Circuits Other operations NAND A NAND B = NOT ( A ANDB) = AB NOR A NOR B = NOT ( A ORB) = A + B Truth tables What is the result of the operation

More information

EET 310 Flip-Flops 11/17/2011 1

EET 310 Flip-Flops 11/17/2011 1 EET 310 Flip-Flops 11/17/2011 1 FF s and some Definitions Clock Input: FF s are controlled by a trigger or Clock signal. All FF s have a clock input. If a device which attempts to do a FF s task does not

More information

Digital Electronics. Part A

Digital Electronics. Part A Digital Electronics Final Examination Part A Winter 2004-05 Student Name: Date: lass Period: Total Points: Multiple hoice Directions: Select the letter of the response which best completes the item or

More information

Gates and Flip-Flops

Gates and Flip-Flops Gates and Flip-Flops Chris Kervick (11355511) With Evan Sheridan and Tom Power December 2012 On a scale of 1 to 10, how likely is it that this question is using binary?...4? What s a 4? Abstract The operation

More information

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3 . What is a multiplexer? esign a 4 to multiplexer using logic gates. Write the truth table and explain its working principle. Answer: is a circuit with many inputs but only one output. esigning of 4 to

More information

Vidyalankar. S.E. Sem. III [EXTC] Digital System Design. Q.1 Solve following : [20] Q.1(a) Explain the following decimals in gray code form

Vidyalankar. S.E. Sem. III [EXTC] Digital System Design. Q.1 Solve following : [20] Q.1(a) Explain the following decimals in gray code form S.E. Sem. III [EXTC] Digital System Design Time : 3 Hrs.] Prelim Paper Solution [Marks : 80 Q.1 Solve following : [20] Q.1(a) Explain the following decimals in gray code form [5] (i) (42) 10 (ii) (17)

More information

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers) L4: Sequential Building Blocks (Flip-flops, Latches and Registers) Acknowledgements: Lecture material adapted from R. Katz, G. Borriello, Contemporary Logic esign (second edition), Prentice-Hall/Pearson

More information

PGT104 Digital Electronics. PGT104 Digital Electronics

PGT104 Digital Electronics. PGT104 Digital Electronics 1 Part 6 Sequential Logic ircuits Disclaimer: Most of the contents (if not all) are extracted from resources available for Digital Fundamentals 10 th Edition 2 Basic Shift Register Operations A shift register

More information

Boolean Algebra. Digital Logic Appendix A. Boolean Algebra Other operations. Boolean Algebra. Postulates, Identities in Boolean Algebra

Boolean Algebra. Digital Logic Appendix A. Boolean Algebra Other operations. Boolean Algebra. Postulates, Identities in Boolean Algebra Digital Logic Appendix A Gates Combinatorial Circuits Sequential Circuits George Boole ideas 1854 Claude Shannon, apply to circuit design, 1938 (piirisuunnittelu) Describe digital circuitry function programming

More information

Analog & Digital Electronics Laboratory. Code - CS391. Lab Manual

Analog & Digital Electronics Laboratory. Code - CS391. Lab Manual Analog & Digital Electronics Laboratory Code - CS391 Lab Manual EXPERIMENT: 1 LOGIC GATES AIM: To study and verify the truth table of logic gates LEARNING OBJECTIVE: Identify various ICs and their specification.

More information

Adders, subtractors comparators, multipliers and other ALU elements

Adders, subtractors comparators, multipliers and other ALU elements CSE4: Components and Design Techniques for Digital Systems Adders, subtractors comparators, multipliers and other ALU elements Adders 2 Circuit Delay Transistors have instrinsic resistance and capacitance

More information

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill Digital Electronics Principles & Applications Sixth Edition Roger L. Tokheim Chapter 8 Counters 2003 Glencoe/McGraw-Hill INTRODUCTION Overview of Counters Characteristics of Counters Ripple Up Counter

More information

Save from: cs. Logic design 1 st Class أستاذ المادة: د. عماد

Save from:   cs. Logic design 1 st Class أستاذ المادة: د. عماد Save from: www.uotiq.org/dep cs Logic design 1 st Class أستاذ المادة: د. عماد استاذة المادة: م.م ميساء Contents Lectured One: Number system operation 1- Decimal numbers. 2- Binary numbers. 3- Octal numbers.

More information

EE 209 Logic Cumulative Exam Name:

EE 209 Logic Cumulative Exam Name: EE 209 Logic Cumulative Exam Name: 1.) Answer the following questions as True or False a.) A 4-to-1 multiplexer requires at least 4 select lines: true / false b.) An 8-to-1 mux and no other logi can be

More information

per chip (approx) 1 SSI (Small Scale Integration) Up to 99

per chip (approx) 1 SSI (Small Scale Integration) Up to 99 Q.2 a. Classify the integration technology as per the scale of integration. Explain in brief the various steps involved in fabrication of monolithic IC. Scales of Integration (Basic) Various steps involved

More information

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS:

PAST EXAM PAPER & MEMO N3 ABOUT THE QUESTION PAPERS: EKURHULENI TECH COLLEGE. No. 3 Mogale Square, Krugersdorp. Website: www. ekurhulenitech.co.za Email: info@ekurhulenitech.co.za TEL: 011 040 7343 CELL: 073 770 3028/060 715 4529 PAST EXAM PAPER & MEMO N3

More information

Chapter 2. Review of Digital Systems Design

Chapter 2. Review of Digital Systems Design x 2-4 = 42.625. Chapter 2 Review of Digital Systems Design Numbering Systems Decimal number may be expressed as powers of 10. For example, consider a six digit decimal number 987654, which can be represented

More information

Philadelphia University Student Name: Student Number:

Philadelphia University Student Name: Student Number: Philadelphia University Student Name: Student Number: Faculty of Engineering Serial Number: Final Exam, Second Semester: 2015/2016 Dept. of Computer Engineering Course Title: Logic Circuits Date: 08/06/2016

More information

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic CPE/EE 422/522 Chapter - Review of Logic Design Fundamentals Dr. Rhonda Kay Gaede UAH UAH Chapter CPE/EE 422/522. Combinational Logic Combinational Logic has no control inputs. When the inputs to a combinational

More information

CHW 261: Logic Design

CHW 261: Logic Design CHW 26: Logic Design Instructors: Prof. Hala Zayed Dr. Ahmed Shalaby http://www.bu.edu.eg/staff/halazayed4 http://bu.edu.eg/staff/ahmedshalaby4# Slide Digital Fundamentals CHAPTER 8 Counters Slide 2 Counting

More information

Digital Electronic Meters

Digital Electronic Meters Digital Electronic Meters EIE 240 Electrical and Electronic Measurement May 1, 2015 1 Digital Signal Binary or two stages: 0 (Low voltage 0-3 V) 1 (High voltage 4-5 V) Binary digit is called bit. Group

More information

Logic. Combinational. inputs. outputs. the result. system can

Logic. Combinational. inputs. outputs. the result. system can Digital Electronics Combinational Logic Functions Digital logic circuits can be classified as either combinational or sequential circuits. A combinational circuit is one where the output at any time depends

More information

Digital Signal 2 N Most Significant Bit (MSB) Least. Bit (LSB)

Digital Signal 2 N Most Significant Bit (MSB) Least. Bit (LSB) 1 Digital Signal Binary or two stages: 0 (Low voltage 0-3 V) 1 (High voltage 4-5 V) Binary digit is called bit. Group of bits is called word. 8-bit group is called byte. For N-bit base-2 number = 2 N levels

More information

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO UN IVERSIT Y O F CA LIFO RNI A AT BERKELEY BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO SAN TA BARBA RA S AN TA CRUZ De p a r tm en t of Ele ctr i ca l En gin e e rin g a

More information

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3 Digital Logic: Boolean Algebra and Gates Textbook Chapter 3 Basic Logic Gates XOR CMPE12 Summer 2009 02-2 Truth Table The most basic representation of a logic function Lists the output for all possible

More information

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring

Appendix A: Digital Logic. Principles of Computer Architecture. Principles of Computer Architecture by M. Murdocca and V. Heuring - Principles of Computer rchitecture Miles Murdocca and Vincent Heuring 999 M. Murdocca and V. Heuring -2 Chapter Contents. Introduction.2 Combinational Logic.3 Truth Tables.4 Logic Gates.5 Properties

More information

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers) L4: Sequential Building Blocks (Flip-flops, Latches and Registers) Acknowledgements:., Materials in this lecture are courtesy of the following people and used with permission. - Randy H. Katz (University

More information

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals University of Wisconsin - Madison ECE/Comp Sci 352 Digital Systems Fundamentals Charles R. Kime Section 2 Fall 2001 Lecture 5 Registers & Counters Part 2 Charles Kime Counters Counters are sequential circuits

More information

PART-A. 2. Expand ASCII and BCD ASCII American Standard Code for Information Interchange BCD Binary Coded Decimal

PART-A. 2. Expand ASCII and BCD ASCII American Standard Code for Information Interchange BCD Binary Coded Decimal PART-A 1. What is radix? Give the radix for binary, octal, decimal and hexadecimal Radix is the total number of digits used in a particular number system Binary - 2 (0,1) Octal - 8 (0 to 7) Decimal - 10

More information

Fundamentals of Digital Design

Fundamentals of Digital Design Fundamentals of Digital Design Digital Radiation Measurement and Spectroscopy NE/RHP 537 1 Binary Number System The binary numeral system, or base-2 number system, is a numeral system that represents numeric

More information

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary Number System Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary BOOLEAN ALGEBRA BOOLEAN LOGIC OPERATIONS Logical AND Logical OR Logical COMPLEMENTATION

More information

UNIVERSITI TENAGA NASIONAL. College of Information Technology

UNIVERSITI TENAGA NASIONAL. College of Information Technology UNIVERSITI TENAGA NASIONAL College of Information Technology BACHELOR OF COMPUTER SCIENCE (HONS.) FINAL EXAMINATION SEMESTER 2 2012/2013 DIGITAL SYSTEMS DESIGN (CSNB163) January 2013 Time allowed: 3 hours

More information

Chapter 7 Logic Circuits

Chapter 7 Logic Circuits Chapter 7 Logic Circuits Goal. Advantages of digital technology compared to analog technology. 2. Terminology of Digital Circuits. 3. Convert Numbers between Decimal, Binary and Other forms. 5. Binary

More information

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3 MOSIS REPORT Spring 2010 MOSIS Report 1 MOSIS Report 2 MOSIS Report 3 MOSIS Report 1 Design of 4-bit counter using J-K flip flop I. Objective The purpose of this project is to design one 4-bit counter

More information

UNIT II COMBINATIONAL CIRCUITS:

UNIT II COMBINATIONAL CIRCUITS: UNIT II COMBINATIONAL CIRCUITS: INTRODUCTION: The digital system consists of two types of circuits, namely (i) (ii) Combinational circuits Sequential circuits Combinational circuit consists of logic gates

More information

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web:     Ph: Serial : S_CS_C_Digital Logic_588 Delhi Noida hopal Hyderabad Jaipur Lucknow Indore Pune hubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: -56 CLASS TEST 8-9 COMPUTER SCIENCE & IT Subject : Digital

More information

Chapter #7: Sequential Logic Case Studies Contemporary Logic Design

Chapter #7: Sequential Logic Case Studies Contemporary Logic Design hapter #7: Sequential Logic ase Studies ontemporary Logic Design No. 7- Storage egister Group of storage elements read/written as a unit 4-bit register constructed from 4 D FFs Shared clock and clear lines

More information

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Week 9 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering TIMING ANALYSIS Overview Circuits do not respond instantaneously to input changes

More information

Digital Fundamentals

Digital Fundamentals Digital Fundamentals Tenth Edition Floyd Chapter 9 Sections 9-1 thru 9-5 2009 Pearson Education, Upper 2008 Pearson Saddle River, Education NJ 07458. All Rights Reserved ET285 Agenda Week 2 Quiz 0: Covered

More information

P2 (10 points): Given the circuit below, answer the following questions:

P2 (10 points): Given the circuit below, answer the following questions: P1 (10 points): Given the function f(a, b, c, d) = m(3,4,5,10,14) + D(6,7): A: Fill in the timing diagram for f. B: Implement f using only 2-1 MUXes. Your circuit should not include more than four 2-1

More information

TYPICAL QUESTIONS & ANSWERS

TYPICAL QUESTIONS & ANSWERS TYPICAL QUESTIONS & ANSWERS PART - I OJECTIVE TYPE QUESTIONS Each Question carries 2 marks. Choose correct or the best alternative in the following: Q.1 The NAN gate output will be low if the two inputs

More information