THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”

Slides:



Advertisements
Similar presentations
Computer Codes Rohit Khokher. Computer Codes Data types NumericNonnumeric IntegerRealAlphabet A, B, C, …,Z a, b, c,…,z Digits 0,…,9 Special Characters.
Advertisements

Base 10 Denary Decimal
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Overview Digital Systems and Computer Systems Number Systems [binary, octal and hexadecimal] Arithmetic Operations Base Conversion Decimal Codes [BCD (binary.
Table 1. Software Hierarchy Levels.. Essential Tools An assembler is a program that converts source-code programs into a machine language (object file).
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
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.
 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.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Convert Decimal to Floating point number [IEEE 754]
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Aloha Aloha What you see: What the computer sees: binary number columns binary number columns
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
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.
Scientific Notation. What is scientific notation? Scientific notation is a way of expressing really big numbers or really small numbers. It is most often.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Binary Code.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
Binary Code A Base 2 Number System. Who created binary? George Boole An English mathematician.
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
CIS 234: Numbering Systems Dr. Ralph D. Westfall April, 2010.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Positional Notation 642 in base 10 positional notation is:
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary A double zero educational presentation. Binary Basics Binary is the language computers use Only 1’s and 0’s can be found in Binary Very large numbers.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
CS 111 – Sept. 1 Intro to data representation Binary numbers –Convert binary  decimal –Convert decimal  binary Text –ASCII and Unicode Commitment: –For.
Copyright 2007 Jim Martin1 Computer Communications Dr. Jim Martin
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Computer Programming 12 Mr. Jean February 11 th, 2014.
OFF = 0 ON = 1 = 63 BINARY system
Lecture 6 Excess Notation. Excess 8 notation indicates that the value for zero is the bit pattern for 8, that is 1000 Excess 8 notation indicates that.
Communicationcommunication Created by- Upendra Sharma.
CSE1301 Computer Programming Lecture 32: Number Representation
Decimal to Binary Conversion Press any key to continue…
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
Lecture 2: 8/29/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
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.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Understanding Computers
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.
The language of computers Before we start you need to know an important fact. Anything to the power 0 is worth 1. You will need to remember this for later!
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Binary Numbers Press any key to begin.. In order to understand the binary numbering system lets first look at our decimal system. The decimal numbering.
THE CODING SYSTEM FOR REPRESENTING DATA IN COMPUTER.
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Consider this number: , Ones (7 ones) Tens (no tens)
Unit 18: Computational Thinking
Binary Positional Notation
BINARY CODE.
Data Transfer ASCII FILES.
Binary numbers pt. 2.
Data Representation ASCII.
Data Representation Question: Characters
Binary Code  
Representing Data How does a computer represent data?
Computers & Programming Languages
Hexadecimal Conversions
Topic 3: Data Hexadecimal.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
Learning Intention I will learn how computers store text.
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
Presentation transcript:

THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”

IT’S ALL ONES AND ZEROS … -Computers speak in a language, very much like we speak in English. We call it binary code. -This language consists of two “letters”: 0 and 1

BINARY VERSUS DECIMAL NOTATION

-In the binary system, we use only two digits: 0 and 1 -A single 0 or 1 is called a “bit” -A group of 8 bits is called a “byte” ex: One byte has the possibility of 256 different values -Each digit holds a value, which is some sequential power of 2

BINARY VERSUS DECIMAL NOTATION Let’s take a look at a few examples: DecimalBinary

BINARY VERSUS DECIMAL NOTATION DecimalBinary (Byte)

TRY THIS … 1.Write these numbers out in binary form: a)9 b)22 c) Convert these binary numbers into decimal notation: a)111 b) c)

ANSWERS 1.Write these numbers out in binary form: a) b) c) Convert these binary numbers into decimal notation: a)111 7 b) c)

ASCII

JUST FOR FUN …