Bom 6196 4960 FirstTermGrade8Notes - Compressed - Compressed

Download as pdf or txt
Download as pdf or txt
You are on page 1of 39

BRIGHT FUTURE INTERNATIONAL SCHOOL, DOHA QATAR

First Term Notes 2022-2023

Q1. Choose the correct answer.


1. 1 byte equals __________ bits.

A. 7 B. 8 C. 6 D. 5

2. 0000 = ___________ nibbles

A. 1 B. 8 C. 6 D. 5

3. 1 byte = _____________ nibbles.

A. 1 B. 2 C. 6 D. 5

4. apple = ___________ bytes

A. 5 B. 2 C. 6 D. 5

5. 1 KB = ___________ bytes

A. 1024 B. 1025 C. 1026 D. 1028

6. Which of the following does not use lossy compression?

A. TXT B. JPEG C. MP3 D. MP4

7. What is the number of pixels in one inch referred to as?

A. depth B. layers C. resolution D. detail

8. Lossy compression _____________ part of the file.

A. saves B. deletes C. amends D. None

9. What is file transfer speed measured in?

A. minutes B. seconds C. hours D. milliseconds

10. What does bps stand for?

A. beats per second B. bits per second C. bits per session D. bytes per system

11. Computer is a
A. Hardware B. Software C. Data bus D. None
12. The smallest unit of data is
A. Byte B. Bit C. Nibble D. None
13. 10101010 is an example of ____________.
A. Bit B. Nibble C. Byte D. None

14. A vector image is created using ___________.

A. bits B. Paths C. Grids D. Pixels.

15. A byte contains ____________ bits.

A. 7 B. 8 C. 9 D. 12

16. 1-bit Image contains ___________ bits per pixel.

A. 2 B. 1 C. 9 D. 3

17. Colour depth is __________ per pixel.

A. byte B. bits C. nibble D. None

18i. Bitmaps are created with the collection of __________.

A. pixels B. lines C. shapes D. colors

19. Vector Image has __________ file size.

A. heavy B. small C. moderate D. None

20. Pixel is a small _______ area of color.

A. rectangle B. size C. square D. triangle

Q2. Fill in the blanks.


1. A bitmap is an image file made up of pixels.
2. MiB stands for Mebibyte .
3. Lossy Compression deletes part of the file.
4. Each letter in a word represents 1 byte.
5. Lossless compression is used for important data which cannot be deleted.
6. Computer understands __________________
machine language.

7. 0’s and 1’s represent ______________


binary numbers.

8. The code for white color in the 2-bit image is ______________.


00
9. The code for black color in the 1-bit image is _____________.
1

10. Pixels are small _________


square area of color.

11.Resolution is the number of ______________


pixels in a space.
coordinates
12.Vector images are made up of a list of _____________.

Q3. Write “T” for true and “F” for false statements.

1. Kib= 1028 bytes. _______________


F

2. 10 bytes = 4 nibbles F
_______________
3. Denary numbers are base 8 number systems. _______________
F

4. 1023 is a denary number. _______________


T
5. 400 bits / 8 = 50 bytes _______________
T
6. The combination of different values in 2 Bit Image are 6. F
_______________
7. 1 Bit Image can store 1 bit at a time in a pixel. _______________
T
8. A byte consists of 9 bits. _______________
F

9. Pixels are rectangles. _______________


F

10. Vector Images are better than Bitmap. _______________


T

11. Binary numbers are 2 and 3. F


_______________
12. Computer store bitmap in the form of pixels. _______________

Short Question/Answers
Q1: What is Machine Language?

Ans: Machine language is a collection of binary digits or bits that the computer reads and
interprets. Machine language is the only language a computer is capable of understanding.

Q2: What is the purpose of Binary Numbers?


The purpose is to communicate with the computer systems.
Q3: What are Bitmap Images?
Bitmap Images represent binary numbers. For example, a 1-Bit image has 2 different values.
Q4: How does the computer store images?
Computers store images in the form of pixels which represent binary numbers.
Q5: Name the smallest unit of data in a computer.

Ans: The smallest unit of data is Bit.


Q6: What are Binary Numbers and give one example.

Ans: Binary is a base-2 number system invented by Gottfried Leibniz that's made up of only
two numbers or digits: 0 (zero) and 1 (one). For Example, 01010.

