Grade 7 Comp
Grade 7 Comp
Final mark:
Comments:
1
Part 1: Multiple Choice Questions. Circle your correct options.[20]
2
c) AND
d) ELSE
______2 The NOT operator means the opposite of the given condition.
______3 The ELSE statement runs when the condition in the IF statement is true.
______8 The parallelogram symbol in a flowchart represents both input and output.
data flow, flowchart, input, output, process, variable, AND, Boolean condition, Boolean logic,
comparison operator, condition, IF, THEN, ELSE, NOT, OR, Selection Statement, call, efficient,
identifier, pattern, pattern recognition, return, subroutine, block-based language, editor, integrated
development environment, print, syntax, syntax errors, text-based language
7. The __________ operator is used when only one of the conditions needs to be true.
10. In an IF statement, the word __________ tells what happens when the condition is true.
11. A __________ is a small part of a program that can be used multiple times.
12. A subroutine is used to make a program more __________ by reducing repeated steps.
13. When a subroutine is needed, we __________ it in the flowchart.
14. A subroutine __________ to the main program after completing its task.
15. __________ helps programmers find common steps that repeat in a process.
16. A __________ lets programmers write, edit, and save their code.
17. A __________ uses words and symbols instead of blocks for writing programs.
5
18. The __________ command displays text or results in a program.
19. A __________ happens when code is written incorrectly according to the language rules.
20. A __________ provides tools like an editor and a debugger to help programmers write code.
Part 3: define the following terms. [20]
1. Integrated Development Environment (IDE)
_______________________________________________________________________________
_______________________________________________________________________________
2. Assignment statement
_______________________________________________________________________________
_______________________________________________________________________________
3. Casting
_______________________________________________________________________________
_______________________________________________________________________________
4. Reserved words
_______________________________________________________________________________
_______________________________________________________________________________
5. Define a subroutine.
_______________________________________________________________________________
_______________________________________________________________________________
6. Syntax error
_______________________________________________________________________________
_______________________________________________________________________________
7. Software development
_______________________________________________________________________________
_______________________________________________________________________________
8. Systematically
_______________________________________________________________________________
_______________________________________________________________________________
9. Prototype
_______________________________________________________________________________
_______________________________________________________________________________