Assignment unit-1, 2
1. What are the conditional statements in python? Explain all conditional statement in python.
2. Explain if statement with help of example.
3. Explain expression evaluation and float representation with example. Write a program to
check that given number is Fibonacci number or not.
4. Define loop. also discuss the purpose and working of loops.
5. Discuss break and continue statement with example.
6. Differentiate between while and for loop.
7. Difference between list and array
8. Explain the break and continue statement with example.
9. Discuss why python is dynamic and strongly typed language?
10. Explain how the pass statement is different from comment?
11. Explain why python is considered an interpreted language.
12. Explain the tuple and unpacking sequence in python data structure.
13. What do you mean by python IDE? Explain in detail.
14. How you can randomize the items of a list in place in python.
15. Explain the programming cycle for python in details
16. Explain why python is considered an interpreted language.
17. What is the difference between import library and from library import.
18. How do you read an input from a user in python to be used as an integer in the rest of the
program? Explain with an example.
19. Describe the behavior of range (s, e) in python.
20. What is raise statement / describe with an example.