Number System Chapter 3 Subject: Digital System Year: 2009.

Slides:



Advertisements
Similar presentations
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #3 NUMBER SYSTEMS, OPERATION & CODES (PART 2)
Advertisements

Forging new generations of engineers. Binary Addition & Subtraction.
Number Systems Discussion D4.1 Appendix C. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Binary & Decimal numbers = 3* * *10 + 5*1 = 3* * * *10 0 Decimal system: Ten digits: 0,1,2,3,…,9 Example:
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Number System and Codes
FIGURES FOR CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
Counting in The Binary System Base Two © RAM 2008.
Chapter 16 Binary and Hexadecimal Numbers. §16.2 thru 16.3 – Addition and Subtraction of Binary Numbers Binary = Base 2 Addition and subtraction are similar.
Number Systems.
Number Systems Binary and Hexadecimal. Base 2 a.k.a. Binary  Binary works off of base of 2 instead of a base 10 like what we are taught in school 
BINARY ARITHMETIC Binary arithmetic is essential in all digital computers and in many other types of digital systems.
COMPSCI 210 Semester Tutorial 1
Number Representation. 10/12/2015CDA31002 Conversion between Representations Now we can represent a quantity in different number representations How can.
Number systems: binary, decimal, hexadecimal and octal. Conversion between various number systems Number systems: binary, decimal, hexadecimal and octal.
Integer Conversion Between Decimal and Binary Bases Conversion of decimal to binary more complicated Task accomplished by –Repeated division of decimal.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
CHAPTER 2 NUMBER SYSTEMS, OPERATIONS, AND CODES 数制系统、运算和编码 主讲教师:谷雷.
Computer Number Systems. d n-1 d n-2 d n d 2-m d 1-m d -m Conventional Radix Number r is the radixd i is a digit d i Є {0, 1, ….., r – 1 } -m ≤
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
Number systems, Operations, and Codes
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
Chapter 2 Bits, Data Types, and Operations. 2-2 Hexadecimal Notation It is often convenient to write binary (base-2) numbers as hexadecimal (base-16)
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
Number Systems & Operations
Introduction to Microprocessors Chapter 2. Decimal or Base 10 Numbers  Have ten different digits (0-9)  It is a weighted number system. Each position.
WEEK #2 NUMBER SYSTEMS, OPERATION & CODES (PART 1)
Octal & Hexadecimal Number Systems
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
SCIENTIFIC NOTATION Expressing a quantity as: a number between 1 and 10 multiplied by 10 to the appropriate power.
Chapter 1 Number Systems Digital Electronics. Topics discussed in last lecture Digital systems Advantages of using digital signals over analog. Disadvantages.
In decimal we are quite familiar with placing a “-” sign in front of a number to denote that it is negative The same is true for binary numbers a computer.
Section 5 Digital Electronic Circuits. Chapter 32 Binary Number System.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
Number Representation 1 Lecture 2. Outcomes By the end of the session you should: – Understand what bits/bytes/words are. – Understanding conversion between.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
1 EGR 277 – Digital Logic Syllabus Office Hours No food or drinks in the classrooms Web page (demonstration) Lecture #1 EGR 277 – Digital Logic Reading.
Lecture No. 4 Computer Logic Design. Negative Number Representation 3 Options –Sign-magnitude –One’s Complement –Two’s Complement  used in computers.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 32 Binary Number System. Objectives After completing this chapter, you will be able to: –Describe the binary number system –Identify the place.
Decoder Chapter 12 Subject: Digital System Year: 2009.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
1. Binary, Decimal, Hexadecimal and Octal. 2. Conversion between various number systems. Number Systems:
Binary & Decimal numbers
CHAPTER 9 COMPUTER ARITHMETIC - ALU
Negative Binary Numbers
Negative Binary Numbers
Binary Lesson 1 Nybbles.
COUNTING IN BINARY Binary weightings 0 x x x x 8
Binary Addition & Subtraction
Binary Lesson 1 Nybbles.
Binary Lesson 1 Nybbles.
Binary Lesson 2 Bytes.
Unit 18: Computational Thinking
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
COUNTING IN BINARY Binary weightings 0 x x x x 8
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Binary to Decimal Conversion
Chapter 2 Number Systems.
Number Systems.
Lecture No.5.
Chapter 2 Number Systems.
Presentation transcript:

Number System Chapter 3 Subject: Digital System Year: 2009

3 Overview Decimal Numbers Binary Numbers 1's and 2's Complement Signed Numbers

4 Decimal Numbers In the decimal number system each of ten digits, 0 through 9, represents a certain quantity.

5 Binary Numbers The binary number system is another way to represent quantities. It is less complicated than the decimal system because it has only two digits. The decimal system with its ten digits is a base-ten system; the binary system with its two digits is a base-two system. The two binary digits are 1 and 0.

6 Counting in Binary

7 Counting in Binary con’t Example Binary to decimal Conversion

8 Counting in Binary con’t

9 Decimal to Binary Conversion

10 Decimal to Binary Conversion con’t Repeated division-by-2 method

11 1's and 2's Complement The 1’s complement of binary number is found by changing all 1s to 0s and all 0s to 1s.

12 1's and 2's Complement The 2’s complement of binary number is found by adding 1 to the LSB of the 1’s complement 2’s complement = (1’s complement) + 1

13 Signed Numbers A 0 sign bit indicates a positive number, and a 1 sign bit indicates a negative number