Download presentation
Presentation is loading. Please wait.
1
Denary to Binary Numbers & Binary to Denary
Chapter 3 Data Representation
2
Countdown numbers game
Your numbers are: And your target is: 10 How many different ways of getting this target can you find?
3
Countdown numbers game
Your numbers are: And your target is: 13 How many different ways of getting this target can you find?
4
What is a denary number? These numbers we use in our everyday lives are called ‘denary’ numbers, it is also referred to as “Base-10”, which uses the power of 10: 1000, 100, 10, 1.
5
Binary 128 64 32 16 8 4 2 1 When given a number to convert to binary you need a sequence of 0’s and 1’s. To be able to convert deniary numbers to binary you have to firstly pick the first lowest number under the decimal number given. Then how many digits backwards are you going to use to add together to make the number. e.g. 42 First lowest number under this from the table above is 32 so this is where I will start: = this will get 42 1x32 =32 0x16=0 1x8=8 0x4=0 1x2=2 0x1=0 Add all these together will get 42.
6
Binary Another example 228 128 64 32 16 8 4 2 1
What combinations of the numbers before will make 228? 128 64 32 16 8 4 2 1 Answer: Binary =228 (denary)
7
4-bit binary numbers 13 = 9 = 14 = 11 = 7 = 5 = 8 = 8 4 2 1
Convert the following denary numbers into 4-bit binary, also referred to as Base-2. 13 = 9 = 14 = 11 = 7 = 5 = 8 = G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation\worksheet6 – Denary to Binary
8
Binary to denary numbers
Now convert back from binary to denary 1100 0011 8 4 2 1 x X 8 + 4 + 0 + 0 =16 8 4 2 1 x X 0 + 2 + 1 =3 What would happen if the denary number was 23? Can you write this as 4-bit binary?
9
Binary to denary numbers
Convert the following 4-bit binary numbers into whole denary numbers: 0001 = 0 = 1111 = 1100 = 0011 = G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation\worksheet6 – Denary to Binary
10
8-bit binary numbers =byte
128 64 32 16 8 4 2 1 Convert the following denary numbers into 8-bit binary, also referred to as Base-2. 220 = 300 = 132 = 144 = G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation\worksheet6 – Denary to Binary
11
GCSE Computer Science Workbook
Complete page 77 and 78.
12
Starter - Countdown numbers game
Your numbers are: New rule still applies… Try to find: The highest possible number The lowest possible number A number that can be obtained in more than one way Highest is 15 Lowest is 0 (choose not to add anything) You can also get all numbers between 0-15 – there is only ONE way to get any of these numbers, this is important in binary.
13
TASK1– Worksheet 7 G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation Extension: What is binary overflow? What happens?
14
TASK2– Worksheet 7 (2) Larger numbers in binary
G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation Extension: What are the conversions: 8 bits = 1 Byte 1 kilobyte (KB) = ?bytes 1 megabyte (MB) = ? Kb 1 gigabyte (GB) = ? MB 1 terabyte (TB) = ? GB)
15
TASK3– Worksheet 8 HEX G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation Extension: Workbook page: 79-80
16
GCSE Computer Science Workbook
Complete page 79 and 80.
17
Binary to Hex
18
STARTER What is binary overflow?
Watch the video and write a summary in word of what it is.
19
HEX to Denary Denary 5 0 Binary 0011 0010 Hex 3 2
For HEX to be worked out remember: 3 2 X x 16 1 = 50
20
TASK– Worksheet 8 HEX G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation Extension:
21
What is the Hex ladder?
22
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
23
TASK: worksheet 9 – Binary to Hex
Studentshare\ICT\Miss Elliott\Yr 10\Theory2\Chapter 3 Data representation\ Worksheet 9 EXTENSION 1 on the sheet EXTENSION 2 worksheet 10
24
TASK Workbook page: 79-80
25
Starter
27
TASK: worksheet 9 – Binary to Hex
Studentshare\ICT\Miss Elliott\Yr 10\Theory2\Chapter 3 Data representation\ Worksheet 9 EXTENSION 1 on the sheet EXTENSION 2 worksheet 10
28
Hex to Denary to Binary 7A FE 9F 2B EXTENSION: 8C 3D EF A9 F1 A0
29
Bits and Bytes G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation\worksheet 11 EXTENSION
30
Binary Addition 0 + 0 = =1 0+1=1 1+1=10
31
Starter
32
Binary Addition – worksheet 12
G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation\worksheet 12 Extension: Convert additions to denary
33
Binary Addition EXTENSION: Can you convert the following Denary values to Hex?
34
Starter overflow + + + + + +
35
TASK - extension TASK - extension Workbook page: 79-80
36
Recap What is binary? What is HEX? What is denary? What is over flow?
37
Revision Binary - 22 HEX – 2A Denary - 15
38
Recap Q’s – worksheet 14 - REVISION G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation What would the denary number 199 be in binary? What would the denary number 55 be in binary? What would the denary number 222 be in binary? What would be as a denary number? What would be as a denary number? What would be as a binary number? What is an overflow error?
39
ASCII – American Standard Code for Information Interchange
40
Activity – Worksheet 13 – ASCII Table
G:\ICT\Miss Elliott\Year \Chapter 3 - Data Representation EXTENSION: Create your own ASCII message
41
TASK - extension TASK - extension Workbook page: 81
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.