Scripting Languages: Assignment 3 Software Based Solution
Unit Learning Outcomes aligned with this assessment
UO 2: Design software solutions to perform desired tasks.
UO 3: Develop and deploy scripted software solutions using industry standard scripting languages to meet functional requirements.
CLO 2: Apply comprehensive knowledge of concepts, principles, and techniques in the cyber security discipline to both theoretical as well as practical situations.
CLO 3: Apply creative thinking to identify and solve cyber security challenges.
Task: Part 1, Writing the Script (30 marks)
Having completed your two main portfolio activities, you have now been tasked with creating a script to build on that knowledge. Your script will automatically retrieve information from the ECU website, specifically in the Media Gallery page pertaining to the School of Science’s Cyber security courses.
Inside the gallery you will see a selection of thumbnail images with an associated image number;
Your task is to write a script solution that displays the following functionality, reliability and quality
Present the user with the following menu options, with the functionality to which option refers being facilitated by your script solution:
When the file or files are downloaded the output (assuming no errors) should report to screen the following;
Downloading [image number], with the file name [filename and extension], with a file size of [file size and metric]
As an example, if I selected to download DSC01566 the output would look like this;
Downloading DSC01566, with the file name DSC01566.jpg, with a file size of
45.34 KB….File Download Complete
For multiple files being downloaded, each file will be printed on its own line
Downloading DSC01533, with the file name DSC01533.jpg, with a file size of
44.32 KB….File Download Complete
Downloading DSC01536, with the file name DSC01536.jpg, with a file size of
48.39 KB….File Download Complete
Downloading DSC01543, with the file name DSC01543.jpg, with a file size of
48.28 KB….File Download Complete
When the user selects menu item 5) Clean up ALL files, all directories and files created by your script are to be deleted from the system, leaving nothing behind. This means that your tutor’s working directory will be returned to its original state in preparation for the next student to be marked. Please note: this function will be carefully perused before being executed, and if appears that it may delete anything other than the directory and files your script created, it will not be run and no marks for this section will be awarded.
For solution, connect with online professionals.