Q7: How Computer Works?

Ans: Computer Works on Zeroes and ones known as Binary Numbers.

Q8. How is a vector stored in a computer?

Ans. Vectors are stored in the form of a list of coordinates.

Q9. What are key features of Vector Images?

Ans. The key features are: Lines, shapes and block colours.

Q10. What are Vector Images?

Ans. An image using lines shapes and block colours, made using coordinates.

Q11. How can vector images be used?

Ans. Vector graphics are used by graphic artists, illustrators and designers. A key feature
is scalability. For Example, Cartoons.

Q12. Describe two types of file that a family might store electronically.

Ans. Digital Photos and Songs

Q13. List the digits used by the base 2 and base 10 number systems.

Ans. Base 2: 0 and 1

Base 10: 0 - 9

Q14. Describe the purpose of run length encoding.

Ans. Run Length encoding is used to compress file size.

Q15. Describe a difference between Lossy and Lossless Compression.

Ans. Lossy compression deletes part of the file whereas Lossless Compression will reduce
the file size and data will not be deleted.
Worksheet -1

Q. Write Binary code for each scan Line.

Q.
Challenge Task: Create your own Binary code and Image. You can share it
with your classmate to decode it.

Note: All remaining Worksheets are in PDF form and are solved on Notebooks.
Binary
Task 1: Write the binary for each image.

Year 8, Unit 1, Lesson 5, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Task 2: Create your own bitmap images and write the binary code to match.

Year 8, Unit 1, Lesson 5, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Image properties
Task 1:

colour depth = 2

pixel dimension = 9 × 11

pixels in image = 99

1) file size in bits = 198

colour depth = 2

pixel dimension = ___________

pixels in image = ___________


2)
file size in bits = ___________

colour depth = 2

pixel dimension = ___________

pixels in image = ___________


3)
file size in bits = ___________

Year 8, Unit 1, Lesson 7, Worksheet 1


colour depth = 1

pixel dimension = ___________

pixels in image = ___________

4) file size in bits = ___________

colour depth = 3

pixel dimension = __________

pixels in image = __________


5)
file size in bits = __________

Year 8, Unit 1, Lesson 7, Worksheet 1


Task 2:

colour depth = 24

pixel dimension = 1024 × 500

pixels in image = ____________


1)
file size in bits = ____________

colour depth = 8

pixel dimension = 650 × 400

pixels in image = _____________


2)
file size in bits = _____________

The author and the publisher would like to thank the following individuals and
organisations for permission to use copyright material:

1: michaeljung. Shutterstock
2: Sorajack Mongkolsri. Shutterstock

Year 8, Unit 1, Lesson 7, Worksheet 1


Task 1: Binary addition

1) 00101 + 10010

2) 01000 + 01111

3) 00111 + 01010

4) 10011 + 00011

5) 00101 + 01001

6) 00110101 + 01010011

7) 01110101 + 00010010

8) 00000101 + 01010111

Year 8, Unit 1, Lesson 9, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Task 2: Colours from binary
Create the colours from the binary code.

red 11 00 00

green 00 11 00

blue 00 00 11

Red + Blue = Magenta


11 00 00 + 00 00 11 = 11 00 11

Green + Blue = Cyan


00 11 00 + 00 00 11 =

Green + Red = Yellow


00 11 00 + 11 00 00 =

Red + Green + Blue = White


+ + =

Year 8, Unit 1, Lesson 9, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Storage units

These are all storage devices. They are used to store files made of millions of bits of binary.

Webspark. Shutterstock

Sashkin. Shutterstock

The different storage units we are looking at today are:


 0 = 1 bit
 0000 = 1 nibble (4 bits)
 0000 0000 = 1 byte (8 bits)
Each letter of a word is worth one byte (8 bits)

Task 1: Storing words


How much file space would you need for the following words?
1) apple = 5 (letters) × 1 (byte) = 5 byte file

2) chocolate =

3) orange =

4) feather =

Year 8, Unit 2, Lesson 1, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
5) book =

6) computer =

7) storage =

8) binary =

9) byte =

10) nibble =

How many nibbles would that be for each word? (There are 2 nibbles in each byte.)
1) apple = 5 (letters) × 2 nibbles = 10 nibble file

