LOGIC GATES (PRACTICE PROBLEMS)

Similar documents
ENGR 303 Introduction to Logic Design Lecture 3. Dr. Chuck Brown Engineering and Computer Information Science Folsom Lake College

Digital Fundamentals

EEL 3701 Fall Multiply out the following logic expressions to obtain the Sum of Products.

CMSC 313 Lecture 16 Postulates & Theorems of Boolean Algebra Semiconductors CMOS Logic Gates

CHAPTER 7. Solutions for Exercises

Theorem/Law/Axioms Over (.) Over (+)

CHAPTER 3 LOGIC GATES & BOOLEAN ALGEBRA

CS 226: Digital Logic Design

Part 5: Digital Circuits

Lecture 10: 09//25/03 A.R. Neureuther Version Date 09/14/03 EECS 42 Introduction to Digital Electronics Andrew R. Neureuther

Having read this workbook you should be able to: design a logic circuit from its Boolean equation or truth table.

Chapter 7 Combinational Logic Networks

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

Lecture 3. Title goes here 1. level Networks. Boolean Algebra and Multi-level. level. level. level. level

12/31/2010. Overview. 05-Boolean Algebra Part 3 Text: Unit 3, 7. DeMorgan s Law. Example. Example. DeMorgan s Law

New Students Day Activity

Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Why digital? Overview. Number Systems. Binary to Decimal conversion

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

Digital Design 2. Logic Gates and Boolean Algebra

Chapter 2. Digital Logic Basics

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Circuits & Boolean algebra.

Chapter 2 Part 7 Combinational Logic Circuits

Logic Gates and Boolean Algebra

Unit 3 Session - 9 Data-Processing Circuits

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Experiment 7: Magnitude comparators

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Homework 5. This homework is due February 29, 2016, at Noon.

EEE130 Digital Electronics I Lecture #4

Unit 2 Session - 6 Combinational Logic Circuits

CHAPTER 2 BOOLEAN ALGEBRA

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

This form sometimes used in logic circuit, example:

Textbook: Digital Design, 3 rd. Edition M. Morris Mano

1. Expand each of the following functions into a canonical sum-of-products expression.

1.10 (a) Function of AND, OR, NOT, NAND & NOR Logic gates and their input/output.

211: Computer Architecture Summer 2016

Boole Algebra and Logic Series

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Designing Information Devices and Systems II Fall 2017 Miki Lustig and Michel Maharbiz Homework 1. This homework is due September 5, 2017, at 11:59AM.

University of Toronto Faculty of Applied Science and Engineering Department of Electrical and Computer Engineering Midterm Examination

Unit 9. Multiplexers, Decoders, and Programmable Logic Devices

CSE370 HW3 Solutions (Winter 2010)

Written reexam with solutions for IE1204/5 Digital Design Monday 14/

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Learning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr.

Lecture 4: More Boolean Algebra

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

12/31/2010. Overview. 10-Combinational Circuit Design Text: Unit 8. Limited Fan-in. Limited Fan-in. Limited Fan-in. Limited Fan-in

for Digital Systems Simplification of logic functions Tajana Simunic Rosing Sources: TSR, Katz, Boriello & Vahid

Boolean Algebra & Logic Gates. By : Ali Mustafa

LOGIC GATES A Y=A+B. Logic symbol of OR gate B The Boolean expression of OR gate is Y = A + B, read as Y equals A 'OR' B.

Chapter 4 BOOLEAN ALGEBRA AND THEOREMS, MINI TERMS AND MAX TERMS

MC9211 Computer Organization

Name. ECE-200 Intelligent Systems

ELCT201: DIGITAL LOGIC DESIGN

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

Simlification of Switching Functions

EGC221: Digital Logic Lab

Chapter 2: Switching Algebra and Logic Circuits

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

CprE 281: Digital Logic

WEEK 2.1 BOOLEAN ALGEBRA

Unit 2 Boolean Algebra

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

Cs302 Quiz for MID TERM Exam Solved

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

14:332:231 DIGITAL LOGIC DESIGN

Combinational Logic. Jee-Hwan Ryu. School of Mechanical Engineering Korea University of Technology and Education

Logic Design. Chapter 2: Introduction to Logic Circuits

Boolean Algebra and Logic Simplification

Quality of Minimal Sets of Prime Implicants of Boolean Functions

CMSC 313 Lecture 15 Good-bye Assembly Language Programming Overview of second half on Digital Logic DigSim Demo

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

ELCT201: DIGITAL LOGIC DESIGN

EE 110 Practice Problems for Exam 1: Solutions, Fall 2008

Algebraic Methods for the Analysis and Synthesis

Theory of Logic Circuits. Laboratory manual. Exercise 1

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA (CONT.)

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital electronic systems are designed to process voltage signals which change quickly between two levels. Low time.

