Professional Documents
Culture Documents
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
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
2) What is a Program?
3) What is an algorithm?