PWP
PT-1 Question Bank (2024-25)
1) List and explain different modes of Python.
2) How to give single and multiline comment in Python
3) Write basic operations of list
4) Compare list and tuple. (Any 2 points)
5) Explain logical operators in python with example
6) Give two differences between set and dictionary
7) Explain relational operators in python
8) Explain four Built-in tuple functions python with example
9) Describe break and continue with example.
10) Explain mutable and immutable data structures
11) List operations on set
12) List data types in Python. Explain any two with example
13) Write a Python Program to accept values from user in a list and find
the largest number and smallest number in a list.
14) Explain Membership and Assignment operators in python
15) Write python program to perform following operations on Sets.
i)Create set
ii)Access set Element
iii)Update set
iv)Delete set
16)Explain decision making statement if – else, if-elif-else with example.
17)Explain building blocks of Python
18)WAP to check entered no is prime or not
19)Explain creating Dictionary and accessing Dictionary Elements with example.
20) Write a Python program to find the factorial of a number provided by the user