0% found this document useful (0 votes)
7 views2 pages

PWP Practical List

The document is a practical list of Python programming tasks designed for practice. It covers a wide range of topics including basic input/output, operators, control structures, data structures (lists, tuples, sets, dictionaries), functions, modules, classes, and GUI programming. Each task is aimed at enhancing programming skills through hands-on implementation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

PWP Practical List

The document is a practical list of Python programming tasks designed for practice. It covers a wide range of topics including basic input/output, operators, control structures, data structures (lists, tuples, sets, dictionaries), functions, modules, classes, and GUI programming. Each task is aimed at enhancing programming skills through hands-on implementation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

PWP External Practical List for Practice (314004)

Sr Problem Statement
No
1 Implement python program to take input from user (name, rollno, college name, address)
and display information.
2 Implement python program using following operator 1)Arithmetic 2)Relational and Logical
3)Assignment
3 Implement python program using following operator 1)Bitwise 2)Membership 3)Identity
4 Implement python program to perform 1)if-else (to calculate even and odd) 2)nested
if(check if 12 is divisible by 2 and 3)
5 Implement python program to perform if-elif-else( take marks of five subject and display
the grades)
6 Implement python program to perform 1)for loop 2) while loop
7 Implement python program to perform following operations on list 1)Create a list 2) Access
a list 3) Update a list 4)delete a list
8 Implement python program to perform any eight built in functions on list
9 Implement python program to perform following operations on Tuple1)Create a Tuple 2)
Access a Tuple 3) Print a Tuple 4)delete a Tuple 5)Convert Tuple into list
10 Implement python program to perform following operations on Set 1)Create a set 2) Access
a set 3) Update a set 4)delete a set
11 Implement python program to perform following operations on Set 1)Union 2) Intersection
3) Difference 4)Symmetric Difference
12 Implement python program to perform following operations on Set 1)Union 2) Intersection
3) Difference 4)Symmetric Difference
13 Implement python program to perform following operations on dictionary 1) Create a
dictionary 2) Access a dictionary 3) Update a dictionary 4) delete a dictionary 5) Looping
through dictionary(use for loop or while loop) 6) Create dictionary from list
14 Write a user define function to implement following
features:1) Function without argument 2) Function with argument 3) Function returning
value
15 Implement user defined function for given problem:1) Function positional/required
argument 2) Function with keyword argument 3)Function with default argument
4)Function with variable length argument
16 Write Python program to demonstrate use of following
advanced functions:1) lambda 2)map 3) reduce
17 Write a python program to create and use a user defined
module for a given problem.(create module that will ask your name, rollno, address, college
name, div)
18 Write a python program to demonstrate the use of
following module:1) math module 2) random module 3) os module(Any three functions
from each module)
19 Write python program to create and use a user defined
package for a given problem.(Create a package for all arithmetic Operations)
20 Develop a python program to perform following
operations:1)Creating a Class with method 2) Creating Objects of class 3) Accessing method
using object
21 Write a python program to demonstrate the use of
constructors:1) Default 2) Parameterized 3.)Constructor Overloading
22 Implement a python program to
demonstrate1. Method Overloading (create a class to print the area of a square and a
rectangle. The class has two methods with the same name but different number of
parameters. The method for printing area of rectangle has two parameters which are length
PWP External Practical List for Practice (314004)

and breadth respectively while the other method for printing area of square has one
parameter which is side of square.) 2) Method Overriding (create a class 'Degree' having a
method 'get Degree' that prints "I got a degree". It has two subclasses namely
'Undergraduate' and Postgraduate' each having a method with the same name that prints "I
am an Undergraduate" and "I am a Postgraduate" respectively. Call the method by creating
an object of each of the three classes.)
23 Write a python program to implement 1) Single inheritance 2) Multiple Inheritance
3)Multilevel inheritance
24 Write python GUI program to import Tkinter package
and create a window and set its title also create Registration form (Input Name, Email,
Password)
25 Write a python program to find factorial of given number using for loop
26 Write a python program to print all even and odd numbers from 1 to 100 using for or while
loop
27 Write a python program to implement Break and continue statement
28 Write a python program to concatenate two lists
29 Write a python program to Swap two numbers
30 Write a python program to 1)check whether a year is leap or not 2) check if person is
eligible for voting or not

You might also like