0% found this document useful (0 votes)
7 views

Python Programming_Assignment no.1

This document is an assignment on Python programming that includes a series of questions covering various topics such as dry runs, selection statements, type conversion, and functions. It also addresses concepts like lists, tuples, dictionaries, regular expressions, and exception handling. The assignment aims to test the understanding of fundamental Python programming concepts and their applications.

Uploaded by

ashwinpunmagr99
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Python Programming_Assignment no.1

This document is an assignment on Python programming that includes a series of questions covering various topics such as dry runs, selection statements, type conversion, and functions. It also addresses concepts like lists, tuples, dictionaries, regular expressions, and exception handling. The assignment aims to test the understanding of fundamental Python programming concepts and their applications.

Uploaded by

ashwinpunmagr99
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Python Programming

Assignment no.1

1. What is dry run in Python?

2. Give the purpose of selection statements in Python.

3. List the types of type conversion in Python.

4. What is the use of pass statement?

5. Explain the function enumerate( ).

6. Explain the extend method of list.

7. What are required arguments in function?

8. Explain any 2 functions in time module.

9. What are the types of file in Python?

10. Write the use of seek & tell function.

11. What are the advantages of Python?

12. List out main differences between lists & tuple.

13. Python is a scripting language. Comment.

14. Demonstrate set with example.

15. What is dictionary? Give example.

16. What is regEx? give example.

17. What is user defined Module? Give example.

18. Python is case sensitive language. Comment.

19. What is lambda function? Give example.


20. How to handle exception in Python?

21. Explain any 2 meta characters used in regular expression.

22. Explain any 2 built-in list functions.

23. Explain backward indexing in strings.

24. Define identifiers.

25. What is the use of seek ( ) & tell ( ) functions?

26. Demonstrate list slicing.

26. A tuple is ordered collection of items. Comment.

27. Write a short note on datatypes in Python.

28. Write a short note on exception handling.

29. What is a module? What is package? Explain with example.

30. What are lists and tuples? What is the key difference between the two?

You might also like