Question: You are implementing a simple file system for an operating system for managing files and folders; similar to Windows or UNIX. Your design should follow

 You are implementing a simple file system for an operating system

You are implementing a simple file system for an operating system for managing files and folders; similar to Windows or UNIX. Your design should follow the following guidelines i) The entire file system is represented by an object which is the reference to the root folder ii) Any folder in the file system may contain two types of items, folders (subfolder) and files and you want to treat both in the same way iii) possible operations: getName, getPermission, listItem (1 point) What is the most appropriate design pattern? (3 points) Draw the class diagram, and make it clear what are the main components and what are their roles, and show the relationship between classes? (6 points) write code of the main components in your design

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!