top of page


Energy Consumption Monitor


3 Hard

8 Practise Exam Questions


"EcoSavvy" energy company wants to analyze customers' energy consumption patterns. Create a program that reads energy usage data from a text file, calculates the total energy consumption for a specified time period, and identifies peak usage hours.

- Input: Energy usage data from a text file and time period
- Processing: Read data from the text file. Sum energy consumption for the specified time period. Identify peak usage hours.
- Output: Print total energy consumption and peak usage hours.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page