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

Concert Management

Uploaded by

abdealiaraja
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)
314 views

Concert Management

Uploaded by

abdealiaraja
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/ 20

CLASS-XII PROJECT FILE

ACADEMIC YEAR: 2023 – 24

PROJECT REPORT ON

Concert Management System

BOARD ROLL NO : ……………………………………

NAME : ……………………………………

CLASS : ……………………………………

SUBJECT : COMPUTER SCIENCE (083)

PROJECT GUIDE : Mr. NARENDRA ALIANI


TABLE OF CONTENTS

➢ Certificate

➢ Acknowledgement

➢ Preface of Project

➢ Project Description

➢ Hardware & Software Specifications

➢ Python Modules Used

➢ Database Design

➢ Project Code

➢ Sample Outputs

➢ Scope of the Project

➢ Limitations

➢ Bibliography

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
GREEN VALLEY
SCHOOL FO R CH ILDREN

Certificate
This is to certify that ………………………………………………………

Board Roll No: …………………………… has successfully completed

the Project Work entitled Concert Management System in the

subject COMPUTER SCIENCE (083) laid down in the regulations

of CBSE for the purpose of Practical Examination in Class XII for

the Academic Session: 2023-24 to be held in School.

________________________ _________________________

Internal Examiner's External Examiner's


Signature Signature

_________________________ __________________________

Principal's Signature School’s Stamp

Page | 1
ACKNOWLEDGEMENT
Apart from one's own effort, the success of any project depends largely on the
encouragement and guidelines of many others. I take this opportunity to express my gratitude
to the people who have been instrumental in the successful completion of this project.

I express a deep sense of gratitude to almighty God for giving me strength for the successful
completion of the project.

I express my heartfelt gratitude to my parents for their constant encouragement while


carrying out this project.

I gratefully acknowledge the contribution of the individuals who contributed to bringing this
project up to this level, who continue to look after me despite my flaws.

I express my deep sense of gratitude to the luminary Principal, Ms. Richa Dixit who has
been continuously motivating and extending their helping hand to us.

I am overwhelmed to express my thanks to The Administrative Officer for providing me an


infrastructure and moral support while carrying out this project in the school.

My sincere thanks to Mr. Narendra Aliani, Teacher-in-charge, A guide, mentor, and above
all a friend, who critically reviewed my project and helped in solving each problem, that
occurred during the implementation of the project

The guidance and support received from all the members who contributed to this project
were vital for the success of the project. I am grateful for their constant support and help.

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 2
PREFACE OF PROJECT
• This project is about making a computer program to help with concert planning.

• I used a special computer language called Python and a database system named MySQL.

• The goal is to make managing concerts easier by using a computer.

• I created a menu where you can pick different options like adding a new concert or

changing details of an existing one.

• This program is designed for people who organize concerts.

• It is like a digital assistant, making their work faster and more organized.

• I hope this project will be very useful for concert managers.

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 3
PROJECT DESCRIPTION
Title: Concert Management System

About Project:

My project is a computer program for managing concerts. It's made using Python and MySQL.
This program lets concert organizers store and change information about concerts, like who
is performing, where it's happening, and how much tickets cost. They can add new concerts,
update existing ones, look for specific concerts, see a list of all concerts, and even remove
concerts that are no longer happening. The program works by typing in what you want to do,
like adding a concert, and then it saves this information in a database.

Features and Functionalities:

My concert management program has several key features. It lets users add new concerts,
including details like artist, venue, date, and ticket prices. Users can update information for
existing concerts easily. There's a search function to find concerts by artist name. The
program displays a complete list of all concerts, showing every detail. It also allows for the
removal of concerts from the database. All these actions are done through a simple menu-
driven interface, ensuring ease of use. This program is designed to be user-friendly, efficient,
and effective in managing concert-related information.

Conclusion:

In conclusion, my concert management program stands out as a practical and efficient tool
for concert organizers. It simplifies the complex task of managing concert details, providing a
user-friendly interface for adding, updating, searching, and deleting concert data. This project
showcases the power of combining Python programming with MySQL databases to create
solutions that significantly improve event management processes.

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 4
HARDWARE & SOFTWARE
SPECIFICATIONS
HARDWARE SPECIFICATIONS
Processor : Intel Core i3 and above

