0% found this document useful (0 votes)
3 views3 pages

Python Programming Question Bank

Uploaded by

rushikesha1905
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)
3 views3 pages

Python Programming Question Bank

Uploaded by

rushikesha1905
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

1. State and explain any six features of python.

2. State any six applications of python

3. Explain input command in python with suitable example.

4. Explain print command in python with suitable example.

5. Explain any six arithmetic operators of python with suitable examples of each.

6. Explain any six assignment operators of python with suitable examples of each.

7. Explain all comparison operators of python with suitable examples of each.

8. Explain “and, or, not” operators of python with suitable examples of each

9. Explain following operators of python with suitable examples of each. A) is B) in C) not in

10. Explain all bitwise operators of python with suitable examples of each.

11. Explain while loop with suitable example?

12. Explain for loop with suitable example?

13. Explain break, continue and pass statement with suitable example of each.

14. Differentiate between List, Tuple & Set with suitable examples of each.

15. Explain any three collection data types of Python with suitable examples of each.

16. Explain append() and copy() methods of list with suitable examples of each.

17. Explain count() and index() methods of list with suitable examples of each.

18. Explain insert() and remove() methods of list with suitable examples of each.

19. Explain reverse() and remove() methods of list with suitable examples of each.

20. Explain clear() and extend() methods of list with suitable examples of each.

21. Explain pop() and sort() methods of list with suitable examples of each.

22. What are the different flow control statements supported in Python? Explain all the flow control
statements with example code and syntax.

[Link] a short note on break and continue statement in python

24.** What are functions? Explain Python function with parameters and return statements
[Link] a program that takes a number as input and determines whether it is positive, negative, or
zero
26. Name any three different data types in Python and explain each
27. What is indentation in python?
28. What are the rules for naming a variable/identifier?
29. Explain types of operators in python
30. What is the use of identity operators in python?
31. Explain the looping statements in python with syntax and examples?
32. What is python pass statement?
33. What is slicing? Explain string slicing with examples
34. What is dictionary? How to create a dictionary in python?
35. Explain methods used in python lists
36. What is indexing and negative indexing in tuple?
37. Explain built in functions used in tuple?
38. Explain the basic operations that can be performed in python?
39. What is dictionary? Explain python dictionaries in detail, discuss its operations and methods
40. What is package in python?
41. How to open a new file in python?
42. What is text file? Give an example for a text file
43. Explain in detail python files, its types, functions and operations that can
be performed on files with examples
44. What is tuple? What is the difference between list and tuple?
45. Explain the features and applications of python
46. What is quotation and comments in python?
47. Explain operators in python.
48. What is type conversion in python?
49. How to create a random number in python?
[Link] Local and global scopes in python? What are local and global variables in python
51. Write a short note on Built in modules (random, time, calendar and math…) in python
51. What is escape sequence in python?
52. What is String? Explain operations on string

53. ***How to create and store a string in python? Explain string handling functions in python

54. Write a short note on List operators

55. Explain basic operations (creation, initialization…) in dictionaries

[Link] dictionary methods in python

57. Explain built in tuple functions

58. Explain tuple methods in python

59. ****Differentiate tuples and dictionaries

60. How to create a set? Explain operations and functions/Methods in set.

[Link] is file? explain file operations(opening, closing, Reading and append)


62. Write a short notes on Seek() and Tell()

63. What is python pickle? Explain python pickle module

64. What is class? How to define a class in python?

65. ***What is encapsulation? Explain with examples

66. What is polymorphism? Explain its types

67.*** What is inheritance? Explain types of inheritance in python?

68. ***What is method overriding? Explain with examples

69. What is data visualization and random walk in python?

70. What is matplotlib? how to plot a Line graph in pyton

You might also like