Computer Science 1 Review and finish Number base conversion

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.
Copyright (c) 2004 Professor Keith W. Noe Number Systems & Codes Part I.
Introduction to Computer Engineering by Richard E. Haskell Number Systems Module M3.1 Sections
Numbers. Number Conversion Convert – Binary number to decimal numbers – Octal numbers to decimal numbers – Hexadecimal to decimal numbers Convert – Decimal.
Decimal Addition What is going on? (carry) (subtract the base)
Copyright (c) 2004 Professor Keith W. Noe Number System & Codes Number Conversions Part II.
Number System Conversions Lecture L2.2 Section 2.3.
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Number Systems.
Fundamentals of Python: First Programs Chapter 4: Number Systems.
Supplemental Chapter Number Bases
Number Systems What is the Standard Base we
Bit Manipulation when every bit counts. Questions on Bit Manipulation l what is the motivation for bit manipulation l what is the binary, hexadecimal,
CONVERSION OF NUMBER SYSTEMS FAHEEM ANWAR MANAGER NETWORKS ACADEMY PTCL ACADEMY.
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.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
NUMBER SYSTEMS Binary Base 2 Octal Base 8 DecimalBase 10 HexadecimalBase 16.
Number Base Conversions
Converting From decimal to Binary & Hexadecimal to Binary
AP Computer Science A – Healdsburg High School 1 Unit 1 - Binary Numbers - Hexadecimal Numbers.
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.
Numbering Systems Chapter 1 Department of Computer Science Foundation Year Program Umm Alqura University, Makkah Computer Programming Skills
Lecture 1: 8/27/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
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,
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
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):
CEC 220 Digital Circuit Design Number Systems & Conversions Wednesday, Aug 26 CEC 220 Digital Circuit Design Slide 1 of 16.
Digital Electronics Principles & Applications Fifth Edition Chapter 2 Numbers We Use in Digital Electronics ©1999 Glencoe/McGraw-Hill Roger L. Tokheim.
Progress check Learning Objective: Success Criteria : Can identify various input and output devices - Level 4 – 5 Can identify all the major items of hardware.
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.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
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.
Lecturer: Santokh Singh
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Unit 18: Computational Thinking
COMPUTER ORGANIZATION
Positional Notation A positional or place-value notation is a numeral system in which each position is related to the next by a constant multiplier, called.
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Copyright (c) 2004 Professor Keith W. Noe
Using the Windows Calculator for quick decimal to binary conversions
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
CSE 102 Introduction to Computer Engineering
Location in course textbook
COUNTING IN BINARY Binary weightings 0 x x x x 8
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Binary Quiz UIN: ____________________
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Digital Electronics Ms. Deepa Mehta.
Binary / Hex Binary and Hex The number systems of Computer Science.
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
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.
Numeral systems (radix)
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…
Chapter 2 Number Systems.
Presentation transcript:

Computer Science 1 Review and finish Number base conversion On computer time to finish Dice Game/ Number converter Challenge

Learning Targets Be able to convert to and from the following numbering systems Decimal, Binary, Octal, Hexadecimal Be able to write a program that can convert from one base to another base.

Conversions: Fill in the following Decimal Binary Octal 44 11101 23

Recreate the chart… Recreate a chart counting from 0 to 17 in… Decimal Binary Octal Hexadecimal (Not sure it we got this far before)

Binary to and from Hexadecimal

Push: Binary Program Input: Any integer Output: Convert the integer number to binary Input : Any binary number Output: The number converted to decimal. Push: Convert from binary to decimal Push: Binary to Hex Push: Any base to any base