Hard Disk : 100 GB or Above

RAM : 2 GB or Above

SOFTWARE SPECIFICATIONS
Operating System : Windows 7 or above

Platform : Python IDLE 3.x

Database : MySQL

Languages : Python

Note: For Python-MySQL connectivity, following data have been used:


Host : ‘localhost’,
User : ‘root’,
Password : ‘’,
Database : ‘ConcertManagement’

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 5
MODULES USED

Module Name Purpose

mysql.connector used for MySQL database connectivity

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 6
DATABASE DESIGN

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 7
SOURCE CODE
import mysql.connector as ms

# Establishing the connection.


db = ms.connect(
host="localhost",
user="root",
password="",
database="ConcertManagement"
)

cursor = db.cursor()

def create_table():
# Creating the Concerts table
cursor.execute("""
CREATE TABLE IF NOT EXISTS Concerts (
concert_id INT AUTO_INCREMENT PRIMARY KEY,
artist_name VARCHAR(255),
venue VARCHAR(255),
date DATE,
time TIME,
ticket_price DECIMAL(10,2),
available_tickets INT,
total_tickets INT,
genre VARCHAR(255),
description TEXT,
ticket_sales_status VARCHAR(255),
organizer VARCHAR(255)
)
""")

def add_concert():
# Adding a new concert to the database
artist_name = input("Enter artist/band name: ")
venue = input("Enter venue name: ")
date = input("Enter date (YYYY-MM-DD): ")
time = input("Enter start time (HH:MM:SS): ")
ticket_price = float(input("Enter ticket price: "))
total_tickets = int(input("Enter total number of tickets: "))
genre = input("Enter musical genre: ")
description = input("Enter a brief description: ")
ticket_sales_status = input("Enter ticket sales status: ")
organizer = input("Enter concert organizer/promoter name: ")

insert_query = """ INSERT INTO Concerts (artist_name, venue, date,


time, ticket_price, total_tickets, genre, description,
ticket_sales_status, organizer) VALUES (%s, %s, %s, %s, %s, %s, %s,
%s, %s, %s) """
insert_values = (artist_name, venue, date, time, ticket_price,
total_tickets, genre, description, ticket_sales_status, organizer)
cursor.execute(insert_query, insert_values)
db.commit()
print("Concert added successfully!")
Page | 8
def update_concert():
# Updating an existing concert in the database
concert_id = int(input("Enter concert ID to update: "))

# Check if concert exists


cursor.execute("SELECT * FROM Concerts WHERE concert_id = {}"
.format(concert_id))
concert = cursor.fetchone()

if concert is None:
print("Concert not found!")
return

# Get the updated concert details


artist_name = input("Enter updated artist/band name: ")
venue = input("Enter updated venue name: ")
date = input("Enter updated date (YYYY-MM-DD): ")
time = input("Enter updated start time (HH:MM:SS): ")
ticket_price = float(input("Enter updated ticket price: "))
total_tickets = int(input("Enter updated total number of tickets: "))
genre = input("Enter updated musical genre: ")
description = input("Enter updated brief description: ")
ticket_sales_status = input("Enter updated ticket sales status: ")
organizer = input("Enter updated concert organizer/promoter name: ")

update_query = """UPDATE Concerts SET artist_name = %s, venue = %s,


date = %s, time = %s, ticket_price = %s, total_tickets = %s, genre =
%s, description = %s, ticket_sales_status = %s, organizer = %s WHERE
concert_id = %s """

update_values = (artist_name, venue, date, time, ticket_price,


total_tickets, genre, description, ticket_sales_status, organizer,
concert_id)

cursor.execute(update_query, update_values)
db.commit()

print("Concert updated successfully!")

def search_concert():
# Searching for a concert by artist name
artist_name = input("Enter artist/band name to search: ")

search_query = "SELECT * FROM Concerts WHERE artist_name LIKE '%{}%'"


.format(artist_name)

cursor.execute(search_query)

concerts = cursor.fetchall()

