Digital Electronics Chapter 1 Binary Systems Digital Electronics Galore! Digital Cameras Digital Versatile Disks (DVD) Digital Computers Digital Televisions.

Slides:



Advertisements
Similar presentations
KFUPM COE 202: Digital Logic Design Number Systems Part 3 Courtesy of Dr. Ahmad Almulhem.
Advertisements

A-Level Computing#BristolMet Session Objectives#9 express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal; describe and use two’s.
A digital system is a system that manipulates discrete elements of information represented internally in binary form. Digital computers –general purposes.
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
Chapter 1 Binary Systems 1-1. Digital Systems
Digital Fundamentals Floyd Chapter 2 Tenth Edition
CS 151 Digital Systems Design Lecture 4 Number Codes and Registers.
Overview Digital Systems and Computer Systems Number Systems [binary, octal and hexadecimal] Arithmetic Operations Base Conversion Decimal Codes [BCD (binary.
Storage of Bits Computers represent information as patterns of bits
Digital Systems Number Systems and Codes Wen-Hung Liao, Ph.D.
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
VIT UNIVERSITY1 ECE 103 DIGITAL LOGIC DESIGN CHAPTER I NUMBER SYSTEMS AND CODES Reference: M. Morris Mano & Michael D. Ciletti, "Digital Design", Fourth.
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
S. Barua – CPSC 240 CHAPTER 2 BITS, DATA TYPES, & OPERATIONS Topics to be covered are Number systems.
Number System and Codes
Lesson 2 0x Coding ASCII Code.
Number Systems and Codes In PLC
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
1.6 Signed Binary Numbers.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Digital Systems and Binary Numbers
EKT 121 / 4 ELEKTRONIK DIGIT 1 CHAPTER 1 : INTRODUCTION.
Digital Systems and Logic Design
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Number Systems Part 4 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
1 Digital Systems and Binary Numbers EE 208 – Logic Design Chapter 1 Sohaib Majzoub.
COMPSCI 210 Semester Tutorial 1
Yuh-Jzer JoungDigital Systems1 Number Systems decimal number : 7397=7× × × ×10 0 a 4 a 3 a 2 a 1 a 0. a -1 a -2 = a 4 ×10 4 +a 3 ×10.
Logic Design Dr. Yosry A. Azzam. Binary systems Chapter 1.
Number systems & Binary codes MODULE 1 Digital Logic Design Ch1-2 Outline of Chapter 1  1.1 Digital Systems  1.2 Binary Numbers  1.3 Number-base Conversions.
Digital Logic Design Week 3
1 EENG 2710 Chapter 1 Number Systems and Codes. 2 Chapter 1 Homework 1.1c, 1.2c, 1.3c, 1.4e, 1.5e, 1.6c, 1.7e, 1.8a, 1.9a, 1.10b, 1.13a, 1.19.
1 Chapter 2 Number Systems, Operations, and Codes.
Number systems, Operations, and Codes
Chapter 1: Digital Computers and Information Illustration at beginning of each Chapter Base 10 Binary Base 2 Octal Base 8 Hex bas
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
Ch 2. Number Systems and Codes 2.2 Octal and Hexadecimal Numbers 10 ~ 15 : Alphabet.
Digital Circuits Text Book –M. M. Mano, "Digital Design," 3rd Ed., Prentice Hall Inc., Reference –class notes Grade –quizzes:15% –mid-term:27.5%
Tutorial: ITI1100 Dewan Tanvir Ahmed SITE, UofO
Introduction to Microprocessors Chapter 2. Decimal or Base 10 Numbers  Have ten different digits (0-9)  It is a weighted number system. Each position.
Signed Binary Numbers Arithmetic Subtraction – In 2’s-complement form: Example: 1.Take the 2’s complement of the subtrahend (including the sign bit) and.
Digital Fundamentals Tenth Edition Floyd Chapter 2 © 2008 Pearson Education.
MECH1500 Chapter 3.
DIGITAL SYSTEMS Number systems & Arithmetic Rudolf Tracht and A.J. Han Vinck.
Chapter 1: Binary Systems
NUMBER SYSTEMS AND CODES. CS Digital LogicNumber Systems and Codes2 Outline Number systems –Number notations –Arithmetic –Base conversions –Signed.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Section 5 Digital Electronic Circuits. Chapter 32 Binary Number System.
Digital Logic & Design Adil Waheed Lecture 03. Range of Binary Numbers Processors can handle 64-bit unsigned binary values. Maximum unsigned decimal number.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
Exercise 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy
Digital Logic Design Lab 1,2 By Nora Alaqeel.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
Lecture 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy
Exercises 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Number Systems. The position of each digit in a weighted number system is assigned a weight based on the base or radix of the system. The radix of decimal.
Chapter 1 Digital Systems and Binary Numbers
Unit 18: Computational Thinking
CHAPTER 1 : INTRODUCTION
Combinational Circuits
Introduction to Chapter 2
Digital Systems and Binary Numbers
2 Number Systems and Codes Edited by Jerry Bernardini.
SYEN 3330 Digital Systems Chapter 1 SYEN 3330 Digital Systems.
BEE1244 Digital System and Electronics BEE1244 Digital System and Electronic Chapter 2 Number Systems.
Digital Logic & Design Lecture 05
Chapter 1 Number System RGGP, Narwana.
Computer Architecture CST 250
Presentation transcript:

Digital Electronics

Chapter 1 Binary Systems

Digital Electronics Galore! Digital Cameras Digital Versatile Disks (DVD) Digital Computers Digital Televisions Digital Telephones Digital Birthday Cards

Binary Numbers Decimal Binary

Binary Drill 1101 = ? 1001 = ? 1000 = ? 0101 = ? 1010 = ?

Binary Drill … Solutions 1101 = = = = = 10

Hexadecimal (Base 16) So = what in decimal?

Hexadecimal Solution = 56 10

Decimal - Hexadecimal 0 through 9 = 0 through 9 10 = A 11 = B 12 = C 13 = D 14 = E 15 = F 16 = = = 12

Hexadecimal Drill 2B7 = what in decimal? Hint: Think …

Hexadecimal Drill … Solution 2B7 = 256 x x Hint: Think … B7 16 =

Hexadecimal To Binary 2B7 = what in binary? Hint Secret Recipe: Convert digit by digit!!!

Hex2Bin … Solution 2B7 = what in binary? Secret Recipe: Convert digit by digit!!! 2 B 7 16 =

Octal (Base 8) So 65 8 = what in decimal?

Octal Solution 65 8 = 53 10

Decimal - Octal 0 = 0 1 = 1 2 = 2 3 = 3 4 = 4 5 = 5 6 = 6 7 = 7 8 = 10 9 = = 12

Octal Drill = what in decimal? Hint: Think …

Octal Drill … Solution = 64 x x = Hint: Think …

Octal To Binary = what in binary? Hint : Groups of 3 Secret Recipe: Convert digit by digit!!!

Oct2Bin … Solution 217 = what in binary? Secret Recipe: Convert digit by digit!!! =

Fractions in Binary = what in binary? =

Fractions … Drill = what in binary?

Fractions … Drill =

Complements 1’s complement is formed by inverting the digits 1’s complement of = ’s complement is formed by adding 1 to the 1’s complement 2’s complement of =

Negative (signed) Numbers 2’s complement is used to represent a negative number Example: = and 102 = So -102 = So 115 = = =

BCD (Binary Coded Decimal) Example = Note that each digit is coded individually. Do not confuse this with pure binary!

ASCII Character Codes CAPS:A = = G = = Z = 5A 16 = lower casea = = h = = z = 7A 16 = digits = = = =

Error Detection and Parity Parity bit is an extra bit added to make the total number of 1’s even or odd depending on the protocol agreed upon A with even parity = A with odd parity = Parity bit helps in detecting errors during transmission.

Binary Logic AND means ALL conditions must be TRUE for the outcome to be true. For instance, you must study AND take the test in order to pass this class. OR means AT LEAST ONE condition must be true for the outcome to be true. For instance, you can walk, ride the bike, or drive to get to school.

Logic Gates ANDOR xy x  y xy x+y

Digital Logic Gates AND OR NOT

Timing Diagrams

That’s All Folks!