0% found this document useful (0 votes)
35 views15 pages

project documentation

Uploaded by

ananyasangole
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views15 pages

project documentation

Uploaded by

ananyasangole
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

PROJECT REPORT

ON
“TO DO LIST”

SUBMITTED TO CENTRAL BOARD OF


SECONDARY EDUCATION,DELHI

IN PARTIAL FULFILMENT OF THE REQUIREMENT


OF
XII(COMPUTER SCIENCE) EXAMINATION
2024-25

GUIDED BY
VAIBHAV D.BHUSARI

SUBMITTED BY
ANANYA V. SANGOLE

COMPUTER SCIENCE
ALPHONSA SR.SEC.SCHOOL
SAWANGI MEGHE,WARDHA
2024-25
TABLE OF CONTENTS

 Certificate

 Acknowledgement

 Coding

 Output

 Requirements

 Bibliography
Certificate
This is to certify that ANANYA V.SANGOEL of

class XII, Alphonsa Senior Secondary School,

Sawangi (Meghe) , Wardha , has successfully

completed her project in Computer Science

practical(Python) as prescribed by CBSE in the

year 2024-25.

Signature of Internal Signature of External

Examiner Examiner

--------------------- ---------------------

Signature of Principal

---------------------
Acknowledgement
I thank my Computer Science teacher

Mr.Vaibhav Bhusari for guidance and support. I

also thank my Principal Rev.Sr.Navya. I would

also like to thank my parents and my sister for

encouraging me during the course of this

project. Finally I would like to thank CBSE for

giving me this opportunity to undertake this

project.

Signature of Student

-----------------------------
CODING

tasks = []

print('HELLO USER!!!!')
print('Let''s schedule your day')

def add_task(task, due_date):


tasks.append({"task": task, "due_date": due_date,
"completed": False})
print(f"Task '{task}' with due date '{due_date}' has
been added to the list.")

def view_all_tasks():
print("\nAll Tasks:")
for index, task in enumerate(tasks):
print(f"{index + 1}. {task['task']} (Due:
{task['due_date']}), Completed: {'Yes' if
task['completed'] else 'No'}")

def mark_as_completed(task_index):
try:
task = tasks[task_index - 1]
task["completed"] = True
print(f"Task '{task['task']}' has been marked as
completed.")
except IndexError:
print(f"Invalid task index: {task_index}")

def remove_task(task_index):
try:
task = tasks.pop(task_index - 1)
print(f"Task '{task['task']}' has been removed
from the list.")
except IndexError:
print(f"Invalid task index: {task_index}")

while True:
print("\nTo-Do List:")
print("1. Add a task")
print("2. View all tasks")
print("3. Mark a task as completed")
print("4. Remove a task")
print("5. Quit")

user_input = input("Enter your choice: ")


if user_input == "1":
task = input("Enter task: ")
due_date = input("Enter due date: ")
add_task(task, due_date)
elif user_input == "2":
view_all_tasks()
elif user_input == "3":
task_index = int(input("Enter task index: "))
mark_as_completed(task_index)
elif user_input == "4":
task_index = int(input("Enter task index: "))
remove_task(task_index)
elif user_input == "5":
break
else:
print(f"Invalid choice: {user_input}")

print("Goodbye!")
OUTPUT
1. Welcome Screen
2. To add a task
5. To remove a task
3. To view all tasks
4. To mark a task as completed
6. To quit
REQUIREMENTS
 HARDWARE REQUIRED

 Printer, to print the required documents of the


project
 Compact Drive
 Processor : i3 processor
 Ram : 4 GB RAM
 Harddisk : 500 GB.

 SOFTWARE REQUIRED

 Operating system : Windows 7


 Python Software for execution of program and
 Ms word, for presentation of output.
BIBLIOGRAPHY

COMPUTER SCIENCE In Python BY :– SUMITA ARORA


https://www.google.com/
https://www.wikipedia.org/

You might also like