0% found this document useful (0 votes)
3 views5 pages

SDG Python Part2 Worksheet

The document is a worksheet for a Python programming project focused on measuring energy usage in relation to Sustainable Development Goals (SDGs). It outlines learning objectives, success criteria, and tasks including planning, coding, testing, debugging, and reflecting on the program. The user is guided to implement input/output, selection, and iteration in their code.

Uploaded by

Xuân Anh Chu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views5 pages

SDG Python Part2 Worksheet

The document is a worksheet for a Python programming project focused on measuring energy usage in relation to Sustainable Development Goals (SDGs). It outlines learning objectives, success criteria, and tasks including planning, coding, testing, debugging, and reflecting on the program. The user is guided to implement input/output, selection, and iteration in their code.

Uploaded by

Xuân Anh Chu
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

SDG Python Programming Project

PART 2 WORKSHEET
18/04/2026
Name: ___________________________
Chu Xuân Anh
Date: ___________________________
9IG2S1
Class: ___________________________

Learning Objective:
- Use input and output in Python
- Apply selection (if/else statements)
- Use iteration (while loop)
- Connect programming to SDGs

Success Criteria:
✔ Use input() correctly
✔ Use if/else statements
✔ Use a while loop
✔ Include a counter or limit
✔ Program runs without errors

Task 1: Recall Your SDG:


My chosen SDG is:
Using Energy
_________________________________________________________________________________________________________

What will your program measure/focus on? (e.g., water usage, electricity, plastic use)
- Energy usage
_______________________________________________________________________________

________________________________________________________________________________

________________________________________________________________________________
Task 2: Plan Your Program:

Ask the user for: ________________________________

Store value in variable: _________________________

Check condition: _________________________________

If TRUE: ________________________________________

If FALSE: _______________________________________

Use while loop

Add counter or limit

Stop when: ______________________________________


Task 3: Write Your Python Code:

You may copy/paste actual working Python IDLE code here. You may
include versions of your code that still has errors and may not yet working
100% correct.
Task 4: Test Your Program:

Input Expected Output Actual Output

Task 5: Debug and Improve:


Did your program run without errors? ☐ Yes ☐ No

Did your loop work? ☐ Yes ☐ No

Did your counter/limit work? ☐ Yes ☐ No

Problem(s) fixed:

_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________

Improvements made:

_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________

Task 6: Reflection:
Why is using a loop important in your program?

_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
How did the counter/limit improve your program?

_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________

Any additional coding statements that you added that was not part of the initial plan/idea
that made a big difference?

_________________________________________________________________________________________________________
_________________________________________________________________________________________________________
_________________________________________________________________________________________________________

You might also like