Page 138 - Computer Science V2.0 Class 11
P. 138
3. Name programming language of which Python is a successor.
Ans. ABC programming language
4. In which year was the first version of Python released?
Ans. 1991
5. Do we require expertise in computer hardware before learning Python?
Ans. No
6. Name any three application areas of Python.
Ans. Machine Learning, web development, animations in movies
7. Write four features that make Python popular.
Ans. (i) Easy to use (ii) Interpreted (iii) Freely available (iv) Open Source.
8. Give any two advantages of Python.
Ans. (i) It is easy to learn and use. (ii) A huge set of libraries is available for different applications.
9. Give any two disadvantages of Python.
Ans. (i) Slow speed of execution (ii) Memory inefficient
10. Expand the acronym: OSI.
Ans. Open Source Initiative
11. Name the two types of windows supported by IDLE.
Ans. Shell Window and Python Editor
Case-based Questions
1. Arun wants to learn to program in Python. For this, he has to install Python from www.python.org. Write the steps that he
should follow to download and install Python.
Ans. i. Open any browser and type https://www.python.org/downloads/ in the address bar.
ii. To download the desired Python version compatible with the operating system installed on your computer, click on the
appropriate link. The click will initiate the download.
iii. Once the Python is downloaded, double-click on the executable file to run the setup. Follow the instructions to install
the software.
2. Arunima installed Python on her laptop. She read about IDLE and the two working modes of the Python application but
could not understand them completely. Explain to her about IDLE and the two modes of using Python.
Ans. Integrated Development Learning Environment (IDLE) is a simple, integrated learning environment that allows us to create,
edit, run, and debug a Python program interactively.
IDLE has two main window types—the Shell window and the Editor window—giving us two modes to work–Interactive
Mode and Script Mode. The interactive Python interpreter is also known as the Python Shell. It executes the Python
instructions one by one as they are entered.
To be able to save multiple instructions for future use in the form of a file (typically with a .py extension), we use the
Python Editor. To use the IDLE editor, click on the File menu: File -> New.
Assessment
A. Multiple choice questions.
1. Which of the following languages is understood by the computer?
a. English b. Hindi c. Binary d. High-level programming language
2. Which of the following modes of Python allows you to save the instructions in the form of a file?
a. Interactive mode b. Script mode c. File mode d. Shell mode
124 Touchpad Computer Science (Ver. 2.0)-XI

