Math Review Do you remember, from math class, how exponentiation operations are typically represented? anan is known as the "base" a is known as the "base"

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Base 10 Denary Decimal
John Owen, Rockport Fulton HS
Binary Representation Introduction to Computer Science and Programming I Chris Schmidt.
Binary number, Bits and Bytes and memory Sen Zhang.
Information Processing Session 5B Binary Arithmetic Slide
Lecture 2: Topics Bits and Bytes Primitive Types Casting Strings Boolean expressions.
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.
Teaching Computing at KS3 Session 2 Sue Sentance and Sophie Baker
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Computer Storage & Representing Numbers CE 311 K - Introduction to Computer Methods Daene C. McKinney.
Number Systems.
Bit Patterns – Day 2 Scott Baranick & Daniel Velasquez.
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Chapter 2 Computer Hardware
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.

1 Pertemuan 2 Network Math. Discussion Topics Binary presentation of data Bits and bytes Base 10 number system Base 2 number system Converting decimal.
Numerical Representation Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg 1.
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.
Working with 8-bit bytes and hexadecimal
Data Representation Bits, Bytes, Binary, Hexadecimal.
Data Representation The storage of Text Numbers Graphics.
Computer Programming 12 Mr. Jean February 5 th, 2014.
Binary Bracelets. Objectives Encode letters into binary Decode binary back to letters Relate the idea of storing initials on a bracelet to the idea of.
Exploring Computer Science – Lesson 2-5. Click to add text.
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
2.1.4 Data Representation Units.
* Numeral Systems: A writing method for expressing numbers is called a “Numeral System". In the most common numeral system, we write numbers with combinations.
Mr. Gifford’s 5 th Grade Math Lesson #8 Looking for Patterns.
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.
A+ Computer Repair Lesson 3: Number System. Objectives Define binary, decimal, octal, and hexadecimal numbering systems. Define binary, decimal, octal,
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Number systems. Binary system. Bits and bytes. Modern computers “speak” in a digital language composed of 2 digits. The machine language of modern computers.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Nat 4/5 Computing Science Lesson 1: Binary
Math Review Do you remember, from math class, how exponentiation operations are typically represented? an a is known as the "base" n is known as the "exponent".
Binary & Hex Review.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
© 2003, Cisco Systems, Inc. All rights reserved.
Consider this number: , Ones (7 ones) Tens (no tens)
Exploring Computer Science – Lesson 2-5
Numerical Representation
Information Technology Introduction to Number System
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Representation of data in computer systems
Data Representation Numbers
Representation of Data in Computer Systems
Representing Data How does a computer represent data?
Numerical Representation
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Data Binary Conversion.
Numerical Representation
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
Why computers use binary
The basics of any electronic device means either electricity is flowing or it is not i.e. a switch is either on or off Computers are electronic devices.
Binary System.
Binary Lesson 4 Hexadecimal and Binary Practice
Binary & Hex Review.
Technology 3 Bits & Bytes.
Binary.
Numerical Representation
Presentation transcript:

Math Review Do you remember, from math class, how exponentiation operations are typically represented? anan is known as the "base" a is known as the "base" is known as the "exponent". n is known as the "exponent". You might say, " raised to the power of ". You might say, "a raised to the power of n".

Warm Up Try to find a value for each of the exponents shown below. 2 0 = 2 0 = 2 1 = 2 1 = 2 2 = 2 2 = 2 3 = 2 3 = = =

Bit Patterns Computer Number Systems Scott Baranick & Daniel Velasquez

Bits and Bytes A bit is the short name for "binary digit". A bit is the short name for "binary digit". A bit can store only two values. A bit can store only two values. Off or On switch 0 or 1 False or True A byte is a series of 8 bits or switches. A byte is a series of 8 bits or switches.

Bits and Bytes A kilobyte is 1024 bytes, A kilobyte is 1024 bytes, – In other words, 2 10 –This is often rounded to 1,000 bytes

Bits and Bytes A megabyte is either 1000 or 1024 kilobytes. A megabyte is either 1000 or 1024 kilobytes. A gigabyte is either 1000 or 1024 megabytes. A gigabyte is either 1000 or 1024 megabytes. What's next? What's next?

Number System Definitions Binary is just another name for base 2. Binary is just another name for base 2. Decimal is just another name for base 10. Decimal is just another name for base 10. Hexadecimal is just another name for base 16. Hexadecimal is just another name for base 16.

Decimal vs. Binary x x x x x x = = 5 10

Counting in Base

Counting in Base 2 "Computer Science Unplugged" Class Activity: "Computer Science Unplugged" Class Activity: Use Flip cards to demonstrate binary addition. Use Flip cards to demonstrate binary addition. Also use the hats to show the place values. Also use the hats to show the place values.

Binary Numbers Worksheet Now that we know how to count in base 2, fill in the missing binary numbers in the middle column of the worksheet. Now that we know how to count in base 2, fill in the missing binary numbers in the middle column of the worksheet.

Binary to Decimal x 2 0 = 1 x one = 1 0 x 2 1 = 0 x two = 0 1 x 2 2 = 1 x four = 4 0 x 2 3 = 0 x eight = 0 0 x 2 4 = 0 x sixteen = 0 1 x 2 5 = 1 x thirty-two = 32 37

Back of the Worksheet Complete the top half of the back of the worksheet to demonstrate your understanding of how binary and decimal numbers relate to each other. Complete the top half of the back of the worksheet to demonstrate your understanding of how binary and decimal numbers relate to each other.

1111 What does this binary number represent in base 10? What does this binary number represent in base 10? Answer: 15 Answer: 15 Notice that this is the same as the base of 2 raised by the number of bits minus 1. Notice that this is the same as the base of 2 raised by the number of bits minus 1. Formula Formula largest number = 2 (n) – 1 where n represents the number of bits that are available. So what then are the largest numbers that can be represented using 16 bits? 32 bits? and 64 bits? So what then are the largest numbers that can be represented using 16 bits? 32 bits? and 64 bits?

Summary Recognize that computers, regardless of brand or type, are binary machines. Recognize that computers, regardless of brand or type, are binary machines. All the math done inside a computer is done in binary. All the math done inside a computer is done in binary. The computer converts the numbers into decimal only when it has to display the number on the screen or show the number on a printed report. The computer converts the numbers into decimal only when it has to display the number on the screen or show the number on a printed report.

End Day 1