Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
5 views

Getting Started With Python CH - 2

Uploaded by

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

Getting Started With Python CH - 2

Uploaded by

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

Ch – 2

Getting Started with Python

Python - Is High level programming language. It is an easy to learn yet powerful


object oriented language. Python programming language was developed by Guido
Van Rossum in February 1991.

Python – Pluses
1. Easy to Use – It is compact and easy with very simple syntax rules.
2. Expressive – Fewer lines of code and simpler syntax as compared to other
language.
3. Intepreted Language – As it is interpreted language no need to compiled.
4. Its Completness - Python has modules ande standard library.
5. Cross-platform Language – Python can run any platform like windows,
Linus/Unix etc.
6. Free and Open Source – Python language is freely available with its source-
code.
7. Variety of Usage/ Application - It is used in a variety of fields, including
software development, web development, scientific computing, big data and
Artificial Intelligence.
Python - Minuses

Question/Answers
1. When was Python Released?
Ans. Python was released in1991.
2. Who was Python's developer and which two languages contributed to
Python as a programming language?
Ans. Python programming language was developed by Guido Van Rossum
in 1991. It is based on ABC language and Modula – 3.
3. What is a cross-platform software?
Ans. A cross platform language means it can run well on variety of
platforms like Windows, Linux/Unix, Machintosh etc.
4. What are the advantages of Python programming language?
Ans. Though Python language came into being in early 1990's yet it is
competing with ever-popular language such as C, C++, Java etc.
(1) Easy to use
(2) Expressive Language
(3) Intepreted Language
(4) Its Completeness
(5) Cross-platform Language
(6) Free and Open Source
(7) Variety of Usage/ Application
5. What are some limitations of Python programming language?
Ans. Although Python is very powerful yet simple language with so many
advantages, it is not the perfect Programming language.
(1) Not the Fastest Language
(2) Lesser Libraries than C, Java
(3) Not Strong on Trype-binding
(4) Not Easily Convertible
6. In how many different ways, can you work in Python?
Ans. We can work in Python in two ways.
(1) Interective Mode
(2) Script Mode
7. What are the advantages/disadvantages of working in Interactive
mode in Python?
Ans. Advantages - Interactive mode proves very useful for testing code;
we type the commands one by one and get the result or error one by one.
Disadvangages- Interactive mode program can not save for further
execution.

8. What are the advantages/disadvantages of working in script mode in


Python?
Ans. Advantages – The script mode command we can save for further
execution or modication.
Disadvantages – It is slower than Interactive mode as we have to save file
and run that program for execution.

You might also like