Page 188 - CodePilot V5.0 C7
P. 188
Session 2: Building the City Digitally
Activities
1. Python Programming for Smart Monitoring
Task
Students will write a Python program using conditional statements to monitor air quality.
If the air quality exceeds 100, the program will recommend using public transport;
otherwise, it will suggest cycling.
Skills Practiced
Writing Python code with if-else conditional statements.
Implementing logic to make decisions based on input data.
2. Create a Basic Smart City Web page
Task
Students will create a simple HTML and CSS web page for the Smart City, including
headings, paragraphs, a table for eco-friendly transport options and a list for waste
management rules. They will also add a link to the earlier Python smart monitoring
program.
Skills Practiced
Structuring a web page using HTML tags (headings, paragraphs, tables, lists).
Styling the web page with CSS (fonts, colours, layout).
Adding external links to connect the Python program for smart monitoring.
Outcome for Session 2
An HTML web page displaying eco-friendly city information and a Python script for smart
monitoring using conditional statements.
Session 3: Smart Tech Integration and Final Presentation
Activities
1. Design Circuits Using Tinkercad
Task
To promote the Smart City, prepare solar panels using Tinkercad’s solar cell components
to power a solar-powered streetlight, demonstrating how solar energy can drive smart
components in the city.
186
CodePilot (V5.0)-VII

