Python Programming Question Bank(BPLCK205B)
IA Test - I
1. What is python ? List the salient features of the python programming language?
2. List and Explain different type of operators in Python. Write the step by step execution of
the following expression in Python. 3/2*4 + 3 + (10/4)**3 – 2
3. What is an arithmetic expression? . What is the output of the following statement?
‘hello world’ + 100 + ’how are you’ Explain the reason if the statement produces an error.
4. Discuss various methods of importing modules in Python programs. Which method is best?.
Explain.
5. What is a flow control statement?. Discuss if and if else statements with flow chart.
6. Write a python program to add n numbers accepted from the user.
7. Write a Python program to print Fibonacci series upto n terms.
8. Write a python program that finds the factorial of a natural number n
9. Explain usage of continue, break, and pass keyword in python
10. Explain while loop & for loop with syntax and example in detail
11. Write a program to find the sum of all and even numbers of n elements.Here skip the
numbers which are divisible by 3
12. Develop a Python Program to calculate area and circumference of a circle. Input the value of
radius and print the result.
13. Explain: i) Def statements with parameters ii) Return values and return statements with an
example
14. What are functions ? Explain Types of Functions with suitable examples. Also explain local
and global scope of variable with example
15. Develop a program to read students details like Name,USN and Marks in three subjects.
Display the student’s detail, total marks and percentage with suitable messages.