Page 54 - Information_Practice_Fliipbook_Class11
P. 54
D. Answer the following questions:
1. Differentiate between a compiled and an interpreted programming language. Give one example of each.
Ans. A compiled language such as C++, converts the entire program (source code) into machine language (object code) in one
go. All the errors are reported together. Once all the errors are rectified, the program is re-compiled and executed.
In the case of an interpreted language such as Python, the interpreter converts the statements in the program into machine
language one by one. If the interpreter encounters an error in a statement, it must be rectified before the interpreter can
proceed further.
2. Who developed Python?
Ans. Guido Van Rossum
3. Name programming languages of which Python is a successor.
Ans. ABC
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) Available free
(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
12. Which key is pressed to run a Python script?
Ans. F5
13. What is the shortcut key to close the IDLE window?
Ans. Alt + F4
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.
40 Touchpad Informatics Practices-XI

