Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 40

Lal Bahadur Shastri School

OLYMPIC GAMES ANALYSIS


SYSTEM
INFORMATICS PRACTICES PROJECT

AISSCE 2020-2021

Guided By: Submitted By:


Mr. A.k Pandey
(HOD Computer Department) Roll No:
Olympic Games
Olympic Analysis
Games
System
Analysis
System

Index

S. No Topic Page No.


1. Certificate 2
2. Acknowledgement 3
3. About Project and Software 4
used
4. Olympic Games Analysis 6
System (Introduction)
5. Python Overview 8

6. MySQL Overview 11
7. Database and Table Design 13
8. Source Code 14
9. Output 23
10. Bibliography 37
CERTIFICATE
This is to certify that project report entitled
Olympic Games Analysis System has been
successfully completed by Roll No. –
Is being submitted for Practical Examination of
Of Class 12 (AISSCE -2020-2021) in Information
Practices(Code-065).

No part of this project is being submitted to any


other school/ institute for award for any
Certificate / Degree.

LAL BHAHADUR SHASTRI SCHOOL


RK PURAM, NEW DELHI

GUIDED BY –
MR. ARVIND KUMAR PANDEY PGT(IP)

OLYMPIC GAMES DATA ANALYSIS SYSTEM 2


AKNOWLEDGEMENT
I would like to express my special thanks of
gratitude to my teacher Mr. Arvind Kumar
Pandey as well as our principal Mrs. Sunita
Dogra who gave me the golden opportunity
to do this wonderful project on the topic
‘Olympic Games Data Analysis’,
which also helped me
in doing a lot of
Research and I came
to know about so
many new things I
am really thankful to
them.
Secondly, I would
also like to thank my
parents and friends
who helped me a lot
in finalizing this
project within the
limited time frame.

OLYMPIC GAMES DATA ANALYSIS SYSTEM 3


AIM:To Develop:
Olympic Games Analysis
System Front End:
Python 3.8.2
Back End:
My SQL Server 5.1
Operating System:
Windows 10
Minimum Hardware and Software Requirements:
Operating System:
x86 64-bit CPU (Intel / AMD architecture)
4 GB RAM.
5 GB free disk space.
Open Source Software being used:
1. Python 3.8.2
a. Pandas
b. Matplotlib

OLYMPIC GAMES DATA ANALYSIS 4


Pandas:

Pandas is a high-level data manipulation tool developed by


Wes McKinney. It is built on the Numpy package and its key
data structure is called the DataFrame. DataFrames allow
you to store and manipulate tabular data in rows of
observations and columns of variables.

Matplotlib:

The matplotlib Python library, developed by John Hunter


and many other contributors, is used to create high-quality
graphs, charts, and figures. The library is extensive and
capable of changing very minute details of a figure.

OLYMPIC GAMES DATA ANALYSIS 5


Olympic Games Analysis System

Introduction
OLYMPICS HISTORY
According to historical records, the first ancient Olympic
Games can be traced back to 776 BC. They were dedicated to
the Olympian gods and were staged on the ancient plains of
Olympia. They continued for nearly 12 centuries, until
Emperor Theodosius decreed in 393 A.D. that all such
"pagan cults" be banned.
THE GAMES AND RELIGION
The Olympic Games were closely linked to the religious
festivals of the cult of Zeus, but were not an integral part of a
rite. Indeed, they had a secular character and aimed to show
the physical qualities and evolution of the performances.

OLYMPIC GAMES DATA ANALYSIS 6


About our Analysis System:

This Analysis system is capable of analyzing performance of


all countries in Olympic, No. of medal won, No. of times
country participated in Olympics visually as well as in
tabular form.
This visualization system contains a list of all Medals won by
different Countries in the Summer and Winter Olympics
from 1896 to 2016 Olympic.

Uses of our project:

This program can be used to analyze the performance of


different countries in Olympics till now.
This program can also be used for a predictive model as to
which country is likely to fetch the highest number of gold in
a particular sports category (just an example), etc.

OLYMPIC GAMES DATA ANALYSIS 7


PYTHON : OVERVIEW

Python is a high-level, interpreted, interactive and object-


oriented scripting language. Python is designed to be highly
readable. It uses English keywords frequently where as other
languages use punctuation, and it has fewer syntactical
constructions than other languages.
 Python is Interpreted − Python is processed at

runtime by the interpreter. You do not need to compile


your program before executing it. This is similar to
PERL and PHP.
 Python is Interactive − You can actually sit at a Python

prompt and interact with the interpreter directly to


write your programs.
 Python is Object-Oriented − Python supports
Object- Oriented style or technique of programming
that encapsulates code within objects.
 Python is a Beginner's Language − Python is a

great language for the beginner-level programmers and


supports the development of a wide range of
applications from simple text processing to WWW
browsers to games.

OLYMPIC GAMES DATA ANALYSIS 8


