Numeric Data Representation

Slides:



Advertisements
Similar presentations
© 2003 Dr. Kevin Chouinard Edited by Jean Pacelli Section 4.3 Converting Between Number Bases.
Advertisements

Number System C.I.T. Ch2.5. Denary, Binary, Hexadecimal Number System Denary Number System Ten is it’s base. Ten distinct values :0,1,2,3,4,5,6,7,8,9.
DATA REPRESENTATION CONVERSION.
Written Numbers Write the numeral for each written number.
CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.
Computer Systems 1 Fundamentals of Computing
Binary Numbers.
© GCSE Computing Candidates should be able to:  convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa  add two 8-bit.
Revision Introductory Lesson
Math in Our World Section 4.3 Base Number Systems.
Place value to thousands
Numbering Systems. CSCE 1062 Outline What is a Numbering System Review of decimal numbering system Binary representation range Hexadecimal numbering system.
DECIMAL BASE Based on power of 10 In the number 2,468 – from right to left -- the 8 represents the ones, the 6 represents the tens, the 4 represents the.
Place Value and Multiplication
Data Representation – Chapter 3 Section 3-1. Terminology “Digital” –Discrete, well defined values/steps –Opposite of analog –Analogy: digital is to analog.
Created by Teachers Unleashed
Place Value.
Number systems, Operations, and Codes
© 2010 Cisco Systems, Inc. All rights reserved. 1 Network Math.
Data Representation – Chapter 3 Section 3-1. Terminology “Digital” –Discrete, well defined values/steps –Opposite of analog –Analogy: digital is to analog.
Digital Electronics Octal & Hexadecimal Number Systems.
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
Visualizing Decimal and Binary
Math Grade 4 Mrs. Ennis Rounding Part 2 Lesson Four.
To the nearest…place value!
Discrete Mathematics Numbering System.
Octal & Hexadecimal Number Systems
Rounding.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 4 Number Representation and Calculation.
$100 $200 $300 $400 $100 $200 $300 $400 $300 $200 $100 Multiply by 1 digit numbers Multiply & estimate results Multiply by 2 digit numbers Multiply.
Every Thing About Rounding. Rounding Rap  If the number next door is 5 or more the rounding digit increases by one. If the number next door is 4 or less.
Computer Science LESSON 2 ON Number Bases.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
 2012 Pearson Education, Inc. Slide Chapter 4 NumerationSystems.
CSC 110 – Intro to Computing Lecture 3: Converting between bases & Arithmetic in other bases.
Number Systems & Binary How to count. How do we represent numbers? Early systems: – Actual count : ||||| = 5 – Roman numers : XI = 11 Hard to do math:
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
Conversions 1)Binary to Denary Method 1 Work out the position values of the binary bits and add those values together So above would be
Chapter 4 Numeration and Mathematical Systems © 2008 Pearson Addison-Wesley. All rights reserved.
Number systems Visualizing Decimal and Binary. We count in base 10 because people started by counting on their fingers Base 10 is a number system that.
WHAT IS BINARY? Binary is a number system that only uses two digits: 1 and 0. Any information that processed by a computer it is put into sequence of.
Decimal Numbers.
Read and Write Numbers- Billion’s Period
Place Value Review $100 $100 $100 $100 $100 $200 $200 $200 $200 $200
Different Numeral Systems
Place Value with Decimals
Discrete Mathematics Numbering System.
4,135,652 Place Value Hundred Thousands Ten Thousands Hundreds
Binary Positional Notation
ITE102 – Computer Programming (C++)
Number Systems & Binary
Std. :- 5th Sub. :- Mathematics Chapter no. 14
Comparing Numbers.
Objective - To compare numbers.
4 Laws of Integral Indices
Number Systems Base 2, 10, 16.
4,135,652 Place Value Hundred Thousands Ten Thousands Hundreds
Hexadecimal Conversions
Data Hexadecimal.
Binary Lesson 3 Hexadecimal
Read and Write Numbers- Billion’s Period
Chapter Four Data Representation in Computers By Bezawit E.
Scientific Notation.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
LO1 – Understand Computer Hardware
Comparing Numbers.
§4.2, Number Bases in Positional Systems
Section 6 Primitive Data Types
Presentation transcript:

Numeric Data Representation V1.0 (21/10/2005) Numeric Data Representation

Numeric Data Representation Use “words” to represent number Write both the digit and the corresponding value Like One thousand three hundred and sixty five Three thousand Arabian Number Represent the corresponding value with its position 1365 30000

Denary Number Made up of digits from 0-9 Adjacent digits have ten times difference 48610=4 x 102+8 x 101 + 6 x 1

Hexadecimal Made up of numeric values from 0-15 A-F used represent 10-15 Adjacent digits have 16 times difference 2BF16 = 2 x 162 + 11 x 161 + 15 x 160

Binary Number Digits made up of 0 and 1 Adjacent digits have two times difference 1010=1 x 23 + 0 x 22 + 1 x 21 + 0 x 20

Conversion( binary and hexadecimal to denary ) 100112 = 1 x 24 + 0 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 5110 13E16 = 1 x 162 + 3 x 161 + 14x 160 = 31810

Conversion( denary to binary) 5110 = 1 x 24 + 0 x 23 + 0 x 22 + 1 x 21 + 1 x 20 = 100112 For continuous division, refer to spreadsheet Conversion tools 2 51   25 ......... 1 12 6 3 Answer:10011

Conversion( denary to hexadecimal) 31810 = 1 x 162 + 3 x 161 + 14x 160 = 13E16 For continuous division, refer to spreadsheet Conversion tools 16 318   19 ......... 14 1 3  Answer: 13E

Conversion( binary to hexadecimal) Since 16 = 24, use 0000-1111 to represent 0-A (hexadecimal) From right to left, four in a group. Convert all 0-A 1001 01012 = 9516

Conversion( hexadecimal to binary) use 0000-1111 to represent 0-A (hexadecimal) Each digit in hexadecimal number map to a 4-digit binary number. If not enough 0, pre-pad zero 81F16 = 1000 0001 11112

Binary、Denary、Hexadecimal 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 Denary Binary Hexadecimal 8 1000 9 1001 10 1010 A 11 1011 B 12 1100 C 13 1101 D 14 1110 E 15 1111 F