Tech Stack - Python
A FIR Portal based on File Strutures Concepts:
- Collision Resolutions Using Bucketing.
- Variable Length Records
- Hash Key = Case Place
Key Functionalities:
- Login and Signup
- Registering FIR
- Searching for FIR
- Deleting FIR
- Displaying Contents Of Buckets
Insertion Of A Record:
- In this project ,hash address is generated for case place based on the addrees generated case place along with its fir no(firno|caseplace) occupy its home address in bucket file. Bucket file is made up of 0 to 9 address spaces i.e 10 buckets. Each buckets can hold upto 5 records that is they are made up of 5 slots.When all slots get filled in corresponding bucket it leads in Bucket Overflow due to collission and corresponding recording will not be inserted into that slot.
Deletion Of A Record:(Tombstones for handling deletion(####)):
- Whenever record is deleted its entry in bucketfile will also get deleted and it is replaced with #### indicating record is deleted a new record can be inserted into that slot.
Note: The format of FIR ID while registering should be 'F' followed by 3 digits. Ex: F123
How to RUN the project:
- Install necessary library - Tkinter
- RUN
python InitMain.py
Screenshots