Exercise 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy

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
Sample Test 1 Question. A pattern of binary digits can be interpreted in several different ways. Show how the pattern translates using each of.
Princess Sumaya Univ. Computer Engineering Dept. د. بســام كحـالــه Dr. Bassam Kahhaleh.
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #3 NUMBER SYSTEMS, OPERATION & CODES (PART 2)
Chapter 1 Digital Systems and Numbers System
Chapter 2 : Number System
Chapter 1 Binary Systems 1-1. Digital Systems
Overview Digital Systems and Computer Systems Number Systems [binary, octal and hexadecimal] Arithmetic Operations Base Conversion Decimal Codes [BCD (binary.
Numbers. Number Conversion Convert – Binary number to decimal numbers – Octal numbers to decimal numbers – Hexadecimal to decimal numbers Convert – Decimal.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Decimal Addition What is going on? (carry) (subtract the base)
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.
Number System and Codes
ASCII & Gray Codes.
1.6 Signed Binary Numbers.
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.
Digital Systems and Binary Numbers
ACOE1611 Data Representation and Numbering Systems Dr. Costas Kyriacou and Dr. Konstantinos Tatas.
Digital Electronics Chapter 1 Binary Systems Digital Electronics Galore! Digital Cameras Digital Versatile Disks (DVD) Digital Computers Digital Televisions.
Binary Arithmetic & Data representation
1.11, 1.12, 1.13, 1.14, 1.18, 1.20, 1.23, 1.24, 1.25, 1.32, 1.33.
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION.
Logic Design Dr. Yosry A. Azzam. Binary systems Chapter 1.
Supplemental Chapter Number Bases
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
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.
ECE 301 – Digital Electronics Unsigned and Signed Numbers, Binary Arithmetic of Signed Numbers, and Binary Codes (Lecture #2)
Summer 2012ETE Digital Electronics1 Binary Arithmetic of Signed Binary Numbers.
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
ECE 331 – Digital System Design Representation and Binary Arithmetic of Negative Numbers and Binary Codes (Lecture #10) The slides included herein were.
Programming Logic Controllers Number Systems and Codes - Chapter 3.
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
Introduction to Microprocessors Chapter 2. Decimal or Base 10 Numbers  Have ten different digits (0-9)  It is a weighted number system. Each position.
SAK Chapter 21 Chapter 2 : Number System 2.1 Decimal, Binary, Octal and Hexadecimal Numbers 2.2 Relation between binary number system with other.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
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.
Sample Test 1 Question This one includes ASCII.. Sample Test 1 Question Show how the pattern translates using each of the following interpretations.
 Do the following conversions:  Solve the following:    /100  10010*110 DecimalOctalHexadecimalBinary 78--
CEC 220 Digital Circuit Design Binary Codes Mon, Aug 31 CEC 220 Digital Circuit Design Slide 1 of 14.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
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
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
DIGITAL DESIGN THIRD EDITION M. MORRIS MANO
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.
11001 / 101, / ) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the result.
Introduction to Computing
COMPUTER ORGANIZATION
Integer Real Numbers Character Boolean Memory Address CPU Data Types
CHAPTER 1 INTRODUCTION NUMBER SYSTEMS AND CONVERSION
11001 / 101 , / ) Perform subtraction on the given unsigned binary numbers using the 2's complement of the subtrahend. Where the.
1.11, 1.12, 1.13, 1.14, 1.18, 1.20, 1.23, 1.24, 1.25, 1.32, 1.33 ( 47 )8 = ( )2 ( 47 )16 = ( )2 ( 20 )10.
Number systems and codes
Digital Systems and Binary Numbers
Digital Electronics Number Systems and Codes
Number Systems.
TAO1221 COMPUTER ARCHITECTURE AND ORGANIZATION LAB 6
Number Systems Base 2, 10, 16.
Chapter 1 Number System RGGP, Narwana.
2’s Complement form 1’s complement form 2’s complement form
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
Computer Architecture CST 250
Presentation transcript:

Exercise 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy Logic Design (CE1111) Exercise 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy

Exercise 1 Convert the following binary numbers to octal and hexadecimal numbers (10010110) 2 (110010100) 2 (101001101) 2 (1001.100101011010) 2 (11001.101011) 2 (101110.110) 2

Exercise 2 Convert the following octal and hexadecimal numbers to binary numbers (234) 8 (4FA2) 16 (5B23.AD67) 16 (3721.421) 8

Exercise 3 Convert the hexadecimal number 64CD to binary, and then convert it from binary to octal Convert the decimal number 431 to binary in two ways: Convert directly to binary Convert first to hexadecimal and then from hexadecimal to binary Which method is faster?

Exercise 4 Find the 9’s and the 10’s complement of the following decimal numbers: 25,478,036 63, 325, 600 25,000,000 00,000,000

Exercise 5 Obtain the 1’s and 2’s complements of the following binary numbers: (00010000) 2 (00000000) 2 (11011010 ) 2 (10101010) 2 (10000101) 2 (11111111) 2

Exercise 6 Perform subtraction on the given unsigned binary numbers using the 2’s complement of the subtrahend: 10011 - 10010 100010 – 100110 1001 – 110101 101000 - 10101

Exercise 7 Perform the mathematical operations on the given signed numbers using the 2’s complement for negative numbers and subtraction operation (+3) + (+5) +16 – (+13) +8 – (– 4) (– 9) – (+5)

Exercise 8 Represent the unsigned decimal numbers 791 and 658 in BCD Convert decimal 6,514 to both BCD and ASCII codes Represent the decimal number 6,248 in BCD excess‐3 code 2421 code 8,4,-2,-1 Code Gray Code