Mudil Mathur CS Project
Mudil Mathur CS Project
Submitted to:
Department Of Computer Science
Submitted By:
NAME- MUDIL MATHUR
CLASS- XII-C3
CBSE ROLL NO-14111418
SUBJECT-Computer Science
SESSION-2024-25
ACKNOWLEDGEMENT
I wish to express my deep gratitude and sincere thanks to our school
management for their encouragement and for all the facilities they provided
for this project work. I sincerely appreciate this magnanimity.
This is to certify that this project report “Music Library System” is the
bonafide work of “Mudil Mathur” CBSE Board Roll No. ________ of class
XII for the year 2024-25. He has carried out the project work under my
supervision.
● INTRODUCTION
● FUNCTIONS USED
● TABLES IN DATABASE
● SOURCE CODE
● OUTPUT SCREENSHOTS
● BIBLIOGRAPHY
● INTRODUCTION
database.
search_songs(query): Searches for songs based on
a user-provided query.
display_all_songs(): Displays all songs in the
library.
Tables in Database
The music library system uses a relational database
with the following tables:
Table: Songs
Column
Data Type Description
Name
Primary key, unique
song_id INT
identifier for each song
title VARCHAR(100) Title of the song
artist VARCHAR(100) Name of the artist
album VARCHAR(100) Name of the album
genre VARCHAR(50) Genre of the song
Year the song was
release_year YEAR
released
SOURCE CODE
import sqlite3
# Main Program
if __name__ == "__main__":
connect_to_database()
print("Welcome to the Music Library
Management System!")
add_song("Shape of You", "Ed Sheeran",
"Divide", "Pop", 2017)
display_all_songs()
OUTPUT SCREENSHOTS
2. Adding Songs:
Screenshot showing the successful addition of a song.
3.Displaying Songs:
Screenshot showing the list of songs in the library.
l
BIBLIOGRAPHY
● www.geeksforgeeks.org