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

9 Edexcel Computer Science

Uploaded by

arceuslegendskid
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)
68 views8 pages

9 Edexcel Computer Science

Uploaded by

arceuslegendskid
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 Assessment – October 2023

Subject : Computer Science


Class : 9 (Edexcel) .....
Duration : 2 periods
Admission no : Date :

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.

a. Explain what is meant by an Algorithm.

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------
(1 mark)
b. Name three points to consider when creating a successful algorithm.

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------
(3 marks)

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments
2
c. Write the difference between a variable and a constant.

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 6 marks]

2. In python programming TYPE COERCION Is happened automatically. This is an important


operation when a user enters an integer and real values in to a program.

a. Explain what is type coercion in other words.

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------
(1 mark)

b. The following example shows how type coercion happens automatically.

A= 0 B = 0.00

A= int(input("Enter the first number"))

B=float(input("Enter the second number"))

Ans=(A+B)/2

print("The final answer is",Ans)

If the user enters the first number as 2 and the second number as 2.24

i. State the output given from the above program .

---------------------------------------------------------------------------------------------------------
(1 mark)

ii. State another example to show how type coercion works using a python program .

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 4 marks]

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments
3
3. a. Identify an appropriate data type for each of these items.

Data Type
Total test score of Computer Science of a student

Average score of 7 subjects of a student participated for the First


Semester Examination
Pass or Fail of Computer Science Examination
Grade achieved for the Computer Science Examination ‘A’
Name of the student, who sat for the examination

(5 marks)
b. Write an algorithm using pseudocode to perform the following task:

i. Allows to enter the length , width of a rectangular land.

ii. Calculate the number of fence panels required to cover the area. There is an entrance

gate of length 3 meters. Each fence panel is 4 meters in length.

iii. Output the results.


---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
(4 marks)

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments
4
c. Write a program using pseudocode that will input a Mark and output the Grade of Mark
based on the following conditions.
Mark Grade Mark Grade
90-100 A 80-89 B
70-79 C 60-69 D
50-59 E 0-50 F

Less than zero Invalid Mark Greater than 100 Invalid Mark

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------
(5 marks)

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments
5
d. Emma operates a preschool in a small town, offering three distinct sections: Lower
Nursery ,Upper Nursery and Pre Grade. She is in the process of developing a program to
enroll students based on their age. When enrolling a child, she follows specific
requirements.

• Children below the age of three are placed in the Lower Nursery.

• Children aged three to five are assigned to the Upper Nursery.

• For children outside these age ranges, they are enrolled in the Pre Grade.

Design a flowchart to the given scenario.

Your flow chart should clearly mention the inputs, decisions, and the outputs.

(5 marks)
[Total = 19 marks]

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments
6
4. a. Produce a program in high level language that asks a user to enter a start number and end
number and then outputs the total and average of all the even numbers in the range.
--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------------------
(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.

The bit pattern 11010011 uses sign and magnitude representation.

Convert this bit pattern to a denary number.

------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)
d. Convert the denary number 75 to 8 bit binary.
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------
(1 mark)

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments
8
e. The addition of these two 8 bit binary patterns generates an error condition.

0 1 1 0 1 1 0 1
1 1 0 0 0 0 0 0 +
0 0 1 0 1 1 0 1

Explain this error condition.

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
(2 marks)

f. Convert the digit binary 01101110 to hexadecimal.


------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
(1 mark)
g. Convert the hexadecimal number C4 to 8 bit binary.
------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
(1 mark)

h. What is the two's complement representation of -113


------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------
(2 marks)
[Total = 11 marks]
[Total of the paper = 50 marks]
END Ref:LYA.ITE.CG

Grade 9 Edexcel Computer Science - Monthly Asseessment - October 2023


Prepared for Lyceum International School by Lyceum Assessments

You might also like