Uploaded by virulkemitha123

Gr10 Sept2021

advertisement
ADMISSION
NUMBER
MONTHLY TEST - SEPTEMBER 2021
GRADE 10 (CAMBRIDGE)
COMPUTER SCIENCE
Duration : 2 Periods
READ THESE INSTRUCTIONS FIRST
Answer all the questions.
Do not use calculators.
Prepared for Lyceum International Schools by Lyceum Assessments
2
1. Data stored on a computer system is at risk of being hacked.
(a) Explain what is meant by the term hacking. Include in your answer two examples of the
effects this can have on the computer system.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(3 marks)
(b) State three measures that could be taken to protect the data from being hacked.
(i) ---------------------------------------------------------------------------------------------------------(ii) ---------------------------------------------------------------------------------------------------------(iii) ---------------------------------------------------------------------------------------------------------(3 marks)
[Total = 6 marks]
2. It is crucial that data stored on a computer should be protected from accidental loss or damage.
(a) Describe four ways of how data stored can be accidentally damaged.
(i) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(ii) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(iii) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(iv) ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(8 marks)
(b) Identify four methods of how accidental loss of data can be prevented.
(i) ---------------------------------------------------------------------------------------------------------(ii) ---------------------------------------------------------------------------------------------------------(iii) ---------------------------------------------------------------------------------------------------------(iv) ---------------------------------------------------------------------------------------------------------(4 marks)
[Total = 12 marks]
Grade 10 Cambridge Computer Science Monthly Test September 2021
Prepared for Lyceum International Schools by Lyceum Assessments
3
3. Describe the following and give a method of protection.
Virus
-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Method of protection - -------------------------------------------------------------------------------------Spyware
-
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Method of protection - -------------------------------------------------------------------------------------[Total = 4 marks]
4. A boat company sails 12 routes everyday using its fleet of boats with 50 seats each. The routes
are identified with alphabet letters A to L. The routes and the number of passengers travelled in
each boat for a particular day are stored using two arrays as follows:
Routes
- The array used to store the routes.
Passengers - The array used to store the number of passengers travelled on each route.
You are expected to answer the questions below using the above scenario to produce a solution.
All variables, constants and other identifiers should have meaningful names.
(a) Write pseudocode statements to declare the two arrays.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(2 marks)
(b) Write pseudocode statements to store the number of passengers travelled in each route.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(3 marks)
(c) Name and describe a suitable validation check used when entering the number of
passengers travelled on each route.
Name of validation : ------------------------------------------------------------------------------------Description -
------------------------------------------------------------------------------------------------------------------------------------------------------------------------(2 marks)
Grade 10 Cambridge Computer Science Monthly Test September 2021
Prepared for Lyceum International Schools by Lyceum Assessments
4
(d) Write pseudocode statements which should be included in answer (b) to apply the
validation method identified in question (c) to reject any invalid entries.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(3 marks)
(e) Identify three examples of test data which can be used to test the validation check and
explain.
Test data 1 : ------------------------------------------Explanation : -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Test data 2 : ------------------------------------------Explanation : -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Test data 3 : ------------------------------------------Explanation : -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(3 marks)
(f) Write an algorithm using either pseudocode, programming statements or a flowchart to
display the average number of passengers travelled for a day.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(5 marks)
Grade 10 Cambridge Computer Science Monthly Test September 2021
Prepared for Lyceum International Schools by Lyceum Assessments
5
(g) Write an algorithm using either pseudocode, programming statements or a flowchart to
display the route which had the most and the least bookings for a day.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------(7 marks)
(h) Describe what changes should be made to the program if the company decides to
introduce 3 more new routes M, N, O and all the boats are fitted with additional 10 seats.
Use pseudocode statements to support your answer.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
END
(3 marks)
[Total = 28 marks]
Ref:CG
Grade 10 Cambridge Computer Science Monthly Test September 2021
Prepared for Lyceum International Schools by Lyceum Assessments
Download