Binary Mathematics. Counting system There are three kinds of people in the world: those who can count, and those who can not. - Unknown Wisdom Today’s.

Slides:



Advertisements
Similar presentations
DATA REPRESENTATION CONVERSION.
Advertisements

A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
IT Systems What Number? EN230-1 Justin Champion C208 –
Representations Example: Numbers –145 –CVL – –91 –
Binary and Hexadecimal Numbers
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.
 Binary Binary  Binary Number System Binary Number System  Binary to Decimal Binary to Decimal  Decimal to Binary Decimal to Binary  Octal and Hexadecimal.
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Revision Introductory Lesson
Number Systems.
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.
Salisbury Numbers we use in Auto Shop Why do I need to know this. When working on the computers in the auto shop sometimes we need to look into the.
Lecture Binary and Hexadecimal Numbers. How Machines Think Computers handle two types of information: –Instructions –Data The "words" of a machine language.
The Teacher CP4 Binary and all that… CP4 Revision.
CIS 234: Numbering Systems Dr. Ralph D. Westfall April, 2010.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
©Contrinex JDC PPT_XF_BinHexDecASCII Encoding information J.-D. Chatelain.
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
Converting From decimal to Binary & Hexadecimal to Binary
The Teacher CP4 Binary and all that… CP4 Revision.
1 Press Ctrl-A ©G Dear 2010 – Not to be sold/Free to use Converting Bits and Bytes Stage 6 - Year 11 Applied Mathematic (Preliminary General 1)
Working with 8-bit bytes and hexadecimal
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)
Springfield Technical Community College Center for Business and Technology.
Topic 14.1 Extended Hexadecimal  Decimal is base 10 and uses 10 digits (0,1,2,3,4,5,6,7,8,9).  Binary is base 2 and uses 2 digits (0,1).  Computers.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
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.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Discrete Mathematics Numbering System.
Unit 18: Computational Thinking
Binary numbers: Week 7 Lesson 1
CSCI 198: Lecture 4: Data Representation
Using the Windows Calculator for quick decimal to binary conversions
CSCI 161: Lecture 4: Data Representation
CSE 102 Introduction to Computer Engineering
RFID - EN Encoding information Encoding information J.-D. Chatelain.
Lesson objectives Understand how computers represent and manipulate numbers [unsigned integers, signed integers (sign and magnitude, Two’s complement)
Coding Schemes and Number Systems
Binary Quiz UIN: ____________________
Binary Code  
Representing Data How does a computer represent data?
Digital Electronics Ms. Deepa Mehta.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Binary and Hexadecimal Numbers
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
Binary Lesson 3 Hexadecimal
Binary  Name: Class: .
Binary Lesson 4 Hexadecimal and Binary Practice
Chapter 2 Number Systems.
Chapter 2 Number Systems.
Binary Lesson 4 Hexadecimal and Binary Practice
Art without Engineering is dreaming
Chapter 2 Number Systems.
COMS 161 Introduction to Computing
Understanding the Number Decimal to Binary Conversion
Binary Lesson 7 Review of Binary and Hexadecimal
Chapter 2 Number Systems.
1. Number Systems Chapt. 2.
Presentation transcript:

Binary Mathematics

Counting system There are three kinds of people in the world: those who can count, and those who can not. - Unknown Wisdom Today’s class Numbering system Conversion between 10 based and 2 based numbering system. Binary Mathematics. Quiz

Base 10 counting system We happened to use the current counting system, because we happened to have ten fingers. If dinosaurs had ruled the earth, they would be happy to use a 8-based counting system.

Numbers Ancient Africa Notches on a bone. Egyptians/Roman Each magnitude is represented by a symbol. Indian/Arabian (Modern numbering system) 1,475,268

Base 10 (Decimal numbers) What does 157 mean? 157 = 1 x x x 1 = 1 x x x 10 0

Binary Code Imagine a specie that only has two fingers. how can they count? A computer is such kind of two-finger specie. 0 and 1 Each place is the exponential of 2

Base 10 vs Base 2 Base = 1 x x x 1 = 1 x x x 10 0 Base = 1 x x x x = 1 x x x x 1

Binary Bits and Bytes 1 bit is a single bit of information, a 1 or 0 Only two possible values 1 byte is 8 bits, an 8 bit word 256 possible values from base 10 or to base is a single byte

Base 10 to Binary

Binary mathematics 0+0=0 1+0=1 1+1=10

Hexadecimal (base 16) Binary code is too long in representation. Hex is much shorter. Converting a binary number to a Hex number is relatively easy Every 4 bit can convert to a Hex Problem: we are short of numbers A-10 B-11 C-12 D-13 E-14 F-15

Lookup table BinaryHexBinaryHex A B C D E F

Example

Wisdom said There are 10 kinds of people in the world, those who use binary counting system, and those who don’t.

Quiz No Calculators!!!! Convert binary code to Decimal number (Bin) Convert Decimal number to binary code 176 (Dec) Convert Hexadecimal number to binary BADDEF Add these two binary numbers =?

Answer (Binary) = 165 (Decimal) 176 (Decimal)= (Binary) BADDEF=1011,1010,1101,1101,1110,1111 The result of summation