0% found this document useful (0 votes)
5 views

CS project

The document is a project report on a 'Daily Task Manager' developed for Class 12 students to manage their tasks for the CBSE 2024-25 examination. It details the project's purpose, software used, coding implementation, and includes a certificate of completion, acknowledgments, and a bibliography. The system allows users to track tasks, set time limits, and analyze productivity through graphical representations.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

CS project

The document is a project report on a 'Daily Task Manager' developed for Class 12 students to manage their tasks for the CBSE 2024-25 examination. It details the project's purpose, software used, coding implementation, and includes a certificate of completion, acknowledgments, and a bibliography. The system allows users to track tasks, set time limits, and analyze productivity through graphical representations.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

KENDRIYA VIDYALAYA NO.

2 JALAHALLI EAST
BANGALORE

A PROJECT REPORT
ON
DAILY TASK MANAGER
FOR
CBSE 2024-25 EXAMINATION
[ AS A PART OF THE COMPUTER SCIENCE (083)]

Submitted by - Rishabh
Name – Rishabh & Priyanshu
Class – XII A

UNDER GUIDANCE:
MRS. LEENA A
PGT (COMP.SC)
INDEX

1. CERTIFICATE

2. ACKNOWLEDGEMENT

3. INTRODUCTION
4. NEED OF THE PROJECT

5. SOFTWARE USED

6. CODING

7. OUTPUT

8. BIBLOGRAPHY
CERTIFICATE

This is to certify that Rishabh of class XII-A has successfully


completed their Computer Science project on “Daily
Tasks Manager” under the guidance of Mrs. Leena Unni
(PGT Comp. Sc.). This is certified to be the Bonafide work
of the student in the Informatics Computer Science
laboratory during the academic year 2024-25.

Signature of subject Teacher Signature of Principal

Mrs. Leena Unni Mrs. Jyoti Sharma

Signature of External Examiner


Acknowledgement

I would like to take this opportunity to extend my sincere


gratitude and appreciation to my computer science
teacher
Mrs. Leena Unni for providing guidance and support
throughout the process of completing my project.
I am also thankful to my principal Mrs. Jyoti Sharma for
allowing me the opportunity to explore and work on this
project in the school environment.
Lastly, I would also like to thank my friends and
classmates who were always there for me whenever I
needed their help while making the project and have
contributed a lot to this project. I want to thank every
individual who assisted me, guided me and supported
me during the journey of this project. This project is
possible only because of all these people. Thank you so
much.
INTRODUCTION

This project provides information about ‘Daily Task


Manager’.

This allows storage and management of daily tasks for


Class 12 subjects like Math, Physics, Chemistry, and
Computer Science. The system is developed using
Python and MySQL.

Users can select tasks from the Class 12 syllabus, set a


time limit for completion, and upon completion, analyze
their productivity. The system records whether tasks are
completed or not, stores reasons for incomplete tasks,
and generates a graph to visualize productivity.

Details can be added, analyzed, and reviewed based


on the user's performance and requirements.
Need for the Project: Daily Task Manager

• Efficient Syllabus Management


• Time-Bound Focus
• Time Management
• Progress Tracking
• Personal Reflection
• Graphical Productivity Insights
Software used

• Microsoft Windows® 11 Home as Operating


System.

• MYSQL.

• Python 3.13.1as Front-end Development


Environment.

• MYSQL-Connector-Python.

• Jupyter notebook for coding.

• MS Word for Documentation.

• Snipping tool for screenshots


CODES

SQL CODES: -

Create database db;


Use db;

CREATE TABLE `reasons` (


`id` int (11) NOT NULL,
`Reason` varchar (1000) DEFAULT NULL);

CREATE TABLE `task` (


`No.` int (11) NOT NULL,
`Subject` varchar (30) NOT NULL,
`Chapter` varchar (150) NOT NULL);

INSERT INTO `task` (`No.`, `Subject`, `Chapter`) VALUES


(1, 'Physics', 'Electric Charges and Fields'),
(2, 'Physics', 'Electrostatic Potential and Capacitance'),
(3, 'Physics', 'Current Electricity'),
(4, 'Physics', 'Moving Charges and Magnetism'),
(5, 'Physics', 'Magnetism and Matter'),
(6, 'Physics', 'Electromagnetic Induction'),
(7, 'Physics', 'Alternating Current'),
(8, 'Physics', 'Electromagnetic Waves'),
(9, 'Physics', 'Ray Optics and Optical Instruments'),
(10, 'Physics', 'Wave Optics'),
(11, 'Physics', 'Dual Nature of Radiation and Matter'),
(12, 'Physics', 'Atoms'),
(13, 'Physics', 'Nuclei'),
(14, 'Physics', 'Semiconductor Electronics'),
(16, 'Chemistry', 'Solutions'),
(17, 'Chemistry', 'Electrochemistry'),
(18, 'Chemistry', 'Chemical Kinetics'),
(19, 'Chemistry', 'The d- and f-Block Elements'),
(20, 'Chemistry', 'Coordination Compounds'),
(21, 'Chemistry', 'Haloalkanes and Haloarenes'),
(22, 'Chemistry', 'Alcohols, Phenols, and Ethers'),
(23, 'Chemistry', 'Aldehydes, Ketones, and Carboxylic Acids'),
(24, 'Chemistry', 'Amines'),
(25, 'Chemistry', 'Biomolecules'),
(26, 'Mathematics', 'Relations and Functions'),
(27, 'Mathematics', 'Inverse Trigonometric Functions'),
(28, 'Mathematics', 'Matrices'),
(29, 'Mathematics', 'Determinants'),
(30, 'Mathematics', 'Continuity and Differentiability'),
(31, 'Mathematics', 'Applications of Derivatives'),
(32, 'Mathematics', 'Integrals'),
(33, 'Mathematics', 'Applications of Integrals'),
(34, 'Mathematics', 'Differential Equations'),
(35, 'Mathematics', 'Vector Algebra'),
(36, 'Mathematics', 'Three-Dimensional Geometry'),
(37, 'Mathematics', 'Linear Programming'),
(38, 'Mathematics', 'Probability'),
(39, 'Computer Science', 'Revision of Python topics covered in Class 11'),
(40, 'Computer Science', 'Functions'),
(41, 'Computer Science', 'File Handling'),
(42, 'Computer Science', 'Data Structures: Stacks'),
(43, 'Computer Science', 'Computer Networks'),
(44, 'Computer Science', 'Relational Databases and SQL'),
(45, 'Computer Science', 'Python-MySQL Connectivity'),
(46, 'Computer Science', 'Project Work'),
(47, 'Computer Science', 'Practical Work'),
(48, 'English', 'Literature'),
(49, 'English', 'Grammar'),
(50, 'English', 'Writing')''');

ALTER TABLE `reasons`


ADD PRIMARY KEY (`id`);

ALTER TABLE `task`


ADD PRIMARY KEY (`No.`);

ALTER TABLE `reasons`


MODIFY `id` int (11)
NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

PYHTHON CODES: -
import time

import matplotlib.pyplot as plt

import mysql.connector as mysql

task=[]
incomp=[]

def display(task):

print("\nWELCOME TO DAILY TASK MANAGER \n")

print("Let's Do this \n")

c=mysql.connect(host="localhost", user="Rishabh", password="root",

database="db")

cr=c.cursor()

try:

minutes = float(input("Enter the timer duration in minutes: "))

if minutes <= 0:

print("Please enter a positive number.")

return

seconds = int(minutes * 60)

except ValueError:

print("Invalid input! Please enter a number.")

while True:

print("Select the subject from the following:- ")

print("1. Physics")

print("2. Chemistry")

print("3. Mathematics")

print("4. Computer Science")


print("5. English")

print("6. Done")

sub=int(input("\nEnter Your choice:- "))

if sub==1:

print("\nEnter the Chapter you want to choose from the following:-

")

cr.execute('SELECT * FROM task where Subject="Physics"')

p=cr.fetchall()

for i in (p):

print(p.index(i)+1,i[2])

chap=int(input("\nEnter the Chapter number you want to add a

task for:- "))

task.append(p[chap-1][2])

print("\nTask added successfully")

elif sub==2:

print("\nEnter the Chapter you want to choose from the following:-

")

cr.execute('SELECT * FROM task where Subject="Chemistry"')

chem=cr.fetchall()

for i in (chem):

print(chem.index(i)+1,i[2])
chap=int(input("\nEnter the Chapter number you want to add a

task for:- "))

task.append(chem[chap-1][2])

print("\nTask added successfully")

elif sub==3:

print("\nEnter the Chapter you want to choose from the following:-

")

cr.execute('SELECT * FROM task where Subject="Mathematics"')

m=cr.fetchall()

for i in (m):

print(m.index(i)+1,i[2])

chap=int(input("\nEnter the Chapter number you want to add a

task for:- "))

task.append(m[chap-1][2])

print("\nTask added successfully")

elif sub==4:

print("\nEnter the Chapter you want to choose from the following:-

")

cr.execute('SELECT * FROM task where Subject="Computer

Science"')

cs=cr.fetchall()
for i in (cs):

print(cs.index(i)+1,i[2])

chap=int(input("\nEnter the Chapter number you want to add a

task for:- "))

task.append(cs[chap-1][2])

print("\nTask added successfully")

elif sub==5:

print("\nEnter the Chapter you want to choose from the following:-

")

cr.execute('SELECT * FROM task where Subject="English"')

e=cr.fetchall()

for i in (e):

print(e.index(i)+1,i[2])

chap=int(input("\nEnter the Chapter number you want to add a

task for:- "))

task.append(e[chap-1][2])

print("\nTask added successfully")

elif sub==6:

break

else:

print("\nInvalid choice. Please try again.")


print("\nYour tasks for today are:")

for i in task:

print(i)

print("\nAnd the Time you have is ","Timer set for",seconds,"seconds",

minutes ,"minutes")

while seconds > 0:

print(f"{seconds // 60:02d}:{seconds % 60:02d}", end="\r")

time.sleep(1)

seconds -= 1

print("\nTime's up! ")

c.close()

def add():

c = mysql.connect(

host='localhost',

database='db',

user='Rishabh',

password='root'

cr = c.cursor()

res=input("Enter your reason not to complete the task:- ")

cr.execute(f"INSERT INTO reasons (Reason) VALUES ('{res}')")


c.commit()

c.close()

def piechart(task):

d={}

for i in range(1,len(task)+1):

print("Enter the percentage of ",task[i-1]," Is completed??")

perc=int(input(":-"))

d[task[i-1]]=perc

print("\nGraphical Representation of your progress:")

task_names = list(d.keys())

task_percentages = list(d.values())

plt.bar(task_names, task_percentages, color='skyblue')

plt.xlabel('Tasks')

plt.ylabel('Completion Percentage (%)')

plt.title('Task Completion Percentages')

plt.show()

def after(task,incomp):

c=mysql.connect(host="localhost", user="Rishabh", password="root",

database="db")

cr=c.cursor()

print("\nThank you for using Daily Task Manager")


comp=input("\nIs all the task assigned are completed?? y/n:- ")

if comp=='y':

print("\nCongratulations! You have completed all your tasks.")

elif comp=='n':

print("\nHere are the incomplete tasks:")

print("\n")

for i in task:

print(task.index(i)+1,i)

print("\n")

incompno=int(input("Enter the Number of task which are still

incompleted from the above list :- "))

for j in range (incompno):

inco=int(input("Enter the task which are still incomplete:- "))

incomp.append(task[inco-1])

print(incomp)

add()

gp=input("Do you want to see the graph y/n:- ")

if gp=='y':

print("\nGraphical Representation of your progress:")

piechart(task)

elif gp=='n':
print("\nThank you for using Daily Task Manager")

else:

print("\nInvalid choice. Please try again.")

else:

print("\nInvalid choice. Please try again.")

def mistakes():

print("\nHere are your past mistakes:")

c=mysql.connect(host="localhost", user="Rishabh", password="root",

database="db")

cr=c.cursor()

cr.execute("SELECT * FROM reasons")

r=cr.fetchall()

for i in r:

print(i[1])

c.close()

def menu():

while True:

print("\nWhat do you want to do??")

print("1. Start the Work:- ")

print("2. After completing the Work:- ")

print("3. View Your Past Mistakes:- ")


print("4. Exit the program:- ")

q=int(input("\nEnter your choice:- "))

if q==1:

display(task)

elif q==2:

after(task,incomp)

elif q==3:

mistakes()

elif q==4:

print("\nThank you for using Daily Task Manager")

break

else:

print("\nInvalid choice. Please try again.")

menu()
OUTPUT
BIBLOGRAPHY

1. Informatics Practices by Sumita Arora

2. https://www.google.com/

3. https://docs.python.org/3/library/time.html

4. https://matplotlib.org/2.0.2/users

You might also like