Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

you are to design a Java GUI application using linked lists to manage a \"virtua

ID: 3652287 • Letter: Y

Question

you are to design a Java GUI application using linked lists to manage a "virtual" disk. The disk is organized into "sectors" indexed from 0. Each sector can store up to 256 bytes (or 128 characters). The user will use an editor (included in the application) to create, open, edit, save and deleted text files on the disk.An "allocation" table is used to allocate/de-allocate the disk sectors for files. Each entry in the table corresponds to a disk sector (for example, entry 0 corresponds to index 0 sector, entry 1 to index 1 sector.....) and contains an integer which indicates how the corresponding disk sector is used. For example, -2 means the sector is not used, -1 means the sector is the last sector used by a file, and a positive integer shows the index of the next sector used by a file (the link to next sector). The filename, the index of the first disk sector used by the file and the file size in bytes are kept in a (virtual) directory.
The diagrams below illustrate how the disk management system works and how it can be implemented by linked lists. The directory shows there are two files on the disk

Explanation / Answer

check http://www.chegg.com/homework-help/questions-and-answers/explained-class-design-java-gui-application-using-linked-lists-manage-virtual-disk-disk-or-q3345498