9 Edexcel Computer Science
9 Edexcel Computer Science
Instructions
• Use black ink or ball-point pen.
• Fill in the boxes at the top of this page with your admission number and date.
• Answer ALL questions.
• Answer the questions in the spaces provided
– there may be more space than you need.
Information
• The total mark for this paper is 50.
• The marks for each question are shown in brackets
– use this as a guide as to how much time to spend on each question.
• You are not allowed to use a calculator.
Advice
• Read each question carefully before you start to answer it.
• Try to answer every question.
• Check your answers if you have time at the end.
• Marks will not be awarded for using product or trade names in answers without giving further
explanation.
1. It is important to be able to construct algorithms and be able to read and follow their logic.
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(1 mark)
b. Name three points to consider when creating a successful algorithm.
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(3 marks)
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 6 marks]
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(1 mark)
A= 0 B = 0.00
Ans=(A+B)/2
If the user enters the first number as 2 and the second number as 2.24
---------------------------------------------------------------------------------------------------------
(1 mark)
ii. State another example to show how type coercion works using a python program .
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 4 marks]
Data Type
Total test score of Computer Science of a student
(5 marks)
b. Write an algorithm using pseudocode to perform the following task:
ii. Calculate the number of fence panels required to cover the area. There is an entrance
Less than zero Invalid Mark Greater than 100 Invalid Mark
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(5 marks)
• Children below the age of three are placed in the Lower Nursery.
• For children outside these age ranges, they are enrolled in the Pre Grade.
Your flow chart should clearly mention the inputs, decisions, and the outputs.
(5 marks)
[Total = 19 marks]
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(5 marks)
b. A school is planning to conduct extra lessons for Computer Science students. Computer
Science marks should be entered and the school uses these rules to estimate how many extra
lessons a student will require.
Every student who has scored between 20 - 50 marks will require 20 lessons.
Students who have got less than 20 will require an additional 10 lessons on top of the
initial 20 lessons.
Create a program in high level language that inputs a student's mark and calculates the
number of extra lessons they will need.
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
(5 marks)
[Total = 10 marks]
Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023
Prepared for Lyceum International School by Lyceum Assessments
7
5. a. Complete the table by adding these two 8 bit binary integers.
0 0 1 1 0 0 1 0
0 0 1 1 0 0 1 1
(2 marks)
b. Give the result of performing a logical left shift of 1 place on the binary integer
0100
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)
c. Information sent across networks is represented in bit patterns.
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)
d. Convert the denary number 75 to 8 bit binary.
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)
0 1 1 0 1 1 0 1
1 1 0 0 0 0 0 0 +
0 0 1 0 1 1 0 1
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(2 marks)
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)
g. Convert the hexadecimal number C4 to 8 bit binary.
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 11 marks]
[Total of the paper = 50 marks]
END Ref:LYA.ITE.CG