Download as pdf or txt
Download as pdf or txt
You are on page 1of 41

OLYMPIC GAMES

ANALYSIS SYSTEM
Project Report

In
INFORMATICS PRACTICES
Submitted in partial fulfillment of the requirement of
Class XII (CBSE)

Sidharth.M

[Reg. No. : ]

Under the guidance of


Mr. J. Dinesh Ruban M.E,
Bharath Vidya Mandir
Senior Secondary School (CBSE)
Ilanji – 627 805.
BONAFIDE CERTIFICATE

This is to certify the entitled “OLYMPIC GAMES


ANALYSIS SYSTEM” done by Sidharth.M of Class XII of
Bharath Vidya Mandir Senior Secondary School (CBSE), Ilanji, has
completed his project as a part of the paper of Informatics
Practices(IP 065) under my supervision. He has taken proper care and
shown atmost sincerity in the completion of this project.
I certify that this project is upto my expectation as per the
guidelines issued by CBSE.

Principal

Submitted for the viva-voce conducted on at


Bharath Vidya Mandir Senior Secondary School (CBSE), Ilanji.

Internal Examiner External Examiner


DECLARATION

I hereby declare that the project titled “OLYMPIC


GAMES ANALYSIS SYSTEM” was submitted to
Bharath Vidya Mandir Senior Secondary School (CBSE),
Ilanji for the subject Informatics Practices under the
guidance of Mr. J. Dinesh Ruban M.E.

Date: Signature
ACKNOWLEDGEMENT

To begin with, I thank God Almighty for this opportunity to learn and
gather hands-on knowledge through Informatics Practices. My institution
Bharath Vidya Mandir Senior Secondary School (CBSE) is duly
acknowledged for their provision of required infrastructure.
I also thank my Principal Mrs. S.Vanitha and the Management for
their contributions. I convey my indebtedness to my course faculty for
their guidance and support throughout the stipulated time period.
As an end point, I deliver my gratitude for the efforts of my family
and friends in effective execution of the project.
Olympic Games
Olympic Games Analysis
Analysis
System
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
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

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.

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.

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.

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.

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.

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.

10
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.

11
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

12
Database and Table Design

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

13
Comma Separated Values (C.S.V) File

Excel View:

14
Notepad View:

15
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
21
22
23
OUTPUT

24
25
26
27
OLYMPIC GAMES DATA ANALYSIS SYSTEM 28
29
30
31
32
33
: : : : : : : : : ; :

OLYMPIC GAMES DATA ANALYSIS SYSTEM 34


35
36
37
38
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