
S3 CS - Data representation (revision)
Presentation
•
Computers
•
8th Grade
•
Hard
G Alexander-Doyle
Used 31+ times
FREE Resource
9 Slides • 12 Questions
1
S3 Data representation revision
BGE Computing Science - Falkirk High School
2
Binary
Machine language
Data on a computer is all stored in binary code. Binary code consists of 1's and 0's and can be used to store numbers, text, graphics, video and audi.
BGE Computing Science - Falkirk High Schoo
Advantages of binary
Calculations are kept simple
Degraded data is still recognisable
Simplicity involves in only having to detect two voltage levels
3
Converting Binary to Decimal
The problem
Convert the binary number 10110011 to decimal.
Draw a table with 8 columns and 2 rows. In the far right column place a 1 in the top row, double the number as you move right-left. Insert the binary number and count the numbers with a 1.
BGE Computing Science - Falkirk High School
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | 1 | 0 | 0 | 1 | 1 |
128 + 32 + 16 + 2 + 1 = 179
4
Multiple Choice
Which of the following decimal numbers match with the binary number - 01101101
107
108
109
110
5
Multiple Choice
Which of the following decimal numbers match with the binary number - 11001111
207
208
209
210
6
Multiple Choice
Which of the following decimal numbers match with the binary number - 11101100
235
236
238
240
7
Multiple Choice
Which of the following numbers represents the highest decimal number which can be represented with 8 bits?
15
253
254
255
8
Converting Decimal to Binary
The problem
Convert the binary number 165 to decimal.
Draw a table with 8 columns and 2 rows. In the far right column place a 1 in the top row, double the number as you move right-left.
Move from left to right placing a 1 under each column that results in the number being less than or the same as the target number.
BGE Computing Science - Falkirk High School
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | | | | | | |
128 + 64 = 192
9
Converting Decimal to Binary
The problem
BGE Computing Science - Falkirk High School
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | 0 | | | | |
128 + 32 + 16 = 176
Convert the binary number 165 to decimal.
128 + 32 = 160
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | | | | | |
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | 0 | 0 | | | |
128 + 32 + 8 = 168
10
Converting Decimal to Binary
The problem
BGE Computing Science - Falkirk High School
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | 0 | 0 | 1 | 0 | 1 |
128 + 32 + 4 + 2 = 166
Convert the binary number 165 to decimal.
128 + 32 + 4 = 164
128 + 32 + 8 = 165
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | 0 | 0 | 1 | |
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
1 | 0 | 1 | 0 | 0 | 1 | 0 |
11
Multiple Choice
Which of the following binary numbers match with the decimal number - 189
10111101
10111100
11011101
10101101
12
Multiple Choice
Which of the following binary numbers match with the decimal number - 150
10010010
10010100
10010111
10010110
13
ASCII
Representing text
ASCII stands for American Standard Code for Information Interchange. It is used to represent text in a computer system.
ASCII uses 8 bits to represent each character.
Control characters such as tab, delete and backspace are also represented. They cause an effect on-screen but do not produce a printed character.
BGE Computing Science - Falkirk High School
14
Multiple Choice
How many bits does ASCII use to represent a character?
7
8
1
16
15
Fill in the Blanks
Type answer...
16
Multiple Choice
Which of the following is an example of a control character?
A
8
Tab
!
17
Graphics
Bit-mapped graphics
Bit-mapped graphics are stored as a 2-D array of pixels. The number of pixels is known as the resolution.
In a black and white image, we only need two states to be able to store the graphics information.
As more colours are added to the picture, more bits must be used to store each pixel.
The number of bits used to store the colour information is known as the colour-depth.
BGE Computing Science - Falkirk High School
18
Graphics
Vector graphics
Vector graphics are made up of individual objects layered together to make a graphic.
Each object has a set of attributes, such as line colour, line weight and coordinates, stored.
BGE Computing Science - Falkirk High School
19
Multiple Choice
Bit-map graphics tend to have large file sizes.
TRUE
FALSE
20
Multiple Choice
The file size of a vector graphic increases when more shapes are added to the image.
TRUE
FALSE
21
Multiple Choice
Bit-mapped graphics allow for individual shapes to be arranged in layers.
TRUE
FALSE
S3 Data representation revision
BGE Computing Science - Falkirk High School
Show answer
Auto Play
Slide 1 / 21
SLIDE
Similar Resources on Wayground
17 questions
Bangun Ruang Sisi Datar Kubus
Presentation
•
8th Grade
17 questions
Unit 2 Review
Presentation
•
8th Grade
20 questions
English 8 Semester 2 Unit 4.1
Presentation
•
8th Grade
19 questions
Computing unit prices to find a better buy
Presentation
•
7th Grade
20 questions
GOOGLE APPS
Presentation
•
9th Grade
19 questions
Indecies
Presentation
•
7th - 8th Grade
19 questions
L9 Tiết 16 Kết nối không dây
Presentation
•
9th Grade
16 questions
Cendrawasih
Presentation
•
7th Grade
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade