Reference no: EM132379328
CSI6203 Scripting Languages
Assignment: Software Based Solution
Unit Learning Outcomes aligned with this assessment
• ULO 2: Design, develop and deploy scripted software solutions to perform desired tasks.
• ULO 3: Use industry standard scripting languages to create software-based solutions.
Course Learning Outcomes aligned with this assessment
• CLO1:Reflect critically on a complex body of cyber security focused knowledge, research principles and methods to demonstrate mastery of professional practice.
• CLO 4: Use high level self-management skills to initiate, plan and execute a complex cyber security research paper or professional project.
Task:
You have been tasked with creating a script to automatically retrieve information from the North American Space Association (NASA) website.
Each day, NASA posts a new astronomy image. The image also includes a title for the image, explanation text for the image and credits for the image's origin. Your task is to write a bash script that can be used to access this information. The script should work as follows:
• Given a specific date, the script should be able to download the image posted on that date
• Given a specific date, the script should be able to download the title, explanation text and credits
• Given two dates, the script should be able to download all images posted between the two dates (maximum of 10 images at a time)
Additional Requirements:
• If the NASA website is unavailable, the script should print an appropriate error message and exit with a status of 1
• Downloaded images should be named after the title of the image (eg. "The Sombrero Galaxy in Infrared.jpg"
• If a filename is specified, the image or output should be saved to that file. If no file is specified, the image should be downloaded to the current directory
• The script should use command line options to control behaviour (see examples)
The assignment should make use of version control. Be sure to commit your work to a git repository regularly
Attachment:- Assignment - Software Based Solution.rar