Skip to content

Kumar-Gaurav-1/class-12-python-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python MIT Class 12

Python Projects

Sixteen programs written for Class 12 Computer Science. Each one demonstrates a single concept — clearly, without abstraction.


Programs

Arithmetic & Logic

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

File Handling

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

Data Structures

Program What it does
IMPLEMENT STACK OPERATIONS(LIST).py Stack via list — doctor record management
IMPLEMENT STACK OPERATIONS(Dictionary).py Stack via dictionary

MySQL Integration

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

Requirements

  • Python 3.x
  • MySQL 8.0 (for database scripts only)
  • pip install mysql-connector-python (for database scripts only)

Usage

python3 "FIBONACCI SERIES.py"

All programs are interactive — they prompt for input, then show results.


MIT License

About

Sixteen Python programs from Class 12 Computer Science — file handling, data structures, MySQL integration

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages