01 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.

Slides:



Advertisements
Similar presentations
ADDER, HALF ADDER & FULL ADDER
Advertisements

CDA 3100 Recitation Week 10.
Digital Circuits.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
04 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
08 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
Boolean Logic & Truth Tables In today’s lesson we will look at: a reminder about truth values and NOT, AND, OR and EOR truth tables operator precedence.
CS 105 Digital Logic Design
Digital Logic Design ESGD2201
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
2-6 Other Logic Operations For two variables one can achieve sixteen operations Only eight are useful for computers Boolean algebra built on AND, OR and.
Binary Codes Computers and other digital systems "work" with binary numbers. I/P & O/P is usually done using decimal numbers, alphabetics, special symbols.
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Lecture 7 How computers process data (Number Systems) PRESENTED BY MD. MAHBUBUL ALAM, PHD 1.
Introduction to Computer Science David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS September 6, 2007.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
ADDERS Half Adders Recall that the basic rules of binary addition are as indicated below in Table 2-9. A circuit known as the half-adder carries out these.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Introduction to Digital Logic and Circuits EE 101, Fall 2015 University of Kentucky.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Mohammad Amin Kuhail M.Sc. (York, UK) University of Palestine Faculty of Engineering and Urban planning Software Engineering Department Digital Logic Design.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
17 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
Islamic University Of Gaza, Nael Aburas Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas
1 April 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Formal.
03 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Universal college of engineering & technology. .By Harsh Patel)
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter 2 Boolean Algebra and Minimization Techniques.
Appendix C Basics of Digital Logic Part I. Florida A & M University - Department of Computer and Information Sciences Modern Computer Digital electronics.
ECE2030 Introduction to Computer Engineering Lecture 5: Boolean Algebra Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia.
Logic Design EE-2121 Manesh T. Digital Systems  Introduction  Binary Quantities and Variables  Logic Gates  Boolean Algebra  Combinational Logic.
ECE 301 – Digital Electronics Logic Circuit Design (Lecture #9)
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
1 CS 352 Introduction to Logic Design Lecture 1 Ahmed Ezzat Number Systems and Boolean Algebra, Ch-1 + Ch-2.
Materials on the Exam Introduction Data Representation in Computer Systems Boolean Algebra Digital Logic MARIE: An Introduction to a Simple Computer Until.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
Logic gates.
Computer basics.
Boolean Algebra & Logic Gates
Computer Code.
Computer Science 210 Computer Organization
Unit 2 Boolean Algebra.
ECE 331 – Digital System Design
CHAPTER 1 : INTRODUCTION
Boolean Algebra.
TN 221: DIGITAL ELECTRONICS 1
Fundamentals & Ethics of Information Systems IS 201
University of Gujrat Department of Computer Science
CS105 Introduction to Computer Concepts GATES and CIRCUITS
ELL100: INTRODUCTION TO ELECTRICAL ENGG.
Variables and Expressions
COSC 2021: Computer Organization Instructor: Dr. Amir Asif
Algebra Vocabulary.
Lecture 20: Combinatorial Circuits I
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Chapter 10.3 and 10.4: Combinatorial Circuits
Binary Logic.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Department of Electronics
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Computer Architecture
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

01 March 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to Discrete Mathematics Introduction

01 March 2009Instructor: Tasneem Darwish2 Outlines Number systems. The importance of binary number. binary arithmetic. Boolean algebra. Basic Boolean operations. Boolean expressions. Basic Boolean theorems.

01 March 2009Instructor: Tasneem Darwish3 Number systems The decimal number system is a base 10 system. 0,1, 2, 3, 4, 5, 6, 7, 8, 9 The binary number system is a base two system. 0, 1

01 March 2009Instructor: Tasneem Darwish4 The importance of binary numbers Computers are based on the logic of binary numbers. Any digital system is designed according to the binary systems notion. In computers every character is saved in memory as 8bits. Each bit is represented as either 0 or 1. Example: The character ‘A’ is saved as

01 March 2009Instructor: Tasneem Darwish5 Binary Arithmetic Arithmetic operations in digital systems are usually done in binary because design of digital components to perform binary arithmetic is much easier than for decimal. The binary arithmetic is much easier than decimal. In binary number system there is four main operations: Addition. Subtraction. Multiplication. Division.

01 March 2009Instructor: Tasneem Darwish6 Binary Arithmetic Binary addition has four cases: 0+0=0 0+1=1 1+0=1 1+1= 1 and a carry 1 Binary multiplication also has four rules: 0*0=0 1*0=0 0*1=0 1*1=1

01 March 2009Instructor: Tasneem Darwish7 Boolean Algebra Boolean variables, such as X or Y, are used to represent the input or output of a digital electronics components. Boolean variables can take only two values ‘0’ or ‘1’ The ‘0’ value is to indicate low voltage. The ‘1’ value is to indicate high voltage. Although the ‘0’ and ‘1’ symbols look like binary numbers, but they are not because they have no numeric value

01 March 2009Instructor: Tasneem Darwish8 Basic Boolean Operations There are three basic Boolean operations:  And  Or  Complement (inverse) Boolean operations are usually defined using truth table. A truth table describes all the possible values of the operation arguments and their results.

01 March 2009Instructor: Tasneem Darwish9 Basic Boolean Operations The And operation Example: A. B = X (pronounced: A and B equals X) The truth table for the And operation is as follows: ABA.B=X

01 March 2009Instructor: Tasneem Darwish10 Basic Boolean Operations The OR operation Example: A + B = X (pronounced: A or B equals X) The truth table for the OR operation is as follows: ABA+B=X

01 March 2009Instructor: Tasneem Darwish11 Basic Boolean Operations The Complement operation Example: A` = X (pronounced: A inverse equals X) The truth table for the Complement operation is as follows: AA`=X 01 10

01 March 2009Instructor: Tasneem Darwish12 Boolean Expressions Boolean expressions consist of Boolean variables with one or more Boolean operations. Example: X= (A.B) +C The truth table for this expression is as follows: ABCA.BX=(A.B)+C

01 March 2009Instructor: Tasneem Darwish13 Basic Boolean Theorems These are the basic Boolean algebra theorems:  X+0=XX.0=0  X+1=1X.1=X  X+X=XX.X=X  (X`)`=X  X+X`=1X.X`=0