You are on page 1of 2

AN OVERVIEW OF PYTHON

A. Fill in the blanks


1) algorithm
2) libraries
3) interpreter
4) computer program
5) print()

B. Write T for True and F for False


1) False 2) True 3) False 4) True 5) False
C. Select the correct option
1) a 2) b 3) c 4) a

D. Answer the following

1) What are the key features of python? Name any 4 applications of python.
A. Key Features of Python :-

The key features of Python are i) Easy to learn, read and maintain ii)
Interactive mode iii) Extendability iv) A broad standard library v)
Portability and compatibility vi) Interfaces to databases and Scalability

Applications of Python

The applications of Python are i) Web development ii) Software


development iii) Database Access iv) Game Development

2) Explain python input and output functions with the help of an example.
A. Output Functions :- The Print() function is used to display a data output
on the standard output devices(a screen).
Syntax : print(“Hello World”)
Input Functions:- A program usually needs to communicate with an
outside source by obtaining input data from the user and displaying result
based on it back to the user.
Syntax : x=input(‘Enter your name’)
3) Explain escape characters with example.
Escape Characters :- Escape characters are generally used to perform certain
tasks and usage within the code directs the compiler to take a suitable action,
mapped that character.
Example :- \’ – Single quote
\\ – Backslash
\n – New line
\t – Tab
\b – Backspace

Extra Questions

1) What is Python and who developed it?

A. Python is a dynamic, high-level, free open source and interpreted


programming language. Guido Van Rossum developed Python in the late
1980’s.

2) What is a Program?

A. A program is a set of instructions that a computer follows in order to perform


a particular task.

3) What is an algorithm?

A. An algorithm is a set of commands that must be followed for a computer to


perform calculations or other problem-solving operations.

You might also like