Download presentation
Presentation is loading. Please wait.
Published byRoberta Briggs Modified over 6 years ago
1
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. 1, 2, 3…) For each number you cannot use a finger more than once
2
Learning Intention I will learn how computers store whole numbers (Integers)
3
The Decimal System We use the decimal or base 10 system in normal life: This means we have 10 digits: 0-9
4
The Binary System Computers use the binary or base 2 system:
There are two digits: 0 and 1 Each figure is known as a bit (binary digit)
5
Decimal Numbers Look at how a decimal number is made up: e.g. 273 273 = (2 x 100) + (7 x 10) + (3 x 1) Hundreds 103 = 100 Tens 102 = 10 Units 101 = 1 2 7 3
6
Binary Numbers The column headings for 8-bit binary numbers are: 128
64 32 16 8 4 2 1
7
Converting Binary to Decimal
Lets look at how 23 is stored in binary: = (1 x 16) + (1 x 4) + (1 x 2) + (1 x 1) = = 23 128 64 32 16 8 4 2 1
8
Steps to convert from Binary to Decimal
Write the binary column headings Write the binary number below the headings Add up the column headings that have a 1: = 106 128 64 32 16 8 4 2 1 128 64 32 16 8 4 2 1
9
Try these: Convert from Binary to Decimal: 00001110 =8+4+2=14 00101011
=8+4+2=14 = =43 = =121
10
Complete Task 2 questions 1 to 5
Remember to use the column headings to help you: 128 64 32 16 8 4 2 1
11
Success Criteria I know how computers store numbers and can convert from binary to decimal.
12
There are only 10 kinds of people in the world
There are only 10 kinds of people in the world. Those who understand binary and those who don’t.
14
Learning Intention I will learn how to convert from decimal into binary.
15
Converting Decimal to Binary
Let’s look at how to write the decimal value 145 in binary: = = 145 128 64 32 16 8 4 2 1
16
Steps to convert from Decimal to Binary
E.g. for the Decimal number 89 Write the column headings 128 64 32 16 8 4 2 1
17
Try these: Convert from Decimal to Binary: 1 1 1 15 1 73 114 212 128
64 32 16 8 4 2 1 1 1 1 1
18
Complete Task 2 questions 6 and 7
Remember to use the column headings to help you: 128 64 32 16 8 4 2 1
19
Success Criteria I can convert from decimal into binary.
20
Learning Intention I will learn how computers store real numbers
21
These are stored using floating point representation.
Storing real numbers Computers need to be able to store real numbers (e.g ), not just whole numbers. These are stored using floating point representation.
22
In maths you would store a floating point number such as 20
In maths you would store a floating point number such as as follows in standard form: x 102 m x 10e mantissa exponent
23
Storing real numbers (cont)
Computers store floating point numbers by storing the binary values for the mantissa and exponent
24
Success Criteria I can describe how computer store real numbers.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.