Understanding Binary Basics

Slides:



Advertisements
Similar presentations
Understanding Binary Basics
Advertisements

DATA REPRESENTATION CONVERSION.
Binary & Decimal numbers = 3* * *10 + 5*1 = 3* * * *10 0 Decimal system: Ten digits: 0,1,2,3,…,9 Example:
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
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.
Lab 01:Binary numbers, UP-1 switches, and UP-1 LED’s :
Binary Number System And Conversion
Chapter 1 Number Systems and Codes William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle.
Decimal to Binary Conversion Press any key to continue…
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
Converting binary to decimal decimal to binary
Revision Introductory Lesson
Number Systems.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
A little bit of exercise.. ;). Exercise Given to you are some binary to decimal examples : Given to you are some binary to decimal examples : Tens Units.
Instrumentation (AMME2700) 1 Instrumentation Dr. Xiaofeng Wu.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
Course contents Chapter 1 - section 1.6 Chapter 2 - all sections Chapter – 4.7, and 4.12 Chapter , Chapter 6 - all sections.
Number Base Conversions
Converting From decimal to Binary & Hexadecimal to Binary
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
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
Working with 8-bit bytes and hexadecimal
Chapter 1  Number Systems Decimal System Binary System Octal System Hexadecimal System  Binary weighted cods Signed number binary order  1’s and 2’s.
ECE 2110: Introduction to Digital Systems
Springfield Technical Community College Center for Business and Technology.
Binary Addition and Subtraction. Arithmetic Operations Arithmetic operations in a computer are done using binary numbers and not decimal numbers and these.
Number Systems. There are 10 kinds of people in the world, those who understand binary and those who don’t.
Binary Numbers Practice.
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.
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
Binary Numbers. Decimal vs Binary = 1001 = 101 = 10 1 = on = 0 = off = On and off.
ECE 3110: Introduction to Digital Systems
Nat 4/5 Computing Science Lesson 1: Binary
Binary Number System And Conversion
Binary & Decimal numbers
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
© 2003, Cisco Systems, Inc. All rights reserved.
The Binary Number System and Conversions
Binary numbers: Week 7 Lesson 1
Binary Positional Notation
Location in course textbook
Binary Number System And Conversion
Binary Lesson 1 Nybbles.
Binary Number System And Conversion
Number System conversions
COUNTING IN BINARY Binary weightings 0 x x x x 8
Binary Number System And Conversion
Binary Lesson 1 Nybbles.
Binary Lesson 1 Nybbles.
The Binary Number System and Conversions
1. Number Systems.
Digital Concepts for PLCs
Binary Number System And Conversion
Numbering System TODAY AND TOMORROW 11th Edition
Binary Numbers Press any key to begin..
Binary Numbers The Binary number system is derived from Base 2. In base 2 there are only 2 numerical options 0 and 1. The computer sees these as Off.
COUNTING IN BINARY Binary weightings 0 x x x x 8
Binary to Decimal Conversion
Converting from Base-n to Base-10
Conversions Decimals to Fractions and Fractions to Decimals.
Number Systems.
Understanding the Number Decimal to Binary Conversion
Conversions Decimals to Fractions and Fractions to Decimals.
Computer Science 1 Review and finish Number base conversion
Conversions Decimals to Fractions and Fractions to Decimals.
Binary Number System And Conversion
Binary Number System And Conversion
Presentation transcript:

Understanding Binary Basics LAN Connections

Decimal vs. Binary Numbers Decimal numbers are represented by the numbers 0 through 9. Binary numbers are represented by a series of 1s and 0s. Lesson Aim <Enter lesson aim here.>

Decimal and Binary Numbers Chart Base-10 Decimal Conversion—63204829 MSB LSB Baseexponent 107 106 105 104 103 102 101 100 Column Value 6 3 2 4 8 9 Decimal Weight 10000000 1000000 100000 10000 1000 10 1 Column Weight 60000000 3000000 200000 4000 800 20 60000000 + 3000000 + 200000 + 0 + 4000 + 800 + 20 + 9 = 63204829 Base-2 Binary Conversion—1110100 (233) MSB LSB Baseexponent 27 26 25 24 23 22 21 20 Column Value 1 Decimal Weight 128 64 32 16 8 4 2 128 + 64 + 32 + 0 + 8 + 0 + 0 + 1 = 233

Powers of 2 Lesson Aim <Enter lesson aim here.>

Decimal-to-Binary Conversion 35 = 25 + 21 + 20 35 = (32 * 1) + (2 * 1) + (1 * 1) 35 = 0 + 0 + 1 + 0 + 0 + 0 + 1 + 1 35 = 00100011

Binary-to-Decimal Conversion 1 0 1 1 1 0 0 1 = (128 * 1) + (64 * 0) + (32 * 1) + (16 * 1) + (8 * 1) + (4 * 0) + (2 * 0) + (1 * 1) 1 0 1 1 1 0 0 1 = 128 + 0 + 32 + 16 + 8 + 0 + 0 + 1 1 0 1 1 1 0 0 1 = 185

Summary All computers operate using a binary system. Binary systems (base 2) use only the numerals 0 and 1. Decimal systems (base 10) use the numerals 0 through 9. Using the powers of 2, a binary number can be converted into a decimal number. Using the powers of 2, a decimal number can be converted into a binary number.