Understanding Binary Numbers.

Slides:



Advertisements
Similar presentations
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Advertisements

Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Chapter 3 Data Representation.
Binary and Hexadecimal Numbers
Chapter 3 Data Representation. Chapter goals Describe numbering systems and their use in data representation Compare and contrast various data representation.
Binary Expression Numbers & Text CS 105 Binary Representation At the fundamental hardware level, a modern computer can only distinguish between two values,
SIMS-201 Representing Information in Binary. 2  Overview Chapter 3: The search for an appropriate code Bits as building blocks of information Binary.
Number Systems & Logic Gates Day 1
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
COMPUTER FUNDAMENTALS David Samuel Bhatti
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Faculty: Anita Kanavalli Department of CSE M S Ramaiah Institute of Technology Bangalore E mail-
Agenda Data Representation – Characters Encoding Schemes ASCII
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
Binary Codes Computers and other digital systems "work" with binary numbers. I/P & O/P is usually done using decimal numbers, alphabetics, special symbols.
Summer 2014 Chapter 1: Basic Concepts. Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Chapter Overview Welcome to Assembly Language.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Chapter 2: Binary Logic.
General Computer Science for Engineers CISC 106 Lecture 02 Dr. John Cavazos Computer and Information Sciences 09/03/2010.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Cis303a_chapt03-2a.ppt Range Overflow Fixed length of bits to hold numeric data Can hold a maximum positive number (unsigned) X X X X X X X X X X X X X.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
Computer Hardware Basic Computer Concepts Data Representation and Digital Electronics  Data Representation  makes it possible to convert letters, sounds,
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.
Data Representation, Number Systems and Base Conversions
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
Scott Marino MSMIS Kean University MSAS5104 Introduction to Programming with Data Structures and Algorithms Week 2 Scott Marino.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Base 2 Numbering System Chapter 1.
Systems Architecture, Fourth Edition 1 Data Representation Chapter 3.
Information Coding Schemes Group Member : Yvonne Tiffany Jurifah bt Junaidi Clara Jane George.
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
Introduction to computer science Lec2 cs111. Extended Binary Coded Decimal Interchange Code (EBCDIC) is an 8- bit character encoding used mainly on.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
DATA REPRESENTATION - TEXT
Chapter 3 Data Representation
Binary Representation in Text
Binary Representation in Text
Understanding binary Understanding Computers.
3 – Boolean Logic and Logic Gates 4 – Binary Numbers
Programming and Data Structure
Computer Code.
INFS 211: Introduction to Information Technology
3.1 Denary, Binary and Hexadecimal Number Systems
Data Transfer ASCII FILES.
Other Kinds of Arrays Chapter 11
Why use Binary? There are only four rules for addition in binary compared to 100 in decimal [0+0=0 ; 0+1=1 ; 1+0=1; 1+1=10]
TOPICS Information Representation Characters and Images
University of Gujrat Department of Computer Science
Chapter 1 Data Storage.
Ch2: Data Representation
Computer Data Types Basics of Computing.
BITS & BYTES.
Information Representation
Presenting information as bit patterns
Why use Binary? It is a two state system (on/off) which makes it simple to operate Even if degradation of current occurs (ie a slight drop in voltage)
Lecture 2: Binary and Encoding AP Computer Science Principles
Learning Intention I will learn how computers store text.
LO1 – Understand Computer Hardware
WJEC GCSE Computer Science
UNIT – 3 & 4. Data Representation and Internal
Chapter 3 - Binary Numbering System
ASCII and Unicode.
Presentation transcript:

Understanding Binary Numbers

Introduction: Understanding Binary Numbers When working with Digital Media, it’s imperative that you posses a basic understanding of how computers save, transfer, and process data. In order to visualize and conceptualize you should first build and understanding of the binary number system.

Introduction: Understanding Binary Numbers 1 of 7 Elements Introduction Introduction: Understanding Binary Numbers If you have ever seen the movie “The Matrix” and enjoyed thinking about how it all works; jumping in and out of a computer program etc… Then you know something about conceptualizing. To form (a concept or concepts) out of observations, experience, data, etc. When you use your brain to visualize something that is abstract or on the surface a bit difficult to see in your mind.

