-
Session 1 - Revision of Python Programming
-
-
- Join this Course to access resources
-
- Join this Course to access resources
-
Session 2 - Activity - Restaurant food Order System
-
-
- Join this Course to access resources
-
Session 3 - Introduction to Microbit and MakeCode Platform
-
-
- Join this Course to access resources
-
Session 4 - Python Program of Temperature Conversion.
-
-
- Join this Course to access resources
-
Session 5 - Introduction to Temperature Sensor in Microbit
-
-
- Join this Course to access resources
-
Session 6 - Using Two Microbits to Monitor Outdoor Temperatures Remotely
-
-
- Join this Course to access resources
-
Session 7 - Introduction to Microcontrollers and Actuators on Tinkercad
-
Session 8 & 9 - Theft Detection System (Using Arduino + PIR)
-
Session 10 & 11- Plant Watering Using Microbit
- Session 12
- Session 13
- Session 14
- Session 15
- Session 16
-
Session 17 to 20 - Home Automation using Artificial Intelligence and Text to Speech
-
-
- Join this Course to access resources
-
- Join this Course to access resources
Session 2.pptx (Lecture Slide)
Restaurant Food Order System
“Welcome to our Restaurant — where your inputs are the ingredients, code is the chef, and your final bill is the dish served hot and fresh!”
💡 Introduction
This activity introduces students to basic programming concepts by simulating a simple restaurant food order system using Python. The program displays a menu, takes user input to select food items, calculates the total bill, and prints a receipt.
📘 Pre-requisite Knowledge
- Basic knowledge of Python syntax
- Understanding of:
- Variables.
- Data types (strings, integers).
- input() and print() functions.
- Conditional statements (if, else).
- Dictionaries (for menu and prices).
- Loops (optional, if used for multiple items).
🎯Learning Objectives
- How to implement basic logic and conditions.
- How to perform simple arithmetic operations.
- How to structure a real-world application in Python.
🛠 Tools & Materials Required
- Hardware: Desktop/Laptop with internet access.
- Software: Any Python IDE or platform (e.g., Python IDLE or Jupyter Notebook).
Instructions
Step 1. Open Jupyter Notebook.
Step 2. Select “New” written at the top right corner of the Jupyter Notebook interface and choose Python 3 (ipykernel).
Activity - Write a python program of Restaurant food Order System
This activity will combine Conditionals, Loops, and Functions in a fun and practical program.
Step 1. Creating the Function.
Step2. Calling the Function.
Try it yourself
Online Simulator: https://www.w3schools.com/python/trypython.asp?filename=demo_compiler
🧩 Expected Outcome
🔍 Observation
- Whether the program correctly displays the menu.
- Proper handling of user input (e.g., item name not in menu).
- Correct calculation of the total amount.
- Whether the output/receipt format is clear and user-friendly.
- If the code runs without errors.
0
0
There are no comments for now.
Join this Course
to be the first to leave a comment.