Simplification of Boolean Functions. Dept. of CSE, IEM, Kolkata

L4: Karnaugh diagrams, two-, and multi-level minimization. Elena Dubrova KTH / ICT / ES

ECE/Comp Sci 352 Digital System Fundamentals Quiz # 1 Solutions

Signals and Systems Digital Logic System

Prove that if not fat and not triangle necessarily means not green then green must be fat or triangle (or both).

Chapter 3 Combinational Logic Design

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

Chapter 2 Combinational Logic Circuits

CMSC 313 Lecture 19 Combinational Logic Components Programmable Logic Arrays Karnaugh Maps

Administrative Notes. Chapter 2 <9>

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Transcription:

LOGIC GTES (PRCTICE PROLEMS) Key points and summary First set of problems from Q. Nos. 1 to 9 are based on the logic gates like ND, OR, NOT, NND & NOR etc. First four problems are basic in nature. Problems 3 & 4 are based on word statement. Problems 5 to 9 are on Universal gates. How the logic circuits can be designed using these gates? NND gate implementation has been very common. The procedure is Write the oolean expression in SOP form. Simplify the expression Double invert it If oolean function has only one term then implement by observation. Problems 10 to 17 are on E-OR, E-NOR and other gates. Good number of problems are asked on E-OR and E-NOR gates. You have to be thorough with the SOP & POS expressions for these gates and how they have to be used in the problems. Practice these problems to get confidence. 1. Indicate which of the following logic gates can be used to realize all possible combinational Logic functions (a) OR gates only (c) E OR gates only (b) NND gates only (d) NOR gates only [GTE 1989: 1 Mark] (b) and (d) NND and NOR gates can be used to realize all possible combinational logic functions. That is why they are also called Universal gates. 2. The output of a logic gate is 1 when all its input are at logic 0.The gate is either (a) NND or an E OR gate (c) an OR or an E NOR gate (b) NOR or an E-NOR gate (d) an ND or an E-OR gate [GTE 1994: 1 Mark] (b) If we see first gate of the given options then options (c) and (d) are ruled out as OR and ND gates give 0 output for zero inputs. Now see option (a) where NND gate satisfies the condition but E-OR gates does not as it gives 0 output for the same inputs. Option (b) is the correct choice where both gates satisfy the given condition.

3. locker has been rented in the bank. Express the process of opening the locker in terms of digital operation. The locker gate (F) can be opened by using one key () which is with the client and the other key which is with the bank (). When both the keys are used the locker door opens. Locker door is opened i.e. F=1 when both keys are applied ==1. So the process can be expressed as an ND operation. F=. 4. bulb in a staircases has two switches, one switch being at the ground floor and the other one at the first floor. The bulb can be turned ON and also can be turned OFF by and one of the switches irrespective of the state of the other switch. The logic of switching of the bulb resembles. (a) an ND gate (b) an OR gate (c) an OR gate (d) a NND gate [GTE 2013: 1 Mark] (c) If we look for the truth table of E-OR gate for two inputs F 0 0 0 0 1 1 1 0 1 1 1 0 We can see that the bulb can be put ON and OFF by any one of the switches. Say, ground floor switch = 1, ON and = 0 OFF first floor switch = 1, ON and = OFF F is the bulb F =1 is ON and 0 is OFF Let both the switches are is off position (first row of truth table) the bulb is off (since F = 0). If switch () is put on ( = 1) then bulb turn on (F = 1) OR of switch () is put on then also bulb turns. Similarly you can verify for bulb to be off from either floor

5. oolean function f of two variables and Y is defined as follows: f(0, 0) = f(0, 1) = f(1, 1) = 1; f(1, 0) = 0 ssuming complements of and Y are not available, a minimum cost solution for realizing using only 2-input NOR gates and 2-input OR gates (each having unit cost) would have a total cost of (a) 1 unit (b) 4 unit (c) 3 unit (d) 2 unit [GTE 2004: 2 Marks] (d) s per definition of oolean function given in the problem a truth table can be formed x y F 0 0 1 0 1 1 1 0 0 1 1 1 Since the realization is to be done using only NOR and OR gates so, POS equation is to be written i.e. write for 0 term at the output F = x + y This function can be implemented as y x x x + y f Since only two gates are required so cost is 2 units. 6. The oolean function Y= + CD is to be realized using only 2 input NND gates.the minimum number of gates required is (a) 2 (c) 4 (b) 3 (d) 5 [GTE 2007: 1 Mark]

