[go: up one dir, main page]

0% found this document useful (0 votes)
58 views2 pages

Practical Task 3

The document outlines a computing practical task for Year 7 students at Pakistan International School Jeddah, focusing on creating programs using Micro:bit. Students are required to develop a step counter, a clap lights program, and a quiz game in Python, along with accompanying flowcharts and evidence screenshots. Each task has specific instructions and objectives to enhance programming skills and understanding of algorithms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views2 pages

Practical Task 3

The document outlines a computing practical task for Year 7 students at Pakistan International School Jeddah, focusing on creating programs using Micro:bit. Students are required to develop a step counter, a clap lights program, and a quiz game in Python, along with accompanying flowcharts and evidence screenshots. Each task has specific instructions and objectives to enhance programming skills and understanding of algorithms.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Pakistan International School Jeddah - English Section

Y7-Computing
Unit 8.2: It’s all in the planning: Pseudocode and algorithms

Practice Task – Microbit Total Marks: 15 Obtained Marks:

Name: Student ID: Y7 -____

1. Open Micro:bit simulator.

Task 1
Make a step counter program

2. Create a new project and name it “Step counter”


3. Make a variable for storing steps. Give it a suitable name.
4. When the Micro:bit starts, the value for the variable should be equal to zero.
5. When the Micro:bit is shaken, the value for the variable should increase by 1 and the number of
steps should be shown on the Micro:bit using LEDs.
6. When the logo is pressed for some time, the number of steps should reset to 0 (zero), and the word
“Reset” should appear on the Micro:bit.
7. Check if your step counter works by shaking the Micro:bit.
8. Save your program in Z-drive from the option at the bottom of the screen.

Evidence 1: Take the screenshot of work area showing all blocks and attach under
evidence 1. Do not include the Microbit.

Task 2
Make the flowchart of the step counter
Do not include the reset option part

1. Make the flowchart in draw.io software.

Evidence 2: Take the screenshot of flowchart and attach in evidence sheet.


Y7-Computing 2023-24 Practical 3 Final term Page 1 of 2
Task 3
Make a clap lights program
When the microbit detects clap sound, it shows an icon on the LEDs

2. Create a new project and name it “Clap lights”


3. Make a variable for storing sound. Give it a suitable name.
4. When Micro:bit starts, set the value of the variable equal to sound level. You can get this block
from input category.
5. Use the selection and conditional operator blocks from Logic category to check:
6. If sound input is greater than 150, an icon of your choice is shown on LEDs
7. Otherwise, LEDs should show the message “OFF”.
8. To make your code repeat, use a forever block around all blocks instead of On start block.
In this way, the Micro:bit will keep checking sound input.
9. Check if your clap lights work works on the Micro:bit.
10. Save your program in Z-drive.

Evidence 3: Take the screenshot of work area showing all blocks and attach under
evidence 1. Do not include the Microbit.

Task 4
Make a python program that asks the user three questions.
If all answers of user are correct, show “WINNER”
If all are wrong, show “You Lose!”
Choose any questions from your Computing syllabus
Use Boolean operators

11. Save your script with name Quiz game in Practical 3 Final Term folder.

12. Add header and Print your evidence file.

Y7-Computing 2023-24 Practical 3 Final term Page 2 of 2

You might also like