You are on page 1of 2

Shri Alpesh N.

Patel PG Institute of Science & Research


M.Sc. IT || SEMESTER: I
PS01CINT32: Python Programming

ASSIGNMENT-01

Q.1 WHAT IS PYTHON? LIST & EXPLAIN VARIOUS FEATURES OF PYTHON.


 Python is an Open Source, Interpreted, High Level, Object-Oriented Programming
Language created by Guido van Rossum in 1991.

Features of Python: [D-E2-F-G-H-I-L-O-P]


o Dynamically Typed Language:
o Easy to Learn & Understand:
o Extensible Language:
o Free and Open Source:
o GUI Programming Support:
o High-Level Language:
o Interpreted Language:
o Large Standard Library
o Object-Oriented Language:
o Portable language:

1. Dynamically typed language:


 Python is a dynamically typed language because the type of variable [like int, double, long, etc] is
decided at runtime [not in advance]. So, we don’t need to specify the type of variable at the time
declaration.

2. Easy to learn & understand:


 Python is easy to learn & understandable language for anybody because it’s most of the syntaxes
is similar to C & C++.

3. Extensible Language:
 Python is an extensible language because the code that is written in Python can also be written
in C & C++ and compiled in Turbo C Compiler.

PREPARED BY: VIPUL J.PATEL Page 1


4. Free and Open Source:
 Python is a free language and that is available on its official website
https://www.python.org/downloads/
 Python is an Open Source Language because its source code is openly available to the public.
We can download it, use it, modify it and share it.

5. GUI Programming Support:


 Python supports GUI Programming.
 Graphical User interfaces can be made using a module such as PyQt5, PyQt4, wxPython, or Tk in
python.

6. High-Level Language:
 Python is a high-level language. Because when we write any programs in python, we do not need
to manage memory & remember the system architecture.

7. Interpreted Language:
 Python is an Interpreted Language because Python code is executed line by line at a time.
 Like other languages C, C++, Java, etc. there is no need to compile python code this makes it easier
to debug our code.
 Once we execute the python code it can be converted into an immediate form called byte code.

8. Large Standard Library


 Python has a large standard library which provides a rich set of module and functions so you do
not have to write your own code for every single thing.
 There are many libraries present in python for such as regular expressions, unit-testing, web
browsers, etc.

9. Object-Oriented Language:
o Python is an Object-Oriented Programming language because it supports: Class, Object,
Method, Data Abstraction, Encapsulation, Inheritance, Polymorphism, etc.

10. Portable Language:


 Python is a portable language. Because same python code is run on any platform like Windows,
UNIX/Linux, Mac OS, etc.

PREPARED BY: VIPUL J.PATEL Page 2

You might also like