RECENT ASSIGNMENT

Tweet Share WhatsApp Share
GET ANSWERS / LIVE CHAT


CSG5116 – Advanced Scripting
Workshop 3 – No News is Good News
Assessment Note: This workshop forms part of the Portfolio assessment
Background
Since Jeff’s last encounter with work there has been no more contact. Jeff had always invisioned himself enjoying a life of sloth, but something just didn’t seem quite right to him. Jeff was bored. After a few months of considering his options Jeff has decided to make use of E-Tech Management’s professional development program. Jeff is going to get a degree. Jeff has enrolled in a course at ECU and has decided to automate timetable generation.
Task
Write a script that communicates with the ECU timetable website at http://apps.wcms.ecu.edu.au/semester-timetable/overview.
• The script will accept a list of unit codes as standard input and the year as an argument.
• The script will gather a list of all results for the particular unit code and store the results in an sqlite3 database
• The data stored will include
o The name & unit code of the unit
o The activities for the unit, including start time, finish time, description (lecture/tute/workshop etc), location & period (Semester 1, Semester 2, etc)
• On completion of data gathering the script will present the information gathered as standard output, this should appear in a human readable format.
Testing
The following will be used to test your submissions. You should use this to make sure your script works prior to handing it in.
A file named units.txt that contains the following:
csi3207
csg5116
csi3208
The following command will be executed to test your program, no additional information will be entered.
$ cat units.txt | ./timetable.sh 2015
Submission Requirements
The created bash script should be submitted with the name timetable.sh to the Workshop 3 section under assessments on blackboard
Notes
Your work must comply with ECU referencing guidelines and plagiarism policy



GET ANSWERS / LIVE CHAT