What do you think this lesson is all about? Write your answer on a sticky note.

Slides:



Advertisements
Similar presentations
Information Representation
Advertisements

Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
The Binary Numbering Systems
A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
Hexadecimal In today’s lesson we will look at: the need for something other than binary how hexadecimal works how to convert between hexadecimal and binary.
Connecting with Computer Science, 2e
Text Representation within Computers CS208. The Binary Digit (Bit) One bit can encode a value set that contains two elements e.g. {black, white}, {up,
March 2006Taner Erig - EMU2-1 Metamorphosis of Information How is information represented and how do computers store information?
Computer Arithmetic: Binary, Octal and Hexadecimal Presented by Frank H. Osborne, Ph. D. © 2005 ID 2950 Technology and the Young Child.
Lesson 2 0x Coding ASCII Code.
Lesson Objectives Explain the use of binary codes to represent characters Explain the term “Character set” Describe with examples (for examples ASCII and.
2.1.4 BINARY ASCII CHARACTER SETS A451: COMPUTER SYSTEMS AND PROGRAMMING.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Management Information Systems Lection 06 Archiving information CLARK UNIVERSITY College of Professional and Continuing Education (COPACE)
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Digital Logic Chapter 2 Number Conversions Digital Systems by Tocci.
Connecting with Computer Science 2 Objectives Learn why numbering systems are important to understand Refresh your knowledge of powers of numbers Learn.
© Maths Support Service 2007 Binary and Hexadecimal Numbers Next Slide AE98FD AE98FD.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
Binary Logic Lets think about the Binary!. What is Binary? Computers use binary as it’s a lot simpler! Each CPU is made up of millions of transistors.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Data Representation CS280 – 09/13/05. Binary (from a Hacker’s dictionary) A base-2 numbering system with only two digits, 0 and 1, which is perfectly.
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
Text and Graphics September 26, Unit 3.
Number Systems CIT Network Math
Colors. Color of HTML Elements You can control the color of the following elements: You can control the color of the following elements: All text within.
Logical Circuit Design Week 2,3: Fundamental Concepts in Computer Science, Binary Logic, Number Systems Mentor Hamiti, MSc Office: ,
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
Data Representation Conversion 24/04/2017.
THE BINARY SYSTEM.
Data Representation The storage of Text Numbers Graphics.
HEXADECIMAL NUMBERS.
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.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Decimal to Binary Conversion Press any key to continue…
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
NUMBER SYSTEMS IN COMPUTING Stuart Davison CAS Master
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
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.
Unit 2.6 Data Representation Lesson 3 ‒ Images
DATA REPRESENTATION - TEXT
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Binary, Denary, Hexadecimal Conversion Binary Addition
Data Representation.
NUMBER SYSTEMS.
Lec 3: Data Representation
Computer Systems Nat 4/5 Data Representation Lesson 4:
CHAPTER 1 : INTRODUCTION
Introduction to Chapter 2
Chapter 3 Data Representation
Representing Images 2.6 – Data Representation.
What do these words mean to you?
Ch2: Data Representation
Hexadecimal Binary Made Easier.
Numbering System TODAY AND TOMORROW 11th Edition
Chapter 2 Data Representation.
Option: Data Representation
Computer Systems Nat 4/5 Data Representation Lesson 4:
Binary CSCE 101.
Option: Data Representation
WJEC GCSE Computer Science
Presentation transcript:

What do you think this lesson is all about? Write your answer on a sticky note.

Part 1 Binary Numbers

Part 1: Outcomes I understand why computers need numbers to be represented in Binary. I can count in Binary.

Binary What do you know about binary? What would you like to know about binary?

What are Binary Numbers? (And why does my computer need them?)

Why do humans count in Denary (Base 10)? Why do computers count in Binary (Base 2)?

Counting from 0 to 15 in Binary What do you notice about the number of dots on the cards? How many dots would the next card on the left have?

Part 2 Converting Binary Numbers

Part 2: Outcomes I can convert numbers from Denary to Binary and from Binary to Denary.

Methods for Converting Binary to Denary 1.Trial and error using the ‘Grid Approach’. 2.‘Repeated Division’

The Grid Approach Think of a number … Find the highest number near to it and put 1 in the box below it. Find the remainder and keep the process going until you are finished

The Grid Approach: Example For example, 63 Remainder 5 Remainder 1

The Grid Approach: Try it Out!

The Repeated Division Approach Another method for converting Denary into Binary is repeated division by 2, recording the remainder each time ÷ 2=31Remainder1 31÷ 2=15Remainder1 15÷ 2=7Remainder1 7÷ 2=3Remainder1 3÷ 2=1Remainder1 1÷ 2=0Remainder1

The Repeated Division Approach: Try it Out!

Binary Fun

Binary to Denary

The Land of Computasia In a land far away there is a country where people are still terrorized by dragons. There is no electricity and no technology. The people are protected by knights and wizards who try every day to keep the dragons away from them. People live in villages. Each village is known by the district in which it is based and the number of that village. Villages use bonfires to signal the number of dragons that each village has seen. Health and safety laws mean that no village is allowed to light more than three bonfires at any one time. Use the sheet provided to record the number of dragons each village has seen.

Denary to Binary Bingo

Binary Number Quiz

More Attacks on Computasia! The number of dragon attacks is on the increase and it is feared that there are actually far more than seven dragons in the land. Each village was asked to complete a census of its population and to display this using combinations of flags. Black flags represented 0s and Blue Flags represented 1s. Use the sheet provided to record the census details for each village

Cisco Binary Quiz

Review What have you learnt so far about binary?

Part 3 Adding Binary Numbers

Part 3: Outcomes I can add Binary numbers.

Adding Binary Numbers Adding in binary uses the same approach as in base 10. We add the values and if the value is larger than the column will hold we ‘carry’ a value to the next column. To add 1101 and 1011 in binary: Carried values 1111

Adding Binary Numbers: Try it Out!

Binary Addition Quiz

Part 4 How Text is Stored as Binary

Part 4: Outcomes I can explain how text is stored as Binary numbers. I can convert from Binary to ASCII.

How Text is Stored as Binary When any key on a keyboard is pressed, it needs to be converted into a binary number so that it can be processed by the computer and the typed character can appear on the screen.

A code where each number represents a character can be used to convert text into binary. One code we can use for this is called ASCII. ASCII stands for ‘American Standard Code for Information Interchange’. The ASCII code takes each character on the keyboard and assigns it a binary number. For example: LetterBinary NumberDenary Number a b c ASCII

Coding and Decoding Messages A scout in the borderlands of Computasia has released a coded message. Can you decode it?

Part 5 How Images are Stored as Binary

Part 5: Outcomes I can explain how images are stored as Binary numbers. I can create black and white images in Binary. I can accurately create an image by decoding Binary numbers. I understand how Hexadecimal and RGB are used to represent colours.

How are Images Stored as Binary? Images also need to be converted into binary in order for a computer to process them so that they can be seen on our screen. Digital images are made up of pixels. Each pixel in an image is made up of binary numbers.

How are Images Stored as Binary? If we say that 1 is black (or on) and 0 is white (or off), then a simple black and white picture can be created using binary. What other information is needed in order for the computer to represent the image accurately?

Create Your own Simple Graphic Open up the ‘Binary Image’ worksheet. Create a simple image by shading some squares black and leaving some squares white. If you want the square to be black, type 1 in the square. If you want the square to remain white, type 0 in the square.

Computasia: Image of the Beast! Put your name and date on the worksheet. Answer the first question by putting the binary numbers into the table, and shading in the 1s. You may find it helpful to put a line in the numbers as you do this.

Adding Colour Most images need to use colours as well. Instead of using just 0 and 1, using four possible numbers will allow an image to use four colours. In binary this can be represented using two bits per pixel: – 00 = White – 01 = Blue – 10 = Green – 11 = Red Use this code to fill in the second part of the Computasia: Image of the Beast! If you don’t have the correct colours use W,R,G,B instead.

Hexadecimal Hex codes are used in many areas of computing to simplify binary codes. Computers do not use hexadecimal. Hexadecimal is a shortcut for representing binary. Humans use hexadecimal to shorten binary to a more easily understandable form. Hexadecimal is translated into binary for computer use.

Hexadecimal and Colours Hex can be used to represent colours on web pages and image-editing programs using the format #RRGGBB (RR = reds, GG = greens, BB = blues). The # symbol indicates that the number has been written in hex format. This system uses two hex digits for each colour, e.g. #FF6600.

Hexadecimal and Colours Hex values have equivalents in the RGB colour model. The RGB model is very similar to the hex colour model, but instead of combining hex values you use a value between 0 and 255 for each colour. So an orange colour that is #FF6600 in hex would be 255, 102, 0 in RGB.

Test Your Knowledge! Use the ‘HTML Colour Picker’ at ker.asp. ker.asp Pick a colour and make a note of the Hex and RGB codes in the table on the worksheet. Then use the Shading Tool in MS Word to shade in the ‘Colour’ box with the right shade.