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

basics of py

The document is a question bank for Python programming for the academic year 2024-25. It includes various topics such as data types, operators, control statements, and built-in functions, along with programming tasks to demonstrate understanding. The questions cover both theoretical explanations and practical coding exercises.

Uploaded by

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

basics of py

The document is a question bank for Python programming for the academic year 2024-25. It includes various topics such as data types, operators, control statements, and built-in functions, along with programming tasks to demonstrate understanding. The questions cover both theoretical explanations and practical coding exercises.

Uploaded by

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

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

You might also like