2) chocolate =

3) orange =

4) feather =

5) book =

6) computer =

7) storage =

8) binary =

9) byte =

10) nibble =

How many bits are contained in each word?

1) apple = 40 bit file

2) chocolate =

3) orange =

Year 8, Unit 2, Lesson 1, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
4) feather =

5) book =

6) computer =

7) storage =

8) binary =

9) byte =

10) nibble =

Year 8, Unit 2, Lesson 1, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Task 2: Storing images
Work out the file size of these images in bits, nibbles and bytes. Remember that each pixel is 1 bit
because it is a black and white only image.

Image 1

Image 2

Image 3

Year 8, Unit 2, Lesson 1, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Base 10 numbers
Task 1:
Complete each table converting the denary numbers to an equation using ‘10 to the power of…’ The
first one has been done for you.

1) 112 523

Hundred Ten Thousands Hundreds Tens (10) Ones (1)


thousands thousands (1 000) (100)
(100 000)
(10 000)

1 1 2 5 2 3

1 × 105 1 × 104 2 × 103 5 × 102 2 × 101 3 × 100

112,523 = (1 × 105) + (1 × 104) + (2 × 103) + (5 × 102) + (2 × 101) + (3 × 100)

2) 23

2 3

3) 245

2 4 5

4) 3 654

3 6 5 4

5) 17 653

1 7 6 5 3

Year 8, Unit 2, Lesson 3, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
6) 457 325

4 5 7 3 2 5

Task 2: Write these numbers using ‘10 to the power of…’ without using a place value grid.
1) 298

2) 1 922

3) 00023

Year 8, Unit 2, Lesson 3, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
How fast will the files transfer?

Remember: We can work out how long files will take to transfer if we know the bandwidth speed and
the file size. To work out the time a file will take to transfer we can divide the size of the file by the
speed of the bandwidth.
E.g. A photo is 900 KiB (kibibytes) in size and the bandwidth is 9 KiB (kibibytes) per second:

900 KiB ÷ 9 KiB = 100 seconds

You will need to convert the file sizes from mebibytes and gibibytes to kibibytes to answer some of
these questions.

1) Jenny is sending a photo of her new bike to Bella. The photo is 8 KiB. Jenny’s bandwidth is 2 KiB
per second. How long will the file take to reach Bella’s computer?

2) Ali is sending a large email to his friend. The email he is sending is 4 KiB and his bandwidth is 1
KiB per second. How long does the email take to send?

3) Sarah is looking at a photo of the Eiffel Tower on the Internet. Her bandwidth is 3 KiB per second.
The file size of the photo is 9 KiB. How long will it take to transfer?

Year 8, Unit 2, Lesson 5, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
4) Jack wants to share a video from his holiday with friends on the Internet. He uploads it to social
media. His bandwidth is 3 KiB per second and the video he is uploading is 3 GiB:

a) How big is Jack’s video in bytes?

1 byte = 8 bits

1 kibibyte = 1 024 bytes


b) How big is Jack’s video in kibibytes?
1 mebibyte = 1 048 576 bytes

1 gibibyte = 1 073 741 824

c) How long does the video take to transfer?

5) Anna is downloading a film to watch. Her Internet bandwidth is 3 KiB per second. The film she is
downloading is high definition, which means it is a large file. The file size of the film is 5 GiB.

a) How big is the film in bytes?

b) How big is the film in kibibytes?

c) How long does the film take to transfer?

Year 8, Unit 2, Lesson 5, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Lossy or lossless compression?
For each of the following examples, decide if lossy or lossless compression should be used.
Explain the reasons for your answers.

1) A bank database with people’s data.

2) An image file for social media.

3) An image file to be used on the front cover of a magazine.

4) A flyer to send to the printer.

5) A song to put on a website.

Year 8, Unit 2, Lesson 7, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not
copyright free.
Compress the image using run length encoding

Use run length coding to make the following images a smaller file size.

Run length encoded


Image 1 bit code (Ws and
version
Bs)

Year 8, Unit 2, Lesson 9, Worksheet 1


© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
Year 8, Unit 2, Lesson 9, Worksheet 1
© Pearson Education Ltd 2019. Copying permitted for purchasing institution only. This material is not copyright
free.
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner
CamScanner

You might also like