JAOIT 8. Binary Programming  As someone just starting their adventures in the networking world binary can be both scary and confusing. I am going to.

Slides:



Advertisements
Similar presentations
CATHERINE AND ANNIE Python: Part 3. Intro to Loops Do you remember in Alice when you could use a loop to make a character perform an action multiple times?
Advertisements

BITS, BYTES, AND THE BINARY SYSTEM HOW PROGRAMS CREATE IMAGES ON YOUR PC.
IP Subnetting.
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Copyright Kenneth M. Chipps Ph.D. FLSM Last Update
Number Theory Newport Math Club Part
EMB1006 The Binary System There is no 2 Jonathan-Lee Jones.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Information Processing Session 5B Binary Arithmetic Slide
Binary and Hexadecimal Numbers
The Mathematics of Star Trek Data Transmission Michael A. Karls Ball State University.
1 12/08/03SW Abingdon and Witney College Binary Converting to and from decimal.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
CCENT Study Guide Chapter 4 Easy Subnetting. Chapter 4 Objectives The CCENT Topics Covered in this chapter include: IP addressing (IPv4 / IPv6) – Describe.
Binary “There are 10 types of people in the world… those that understand binary and those that don’t.”
Binary Conversions Number systems Binary to decimal Decimal to binary.
CSC 412 – Networking Scott Heggen. Agenda Today The Network Layer (Chapter 5) Discussion on A2: The Data Link Layer Thursday Q2: The Networking Layer.
Bit Patterns – Day 2 Scott Baranick & Daniel Velasquez.
1 Real Networkers don’t use Decimal! Part 1. Binary & Interpreting IP Addresses October 19, 2004.
Arithmetic of Positive Integer Exponents © Math As A Second Language All Rights Reserved next #10 Taking the Fear out of Math 2 8 × 2 4.
IT-101 Section 001 Lecture #3 Introduction to Information Technology.
The Mathematics of Star Trek
Binary Code.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
Introduction to Cryptography
Binary Code A Base 2 Number System. Who created binary? George Boole An English mathematician.
CSIS  We need to create some logic to the environment  We want to keep like devices together  We want to make money leasing the use of the space.
Subnetting Tips - CCNA Power Camp, Ver Copyright 2005, Epsico 1 of 92.
By John Frezza Click here to begin slide show ? Difficult! Confusion! Too Hard ? ? ? ? ? Multiply Why! Help Me!
IP Addressing The in’s and out’s. Lesson Objectives O Know the purpose of an IP address O Understand the structure of an IP address.
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.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
Research Topics in Computational Science. Agenda Commenting Our Code Variable Review Button Program – Add Textbox Getting text from textbox Converting.
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.
1 1 7-Dec-15 Binary Converting to and from decimal.
Springfield Technical Community College Center for Business and Technology.
Announcement!!! First exam next Thursday (I’m trying to give you a first exam before the drop date) I’ll post a sample exam over the weekend and will try.
1 Information Representation in Computer Lecture Nine.
Introduction to Random Variables and Probability Distributions
CRE Programming Club - Class 2 Robert Eckstein and Robert Heard.
IP Addressing Dotted Decimal and Binary explanation.
Computer Science I Storing data. Binary numbers. Classwork/homework: Catch up. Do analysis of image types.
Tacia. Topic Introduction The topic that I chose to study dealt with Scrabble Cheez-Its. I wanted to know if the letters of the Cheeze-Its in the box.
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
Objective 1.Understand Network 2.Understand IP Addressing (IPv4 and IPv6) 3.Understand Subnetting 4.Examples 5.IP addressing and Vlan’s in TIFR 6.TIFR.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
Two’s Complement The language of machines, part II.
No Pencil or Paper Needed!.  Make sure you know your multiplication tables up to 10.
Instructor & Todd Lammle
IP Addressing Part 11.
Binary
BINARY CODE.
Representation of data in computer systems
COMPUTING FUNDAMENTALS
Number Systems.
Topic 3: Data Binary Arithmetic.
Hexadecimal Conversions
Topic 3: Data Hexadecimal.
Binary Data representation
Encoding and Sending Formatted Text
Digital Encodings.
Binary Lesson 6 Classful Subnetting /24, /25, and /26
Title of Notes: Common Denominators
Binary counting challenge
The Understanding of Binary Math & Conversion
Integer arithmetic Depends what you mean by "integer"
Technology 3 Bits & Bytes.
Chapter 3 - Binary Numbering System
Presentation transcript:

JAOIT 8

Binary Programming  As someone just starting their adventures in the networking world binary can be both scary and confusing. I am going to attempt to make learning binary as pain free as possible and break it down to its simplest form.

Binary Programming  Let’s start off with some basics. First off binary is a string of 0's and 1's. The 1's being the on switch, and the 0's being the off switch. When a computer sees the 0's and 1's it only counts the 1's. Take for example what we've grown up learning with numbers. In our base 10 system we have the 1's place, the 10's place, the 100's place, etc. So basically our base 10 is just anything to the 10th power.

Binary Programming  0^10 = 1's place; 1^10 = 10's place; 2^10 = 100's place; etc.  So Binary is just everything to the 2nd power. It makes it a bit more confusing at first, but once you get the hang of it, it makes total sense.

Binary Programming  0^2 = 1; 1^2 = 2; 2^2 = 4; 3^2 = 8; etc.

Binary Programming  Basically binary just doubles as you go, and is split into 8 bits (each zero and each one is a bit). So typically you'd see something like this Every 8 bits if turned on equals 256. Counting in multiples of 2's we'd look at it like this equaling 8 separate bits. This is important to remember later on in networking for sub- netting and how IP addresses work.

Binary Programming  So let’s count to 9 in binary. Remember the computer only counts the 1's. So 1001 would equal 9. We know this because 0^2 = 1; and 3^2 = 8 and we just add those together. Whenever I have to use binary I always start out writing all 8 bits out to make things easier to add up later on. Especially when the number gets rather large.

Binary Programming Counting to 64 in Binary language = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 16

Binary Programming  Do you notice any patterns?  Numbers are created in 6 bit binary bytes up to the number 64.

Binary Programming The Alphabet in Binary Code – Small Letters a n b o c p d q e r f s g t h u i v j w k x l y m z

Binary Programming The Alphabet in Binary Code – Large Letters A N B O C P D Q E R F S G T H U I V J W K X L Y M Z

Binary Programming  Let’s write your name in Binary code.