COMPUTER NUMBER SYSTEMS & DIGITAL DEVICES By: Sohaib Rehman.

Slides:



Advertisements
Similar presentations
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Advertisements

NUMBERS DESCRIBE THE SYSTEM
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #3 NUMBER SYSTEMS, OPERATION & CODES (PART 2)
Number Systems Benchmark Companies Inc PO Box Aurora CO
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Number Systems and Codes In PLC
Revision Introductory Lesson
Programmable Logic Controllers
ReVieW Combinational & Sequential Logic Circuit EKT 221 / 4 DIGITAL ELECTRONICS II.
Lecture 7 How computers process data (Number Systems) PRESENTED BY MD. MAHBUBUL ALAM, PHD 1.
1 Number SystemsLecture 8. 2 BINARY (BASE 2) numbers.
Pharmacology I Math Review.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
1 Digital Systems and Binary Numbers EE 208 – Logic Design Chapter 1 Sohaib Majzoub.
Supplemental Chapter Number Bases
1 Digital Design: Number Systems Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals of Logic.
NUMBER SYSTEM.
Number Systems ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Place Value.
Number systems, Operations, and Codes
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
1 IT 231, CMPE 331 Digital Logic Design Week 2 Number systems and arithmetic.
Converting From decimal to Binary & Hexadecimal to Binary
Digital Electronics Octal & Hexadecimal Number Systems.
Copyright © 2002 Delmar Thomson Learning Chapter 4 Number Systems.
Programming Logic Controllers Number Systems and Codes - Chapter 3.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Number Systems by Dr. Amin Danial Asham. References  Programmable Controllers- Theory and Implementation, 2nd Edition, L.A. Bryan and E.A. Bryan.
Octal & Hexadecimal Number Systems
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
NUMBER SYSTEM. Number System Number Base B => B symbols – Base 16(Hexa):0, 1,……9, A,…, E, F – Base 10 (Decimal): 0, 1, 2,……, 7, 8, 9 – Base 8(Octal):
Principles & Applications
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
Digital Electronics Principles & Applications Fifth Edition Chapter 2 Numbers We Use in Digital Electronics ©1999 Glencoe/McGraw-Hill Roger L. Tokheim.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
1. Number Systems. Common Number Systems SystemBaseSymbols Used by humans? Used in computers? Decimal100, 1, … 9YesNo Binary20, 1NoYes Octal80, 1, … 7No.
Digital Logic Design Lab 1,2 By Nora Alaqeel.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
Digital logic COMP214  Lecture 2 Dr. Sarah M.Eljack Chapter 1 1.
Dr. Nermin Hamza 1. Materials Book: Digital Design 4 th M. Morris Mano and Michael D. Ciletti 2.
Coding Part 2. Weight of the Digit 3672 Thousands (10 3 )Hundreds (10 2 )Tens (10 1 )Units (1) = Weights Decimal Example (3672) 10 Binary.
Programmable Logic Controller
Octal to Decimal Decimal Octal Binary Hexadecimal.
Discrete Mathematics Numbering System.
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Counting in 7s
Number System conversions
Number Systems.
Chapter 1 Number Systems & Conversions
Digital Electronics Ms. Deepa Mehta.
CNET 315 Microprocessors & Assembly Language
Binary / Hex Binary and Hex The number systems of Computer Science.
Digital Electronics and Microprocessors
There are 10 types of people of people in this world…
Chapter 1 Number System RGGP, Narwana.
Architecture and Logic Gates
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Multiplying decimal number by 10,100,1000
Chapter 2 Number Systems.
Remember the 10 types of people of people in this world…
Number Systems.
Chapter 2 Number Systems.
1. Number Systems Chapt. 2.
Presentation transcript:

COMPUTER NUMBER SYSTEMS & DIGITAL DEVICES By: Sohaib Rehman

Number System & Digital Devices  To understand the structure of the binary number system, first step is to review the decimal or base-10 number system.  Example  This tells you that you have 5 thousands, 3 hundreds, 4 tens, 6 ones, 7 tenths and 2 hundredths.

Binary Number System  In a binary number system, each digit represents a power of 2.  A binary digit is often called a BIT.  The binary system uses only two numbers i.e. 1 & 0.  Example of binary number system is

Binary Number System  To convert a binary number into its equivalent decimal number, multiply each digit times the decimal value of the digit and just add these up.  The binary number 101, represents (1 * 2 2 ) + (0 * 2 1 ) + (1 * 2 0 ) =5 ( Decimal)  What is the decimal equivalent for ?

Binary Conversion  = ?  = ?  Conversion from decimal to binary is a simple method and is a part of a class exercise.

Hexadecimal  Computer require binary digits, so why use hexadecimal?  Example shows the digit values for hexadecimal which is often called hex /161/256

Hexadecimal DecHexDecHex 0=08=8 1=19=9 2=210=A 3=311=B 4=412=C 5=513=D 6=614=E 7=715=F

Binary-Coded Decimals  In applications such as frequency counters, digital voltmeters, or calculators, where the output is a decimal display, a BCD code is often used.  BCD uses a 4-bit binary code to represent each decimal digit in a number.  The simplest BCD code uses the first 10 numbers of standard binary code for the BCD numbers 0 through 9.

Binary-Coded Decimals  The Hexadecimals codes A through F are invalid BCD codes.  To convert a decimal number to its BCD equivalent, just represent each decimal digit by its 4-bit binary equivalent.  Example of BCD Decimal529 BCD

Gray Code  Gray Code is another important binary code.  It is often used for encoding shaft position data from machines such as computer controlled latches.  Only one binary digit changes at a time as you count up in this code.  Example Binary Gray

Gray Code

Basic Digital Devices  Inverting & non-inverting buffers.  Logic Gates.  Programmable logic Devices ( PLD’s ).  PLA’s  PROM’s.

Basic Digital Devices  Latches  Flip Flops  Registers  Counters  ROM  RAM  Buses  ALU.

Reading Assignment  Binary, Decimal, Octal, Hexa Decimal number systems with their conversion and addition, subtraction, multiplication, division and digital devices.