0% found this document useful (0 votes)
147 views8 pages

Monthly Test October 2020: Computer Science

This document is a monthly test in computer science for Grade 9 students. It contains questions on number systems, computer registers, coding systems such as ASCII and Unicode, and digital images. Students are asked to convert between binary, decimal, and hexadecimal number systems, define computer components, determine whether statements about coding systems are true or false, represent words in different coding formats, and write the bit sequences for lines in a sample binary image.

Uploaded by

Mohamed Mubarak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views8 pages

Monthly Test October 2020: Computer Science

This document is a monthly test in computer science for Grade 9 students. It contains questions on number systems, computer registers, coding systems such as ASCII and Unicode, and digital images. Students are asked to convert between binary, decimal, and hexadecimal number systems, define computer components, determine whether statements about coding systems are true or false, represent words in different coding formats, and write the bit sequences for lines in a sample binary image.

Uploaded by

Mohamed Mubarak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

MONTHLY TEST ­ OCTOBER 2020

COMPUTER SCIENCE

9 (Cambridge) .........

Duration : 2 periods

Instructions to Candidates : Answer all the questions.


Do not use Calculators.

Candidate's name : ............................................................... Admission no : ...................


1

(1) In computers, Number System is defined as a writing system to represent the numbers in
different ways. The most common examples of number systems are: Binary, Decimal and
Hexadecimal. Do the following conversions between the given number systems. Show your
working.
(a) 101100012  Denary

(2 marks)
(b) 110101002  Hexadecimal

(2 marks)
(c) 12310  Binary

(2 marks)
contd.....to page 2
2
Grade 9 Computing contd.....from page 1
(d) 45610  Hexadecimal

(2 marks)

(e) AC16  Denary

(2 marks)

(f) D8F16 Binary

(2 marks)
[Total = 12 marks]

contd.....to page 3
3
Grade 9 Computing contd.....from page 2
(2) (i) What is a computer register?
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(1 mark)
(ii) Give two examples for different type of registers.
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(2 marks)

(iii) State one use of computer registers.


­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(1 mark)

(iv) Give one use of hexadecimal number system.


­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(1 mark)
[Total = 5 marks]

(3) (a) State whether the following statements regarding Unicode and ASCII coding systems,
are True or False.

(i) ASCII uses 16 bits and giving a possible 65536 characters. ­­­­­­­­­­­­­­­­­­­

(ii) ASCII is suitable for Standard English but does not contain enough characters
for some other languages. ­­­­­­­­­­­­­­­­­­­

(iii) Unicode uses 8 bits and giving a possible 256 characters. ­­­­­­­­­­­­­­­­­­­

(iv) In Unicode upper case and lower case letters have individual binary codes, as do
numbers and punctuations. ­­­­­­­­­­­­­­­­­­­
(2 marks)

contd.....to page 4
4
Grade 9 Computing contd.....from page 3
(b) Consider the following ASCII table. Write the ASCII representation for the given words.
The first one has been done for you.

Character Denary Binary Character Denary Binary


Value Value Value Value
A 65 01000001 a 97 01100001
B 66 01000010 b 98 01100010
C 67 01000011 c 99 01100011
D 68 01000100 d 100 01100100
E 69 01000101 e 101 01100101
F 70 01000110 f 102 01100110
G 71 01000111 g 103 01100111
H 72 01001000 h 104 01101000
I 73 01001001 i 105 01101001
J 74 01001010 j 106 01101010
K 75 01001011 k 107 01101011
L 76 01001100 l 108 01101100
M 77 01001101 m 109 01101101
N 78 01001110 n 110 01101110
O 79 01001111 o 111 01101111
P 80 01010000 p 112 01110000
Q 81 01010001 q 113 01110001
R 82 01010010 r 114 01110010
S 83 01010011 s 115 01110011
T 84 01010100 t 116 01110100
U 85 01010101 u 117 01110101
V 86 01010110 v 118 01110110
W 87 01010111 w 119 01110111
X 88 01011000 x 120 01111000
Y 89 01011001 y 121 01111001
Z 90 01011010 z 122 01111010

(i) Octal : 01001111 01100011 01110100 01100001 01101100

(ii) Binary : ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­


­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(iii) Denary : ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(iv) Digit : ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(3 marks)
contd.....to page 5
5
Grade 9 Computing contd.....from page 4

(4) The following black and white image is made up of pixels. Binary digit 1 represents a black
pixel and binary digit 0 represents a white pixel. Write down the bit sequence for each line
of the given image to show how it has been created. The first line has been done for you.

[Total = 7 marks]
(5) (i) What is meant by the term ‘sampling’?
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(1 mark)
(ii) Explain how the number of samples make an effect on the sound quality.
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

(1 mark)
[Total=2 marks]
(6) (i) Differentiate 2 type of compression techniques.

Lossy Compression Lossless Compression

(2 marks)

(ii) Explain how the lossy compression retain the quality of the file even after eliminating

the bits of the file.

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(1 mark)
contd.....to page 6
6
Grade 9 Computing contd.....from page 5
(iii) Some lossless algorithms compress the text files by finding out the repeating words
with their positions. Consider the following poem. Identify the positions of the
repeating words and complete the given lossless table.
The first one has been done for you.
HAT , HAT , HAT , I HAVE A HAT , PINK COLOR HAT , I LOVE HATS

Word Position(s) in the message


HAT 1 , 2 , 3 , 7 , 10
I
HAVE
A
PINK
COLOR
LOVE
HATS
(4 marks)
(iv) Tick (√) the most suitable file extension for the following tasks.

.jpg .mp4 .mp3 .csv


Storing holiday photos
Storing holiday videos
Storing a favorite song
Storing data to be imported into other files
(2 marks)
[Total=09 marks]
(7) Study the following database table: HAINA_SUPER.
Item_No Item_Name Unit_Price ($) Qty_In_Stock Reoder_Level
BK01 Cupcake 5.00 30 50
BK02 Pizza 8.00 25 50
BK03 Pastry 6.00 35 50
CS01 Cologne 20.00 50 50
CS02 Cream 15.00 45 50
CS03 Powder 18.00 40 50
ST01 Book 50.00 70 50
ST02 Newspaper 12.00 65 50
TY01 Doll 25.00 20 50
TY01 Ball 2.00 30 50

(i) How many fields and records are there in the above table?
Fields :­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ Records: ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(1 mark)

contd.....to page 7
7
Grade 9 Computing contd.....from page 6

(ii) Identify the name of the unnecessary field which causes inefficiency in this table.
Explain your answer.

Field Name : ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­


Reason for your choice: ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(2 marks)

(iii) Write the field name which is most suitable for the primary key. Give the reason for
your choice.
Field Name : ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­

Reason for your choice : ­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­


(2 marks)

(iv) Complete the given query­by­example grid to filter out the item names in ascending
order which the unit price is below $20.00 and which is urgent to re­order the stock.
Field :

Table:
Sort:
Show:

Criteria:
Or:

(3 marks)

(v) Write down the answers which the following query­by­example grid filters out.

Field: Item No Item_Name Unit_Price ($) Qty_In_Stock


Table: HAINA_SUPER HAINA_SUPER
HAINA_SUPER HAINA_SUPER
Sort: Descending
Show:
√ √
Criteria: >18

Or: <=30

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­
(2 marks)
[Total=10 marks]

END
Ref : KA

You might also like