Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Olympic Anallysis

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

Olympic Games

Analysis System

Index

S. Topic Page No.


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

6. MySQL Overview 11
7. Database and Table 13
Design
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
OLYMPIC GAMES DATA ANALYSIS 4
SYSTEM
a. Pandas
b. Matplotlib

OLYMPIC GAMES DATA ANALYSIS 5


SYSTEM
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 6


SYSTEM
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 7


SYSTEM
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 8


SYSTEM
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 9


SYSTEM
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

OLYMPIC GAMES DATA ANALYSIS 10


SYSTEM
 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 11


SYSTEM
 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 12
SYSTEM
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 13


SYSTEM
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
OLYMPIC GAMES DATA ANALYSIS 14
SYSTEM
 Scalability & Flexibility

OLYMPIC GAMES DATA ANALYSIS 15


SYSTEM
Database and Table Design

**The above screenshots have been taken after importing csv data to
MySQL
OLYMPIC GAMES DATA ANALYSIS 16
SYSTEM
Comma Separated Values (C.S.V)
File
Excel View:

OLYMPIC GAMES DATA ANALYSIS 17


SYSTEM
Notepad View:

OLYMPIC GAMES DATA ANALYSIS 18


SYSTEM
CODING
OLYMPIC GAMES DATA ANALYSIS SYSTEM 16
OLYMPIC GAMES DATA ANALYSIS SYSTEM 17
OLYMPIC GAMES DATA ANALYSIS SYSTEM 18
OLYMPIC GAMES DATA ANALYSIS 19
SYSTEM
OLYMPIC GAMES DATA ANALYSIS SYSTEM 20
OLYMPIC GAMES DATA ANALYSIS 21
SYSTEM
‘”
OLYMPIC GAMES DATA ANALYSIS 22
SYSTEM
OLYMPIC GAMES DATA ANALYSIS 23
SYSTEM
OUTPUT

OLYMPIC GAMES DATA ANALYSIS 24


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

OLYMPIC GAMES DATA ANALYSIS SYSTEM 34


OLYMPIC GAMES DATA ANALYSIS 35
SYSTEM
OLYMPIC GAMES DATA ANALYSIS 36
SYSTEM
OLYMPIC GAMES DATA ANALYSIS 37
SYSTEM
OLYMPIC GAMES DATA ANALYSIS 38
SYSTEM
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