History of Python
Python was developed by Guido van Rossum in the late
eighties and early nineties at the National Research Institute
for Mathematics and Computer Science in the Netherlands.
Python is derived from many other languages, including ABC,
Modula-3, C, C++, Algol-68, SmallTalk, and Unix shell and
other scripting languages.
Python is copyrighted. Like Perl, Python source code is now
available under the GNU General Public License (GPL).
Python is now maintained by a core development team at
the institute, although Guido van Rossum still holds a vital
role in directing its progress.

Python Features

 Easy-to-learn − Python has few keywords, simple


structure, and a clearly defined syntax. This allows the
student to pick up the language quickly.

OLYMPIC GAMES DATA ANALYSIS 9


 Easy-to-read − Python code is more clearly defined
and visible to the eyes.
 Easy-to-maintain − Python's source code is fairly
easy- to-maintain.
 A broad standard library − Python's bulk of the
library is very portable and cross-platform compatible
on UNIX, Windows, and Macintosh.
 Interactive Mode − Python has support for an
interactive mode which allows interactive testing and
debugging of snippets of code.
 Portable − Python can run on a wide variety of
hardware platforms and has the same interface on all
platforms.
 Extendable − You can add low-level modules to the
Python interpreter. These modules enable programmers
to add to or customize their tools to be more efficient.
 Databases − Python provides interfaces to all major
commercial databases.
 GUI Programming − Python supports GUI
applications that can be created and ported to many
system calls, libraries and windows systems, such as
Windows MFC, Macintosh, and the X Window system of
Unix.
 Scalable − Python provides a better structure and
support for large programs than shell scripting.

OLYMPIC GAMES DATA ANALYSIS 1


MySQL Overview

What is MySql?

SQL is the core of a relational database which is used for


accessing and managing the database. By using SQL, you
can add, update or delete rows of data, retrieve subsets of
information, modify databases and perform many
actions.

The different subsets of SQL are as follows:

DDL (Data Definition Language) – It allows you to


perform various operations on the database such as
CREATE, ALTER and DELETE objects.

DML (Data Manipulation Language) – It allows you


to access and manipulate data. It helps you to insert,
update, delete and retrieve data from the database.

DCL (Data Control Language) – It allows you to


control access to the database. Example – Grant or Revoke
access permissions.
OLYMPIC GAMES DATA ANALYSIS 1
TCL (Transaction Control Language) – It allows you
to deal with the transaction of the database. Example –
Commit, Rollback, Savepoint, Set Transaction.

Features of MySql:

Some features and advantages of MySql are:

 Robust Transactional Support


 Comprehensive Application Development
 Ease of Management
 High Performance
 Open Source & 24 * 7 Support
 Secure Data Protection
 High Availability
 Scalability & Flexibility

OLYMPIC GAMES DATA ANALYSIS 1


Database and Table Design

**The above screenshots have been taken after importing csv data to MySQL

OLYMPIC GAMES DATA ANALYSIS 1


Comma Separated Values (C.S.V) File
Excel View:

OLYMPIC GAMES DATA ANALYSIS 1


Notepad View:

OLYMPIC GAMES DATA ANALYSIS 1


CODING

OLYMPIC GAMES DATA ANALYSIS SYSTEM 16


OLYMPIC GAMES DATA ANALYSIS SYSTEM 17
OLYMPIC GAMES DATA ANALYSIS SYSTEM 18
OLYMPIC GAMES DATA ANALYSIS SYSTEM 19
OLYMPIC GAMES DATA ANALYSIS SYSTEM 20
OLYMPIC GAMES DATA ANALYSIS 2
OLYMPIC GAMES DATA ANALYSIS 2
OLYMPIC GAMES DATA ANALYSIS 2
OUTPUT

OLYMPIC GAMES DATA ANALYSIS 2


OLYMPIC GAMES DATA ANALYSIS 2
OLYMPIC GAMES DATA ANALYSIS 2
OLYMPIC GAMES DATA ANALYSIS 2
OLYMPIC GAMES DATA ANALYSIS SYSTEM 28
OLYMPIC GAMES DATA ANALYSIS 2
OLYMPIC GAMES DATA ANALYSIS 3
OLYMPIC GAMES DATA ANALYSIS 3
OLYMPIC GAMES DATA ANALYSIS 3
OLYMPIC GAMES DATA ANALYSIS 3
: : : : : : : : : ; :

OLYMPIC GAMES DATA ANALYSIS SYSTEM 34


OLYMPIC GAMES DATA ANALYSIS 3
OLYMPIC GAMES DATA ANALYSIS 3
OLYMPIC GAMES DATA ANALYSIS 3
OLYMPIC GAMES DATA ANALYSIS 3
Bibliography
 Youtube (Computer Wallah by A.k Pandey)

 Informatics Practices Class 12 by Sumita Arora.

 Informatics Practices Class 12 by Preeti Arora.

 https://stackoverflow.com/ (for error resolving)

 Google Images

 https://www.tutorialspoint.com/

 Google Search Engine

OLYMPIC GAMES DATA ANALYSIS SYSTEM 39

You might also like