CMR NATIONAL PUBLIC SCHOOL
COMPUTER SCIENCE PROJECT
2025 - 26
Project Name: Mood-Based Study Planner Using Python
Roll Number:21
Name: SHERIN
Grade and Section:11 B
ACKNOWLEDGEMENT
I would like to express my sincere gratitude to my Computer Science teacher for
providing me the opportunity to work on this project titled “Mood-Based Study
Planner Using Python.” This project helped me understand the practical application
of Python programming concepts such as dictionaries, functions, and conditional
statements.
I also thank my school for giving me the necessary resources and support to
complete this project successfully. Lastly, I would like to thank my parents and
friends for their encouragement and guidance throughout the completion of this
project.
CERTIFICATE
This is to certify that SHERIN has satisfactorily completed the project in Computer
Science as prescribed by the Central Board of Secondary Education (CBSE) as part
of the laboratory requirement for All India Senior Secondary Certificate Examination
(AISSCE) Course during the academic year 2025-2026.
Signature of the Signature of the
Internal Examiner: Internal Examiner:
Date: Date:
Name of the student: SHERIN
Roll Number: 21
CONTENTS
SL.N INDE PAGE
O X NO
1. Introduction
1
2. System Requirements
2
3. Flowcharts
3
4. Functions
4
5. Source Code
5-6
6. Sample Outputs
7
7. Constraints and Scope
8
8. Bibliography
9
INTRODUCTION
In today’s academic environment, students often struggle to maintain productivity
due to changes in mood and energy levels. Studying without considering one’s
emotional state may reduce concentration and efficiency. Therefore, this project
introduces a Mood-Based Study Planner developed using Python.
The main objective of this project is to suggest a suitable study plan based on the
user’s current mood. The program takes the user’s mood as input and provides
recommended subjects, study duration, and break time accordingly.
This project demonstrates the practical use of Python concepts such as:
Dictionaries
Functions
Conditional Statements
User Input
It is a simple yet effective real-life application that helps students plan their studies
smartly.
1
SYSTEM REQUIREMENTS
Hardware Requirements:
Computer or Laptop
Minimum 4GB RAM
Keyboard and Monitor
Software Requirements:
Python 3.x
Any IDE (IDLE / VS Code / PyCharm)
Windows / MacOS / Linux
2
FLOWCHARTS
START
Display "Mood-Based Study
Planner"
Input Mood
If
mood exists Yes Display Subject,
in dictionary Duration, Break
No
Display "Invalid Mood"
End
3
FUNCTIONS
Function Used: study_plan(mood)
This function accepts the user’s mood as a parameter.
It stores predefined study plans in a dictionary.
Each mood acts as a key.
The study details (subject, duration, break time) act as values.
It checks whether the entered mood exists.
If valid, it prints the study plan.
If invalid, it displays an error message.
Data Type Used: Dictionary
A dictionary is used because it stores data in key–value pairs, making it easy to
map each mood with its respective study plan.
Example:
Mood → Key
Study details → Values
4
SOURCE CODE
def study_plan(mood):
plans = {
"happy": {
"subject": "Mathematics / Physics",
"duration": "1.5 hours",
"break": "10 minutes"
},
"tired": {
"subject": "Reading / Revision",
"duration": "45 minutes",
"break": "15 minutes"
},
"stressed": {
"subject": "Light subjects (Computers / Notes)",
"duration": "30 minutes",
"break": "20 minutes"
},
"energetic": {
"subject": "Problem Solving / Coding",
"duration": "2 hours",
"break": "10 minutes"
}
}
5
if mood in plans:
print("\n📘 Your Personalized Study Plan 📘")
print("Mood:", [Link]())
print("Suggested Subject:", plans[mood]["subject"])
print("Study Duration:", plans[mood]["duration"])
print("Break Time:", plans[mood]["break"])
else:
print("\n⚠️Invalid mood entered. Please choose:")
print("happy / tired / stressed / energetic")
print("🧠 Mood-Based Study Planner 🧠")
user_mood = input("Enter your mood (happy / tired / stressed / energetic): ").lower()
study_plan(user_mood)
6
SAMPLE OUTPUTS
Sample Output 1:
🧠 Mood-Based Study Planner 🧠
Enter your mood (happy / tired / stressed / energetic): happy
📘 Your Personalized Study Plan 📘
Mood: Happy
Suggested Subject: Mathematics / Physics
Study Duration: 1.5 hours
Break Time: 10 minutes
Sample Output 2:
Enter your mood: tired
📘 Your Personalized Study Plan 📘
Mood: Tired
Suggested Subject: Reading / Revision
Study Duration: 45 minutes
Break Time: 15 minutes
Sample Output 3 (Invalid Input):
Enter your mood: bored
⚠️Invalid mood entered. Please choose:
happy / tired / stressed / energetic
7
CONSTRAINTS AND SCOPE
Limitations:
Accepts only predefined moods.
Study plans are fixed.
Text-based program (No GUI).
Does not store user history.
Future Scope:
Develop a GUI using Tkinter.
Add more moods and custom study plans.
Store user data for tracking progress.
Add AI-based recommendations.
Integrate timers and reminders.
8
BIBLIOGRAPHY
1. NCERT Computer Science Textbook – Class XI
2. Python Official Documentation – [Link]
3. Class Notes and Teacher Guidance