This repository contains Python programs developed as part of the BCA Semester IV Python Lab. All programs are written in a clear, structured, and well-commented format as per academic requirements.
The repository covers the following topics:
- Basic Python concepts (data types, operators, variables)
- Conditional statements and loops
- String, list, tuple, and dictionary operations
- Functions and modular programming
- File handling (read, write, append, copy, seek)
- Exception handling (try-except, multiple exceptions, custom exceptions)
- Database operations using SQLite (CRUD, transactions)
- NumPy for array operations
- Pandas for data analysis
- Matplotlib for data visualization
Each program is stored as a separate file:
Q1.py, Q2.py, Q3.py, ... Q31.py
Each file includes:
- The complete question
- Proper comments
- Clean and readable code
- Python 3
- SQLite3
- NumPy
- Pandas
- Matplotlib
-
Install Python (3.x)
-
Install required libraries (if needed):
pip install numpy pandas matplotlib
-
Run any program:
python Q14.py
This repository is created for:
- Academic submission
- Practical exam preparation
- Understanding core Python concepts
Ankit Kumar BCA Semester IV Student
All programs are tested and working. File names and structure are maintained for clarity and easy evaluation.