Counting Systems Mr. Bigham. Warm-up: When Does 9 + 4 = 1 30 + 5 = 4 1 + 1 = 10 ?

Slides:



Advertisements
Similar presentations
Calculating in Other Bases
Advertisements

Copyright (c) 2004 Professor Keith W. Noe Number Systems & Codes Part I.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
 A binary number is a number that includes only ones and zeroes.  The number could be of any length  The following are all examples of binary numbers.
Binary Numbers.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Hexadecimal Dk Izzati Pg Haji Ahmad.
Add & Subtract with Scientific Notation In addition to 3, student will be able to go above and beyond by applying what they know about working.
Numeral Systems Subjects: Numeral System Positional systems Decimal
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
2-1 Chapter 2 - Data Representation Principles of Computer Architecture by M. Murdocca and V. Heuring © 1999 M. Murdocca and V. Heuring Chapter Contents.
IT253: Computer Organization
Computer Structure & Architecture 7c - Data Representation.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Chapter 3 Section 1 Number Representation Modern cryptographic methods, unlike the classical methods we just learned, are computer based. Representation.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
Title NUMERIC SYSTEMS USED IN NETWORKING NUMERIC SYSTEMS USED IN NETWORKING.
1 IT 231, CMPE 331 Digital Logic Design Week 2 Number systems and arithmetic.
Introduction to Number System
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Section 4.3 Other Bases.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
Binary, Hexadecimal, Decimal, and How They Relate.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Springfield Technical Community College Center for Business and Technology.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  The necessity and advantages of coding  The variety of coding systems You will learn: 2.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 4 Number Representation and Calculation.
What is this? How did you know its numerical value?
Introduction to Digital Electronics Lecture 2: Number Systems.
ASCII AND EBCDIC CODES By : madam aisha.
Representing Characters in a Computer System Representation of Data in Computer Systems.
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.
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.
Number Systems. The position of each digit in a weighted number system is assigned a weight based on the base or radix of the system. The radix of decimal.
Binary, Decimal and Hexadecimal Numbers 1. Numbering Systems Radix - In mathematical numeral systems, the radix or base is the number of unique digits,
Numeral Systems Rubel Biswas.
Programmable Logic Controller
Some basic concepts underlying computer archi­tecture
Binary, Decimal and Hexadecimal Numbers
From the ASCII table… Symbol Decimal Binary A B 66
Binary
Numeric Data Representation
Discrete Mathematics Numbering System.
Binary Positional Notation
Copyright (c) 2004 Professor Keith W. Noe
Number Systems Lab session 1 Xuan Guo.
Number System conversions
Numbering System TODAY AND TOMORROW 11th Edition
Presenting information as bit patterns
Binary Numbers? Foley SED 514 Section /2/2019.
COMS 161 Introduction to Computing
From the ASCII table… Symbol Decimal Binary A B 66
Chapter 1 Number System RGGP, Narwana.
Binary Lesson 3 Hexadecimal
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Binary Lesson 3 Hexadecimal
Chapter Four Data Representation in Computers By Bezawit E.
ID1050– Quantitative & Qualitative Reasoning
Beyond Base 10: Non-decimal Based Number Systems
How many different symbols we need for each digit in the base ten number system? How many different symbols we need for each digit in the base eight number.
CHAPTER 69 NUMBER SYSTEMS AND CODES
ASCII and Unicode.
Number System.
Section 4.3 Other Bases.
Presentation transcript:

Counting Systems Mr. Bigham

Warm-up: When Does = = = 10 ?

If the clock reads 9, what time will it be if you add 4 hours? If the day is January 30 th what day will it be if in 5 more days? How do computers count to two? (Binary)

Decimal System

Why base 10? Does it 10 have special mathematical properties that make it a better base? “Counting in tens is a biological accident.” – Professor Zirkel, Dozenal Society of America What other bases are used? What are the advantages and disadvantages of different bases?

Mayan base 20 (Vigesimal) 8000's 400's 20's+= 1's =19874

In dozenal counting we use twelve symbols, adding two digits to represent ten and eleven since 10 still represents the base. In dozenal counting he numeral 342 represents 3H(twelve)^2 + 4H(twelve) + 2. Thus 342 in dozenals represents 482 in the familiar awkward decimal base. Many people use X and # to represent the digits for ten and eleven. They are pronounced dek and el.

Babylonian Counting “Babylonians were the one civilization that intelligently developed a number base – base sixty. If twelve has the advantage of the factors 2, 3, 4, and 6, sixty has 2, 3, 4, 5, 6, 10 12, 15, 20, and 30.” -Professor Zirkel

Binary (base 2 counting)

Hexadecimal (base 16)

Exercise Translate the numeral 10010: 1.From base twenty (Mayan) 2.Base 12 (dozenal) 3.Base 2 (binary) 4.Base 16 (hexidecimal) 5.A base of your choosing Translate the numeral 42 into different bases using radix notation. Example: 42 = = = ?

Coding Coding converts messages to numbers and back. Can you decode the message below? A zero is used for space.

Coding Complications If you have a decimal coded message: 202 does it decode to bob or tb? To avoid confusing when two digits refer to a two letters or one, all letters are coded using 2 digits. i.e. A = 01, B = 02, G = 07, space = 00. Decode: ?

How many digits needed? For base ten coding two digits were needed to make enough numerals to correspond to all the letters of the alphabet. How many total symbols could you code with two base ten digits? How many binary (base two) digits would you need to code the alphabet? How many hexadecimal digits would you need to code 250 symbols?

ASCII Code Most computers use an eight digit (bit) binary code to represent letters and symbols. The first three digits give information about what type of symbol (number, punctuation, capital, lower case etc.) If the first three digits are 010, it is a upper case letter. If it is 011 it is lower case. The last 5 digits can be converted to decimal and associated with the normal alphabet key.

Examples = H The 010 signals capital letter. The equals 8 in binary counting. Eight is associated with the letter h in the standard alphabet key = i The 011 signals lower case letter. The equals 9 in binary counting. Nine is associated with the letter I in the standard alphabet key.

Exercises Decode the following two digit hexadecimal coded message: F15000C E00 130F0D E07? Code a message using a base of your choosing.