SEMESTER ONE EXAMINATIONS 2002

Similar documents
REPEAT EXAMINATIONS 2002

REPEAT EXAMINATIONS 2004 SOLUTIONS

ASYNCHRONOUS COUNTER CIRCUITS

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

1. Convert the decimal number to binary, octal, and hexadecimal.

EE292: Fundamentals of ECE

Asynchronous (Ripple) Counters

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Chapter 4. Logic Design

Counter dan Register

Module -5 Sequential Logic Design

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

Vignana Bharathi Institute of Technology UNIT 4 DLD

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

DIGITAL CIRCUIT COMBINATORIAL LOGIC

MODULE 3. Combinational & Sequential logic

CHAPTER 4: Logic Circuits

MC9211 Computer Organization

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

Experiment 8 Introduction to Latches and Flip-Flops and registers

Logic Design. Flip Flops, Registers and Counters

Flip-Flops and Sequential Circuit Design

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

Logic Design Viva Question Bank Compiled By Channveer Patil

CHAPTER 4: Logic Circuits

Logic. Andrew Mark Allen March 4, 2012

Digital Fundamentals: A Systems Approach

Chapter 5 Sequential Circuits

CHAPTER 1 LATCHES & FLIP-FLOPS

THE KENYA POLYTECHNIC

1 Hour Sample Test Papers: Sample Test Paper 1. Roll No.

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

Chapter 6. Flip-Flops and Simple Flip-Flop Applications

(CSC-3501) Lecture 7 (07 Feb 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

IT T35 Digital system desigm y - ii /s - iii

Logic and Computer Design Fundamentals. Chapter 7. Registers and Counters

Sequential Logic Circuits

RS flip-flop using NOR gate

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

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

PURBANCHAL UNIVERSITY

Chapter 3: Sequential Logic Systems

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

RS flip-flop using NOR gate

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

UNIVERSITI TEKNOLOGI MALAYSIA

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

ELCT201: DIGITAL LOGIC DESIGN

Sequential Digital Design. Laboratory Manual. Experiment #7. Counters

Combinational vs Sequential

CHAPTER 6 COUNTERS & REGISTERS

FE REVIEW LOGIC. The AND gate. The OR gate A B AB A B A B 0 1 1

Sequential Digital Design. Laboratory Manual. Experiment #3. Flip Flop Storage Elements

1.b. Realize a 5-input NOR function using 2-input NOR gates only.

WINTER 15 EXAMINATION Model Answer

VU Mobile Powered by S NO Group

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE422) COUNTERS

Chapter 9 Counters. Clock Edge Output Q 2 Q 1 Q

Unit 11. Latches and Flip-Flops

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

Final Exam review: chapter 4 and 5. Supplement 3 and 4

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

Chapter 9. Design of Counters

Registers and Counters

BCN1043. By Dr. Mritha Ramalingam. Faculty of Computer Systems & Software Engineering

DIGITAL ELECTRONICS MCQs

Switching Theory And Logic Design UNIT-IV SEQUENTIAL LOGIC CIRCUITS

Scanned by CamScanner

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur

Other Flip-Flops. Lecture 27 1

Registers and Counters

Chapter. Synchronous Sequential Circuits

Flip Flop. S-R Flip Flop. Sequential Circuits. Block diagram. Prepared by:- Anwar Bari

LSN 12 Shift Registers

Multiplexor (aka MUX) An example, yet VERY useful circuit!

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

ELCT201: DIGITAL LOGIC DESIGN

Chapter 7 Counters and Registers

ME 515 Mechatronics. Introduction to Digital Electronics

EKT 121/4 ELEKTRONIK DIGIT 1

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

VTU NOTES QUESTION PAPERS NEWS RESULTS FORUMS Registers

Analogue Versus Digital [5 M]

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Sequential Logic Basics

Digital Circuits I and II Nov. 17, 1999

Department of Computer Science and Engineering Question Bank- Even Semester:

TYPICAL QUESTIONS & ANSWERS

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

Chapter 3. Boolean Algebra and Digital Logic

Introduction to Sequential Circuits

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Transcription:

SEMESTER ONE EXAMINATIONS 2002 EE101 Digital Electronics Solutions Question 1. An assembly line has 3 failsafe sensors and 1 emergency shutdown switch. The Line should keep moving unless any of the following conditions arise: o If the emergency switch is pressed. o If sensor 1 and sensor 2 are activated at the same time. o If sensor 2 and sensor 3 are activated at the same time. o If all three sensors are activated at the same time. (a) Derive the truth table for this system. A = Switch B=Sensor1 C=Sensor2 D=Sensor3 Pressed or sensor activated = 1 F=Shutdown=1 A B C D F 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 1 0 0 1 1 0 1 0 1 1 1 1 1 0 0 0 1 1 0 0 1 1 1 0 1 0 1 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 [4 marks for correct table] Page 1 of 1.

(b) Design, using Karnaugh Map techniques, a minimum AND-OR gate network for this system. Draw the resulting digital circuit diagram. Calculate Karnaugh Map: Resulting expression is : F = A + + CD [4 marks for map] [4 marks for expression & diagram] (c) Design, a digital circuit that will implement the minimal AND-OR gate network found in (b) using both (i) NAND gates only and (ii) NOR gates only. Assume that each logic gate can have any number of inputs and that inverted inputs are available. Use DeMorgan s theorem to convert to NAND/NOR gates. The student must use the theorem and cannot simply substitute the gates as this does not result in the minimal solution. (i) NAND F = A + + CD = A CD A.. CD Page 2 of 2.

(ii) NOR F A CD F A CD F A ( B C) ( C D) F F A ( B C) ( C D) (d) If the time delay experienced by a NAND gate is 8ns and the time delay experienced in a NOR gate is 10ns. Which implementation of (c) is faster By how long For the NAND gates the total delay is 2 x 8ns = 16ns For the NOR gates the total delay is 3 x 10ns = 30ns NAND gate implementation is faster by 14ns (e) Prove the rule of Boolean algebra: (A+B)(A+C) = A + ( A B)( A C) AA AC AB A AC AB A(1 C) AB A AB A(1 B) A [4 marks] Page 3 of 3.

Question 2. (a) Convert the following numbers to binary. Show each step clearly. (i) 29 16 (ii)255.4375 10 29 16 can be converted directly as 0010 1001 as it is in hex form. Conversion to base 10 and then division by 2 will also give full marks. 255.4375 do in two stages. 255/2 = 127 remainder 1 127/2 = 63 remainder 1 63/2 = 31 remainder 1 31/2 = 15 remainder 1 15/2 = 7 remainder 1 7/2 = 3 remainder 1 3/2 = 1 remainder 1 1 LHS = 11111111.4375 * 2 = (no carry) 0.8750 * 2 = carry of 1.7500 * 2 = carry of 1.5 * 2 = carry of 1.0 RHS =.0111 ANS 1111111.0111 2 (b) Perform the following using 9's complement Binary Coded Decimal (D) subtraction. (i) 411-332 (ii) 118-555 411-332 (get 9 s complement = 667) 0100 0001 0001 0110 0110 0111 1010 0111 1000 (1 st invalid) 0110 1 0000 1 0000 0111 1001 = 79 118 555 (9 s complement of 555 = 444) 0001 0001 1000 0100 0100 0100 0101 0101 1100 (last invalid) 0110 Page 4 of 4.

0101 0101 0010 0001 0101 0110 0010 (no end-around carry => negative) get nines complement of 562 = -437 (c) Explain the operation and outline the problems associated with asynchronous counters. Draw a graph of the outputs to help explain your answer. [4 marks] If the output of one counter is connected to the clock of the next counter then all 2 N states can be used in the binary counter. N flip-flops => 2 N states, base 2 N This counter is called an asynchronous or ripple counter as the clock pulse effectively ripples through the counter. The more correct waveform is shown here: There is a cumulative delay which is a major disadvantage. This cumulative delay of an asynchronous counter limits the rate at which a counter can be clocked and can also create decoding problems. False outputs that result are called glitches. [6 marks] Page 5 of 5.

