1. Draw the membership function for the following Fuzzy expressions

Similar documents
CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Unit 3 Boolean Algebra (Continued)

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

2.0 Chapter Overview. 2.1 Boolean Algebra

Boolean Algebra Part 1

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra

BOOLEAN ALGEBRA & LOGIC GATES

Gates, Circuits, and Boolean Algebra

CSE140: Midterm 1 Solution and Rubric

CH3 Boolean Algebra (cont d)

Chapter 5. Rational Expressions

Boolean Algebra. Boolean Algebra. Boolean Algebra. Boolean Algebra

Simplifying Logic Circuits with Karnaugh Maps

CSE140: Components and Design Techniques for Digital Systems

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Boolean Algebra (cont d) UNIT 3 BOOLEAN ALGEBRA (CONT D) Guidelines for Multiplying Out and Factoring. Objectives. Iris Hui-Ru Jiang Spring 2010

Introduction. The Quine-McCluskey Method Handout 5 January 21, CSEE E6861y Prof. Steven Nowick

ENGI 241 Experiment 5 Basic Logic Gates

Lecture 5: Gate Logic Logic Optimization

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

PRIMARY CONTENT MODULE Algebra I -Linear Equations & Inequalities T-71. Applications. F = mc + b.

Logic in Computer Science: Logic Gates

CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

Digital Electronics Part I Combinational and Sequential Logic. Dr. I. J. Wassell

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Logic Reference Guide

Understanding Logic Design

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

CHAPTER 3 Boolean Algebra and Digital Logic

Switching Algebra and Logic Gates

Combinational circuits

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

BEGINNING ALGEBRA ACKNOWLEDMENTS

1.4. Arithmetic of Algebraic Fractions. Introduction. Prerequisites. Learning Outcomes

3.Basic Gate Combinations

Design and Development of Virtual Instrument (VI) Modules for an Introductory Digital Logic Course

Two-level logic using NAND gates

Lecture 8: Synchronous Digital Systems

Find all of the real numbers x that satisfy the algebraic equation:

Binary Adders: Half Adders and Full Adders

Chapter 7 Memory and Programmable Logic

DESIGN OF GATE NETWORKS

CHAPTER 2. Logic. 1. Logic Definitions. Notation: Variables are used to represent propositions. The most common variables used are p, q, and r.

25 The Law of Cosines and Its Applications

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

Online EFFECTIVE AS OF JANUARY 2013

Factoring Polynomials

Digital Electronics Detailed Outline

C H A P T E R. Logic Circuits

SOLVING QUADRATIC EQUATIONS - COMPARE THE FACTORING ac METHOD AND THE NEW DIAGONAL SUM METHOD By Nghi H. Nguyen

Lecture 2 Matrix Operations

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

CS510 Software Engineering

~ EQUIVALENT FORMS ~

Brief Introduction to Vectors and Matrices

M.S. Project Proposal. SAT Based Attacks on SipHash

Computer Programming Lecturer: Dr. Laith Abdullah Mohammed

Welcome to Math Video Lessons. Stanley Ocken. Department of Mathematics The City College of New York Fall 2013

Chapter 2: Linear Equations and Inequalities Lecture notes Math 1010

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Crosswalk Directions:

1.4. Removing Brackets. Introduction. Prerequisites. Learning Outcomes. Learning Style

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

Today s topics. Digital Computers. More on binary. Binary Digits (Bits)

1.3 Polynomials and Factoring

Course Requirements & Evaluation Methods

EG1108: Electrical Engineering

Philadelphia University Faculty of Information Technology Department of Computer Science Semester, 2007/2008.

Click on the links below to jump directly to the relevant section

Algebraic expressions are a combination of numbers and variables. Here are examples of some basic algebraic expressions.

Combinational Logic Design Process

Basic Logic Gates Richard E. Haskell

BALANCED THREE-PHASE CIRCUITS

Definitions 1. A factor of integer is an integer that will divide the given integer evenly (with no remainder).

Combinational Logic Design

Logic algebra package for Maxima

Summary. Operations on Fuzzy Sets. Zadeh s Definitions. Zadeh s Operations T-Norms S-Norms. Properties of Fuzzy Sets Fuzzy Measures

Math 312 Homework 1 Solutions

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

Factoring Polynomials and Solving Quadratic Equations

NSM100 Introduction to Algebra Chapter 5 Notes Factoring

CS103B Handout 17 Winter 2007 February 26, 2007 Languages and Regular Expressions

Circuits and Boolean Expressions

The illustrations in this manual may differ from the product you are using.

On the generation of elliptic curves with 16 rational torsion points by Pythagorean triples

Chapter 1. Computation theory

Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.

Using the ac Method to Factor

Upon completion of unit 1.1, students will be able to

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, The Binary Adder

Algebraic Properties and Proofs

DEPARTMENT OF INFORMATION TECHNLOGY

Geometry 1. Unit 3: Perpendicular and Parallel Lines

SECTION P.5 Factoring Polynomials

Transcription:

1. Draw the membership function for the following Fuzzy expressions a. A OR B b. NOT (B AND C) c. A OR (B AND C) Answers to Practice Problems Practice problems - Deriving Boolean Expressions From Truth Tables: What is the Boolean expression for the following truth tables? 1. A B f b. A B C f 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 Answers: a. A B +A B+AB b. A B C+A BC +AB C +ABC Practice problems - Deriving the Truth Table for a given function Show the truth tables for the following functions 1. f = AB 2. f = A B + C 3. f = B 4. f = 1 (2 variables) 5. f = 0 (3 variables) NTC 2/26/05 95

6. f = A + B + C 7. f = AB + A C 1. A B f 2. A B C f 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 1 1 1 1 1 0 1 0 1 0 1 1 1 1 0 0 0 1 0 1 1 1 1 0 0 1 1 1 1 3. A B f 4. A B f 0 0 0 0 0 1 0 1 1 0 1 1 1 0 0 1 0 1 1 1 1 1 1 1 5. A B C f6. A B C f 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 7. A B C f 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 1 1 0 1 1 NTC 2/26/05 96

1 1 0 0 1 1 1 0 Practice Problems - Facts 1. How many minterms exist for a Boolean space of 5 variables? Ans: 32 2. How many possible Boolean functions of 4 variables are there? Ans:64K 3. List all minterms for a Boolean space of 1 variable. Ans: A, A 4. List all functions for a boolean space of 1 variable Ans: 0, A, A, 1 5. If f = A B, what is the DNF for f? Ans: f = AB + AB + A B Practice Problems - Algebraic Simplification 1. Write the duals of the following Boolean equations a. A + B = 1 AB = 0 b. A(B +C ) = 0 A+B C = 1 c. A B + B C = 1 (A +B)(B +C) = 0 d. (A + B )CD = 0 AB +C+D = 1 2. Simplify Algebraically the following Boolean expressions a. f 1 = A + A B = A + B b. f 2 = A(A+B ) = A c. f 3 = A + ABC +A C = A + C d. f 4 = AB + AB + A B + A B = 1 e. f 5 = A(B + C)A = 0 f. f 6 = (A + B)(A + B ) = AB + A B g. f 7 = (A B + C) + C = A + B + C Practice Problems - Canonical Forms 1. Find the Disjunctive Normal Form for the following Boolean expressions, assuming the DNF has the number of variables given. a. f a = A + B = AB + AB + A B b. f b = A + B = ABC + ABC + AB C + AB C + A B C + A B C c. f c = AB C Already DNF in three variables NTC 2/26/05 97

d. f d = 1 = ABC + ABC + AB C + AB C + A B C + A B C + A BC + A BC e. f e = AB + A C + BC = AB C+ AB C +A BC + ABC + A B C + A BC f. f f = (A + B)(A + C) = ABC + AB C + A BC + A BC 2. Find the Conjunctive Normal Form for the following Boolean expressions, assuming the CNF has the number of variables given. a. g a = A + B Already CNF in two variables b. g b = A + B (A + B + C)(A + B + C ) c. g c = ABC + ABC + AB C + A B C = (A + B + C )(A + B + C)(A + B + C)(A + B + C ) d. g d = (A + B )(B + C ) = (A + B + C)(A + B + C )(A + B + C )(A + B + C ) e. g e = 1 = (A + B)(A + B )(A + B)(A + B ) Practice problems-karnaugh Maps 1. Write the simplified function given by the following truth tables: a. A 0 0 1 1 A 1 1 1 1 Answer: b. f = A + B A 1 1 1 1 A 1 1 1 1 Answer: f = 1 NTC 2/26/05 98

2. Show the Karnaugh Maps and simplify the following Boolean expressions: a. A (B + C )+ BC A 1 1 1 1 A 0 0 0 1 Ans: A + BC b. AB + B (C + A D) + (B + CD) Sum of Products form = ab + B c + A B D + B + CD C D C D CD CD A B 0 1 1 1 A B 1 1 1 1 AB 1 1 1 1 AB 0 0 1 1 Ans: = B + C + A D c. AB + AB A B + A B B B A 1 1 A 1 1 Ans: 1 d. ABC + ABC + AB C + AB C + A BC + A BC + A B C NTC 2/26/05 99

A 1 1 1 A 1 1 1 1 Ans: A + B + C Practice problems - Exclusive-Or 1. Identify each of the following truth tables is for an XOR function, a NOT XOR function, or neither. If the function is an XOR or NOT XOR function, write the corresponding boolean expression using only the XOR operator (). a. ABC f b. AB f c. ABC f d. AB f ------- ---- ----- ------- 000 0 00 0 000 0 00 1 001 1 01 1 001 1 01 0 010 1 10 1 010 0 10 0 011 0 11 0 011 1 11 1 100 1 100 0 101 0 101 1 110 0 110 0 111 1 111 1 ABC AB Not xor (AB) 2. Which of the following Boolean expressions represents an Exclusive-Or or a NOT XOR (can be written using only the XOR and NOT operators)? For those that do, rewrite the expression using only XOR and NOT operators a. AB +A B AB b. AB+A B (AB) c. A B+AB NO d. ABC+AB C +A BC +A B C ABC e. A BC+AB C +ABC +A B C NO NTC 2/26/05 100

Practice Problems - NANDs and NORs 1. Assume the following symbolism: A nand B = AB, A nor B =. Evaluate the following Boolean expressions: a. A(A1) Ans: 1 b. B0 Ans: 1 c. (A0)1 Ans: A d. B(01) Ans: 1 2. Rewrite the following Boolean expressions (written in the NAND/NOR symbolism above) into expressions using traditional AND, OR and NOT symbolism. a. (AB)C Ans: ((A+B) C) = (A+B) + C = A+B+C b. A((AC)0)Ans: (A((A+C) 0) ) = A c. (AB)C Ans: ((AB) C) = AB+C d. (B1)1 Ans: 0 3. Convert the following functions into expressions using only NANDs and also into expressions using only NORs a. AB+C c. (A+B)C b. ABC d. A+B+C Practice Problems - Logic Circuits 1. Draw the logic circuits corresponding to each of the following Boolean expressions. Do not simplify the expressions. a. AB+C(A +B) b. A+B+C(A +C ) c. (A+B )(BC +A)+D NTC 2/26/05 101