if len(concerts) == 0:
print("No concerts found!")
return

Page | 9
print("\nSearch results:")
for concert in concerts:
print("Concert ID:", concert[0])
print("Artist/Band Name:", concert[1])
print("Venue:", concert[2])
print("Date:", concert[3])
print("Time:", concert[4])
print("Ticket Price:", concert[5])
print("Available Tickets:", concert[6])
print("Total Tickets:", concert[7])
print("Genre:", concert[8])
print("Description:", concert[9])
print("Ticket Sales Status:", concert[10])
print("Organizer:", concert[11])
print("\n")

def display_concerts():
# Displaying all concerts in the database
display_query = "SELECT * FROM Concerts"
cursor.execute(display_query)
concerts = cursor.fetchall()

if len(concerts) == 0:
print("No concerts found!")
return

print("Concerts List:")
for concert in concerts:
print("Concert ID:", concert[0])
print("Artist/Band Name:", concert[1])
print("Venue:", concert[2])
print("Date:", concert[3])
print("Time:", concert[4])
print("Ticket Price:", concert[5])
print("Available Tickets:", concert[6])
print("Total Tickets:", concert[7])
print("Genre:", concert[8])
print("Description:", concert[9])
print("Ticket Sales Status:", concert[10])
print("Organizer:", concert[11])
print("\n")

def delete_concert():
# Deleting a concert from the database
concert_id = int(input("Enter concert ID to delete: "))

delete_query = "DELETE FROM Concerts WHERE concert_id = {}"


.format(concert_id)
cursor.execute(delete_query)
db.commit()
print("Concert deleted successfully!")

Page | 10
# Creating the ConcertManagement database and table
create_table()

# Menu-driven program
while True:
print("----------- ConcertManagement ------------")
print("1. Add Concert")
print("2. Update Concert")
print("3. Search Concert")
print("4. Display All Concerts")
print("5. Delete Concert")
print("6. Exit")
choice = int(input("Enter your choice (1-6): "))

if choice == 1:
add_concert()
elif choice == 2:
update_concert()
elif choice == 3:
search_concert()
elif choice == 4:
display_concerts()
elif choice == 5:
delete_concert()
elif choice == 6:
break
else:
print("Invalid choice!")

# Closing the database connection


db.close()

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 11
PROJECT OUTPUTS

Main Menu

Add Concert

Page | 12
Update Concert

Search Concert

Page | 13
Display All Concerts

Page | 14
Delete Concert

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 15
SCOPE OF THE PROJECT
• This project is about a computer program for organizing concerts.

• It is made to help people who plan and manage concerts.

• The program can be used for any kind of concert, big or small.

• It helps keep track of important details like who is performing, where the concert is, when
it is happening, and how much tickets cost.

• The program makes it easy to add new concerts, change details of concerts that are
already planned, find a specific concert, and remove concerts that are not happening
anymore.

• It is designed to make the job of managing concerts simpler and more organized.

• This program is useful because it can handle a lot of concerts at once and helps make sure
everything about a concert is well planned and known.

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 16
LIMITATIONS
• My concert management program is very helpful, but it has some limits.

• It needs a computer and someone who knows how to use it.

• It also needs a special setup called MySQL to store all the concert information.

• The program is only in English, so it might be hard for people who don't understand
English to use it.

• Also, it doesn't work by itself; someone needs to type in the information about the
concerts.

• It can't guess changes in concerts or update them without someone telling it to.

⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫

Page | 17
BIBLIOGRAPHY

For this project, I used different sources to learn and make the
program. I studied Python, a programming language, and MySQL, a
database system, from textbook and different websites. I looked at
how other concert management systems work to get ideas. My
teachers and experts in programming and database systems also gave
me advice and help. I also used online forums and communities where
people talk about programming to solve problems I had while making
the project. I took the information for my project from the following
sources:
Reference books:
1. Computer Science by Sumita Arora.
2. Complete reference with Python .
3. NCERT Text Book.
Websites:
https://www.python.org.in
https://www.google.com
https://www.cbseacademic.nic.in
⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫⚫
Page | 18

You might also like