Home of real teaching & learning
  • Full support for teachers
  • Focus on critical thinking
  • Engaging classroom activities
  • Integrated student eBook
  • Assessed tasks / qBank
  • Practice exam questions

The InThinking Guarantee: Our sites are written by expert practitioners and not by AI

See our AI policy

Disclaimer: InThinking subject sites are neither endorsed by nor connected with the International Baccalaureate Organisation.

Don't miss out, find out!

Topic B Project 3: The Cafeteria Vending Machine (Spicy Difficulty)

Context: The "Digital Campus" Cafeteria. Time Limit: 3 Hours (SL) / 4 Hours (HL). The school cafeteria is upgrading its vending machines. They need a simulation program to manage inventory and process transactions. The system must load products from a file, accept digital "money," dispense items if stock permits, and calculate change. Crucially, the machine must save the new stock levels back to the file when it...

Help