Technology and society · GCSE · OCR J277 1.6.1, AQA 8525 3.8, Edexcel 1CP2 5.1.1 · about 15 min
Making, running and disposing of devices: materials, data centres, e-waste and what helps.
[1 mark]When is most of a phone's carbon footprint created?
[1 mark]What is e-waste?
[1 mark]Why are data centres an environmental concern?
[1 mark]15 devices of 60 W run for 3 hours. How many kWh is that?
[1 mark]How does efficient code help the environment?
For each device in devices (a name, its watts, and how many hours it runs a day), work out the energy for a 190-day school year across count of them. Print <name>: <kwh> kWh rounded to 1 decimal place, then at the end total: <kwh> kWh, cost: £<n> at 28p a unit rounded to 2 decimal places, and carbon: <n> kg CO2 at 190 g a unit, rounded to the nearest whole number.
# the two lines every program starts with: the commands, then the robot
from bugbot import *
connect()
days = 190
count = 15 # how many of each device the class has
# name, watts, hours a day
devices = [("laptop", 50, 5), ("robot charging", 8, 1), ("projector", 220, 4)]Plan your program here, then type it in and press Run.