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

PYTHON - Python Vs C Vs C++

A Document showing comparison of programming language

Uploaded by

kash78705
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

PYTHON - Python Vs C Vs C++

A Document showing comparison of programming language

Uploaded by

kash78705
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 14

ASSIGNMENT ON

PYTHON

GROUP 1
SUBJECT; What is Python, features of Python,
applications of Python, comparisons with C, C++,
Java

NAME : BOSCO SIBI NALOLICKAL


REG NO: 2440313

SUBMITTED TO ; APASH ROY


DATE OF SUBBMISSION : 25-08-2024
TABLE OF CONTENT

i) Introduction
ii) What is Python
iii) History of Python
iv) Top python Application in world
v) Comparison with C++
vi) Comparison with C
vii) Comparison with JAVA
INTRODUCTION
In this digital era it is impossible to live without computers.
But we can’t talk with computer’s with our common
language. In order to communicate with computers we use
different programming languages. In this assignment we
will be discussing about one of such programming
language .ie, PYTHON
most popular programming languages according to stack overflow developer survey
2019

WHAT IS PYTHON

Python is a high level programming language


that is used for web applications, software
development, data science, and machine
learning. It is considered to be one of the most popular
programming languages in the world because of its
increased productivity. It is easy to learn compared to
other programming languages. It can run on a lot of
different platforms.

History of Python
During his research at the National
Research Institute for Mathematics and
Computer Science in the Netherlands,
Guido van Rossum created python. The
first version of Python was released in
1991..
GUIDO VAN ROSSUM

The name python was inspired from a TV


Show named. “Monty Python's Flying
Circus”, which was a BBC comedy series
from the 1970s. Guido van Rossum was
a great fan of this series and thus named
so.
The name was catchy and seems
mysterious.
Features of Python
Some of the well known features of python are,
It is easy to comprehend. Even a person who does
not know the computer language can easily use it
since basic English words are used
It is an interpreted language. PVM acts as a translator
Python is an object oriented programming language
It is free to download and use. It can be downloaded
from the python.org website
Python has a great and a vast library. Youtube uses
Python programming
Python is dynamically typed while other programming
languages are mostly static typed

Simple to read Huge and extensive


Free and open source
understand and use libraries

Object oriented
Dynamically typed Interpreted
programing language
Top Python Applications in Real
World
 Web Development
 Machine Learning and Artificial Intelligence
 Game Development
 Software Development
 Network Programming
 Data Analysis and Visualization
 Automation and Scripting
 Scientific Computing
 Education
 Cybersecurity
 Finance and Economics

Some of the applications are explained below:


1. Web Development
This is one of the most remarkable python applications.
Indeed, Python provides a wide range of frameworks such
as Django, flask, bottle, and many others that simplify the
work of developers. Furthermore, Python comes with pre-
built libraries and tools that simplify the web development
process.
2. Machine learning and artificial intelligence
These are the most popular topics at the moment. Python
offers straightforward, succinct and easily understandable
code that enables developers to create intricate algorithms
and offers a flexible flow
3. Data Science
Python provides impressive capabilities for managing
statistical data and performing intricate mathematical
computations. The availability of integrated libraries offers
convenience for data science professionals. Some of the
well-known libraries that support the data science process
are tensorflow panda socket learning.
4. Audio and visual applications
Python's audio and video capabilities are truly remarkable.
Popular apps such as Netflix, Spotify, and YouTube are
developed using Python programming. This task can be
managed by libraries such as mingus opencv pio, which
have already been observed.
5. Software Development
Popular apps such as Google, Netflix, and Reddit all utilize
Python programming for software development to some
degree. This language provides incredible capabilities,
including platform independence and integrated libraries
and frameworks that simplify the development process.
Enhance code reusability and readability while ensuring
high compatibility.
6. Commercial applications
Python boasts robust security and scalability capabilities,
making it an ideal choice for delivering top-notch business
applications. There are pre-installed libraries and tools,
including
I) Odoo: it is a business management software that
provides you with an automated solution for your business
processes. It is an easy-to-use open-source software.
Which have fully integrated functions such as financial
accounting, sales, customer relationship management,
purchasing, transportation, etc.
7. Desktop GUI
Python is a user-friendly programming language that
enables developers to effortlessly design graphical
interfaces. Python offers a vast array of pre-built tools,
including pyqt, kivy, and wxwidgets, that enable
programmers to develop fully functional graphical user
interfaces (GUIs) in a secure and efficient manner..
COMPARISON WITH C++

PYTHON C++
 Python is a high-level, interpreted language.  C++ is a high-level pre compiled
It emphasizes code readability and programming language that combines high-
simplicity level and low-level features. It provides
more control over system resources and
memory in order to develop all type of
projects .

 types are checked at runtime  types are checked at compile-time

 Dyanamiclaly typed programming language Statically typed programming language


 Python is generally slower than C++ due to  C++ is known for its speed and efficiency,
its interpreted nature and dynamic typing. often used in performance-critical
applications.
 It has 33 key words  It has 52 key words
 Variable inside the loop can be accessed  Variable inside the loop are not accessible
even outside the loop outside the loop
 It has fewer lines of codes and codes are  It has long lines of codes compared to
straightforward Python
 Python perform auto allocation  Programmer need to manually allocate the
new variable and deallocate when no longer
needed
 Python is favoured for its ease of use,  C++ excels in areas requiring high
quick development, and wide application in performance and fine control over system
fields like web development, data science, resources, such as system programming,
and automation. game development, and embedded
systems

CoMAPARISON WITH C

C LANGUAE PYTHON
It’s a complier language where entire source code It use interpreter called PVM which read each
is converted to machine language so that computer statements line by line.
can understand it

It is compulsory to declare variable type It’s not necessary to declare variable type
It has traditional system for loops
It is mainly used for hardware related applications It is a general-purpose programming language

Pointer play a significant role in programming No pointers are available


There is a limited a set of built-in function. Lower- A huge library is available.
level libraries are available but those are
specialised ones.
Debugging and development tools are more Rich debugging tools and a supportive community
complex aid in faster development
Its Portable across different platforms but may Highly portable, with code often running on
require adjustments due to platform-specific different platforms without modification. Python
details. interpreters are available for most of the major
It also requires recompilation for different systems. operating systems.
It uses manual memory management using Automatic memory management with garbage
functions like malloc() and free(). collection is available
This gives developers direct control over memory
allocation and deallocation but increases the risk of
memory leaks and pointer errors.

COMPARISON WITH JAVA


Java is a complex programming language Python is suggested for new programmers
that requires time and effort to learn and because of its accessibility and relative ease
master. of use.
Compilation is required. JVM is used for that Python is an interpreted language, it requires
meticulous line-by-line inspection of all code.
Java’s advanced identification and access Python is not as durable as Java.
control mechanisms ensure the web app’s
continued security.
The syntax is difficult since it generates The syntax is simple to learn and retain, and
problems if semicolons or curly brackets are it has many similarities to human speech
missing.
It’s viable that this system will be more Python is not as reliable as Java despite its
reliable and much less at risk of crashes due rapid development because the syntax is
to the big evaluation and setup required tested at runtime in Python.
before it is able to perform
Rapid progress since Python is so There may be a need for larger development
straightforward and effective teams and more time for Java-based
applications
Thank
you

You might also like