Name: ……………………………………… Examination number ………………………………………
MOPANI COPPER MINES NKANA SCHOOL
Grade 12 SQL PASCAL
Computer Studies Paper 1 - 7010/1
2023
Time: 1 hours Total Marks 25
INSTRUCTIONS TO CANDIDATES
1. Write your name, examination number and school/centre name on top of the answer
sheet.
2. There are 8 questions in this paper.
3. All answers. Answers for this examination must be written in the space provided.
Information for Candidates
1 The number of marks is shown in brackets [ ] at the end of each question or part
question.
2 Cell phones are not allowed in the examination room
Turn Over
Page 1 of 3
1. Write a Pascal program structure
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
……………………………………………………………………………………. [4]
2. State one example of real data types and one example of integer data types in
Pascal
Real data type ….…………………………………………………………………. [1]
Integer data type ………………………………………………………………….. [1]
3. Explain the difference between single line and multiline comments giving
examples
Single line comment
…………………………………………………………………………………………
……………………………………………………………………………………… [1]
Example …………………………………………………………………………... [1]
Multiline comment
…………………………………………………………………………………………
……………………………………………………………………………………… [1]
Example …………………………………………………………………………... [1]
4. State three examples of loops in Pascal
1. ………………………………………………………………………………….. [1]
2. ………………………………………………………………………………….. [1]
Page 2 of 3
3. ………………………………………………………………………………….. [1]
5. Explain the meaning of variable and constant in Pascal.
Variable ………………………………………………………………………………...
……………………………………………………………………………………….. [1]
Constant …………………………………………………………………………….....
……………………………………………………………………………………….. [1]
6. Explain the meaning of the following in Pascal
(a) := ………………………………………………………………………………… [1]
(b) = …………………………………………………………………………………. [1]
(c) <= ……………………………………………………………………………….. [1]
7. Explain the difference between syntax error and logical error
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
……………………………………………………………………………………… [2]
8. Explain the meaning of top down design
…………………………………………………………………………………………
……………………………………………………………………………………… [2]
9. Give two advantages of top down design
Advantage 1 …………………………………………………………………………
……………………………………………………………………………………… [1]
Advantage 1 …………………………………………………………………………
……………………………………………………………………………………… [2]
Page 3 of 3