(b) Y = + CD We double complement either side i.e. Y = Y = + CD =. CD Logic diagram for the expression is.. CD C D C. D So, requires three NND gates 7. Minimum number of 2 input NND gates required to implement the function, F = ( + Y )(Z + W) is (a) 3 (c) 5 (b) 4 (d) 6 [GTE 1998: 1 Mark] (b) F = ( + Y )(Z + W) The oolean expression is in POS form. It should be converted into SOP and simplified F = ( + Y )(Z + W) = Y (Z + W) F = Y Z + Y W bove expression cannot be simplified further.

W Y. W Y Y Y. W. Y. Z Z Y. Z = Y. W + Y. Z = Y. W + Y. Z 8. The minimum number of 2-input NND gates required to implement the oolean function Z = C, assuming that, and C are available is (a) Two (c) Five (b) Three (d) Six [GTE 1998: 1 Mark] (c) Z = C Since there is only one term so can be implemented directly. Z = C = C C C C C C 9. The minimum number of NND gates required to implement the oolean function + + C is equal to (a) Zero (c) 4 (b) 1 (d) 7 [GTE 1995: 1 Mark]

(a) Let F = + + C = (1 + ) + C = + C = (1 + C) = So to implement above function no NND gate is required. 10. The oolean expression for the output of E-NOR (equivalence) logic gate with inputs and is (a) + (c) ( + )( + ) (b) + (d) ( + )( + ) [GTE 1993: 1 Mark] The oolean expression in SOP form for E-NOR gate is F = + i.e. output is 1 when both inputs are same. The expression in POS form can be derived from SOP ʘ = = + =. = ( + ). ( + ) Option (c) is in POS form Option (b) is in SOP form 11. The output of the logic gate in figure is F (a) 0 (b) 1 (c) (d) [GTE 1997: 1 Mark] Given gate is E-NOR gate ʘ = = + Here one input is grounded say is grounded

F = ʘ =. 0 +. 0 F = So the output is F = Option (c) 12. For the circuit shown below the output F is given by F (a) F = 1 (b) F = 0 (c) F = (d) F = [GTE 1998: 1 Mark] Output of first E-OR gate is F 1 = = 0 Output 2 nd E=OR gate F 1 F 2 F F 2 = 0 = Note if = 1, then output is 1 If = 0, then output is 0 So whatever is the input the output is same so F2 = Output of 3 rd E-OR Option (b) F = = 0

13. For the logic circuit shown in the figure, the required input condition (,,C) to make the output =1 is C (a) 1, 0, 1 (b) 0, 0, 1 (d) (c) 1, 1, 1 (d) 0, 1, 1 [GTE 2000: 1 Mark] s per the result the output has to be 1, so all the inputs of ND gate should be 1. i.e. C must be equal to 1. One input to E-NOR is 1(i.e. C) The other input should also be 1 to get the 1 output i.e. =1 One of the input to E-OR is 1(=1) the other input has to be 0 to get 1 output at E-OR Gate. So, =0, =1 nd C=1 Option (d) 14. If the input to the digital circuit (in the figure) consisting of cascaded 20 OR gates is, then output Y is equal to 1 1 2 19 20 Y (a) 0 (b) 1 (c) (d) [GTE 2002: 1 Mark] (b) Output of first OR

F 1 = + = 0. + 1. = Output of 2 nd OR F 2 = = 1 Now the 3 rd OR has the same input as first gate. So after 4, 6, 8,..20 th OR the output will be 1. 15. Which of the following oolean expressions correctly represents the relation between P, Q, R and M1. P Q Z M 1 Y (a) M1 = (P OR Q) OR R (b) M1 = (P ND Q) OR R (c) M1 = (P NOR Q) OR R (d) M1 = (P OR Q) OR R [GTE 2008: 1 Mark] (d) oolean expression for the given circuit is M 1 = [P.. Q (P + Q)] R = [( P + Q). (P + Q)] R The expression in the bracket is POS form of OR gate So, M 1 = [P Q] R

16. For the output F to be 1 is the logic circuit shown, the input combination should be F C (a) = 1, = 1, C = 1 (b) = 1, = 0, C = 0 (c) = 0, = 1, C = 0 (d) = 0, = 0, C = 1 [GTE 2010: 1 Mark] (d) The same inputs and are connected to E-OR and E-NOR gates. So the Output of them will be complement of each other i.e. 0,1 or 1,0. For F to be 1, the inputs to E-NOR should be even (even number of 1 s). For the input 1 s to be even numbers C has to be 1. There is only one option with C=1 i.e. option (d). 17. The output of the circuit shown is equal to (a) 0 (b) 1 (c) + (d) ( ) ( ) [GTE 1995: 1 Mark] (b) oolean expression for output F = (ʘ )ʘ( ʘ) Using associative property we can write F = (ʘ )ʘ( ʘ)

= 0 ʘ 0 = 1 Note that ʘ = 0 Since and are complement of each other that If = 1, = 0, so ʘ = 0 Similarly the 2 nd term. ( ʘ ) =0