Python Programming Experiment List
(BCC302 / BCC402)
EXP 1: Basics of Python
Write a program to demonstrate basic variable declarations and data types (int, float,
bool, string).
Use operators (+, -, *, /, %, //, **) and print results.
EXP 2: Control Flow Statements
Implement a Python program using if, elif, and else statements.
Write a program to check whether a number is prime or not using loops and
conditionals.
EXP 3: Loops and Iterations
Program using for and while loops to print patterns (e.g., pyramid, number patterns).
Use break, continue, and pass statements effectively in loops.
EXP 4: Working with Strings
Write programs to perform string slicing, concatenation, comparison, and in-built
functions like .upper(), .find(), .replace().
EXP 5: List Operations
Create, access, slice, and modify lists.
Use in-built functions like append(), extend(), remove(), sort().
EXP 6: Tuple and Dictionary Operations
Demonstrate tuple creation and immutability.
Perform basic dictionary operations: add, remove, update key-value pairs.
EXP 7: User-defined Functions
Write functions with parameters and return values.
Use default and keyword arguments. Demonstrate *args and **kwargs.
EXP 8: File Handling
Read from and write to text files using read(), readline(), write(), and writelines().
Use with statement for file operations and seek() to manipulate the file pointer.
EXP 9: Working with Python Packages
Use NumPy to perform array operations.
Use Pandas to read .csv files and perform basic data analysis (mean, max, min).
Use Matplotlib to plot simple graphs.
EXP 10: GUI Programming with Tkinter
Create a basic GUI window using Tkinter.
Add widgets like Label, Button, Entry; handle basic events (e.g., button click).
EXP 11: Mini Project / Integration Task
Develop a small application integrating file handling, functions, and a GUI (e.g., student
record system, calculator, simple text editor).