Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

A2 Worksheet – Bits and Bytes

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Year 8 – Representations: from clay to silicon Learner worksheet

Lesson 5 – Large quantities

Bits and bytes


Problem 1 Simple
A user comes across a small text file in her hard disk. The name of the file is
‘simple’ and its size is 12 bytes.

Name Size Type

simple 12 bytes Text

Question Your answer ▿

How many binary digits (bits) Number of bits in the file:


does this file contain?

Problem 2 Symbols
The table below contains examples of a few symbols, and their binary encodings
in the UTF-8 coding scheme.

Fill in the last column of the table: how many bytes are required for each of the
characters?

Binary Number of bytes


Character Number of bits
Representation ▿

@ 01000000 8

11000010
£ 10100011
16

11100010
⁂ 10000001 24
10000010

11110000
10011101
𝄞 10000100
32
10011110

Problem 3 ASCII art


ASCII art involves creating pictures using characters (such as letters, symbols,
and numbers). Here is an example:

Page 1 Last updated: 09-09-19


Year 8 – Representations: from clay to silicon Learner worksheet
Lesson 5 – Large quantities

! |\_/| !
! -(@ @)- !
!--oOO--(_)-OOo---!

Questions Your answers ▿

Every character is represented Bytes for each character:


by a sequence of 8 bits.

How many bytes are required


for one individual character in
the image?

In this image, there are 3 lines, Total number of characters in the image:
with 20 characters in each line.
This includes spaces and the
special characters that move to the
next line.

How many characters are in the


image in total?

How many bits are required for Bits for the entire image:
representing the entire image?

How many bytes are required Bytes for the entire image:
for representing the entire
image?

Page 2 Last updated: 09-09-19

You might also like