Page 166 - CodePilot V5.0 C8
P. 166
Design a simple computer network to track and monitor waste
production and recycling in your school. Create a program
SDG ACTIVITY that collects data from different classrooms, displays yearly
wastage and suggests ways to reduce it. Show how digital
tools can encourage students to recycle more effectively.
Present your ideas on how technology can make your school a zero-waste
campus.
CODE CHECK Century #Critical Thinking
21 st
Skills #Technology Literacy
Identify and correct the errors in the given codes, then writes the output.
(a) def add(a, b): (b) fruits = ["Apple", "Kiwi", "Mango"]
sum = a + b print(fruits[3])
return sum fruits.pop(4)
print(add(5)) print(fruits)
(c) text = "Python Programming (d) def capitalize(word)
print(text.upper()) return Word.capitalize()
print(text.lower) print(capitalize("hello"))
print(text.replace("Python", "Java") print(capitalize("world")
JOB JUNCTION
People who are experts in Python can pursue a career as a software developer, data scientist,
machine learning engineer, automation engineer or AI specialist.
PEDAGOGY PATHWAYS
« Demonstrate how to create and use functions to the students.
« Explain the concepts of lists and strings in detail to the students.
164
CodePilot (V5.0)-VIII

