0% found this document useful (0 votes)
9 views1 page

Python Programming Concepts Explained

The document outlines an assignment covering various topics in Python, including conditional statements, loops, data structures, and the programming cycle. It includes specific tasks such as explaining if statements, evaluating expressions, and differentiating between lists and arrays. Additionally, it addresses Python's characteristics as a dynamic and interpreted language, along with practical programming examples.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

Python Programming Concepts Explained

The document outlines an assignment covering various topics in Python, including conditional statements, loops, data structures, and the programming cycle. It includes specific tasks such as explaining if statements, evaluating expressions, and differentiating between lists and arrays. Additionally, it addresses Python's characteristics as a dynamic and interpreted language, along with practical programming examples.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like