Question 3. (a) Explain the operation of a right/left shift register. Draw the logic diagram to help explain its operation. [8 marks for diagram] Shift registers can be used to transfer data from right to left, shift left by connecting the output of a flip-flop back to the input of the flip-flop on its left. A shift from left to right, shift right, can be carried out during normal operation of the shift register A shift right and shift left register can be combined by suitable gating and control signals. In the operation above R / L 0 => shift right In the operation above R / L 1 => shift left Explain the operation of the logic gates simply an and gate with a value of 0 has an output of zero and an AND gate with one input of 1.A will have the output A. In effect the R/L line turns either the Right or Left AND gate on or off. The OR gate simply combines the output of the two AND gates to bring forward the correct output. [5 marks for description] (b) Design a two s complement adder/subtractor. Draw the logic diagram and explain how the design works in add mode and in subtract mode. Page 6 of 6.

This circuitry can generate the 2 s complement when we wish to do a subtraction When ADD / SUB = 0 => the circuit adds When ADD / SUB = 1 => the circuit subtracts XOR gates act as True/complement in that they invert B when the line is set to 1 and a 1 is added to the LSB, so that the two s complement will be generated. [8 marks for correct diagram] [4 marks for the description] Question 4. (a) Explain the operation of a shift register with feedback. Use diagrams to explain the operation. If the serial output of a shift register is connected back to the input [Q to J], [Q\ to K] then the sequence of numbers stored in the register will circulate. E.g. Q3 Q2 Q1 Q0 CLK 1 0 1 1 1 1 0 1 pulse 1 1 1 1 0 pulse 2 0 1 1 1 pulse 3 1 0 1 1 pulse 4 Note that the last row is the same as the first row. [7 marks for diagram] [3 marks for description] (b) Explain the operation of an n-bit ring counter with self correcting feedback. An N-bit ring counter has N states each of which contains all 0 s except for a single 1 An ring counter is wasteful of flip-flops as we only get N states with N flip-flops. Page 7 of 7.

We can use self correcting feedback to obtain desired sequences. In this case when 0 0 0 occurs the AND gate will feed back a 1 (as the inputs to the AND gate are connected to the Q\ values) [Diagram 10 marks] [Description 5 marks] Question 5. (a) Explain the operation of a master-slave JK flip-flop. Draw the logic diagram for the flip-flop and describe in detail the two-stage approach of its operation, in particular explain why a master-slave configuration is preferable to a standard JK flip-flop. Two phase operation [8 marks for diagram] When the clock pulse is high the JK inputs are applied to the master flip-flop and the slave input is not affected [clk=0]. When the clock pulse falls to zero the data from the master is applied to the slave inputs and the outputs Q and Q\ then get their new values. But since CLK=0 the master flip-flop is unaffected by them and the flp-flop operates correctly. Problem with standard JK flip-flops is that if the data inputs change while the clock pulse is high then we get strange effects on the outputs. We need to insure that the Q and Q\ values do not assume their new values until after the trailing edge of the clock pulse ie. = 0. [7 marks for description] (b) Explain using diagrams the modifications required to convert (a) into a JK flipflop with asynchronous set and reset inputs. Why are these inputs a useful addition to the standard master-slave JK flip-flop Separate set and reset inputs can be added to the JK Flip-flop. These set and reset inputs [S\, R\] over-ride the JK inputs and are asynchronous [i.e. override the clock]. When S\=R\=1 we have normal flip-flop operation. Page 8 of 8.

[6 marks for addition to diagram] [4 marks for brief description] Page 9 of 9.