AP: Discuss with a shoulder partner these questions. EQ Question: 1. What does the computer understand? 2. How is information converted to machine language?

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
Representing Data, Pictures, Time, and Size in Computer
Binary Expression Numbers & Text CS 105 Binary Representation At the fundamental hardware level, a modern computer can only distinguish between two values,
Overview Digital Systems and Computer Systems Number Systems [binary, octal and hexadecimal] Arithmetic Operations Base Conversion Decimal Codes [BCD (binary.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
ENEL 111 Digital Electronics Richard Nelson G.1.29
Bits and Bytes.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
NUMBER SYSTEM AND CONVERSION Digital Circuit Choopan Rattanapoka.
Agenda Data Representation Purpose Numbering Systems Binary, Octal, Hexadecimal (Hex) Numbering System Conversions Binary to Octal, Octal to Binary Binary.
Number Systems.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
How Computers Work Dr. John P. Abraham Professor UTPA.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
An Introduction to Computers August 12, 2008 Mrs. C. Furman.
D ATA REPRESENTATION, BINARY SYSTEM, B IT, B YTE, ASCII C ODE Chapter 3 Mr.Mohammed Rahmath.
HOW COMPUTERS MANIPULATE DATA Chapter 1 Coming up: Analog vs. Digital.
Number Systems What is the Standard Base we
Chapter 1 Introduction to Computers Maran Illustrated Computers CIS
The Hexadecimal Number System and Memory Addressing ISAT 121.
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Chapter 2 Data Representation.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
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.
THE BINARY NUMBER SYSTEM “There are only 10 types of people in this world: Those who understand BINARY and those who do not.”
© 2011 Pearson Education, publishing as Addison-Wesley Monday  Class Requirements  Earn hawk points today with the Name Game  Network Login.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Codes Octal Power Hexadecimal ASCII BCD Code
Binary System Presented by Mr. Wilhelmi Internal Representation of Data Input Input  Data that is put into the computer for processing Data Data  The.
© 2006 Pearson Education Chapter 1: Computer Systems.
CEC 220 Digital Circuit Design Number Systems & Conversions Friday, January 9 CEC 220 Digital Circuit Design Slide 1 of 16.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
MECH1500 Chapter 3.
Binary 101 Gads Hill School. Aim To strengthen understanding of how computers use the binary number system to store information.
Arithmetic Chapter 4 Subject: Digital System Year: 2009.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
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.
Chapter 5 NUMBER REPRESENTATION AND ARITHMETIC CIRCUITS.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
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.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
YOUR VIRTUAL WORLD – THE HEXADECIMAL NUMBERING SYSTEM Prepared by Mrs. Christina Morris, July, 2014.
Programmable Logic Controller
Computer Science 210 Computer Organization
Positional Number Systems Decimal, Binary, Octal and Hexadecimal Numbers Wakerly Section
Number Systems and Codes
Unit 18: Computational Thinking
What is a byte? What is it? How would you use it?
ENEL 111 Digital Electronics
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Digital Electronics Jess 2008.
EPSII 59:006 Spring 2004.
Saturday, 10 November 2018 Binary
Binary Quiz UIN: ____________________
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Ch2: Data Representation
Computer Science 210 Computer Organization
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
Learning Intention I will learn how computers store text.
Hexadecimal.
Electronic Memory.
ENEL 111 Digital Electronics
Course Code 114 Introduction to Computer Science
Presentation transcript:

AP: Discuss with a shoulder partner these questions. EQ Question: 1. What does the computer understand? 2. How is information converted to machine language? 3. What is binary? 4. What is hexadecimal? 5. What is octal?

Digital Information A computer stores information digitally as binary numbers. numbers text graphics and images video audio program instructions In some way, all information is digitized - broken down into pieces and represented as numbers

Binary Numbers Binary number system has only two digits 0 and 1 A single binary digit (0 or 1) is called a bit A single bit can represent two possible states, like a light bulb that is either on (1) or off (0) Binary is Base 2 number system so there are 2 N permutations of N bits It takes 8 bits to make a byte or a character that represents a form of data.

Ascii Code

5 Bit Permutations Therefore, N bits are needed to represent 2 N unique items 2 1 = 2 items 2 2 = 4 items 2 3 = 8 items 2 4 = 16 items 2 5 = 32 items 1 bit ? 2 bits ? 3 bits ? 4 bits ? 5 bits ? 6 bits ? 7 bits ? 8 bits ? How many items can be represented by 2 6 = 64 items 2 7 = 128 items 2 8 = 256 items

6 Bit Permutations 1 bit 2 items bits 4 items bits 8 items bits 16 items Each additional bit doubles the number of possible permutations Question: 3 bits can represent how much data ?

What is Binary

Binary to Decimal

Convert from Hex to Binary

Convert any base to decimal by multiplying DecimalBase 10 89(8 x 10 1 ) + (9 x 10 0 ) = 89 BinaryBase (1 * 2 6) + (1 * 2 4 ) + (1 * 2 3 ) + (1 * 2 0 ) = 89 Hexade cimal Base 16 59(5 * 16 1 ) + (9 * 16 0 ) = 89 OctalBase 8 131(1 * 8 2 ) + (3 * (1 * 8 0 ) = 89

Work on Conversion Worksheet to turn in With a partner (one with prior programming and the other with none or little) Go to my website and start on the SNAP programming exercises. Go through the powerpoints and do each of the exercises listed. SNAP Website PPT for SNAP Project All programs have 3 basic control structures: Sequential, Condtional, Iteration (loop)SNAP Website PPT for SNAP Project SNAP Exercises #1 - Moving and Talking (see ppt slide #8) SNAP Exercises #2 - Squares (see ppt slide #10) SNAP Exercises #3 - Triggers (see ppt slide #12) SNAP Exercises #4 - Threads (see ppt slide #14) SNAP Exercises #5 - Loops (see ppt slide #20) SNAP Exercises #6 - Input (see ppt slide #24) SNAP Exercises #7 - Arithmetic (see ppt slide #26) SNAP Exercises #8 - Conditionals / Boolean (see ppt slide #32) SNAP Exercises #9 - Events - MarcoPolo (see ppt slide #34) SNAP Project - Turtles