PROJECT
Duration: 15 Hours
Scenario:
A hosting company providing file storage services for user to upload text and image files had contacted you to develop a program for automating maintenance tasks. The maintenance task includes separation of image and text into two folders, identify and highlight text files that could contain virus and delete the affected files. C You are to develop this project utilizing data operation, control structure and error handling to manage information to and from information store for this maintenance task automation.
Objective:
To test the abilities of students to:
- Create interface with appropriate configurations according to requirements.
- Select appropriate data to capture information according to requirements.
- Apply appropriate operators to perform specific mathematics or logical functions according to requirements.
- Apply appropriate control structure to control the flow of execution according to requirement.
- Create information store to facilitate task data storage according to requirement.
- Manipulate data flow between process and information store according to requirement.
- Develop appropriate execution handling to manage error according to requirement.
- Compile program for deployment and rollout.
Major Tools & Equipment:
- Personal Computer
- Windows 10 or latest
- Microsoft Visual Studio IDE
Instructions:
- You are to note down ALL the important points during the demonstration of this project by your lecturer
- You will be provided with a template to help you to start with the initial developing of this project
- Module lecturer has the right to change the instruction and requirements based on the situation Copyright, Institute of Technical Education
Requirements:
1 You are to create a static class name MyAssistant. The purpose of this class is to manage ALL the methods that are to be used in this project.
2 Create a Dictionary name MIMETypesDictionary to recognize the content of the input file. (BONUS)
3 Create an Introduction Menu to prompt for user input on the menu options as shown in Figure 1.
Introduction Menu
Figure 1 Create an Image Folder Display to display ALL the files in the image folder as shown in Figure 2.
Image Folder Display
Figure 2 Create a Text Folder Display to display ALL the files in the text folder as shown in Figure 3.
Text Folder Display
Figure 3
Create a ALL Files Display to display ALL the file path and file type in the image folder and text folder as shown in Figure 4.
All Files Folder Display
Figure 4
Classify ALL files according to their respective folder(image or text) as stated in Option 4 in Figure 1. List the total number of files in the image folder and the text folder. Perform a check on abnormal content and display them as shown in Figure 5.
Abnormal Content Display
Record the file name, file size and abnormal text of all file with abnormal text into a log file.
10 Perform multiple deletion of files as shown in Figure 6.
Delete Files
Figure 6
11 After the user select to delete (Y) or not delete (N) file, the program MUST return to Introduction menu as shown in Figure 7.
Figure 7 12 Provide appropriate exception handling code to take care of situation that are out of the context of the program for example, user enter alphabet instead of numbers for the menu option. Think of as many situation as possible that could cause error in the behavior of the program. ---END OF PROJECT---
Submit by: Thursday 02 March 2023 (5pm)