Grade 8 Coding & Robotics Examination
Term 1 & 2 Coverage Total: 100 Marks
Time: 2 hours
SECTION A: Multiple Choice Questions [20 marks]
Choose the correct answer and write only the letter (A–D).
1. Which of the following is an example of an input device in a robotics system?
A. Motor
B. Sensor
C. LED
D. Wheel
2. In a flowchart, a decision is represented by which shape?
A. Rectangle
B. Circle
C. Diamond
D. Parallelogram
3. What does a loop in programming allow you to do?
A. Store data
B. Make decisions
C. Repeat a set of instructions
D. End a program
4. Which one of the following is NOT a web browser?
A. Chrome
B. Firefox
C. Google
D. Edge
5. Which of the following represents a secure website?
A. http://example.com
B. ftp://example.com
C. https://example.com
D. www.example.com
6. What is the function of a servo motor in a robot?
A. Sense temperature
B. Process data
C. Control precise movements
D. Connect to the internet
7. A variable in a program is used to:
A. Store information
B. Perform a task
C. Display an image
D. Control the robot’s movement
8. The internet is:
A. A programming language
B. A local area network
C. A global system of interconnected computers
D. An application
9. Which one of the following is a safe password?
A. 123456
B. password
C. John2025!
D. abcdefg
10. What is a sprite in Scratch?
A. A block of code
B. A sound
C. A character or object
D. A project file
SECTION B: True/False [10 marks]
Write “True” or “False” next to each statement.
11. A robot always has to be humanoid in shape. ___________
12. In Scratch, the “forever” block is a type of loop. ___________
13. You should never share your personal information online. ___________
14. The Internet of Things includes devices that can collect and send data. ___________
15. Flowcharts help us plan algorithms. ___________
16. An output device in robotics could be a buzzer. ___________
17. Scratch is only used to play games, not to learn programming. ___________
18. Cyberbullying is a form of online communication. ___________
19. The "if-then" block in Scratch is used for decision-making. ___________
20. An algorithm is a list of random instructions. ___________
SECTION C: Application and Scenario-Based Questions [40 marks]
Question 21 [10]
Study the flowchart below and answer the questions.
Flowchart Description:
* Start
* Get temperature
* If temperature > 30°C: Turn on fan
* Else: Turn off fan
* End
21.1 What is the purpose of this flowchart? (2)
21.2 Identify the decision made in the flowchart. (2)
21.3 What type of control structure is being used? (2)
21.4 If the temperature is 28°C, what will the fan do? (2)
21.5 Redraw the flowchart using the correct symbols. (2)
Question 22 [15]
Below is a Scratch script that moves a sprite:
22.1 How many times does the loop run? (2)
___________________________________________________________________________
___________________________________________________________________________
22.2 What total distance does the sprite move? (2)
___________________________________________________________________________
___________________________________________________________________________
22.3 What is the purpose of the “Turn 15 degrees” command? (2)
___________________________________________________________________________
___________________________________________________________________________
22.4 What will happen if the “Repeat 10” block is replaced with a “Forever” block? (2)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
22.5 Modify the script to make the sprite move in a square path. (5)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
22.6 What kind of loop structure is being used here? (2)
___________________________________________________________________________
___________________________________________________________________________
Question 23 [15]
You are asked to design a robot to water plants only when the soil is dry.
23.1 What sensor could be used to detect soil moisture? (2)
___________________________________________________________________________
___________________________________________________________________________
23.2 Suggest two outputs this robot might use. (2)
___________________________________________________________________________
___________________________________________________________________________
23.3 Write pseudocode for the process. (5)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
23.4 Draw a labelled diagram showing the key components of this robot. (6)
SECTION D: Internet & E-Communication [15 marks]
Question 24 [15]
24.1 List three good practices for staying safe online. (3)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
24.2 Define the term “cyberbullying.” (2)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
24.3 Give two examples of cyberbullying. (2)
___________________________________________________________________________
___________________________________________________________________________
24.4 Describe the difference between a URL and an email address. (4)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
24.5 What is netiquette? Give two examples. (4)
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
MEMORANDUM
Section A: Multiple Choice [20]
1. B
2. C
3. C
4. C
5. C
6. C
7. A
8. C
9. C
10. C
Section B: True/False [10]
11. False
12. True
13. True
14. True
15. True
16. True
17. False
18. False
19. True
20. False
Section C: Application [40]
Q21: Flowchart
21.1 To control a fan based on temperature. (2)
21.2 Temperature > 30°C (2)
21.3 Conditional/decision-making structure (2)
21.4 Fan will remain off. (2)
21.5 Award 2 marks for correct use of start/end, input, decision (diamond), and action (rectangle) symbols. (2)
Q22: Scratch
22.1 10 times (2)
22.2 100 steps (10 × 10) (2)
22.3 It rotates the sprite after each movement. (2)
22.4 The sprite will move and turn forever (never stop). (2)
22.5
scratch
CopyEdit
Repeat 4
Move 50 steps
Turn 90 degrees
End (5 marks – 1 for loop, 2 for move, 2 for correct turning)
22.6 Count-controlled loop (2)
Q23: Robotics Scenario
23.1 Moisture sensor (2)
23.2 Water pump, LED indicator (2)
23.3 Pseudocode: (5)
pgsql
CopyEdit
Start
Read soil moisture
If soil is dry
Turn on pump
Else
Turn off pump
End
23.4 Diagram should include: moisture sensor, microcontroller, pump, power supply, and labels (6)
Section D: Internet & E-Communication [15]
24.1 Use strong passwords, do not share personal info, verify links (3)
24.2 Cyberbullying is bullying that occurs via digital platforms. (2)
24.3 Name-calling online, spreading rumors on social media (2)
24.4 URL = website address (e.g. https://example.com);
Email = used to send messages (e.g.
[email protected]) (4)
24.5 Online etiquette. Examples: no spamming, respect others in comments. (4)