1.
Grade Calculator
Scenario: Create a program that calculates the final grade of a student based on
their scores in various assessments. The program should ask for the student's name,
the scores for assignments, midterm, and final exam. Then, it should calculate the
total score based on weighted averages (e.g., assignments 30%, midterm 30%, final
40%) and assign a letter grade (A, B, C, D, F) based on the total score.
2. Simple Banking Application
Scenario: Develop a simple banking application where a user can start with an
initial balance and then choose to either deposit or withdraw money. The program
should ask for the user's initial balance, then present options to deposit or
withdraw. After the transaction, it should display the updated balance. Ensure the
application does not allow a withdrawal that would lead to a negative balance.
3. Unit Converter
Scenario: Write a program that converts units between different systems. For
example, a simple temperature converter from Celsius to Fahrenheit and vice versa.
The program should ask the user which conversion they want to perform and then ask
for the temperature to convert.
4. Age Group Classifier
Scenario: Design a program that categorizes people into different age groups based
on their age. For example, 'Child' (< 13), 'Teenager' (13-19), 'Adult' (20-65), and
'Senior' (> 65). The program should ask for the person's age and then print out the
corresponding age group.
5. Event Ticket Pricing
Scenario: Create a program for an event ticketing system where the ticket price
varies based on the age of the attendee and whether they are a student. The base
ticket price is a fixed amount, but children under 12 get a 50% discount, seniors
over 65 get a 30% discount, and students get a 20% discount regardless of age. The
program should ask for the attendee's age and if they are a student, then calculate
and display the ticket price.