You are on page 1of 9

YEAR END EXAMINATION

YEAR 8

JUNE 2022

Subject: Computer Science Syllabus Code: 0478

Date of Exam : _______________________________________ Time : 1 hour

Student Name : _______________________________________ Class : _______________

MATERIALS REQUIRED FOR EXAM: Blue or black pen, pencil, eraser and ruler.

READ THESE INSTRUCTIONS FIRST:

If you have been given an Answer Booklet, follow the instructions on the front cover of the
booklet.
Write in dark blue or black pen.
You may use a soft pencil for any drawings, diagrams and graphs.
Do not use staples, paper clips, highlighters, glue or correction fluid.

Answer all questions.

The number of marks is given in brackets ( ) at the end of each question.


The total number of marks for this paper is 50.

This document consists of 9 printed pages including the front cover.

[Turn over]

YEAR END EXAMINATION_COMPUTER SCIENCE_YEAR8 JUNE 2022 _USHA Page 1


1 Design a program using Python.

a. Create a colourlist for 7 elements.

b. Create a teamlist for 7 elements.

c. Create a booklist for 7 elements.

[6]

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 2


2 Design a program which:

[4]

3 This command creates a list :

Books = [“ Science” , “Maths”, ”English”]

a. How many elements are in this list?

………………………………………………………………………………………………………………………………………..

b. Write the command to append the value “Computer Science” to the list.

………………………………………………………………………………………………………………………………………..

………………………………………………………………………………………………………………………………………..

………………………………………………………………………………………………………………………………………..

c. Write the command to get user input and add it to the list.

………………………………………………………………………………………………………………………………………..

………………………………………………………………………………………………………………………………………..

[3]
YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 3
4 This command creates a list :

vehicles = [“ car” , “train”, ”airplane”]

a. How many elements are in this list?

………………………………………………………………………………………………………………………………………..

b. Write the command to append the value “Motorcycle” to the list.

………………………………………………………………………………………………………………………………………..

………………………………………………………………………………………………………………………………………..

………………………………………………………………………………………………………………………………………..

c. Write the command to get user input and add it to the list.

………………………………………………………………………………………………………………………………………..

………………………………………………………………………………………………………………………………………..

[3]
5 Explain this Python program.

Action Python command

stop = len(atoms)

for i in range(stop):

print[atoms[i])

[3]

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 4


6 Write the output

x = int(1)
y = int(2.8)
z = int("3")
print(x)
print(y)
print(z)

7 Write the output


a = 200
b = 33
if b > a:
print("b is greater than a")
else:
print("b is not greater than a")

8 Write the output


a = 20
b = 330
if b > a:
print("b is greater than a")
else:
print("b is not greater than a")

9 Write the output


x=5
y=3
print(x * y)

[4]

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 5


10 The binary search uses fewer operations. Much quicker way to search an item. Linear search
the computer had to look at every items in the list. Make a poster about one searches. Your
poster should describe how the search works and the advantages of this type of search.

[5]

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 6


11 Commands that carry out actions and useful for the team manager are:

i. ………………………………………………………………
ii. ………………………………………………………………
iii. ………………………………………………………………
[3]

12 Read and answer the questions.

[Total: 4]

13 Sometimes it is difficult to make a technology choice. List 4 non- functional requirements:

i. ………………………………………………………………
ii. ………………………………………………………………
iii. ………………………………………………………………
[3]

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 7


14 Write 3 examples to decide on the options to use in the project.

Technology Suggested options to investigate an analyse

Hardware options for filming


interviews

Software options for editing video

Software options for creating and


editing graphics and images

Service options for storing and


sharing files

[8]

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 8


15 Mobile Medical Services also keeps records of the numbers of doctors and nurses working in
the different clinics. Here is part of the spreadsheet.

a. You are asked to calculate the total number of Doctors in each clinic. Which column would
hold this data?
……………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………
b. What formula would you use?
……………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………
c. You are asked to calculate the total number of Nurses in each clinic. Which column would
hold this data?
……………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………
d. What formula would you use?
……………………………………………………………………………………………………………………………………………
……………………………………………………………………………………………………………………………………………
[4]

END OF QUESTION PAPER

YEAR END EXAMINATION_COMPUTER_SCIENCE_YEAR8_ JUNE_2022 _USHA Page 9

You might also like