Sixteen programs written for Class 12 Computer Science. Each one demonstrates a single concept — clearly, without abstraction.
| Program |
What it does |
Arthmetic.py |
Menu-driven calculator — add, subtract, multiply, divide |
FIBONACCI SERIES.py |
Generates N terms of the Fibonacci sequence |
Factorial and sum of list.py |
Computes factorial, sums list elements |
MATHEMATICAL FUNCTIONS.py |
math module — squares, cubes, roots, logs |
RANDOM NUMBER.py |
Number guessing game with random |
| Program |
What it does |
TEXT FILE.py |
Reads a file, displays with # separator |
TEXT FILE AND DISPLAY.py |
Counts vowels, consonants, digits, special characters |
CREATE AND SEARCH EMPLOYEE'S RECORD IN CSV FILE..py |
Employee records in CSV |
CREATE AND SEARCH RECORDS IN BINARY FILE.py |
Binary file with pickle |
MODIFY RECORDS IN BINARY FILE.py |
Full CRUD on binary records |
| Program |
What it does |
IMPLEMENT STACK OPERATIONS(LIST).py |
Stack via list — doctor record management |
IMPLEMENT STACK OPERATIONS(Dictionary).py |
Stack via dictionary |
| Program |
What it does |
INTEGRATE MYSQL WITH PYTHON (CREATING...).py |
Creates database and table |
INTEGRATE MYSQL WITH PYTHON (INSERTING...).py |
Inserts and displays records |
INTEGRATE MYSQL WITH PYTHON (SEARCHING...).py |
Searches records by query |
INTEGRATE MYSQL WITH PYTHON (UPDATING...).py |
Updates existing records |
- Python 3.x
- MySQL 8.0 (for database scripts only)
pip install mysql-connector-python (for database scripts only)
python3 "FIBONACCI SERIES.py"
All programs are interactive — they prompt for input, then show results.
MIT License