There Are 4 Parts For The Project The Question May Be Long To Read Bu The project comprises four parts, each requiring implementation of classes and functions to simulate a disk drive, manage files and directories, create a shell interface, and develop a database system. The first part involves creating a class Sdisk to emulate a disk drive with specified blocks and block sizes, handling file creation, reading, and writing with strict adherence to specifications. The second part extends this by developing a Filesys class to manage a file system on the disk, including directory and File Allocation Table (FAT) management, with functions for creating, deleting, reading, and writing files and blocks. The third part introduces a Shell class to interact with the file system, providing commands like listing directories, adding or removing files, and copying files. The fourth and final part involves creating a Table class for a database system that reads records from a data file, builds indexed files, and allows searching records by date, utilizing the underlying file system for storage and retrieval.
Paper For Above instruction The comprehensive system being developed in this project requires a layered and modular approach, starting from basic disk simulation to complex database management. Each part builds upon the previous, emphasizing object-oriented design principles, proper file management, and efficient data access methods. Part 1: Disk Drive Simulation with Sdisk Class At the core of this project is the Sdisk class, which replicates a physical disk drive using a file stored on the host system. The class is designed with three primary attributes: the disk's filename, the number of blocks, and the block size in bytes. Its