Computer Science (2)
Computer Science (2)
(i) A collection of complex programs related to coordinating computer operations are called
(a) system software. (b) application software.
(c) packages. (d) compilers.
(iii) What is the keyword used to display data when writing an algorithm?
(a) Output (b) Begin (c) Input (d) End
[Total = 5 marks]
1
(3) Convert the following binary number in to decimal
11101112
1 1 1 0 1 1 1
= ---------------------------------------------------
= ---------------------------------------------------
[Total = 5 marks]
1024 Bytes =
1024 KB =
= 1 GB
= 1 TB
[Total = 5 marks]
Application Software
[Total = 2 × 5 = 10 marks]
Grade 7 Computer Science January 2021 Page 2
2
(6) Write brief answers.
(i) Write three types of control structures used in algorithms.
(a) -----------------------------------------------------------------------------
(b) -----------------------------------------------------------------------------
(c) -----------------------------------------------------------------------------
(3 marks)
(ii) A set of step-by-step instructions for solving a problem is called ------------------------------.
(2 marks)
[Total = 5 marks]
(7) The Railway Department of Sri Lanka made a special announcement on the
arrangements made to operate morning and evening office trains from next week.
Write an algorithm to input the name of the train and the city in a special railway reservation
system made to reserve train tickets only during the quarantine period. If the city is an isolated
city, then display the message “Train will NOT stop at stations in isolated cities”. Otherwise
display the message “Train will stop”.
[Total = 8 marks]
END
Ref : NR/ RS