Understanding Binary Numbers The binary number system, also called the base-2 number system, is a method of representing numbers by using combinations of only two numerals: zero (0) and one (1). Computers use the binary number system to manipulate and store all of their data including numbers, words, videos, graphics, and music.

Learning Objective: After this lesson students should be able to:   Briefly explain what binary numbers are. Briefly explain what decimal numbers are. Explain why we need to understand binary numbers. Count with binary numbers. Convert decimal numbers to binary. Convert binary numbers to decimal. Demonstrate an expanded vocabulary. Understand the history of Binary numbers.

In 1854, British mathematician George Boole published a landmark paper detailing an algebraic system of logic that would become known as Boolean algebra. His logical calculus was to become instrumental in the design of digital electronic circuitry.

History of Binary In November 1937, George Stibitz, then working at Bell Labs, completed a relay-based computer he dubbed the "Model K" (for “Kitchen", where he had assembled it), which calculated using binary addition. Bell Labs thus authorized a full research program in late 1938 with Stibitz at the helm.

History of Binary Numbers Their Complex Number Computer, completed January 8, 1940, was able to calculate complex numbers. In a demonstration to the American Mathematical Society conference at Dartmouth College on September 11, 1940, Stibitz was able to send the Complex Number Calculator remote commands over telephone lines by a teletype. It was the first computing machine ever used remotely over a phone line.

History of Binary Model K The first Relay Based Computer to use Binary Numbers (1937)

Decimal Number System Decimal notation is the writing of numbers in a base-10 numeral system. Examples are Roman numerals, Brahmi numerals, and Chinese numerals, as well as the Hindu-Arabic numerals used by speakers of English.

What is Binary The binary numeral system, or base-2 number system represents numeric values using two symbols (Numbers), usually 0 and 1. More specifically, the usual base-2 system is a positional notation with a radix of 2. Owing to its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by all modern computers.

Binary reads backwards Normally we count from left to right, 1 2 3 4 etc. In Binary we count in the opposite direction 8 4 2 1 It’s important to remember this in order to convert your numbers.

Why do we need to know about Binary? It is the building block of all data In order to understand storage capacity and sizes, you need to know how data is read and saved The data is fragile, each digit is need to be whole

Files Read/Write When you save a word document the computer will sequence the data in binary form. Each string of digits represent a certain value such as a letter, space, underlined etc. Each program has a certain way that it reads and writes data, all of it is written in Binary.

Understanding Binary Decimal 1 Binary 0001 off off off on

Understanding Binary Decimal 2 Binary 0010 off off on off

Understanding Binary Decimal 3 Binary 0011 off off on on

Understanding Binary Decimal 4 Binary 0100 off off on on

Understanding Binary Decimal 5 Binary 0101 off on off on

Understanding Binary 0101 off on off on

Each Number is doubled      128 64 32 16 8 4 2 1     2^8 2^6 2^5 2^4 2^3 2^2 2^1 2^0 Two to the power of three (2)(2)(2) 2*2*2 2X2X2 512 256 128 64 32 16 8 4 2 1 524288 262144 131072 65536 32768 16384 8192 4096 2048 1024 Technically, each level is 2 to the power 20 = 1 21 = 2 22 = 4 23 = 8 24 = 16 and so on (But essentially, since they are powers of 2, each new level is double (or 2 x) the previous)

Boardwork Lets express a few numbers in Binary: 130 25 43 85 1312 2204

Using Binary Coding Information Remember Bit = 0 or 1, Binary Digit Byte = the number of bits used to represent letters, numbers and special characters such as $ # , / &. 8 Bits = 1 Bytes Word = number of bytes a computer can process at one time by the CPU. So, Bits form Bytes and Bytes form Words.

Using Binary Coding Information Two common formats for coding letters, numbers and special characters are: EBCDIC -- Extended Binary Coded Decimal Interchange Code 8 bit code Originally used in IBM mainframes ASCII -- American Standard Code for Information Interchange 7 bit code Originally used on non-IBM systems

ASCII Binary Table