Cs Akshita Inves Final
Cs Akshita Inves Final
INVESTIGATORY PROJECT
COMPUTER SCIENCE
CLASS XII (2024-25)
Serial Contents
No.
1 Acknowledgement
2 Certificate
3 System Requirements
4 Introduction
5 Python Source Code
6 Outputs
7 References
Acknowledgement
I would like to extend my sincere and heartfelt
obligation towards all those who have helped me in
making this project. Without their active guidance,
help, cooperation and encouragement, I would not
have been able to present the project on time.
Name Signature
Certificate
This is to certify that the project work
titled Productivity tracking and
task management is the bonafide
work of Akshita Dubey of Class XII A
of PM SHRI Kendriya Vidyalaya No. 2
AFS Gwalior as a part of Computer
Science Project work for class XII
AISSCE,2024-25.
The above mentioned project work has
been completed under my guidance
during the academic year 2024-2025.
Signature of Principal
SYSTEM REQUIREMENTS
1. Python Installation:
o Version: Python 3.6 or above.
2. Required Libraries:
o os (Standard Library: No additional installation
required).
o datetime (Standard Library: No additional installation
required).
3. Text File Permissions:
o Read/Write Access: Ensure the program has
productivity reports).
4. Hardware Requirements:
o Minimum RAM: 2GB.
task files.
5. Operating System Compatibility:
o Windows, macOS, or Linux (Any OS that supports
Python 3.6+).
6. Optional:
o A text editor or IDE (e.g., VS Code, PyCharm) for
# Define the file paths where tasks and reports will be saved
TASK_FILE = "task_list.txt" # Tasks will be stored in this file
REPORT_FILE = "productivity_report.txt" # Productivity reports will
be stored here
try:
task_number = int(input("Enter task number to mark as complete:
")) - 1 # Ask for task number
if 0 <= task_number < len(tasks): # Check if the number is valid
tasks[task_number]["status"] = "Complete" # Change the task
status to "Complete"
write_tasks(tasks) # Save the updated task list
print("Task marked as complete!") # Notify user
else:
print("Invalid task number.") # Invalid task number
except ValueError: # If the user does not enter a valid number
print("Please enter a valid number.")
try:
task_number = int(input("Enter task number to delete: ")) - 1 #
Ask for task number
if 0 <= task_number < len(tasks): # Check if task number is valid
deleted_task = tasks.pop(task_number) # Remove task from
list
write_tasks(tasks) # Save the updated task list
print(f"Task '{deleted_task['title']}' deleted successfully!") #
Notify user
else:
print("Invalid task number.") # Invalid task number
except ValueError: # If the user enters an invalid value
print("Please enter a valid number.")
if choice == "1":
view_tasks() # View all tasks
elif choice == "2":
add_task() # Add new task
elif choice == "3":
mark_task_complete() # Mark task as complete
elif choice == "4":
delete_task() # Delete a task
elif choice == "5":
deadline_reminder() # Show tasks due soon
elif choice == "6":
export_task_list() # Export tasks to a file
elif choice == "7":
generate_report() # Generate productivity report
elif choice == "8":
view_tasks_by_category() # View tasks grouped by category
elif choice == "9":
print("Exiting the program. Goodbye!") # Exit the program
break # Exit the while loop
else:
print("Invalid choice. Please try again.") # Invalid menu choice
1. Wikipedia
https://www.wikipedia.org/
2. Python
https://www.python.org/
3. MySQL
https://www.mysql.com/
4. 11th and 12th Computer
Science Arihant Books