AP Computer Science A – Healdsburg High School 1 Unit 1 - Binary Numbers - Hexadecimal Numbers.

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

DATA REPRESENTATION CONVERSION.
Number Systems and Arithmetic
© Copyright 2000 Indiana University Board of Trustees Proficiency Quiz Study Guide Note: The following slides are provided courtesy of Dr. Bob Orr (Computer.
Number Systems and Codes In PLC
Data Storage Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information Technology Islamic.
Binary and Hexadecimal Numbers
Number Systems.
Numbering Systems. CSCE 1062 Outline What is a Numbering System Review of decimal numbering system Binary representation range Hexadecimal numbering system.
Supplemental Chapter Number Bases
Number Systems What is the Standard Base we
ENGINEERS FUTURE To optimize things When we type some letters or words, the computer translates them in numbers as computers can understand only numbers.
Number systems, Operations, and Codes
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Converting From decimal to Binary & Hexadecimal to Binary
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Digital Electronics Octal & Hexadecimal Number Systems.
Octal to Decimal Hexadecimal DecimalOctal Binary.
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
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,
Computer Programming 12 Mr. Jean February 11 th, 2014.
Octal & Hexadecimal Number Systems
Number Representation Lecture Topics How are numeric data items actually stored in computer memory? How much space (memory locations) is.
Programming 12 : Mr. Jean February 8 th, The plan: Video clip of the day Website Introduction to Hexadecimal Converting from Hexadecimal to Decimal.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Number Systems and Binary Arithmetic Quantitative Analysis II Professor Bob Orr.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
YOUR VIRTUAL WORLD – THE HEXADECIMAL NUMBERING SYSTEM Prepared by Mrs. Christina Morris, July, 2014.
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.
Some basic concepts underlying computer archi­tecture
Lecturer: Santokh Singh
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Digital Design Chapter One Digital Systems and Binary Numbers
Number Systems Write the decimal value of the binary number
Octal to Decimal Decimal Octal Binary Hexadecimal.
Discrete Mathematics Numbering System.
COMPUTER ORGANIZATION
Using the Windows Calculator for quick decimal to binary conversions
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Tools of Web Development 1: Module A: Numbering Systems
COUNTING IN BINARY Binary weightings 0 x x x x 8
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary Quiz UIN: ____________________
Number Systems and Binary Arithmetic
Number Systems Base 2, 10, 16.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Binary / Hex Binary and Hex The number systems of Computer Science.
There are 10 types of people of people in this world…
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.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Chapter 2 Number Systems.
Remember the 10 types of people of people in this world…
Computer Science 1 Review and finish Number base conversion
Chapter 2 Number Systems.
Number System.
1. Number Systems Chapt. 2.
Presentation transcript:

AP Computer Science A – Healdsburg High School 1 Unit 1 - Binary Numbers - Hexadecimal Numbers

AP Computer Science A – Healdsburg High School Binary Number System A number system that only has 2 possible digits, 0 and 1.

AP Computer Science A – Healdsburg High School Binary to Decimal Conversion Example: in binary Each binary position is weighted as a power of 2 Sum the value of each weighted position to calculate the decimal equivalent. (1)*2^6+(1)*2^5+(0)*2^4+(1)*2^3+(1)*2^2+(0)*2^1+1*2^ = 109

AP Computer Science A – Healdsburg High School 4 More Examples: 1. What is the decimal equivalent of (binary)? 2. What is the decimal equivalent of (binary)? 3. What is the binary equivalent of 5925 (decimal)?

AP Computer Science A – Healdsburg High School Hexadecimal Number System A number system that has 16 possible digits. DecimalHexDecimalHex A B C D E F

AP Computer Science A – Healdsburg High School Hexadecimal to Decimal Conversion Example: A045 in hex is equal to: Each hexadecimal position is weighted as a power of 16 Sum the value of each weighted position to calculate the decimal equivalent. (10)*16^3 + (0)*16^2 + (4)*16^1 + 5*16^ = 41029

AP Computer Science A – Healdsburg High School 7 More Examples: 1. What is the decimal equivalent of C5F2 (hexadecimal)? 2. What is the hexadecimal equivalent of (binary)? 3. What is the hexadecimal equivalent of (decimal)?