Course Title: Create scripts for networking

Part B: Course Detail

Teaching Period: Term2 2017

Course Code: COSC6202C

Course Title: Create scripts for networking

School: 174T School of VE Engineering, Health & Science

Campus: City Campus

Program: C4378 - Certificate IV in Information Technology Networking

Course Contact: Alex Buono

Course Contact Phone: +61 3 9925 4475

Course Contact Email: alex.buono@rmit.edu.au


Name and Contact Details of All Other Relevant Staff

Alex Buono

Ph: 99254475

Email: alex.buono@rmit.edu.au

Nominal Hours: 60

Regardless of the mode of delivery, represent a guide to the relative teaching time and student effort required to successfully achieve a particular competency/module. This may include not only scheduled classes or workplace visits but also the amount of effort required to undertake, evaluate and complete all assessment requirements, including any non-classroom activities.

Pre-requisites and Co-requisites

NiI

Course Description

This unit describes the performance outcomes, skills and knowledge required to undertake scripted programming tasks for networking related activities.

This course explores Linux and *nix through the command line, Bash scripting and Ubuntu. You will learn to work at the *nix command line, and transfer this knowledge to writing basic scripts.

Topics include
• Basic scripts, the development of writing scripts from the terminal to the script
• System security – separate user and root accounts, escalation of privileges, root via sudo su, sudo command, configuring the sudo’ers file with visudo.
• Standard permissions with owner and groups, read write and execute file permissions.
• File permissions: chmod, chown, chgrp, ls –al.
• File types, binary and text files, library files, symlinks. Compare with Windows dlls and shortcuts.
• Bash programming language, control structures. Functions, passing arguments from the command line, loops, if then, else and case statements, program return error code. Built in variables and PATH. The bash interpreter. Local variables and basic data types and manipulations with strings. Functions.
• Command line utilities relevant to networking. ps, netstat, ifconfig, ping, tail -f, htop
• *nix language in a Bash shell–mkdir, rm, cd, pushd, popd, pwd, ls, cp, mv -i, man, whoami, pipes, output redirection, echo, cat, grep, xterm &, pattern matching, “.” and “..” directories, ~, hidden files beginning with a period “.”, command line arguments, command line in scripts
• Scheduler through crontab with relative and absolute paths, logs, log files and logging messages
• vi editor skills
• *nix updates and software installation using # apt-get. In Ubuntu or Linux Mint configuring the proxy server for apt-get update.
 


National Codes, Titles, Elements and Performance Criteria

National Element Code & Title:

ICTNWK409 Create scripts for networking

Element:

1. Develop algorithms to represent solutions to a given problem

Performance Criteria:

1.1 Consult with client and key stakeholders to identify the problem and associated script requirements

1.2 Employ abbreviated software development cycle to script creation

1.3 Develop an algorithm to solve the problem and meet client requirements

1.4 Develop an algorithm which takes account of expected possible situations

1.5 Develop an algorithm which is guaranteed to end

1.6 Use structure, sequence, selection and iteration

Element:

2. Create code

Performance Criteria:

2.1 Select appropriate scripting language

2.2 Demonstrate understanding and application of basic language syntax rules and best practices

2.3 Select and use language data types, operators and expressions to create clear and concise code

2.4 Use techniques of selection, iteration and sequence to control script execution flow

2.5 Use techniques for sequential file input and output to retrieve and store information

2.6 Obtain and use user input to affect the operation of the script

2.7 Apply internal document principles to created code

2.8 Follow organisational guidelines for developing maintainable code when creating scripts

2.9 Adhere to coding standards when creating scripts

Element:

3. Use operating system tools

Performance Criteria:

3.1 Use searching and sorting tools to select information from the logging output of operating system (OS)

3.2 Implement controls to ensure that where significant events occur, script creates and maintains a log of operations via operating system logging mechanism

3.3 Register and run scripts with OS scheduling facility

Element:

4. Test and debug code

Performance Criteria:

    

4.1 Engineer, document and conduct simple tests to confirm code meets design specification

4.2 Identify areas that are not covered or are covered incorrectly in the script

4.3 Take action to ensure that code complies with security policy

4.4 Take action to ensure that code operates with proper permissions

4.5 Use script debugging techniques suitable for use with scripting language to detect and resolve errors of syntactical, logical and design origin

Element:

5. Document script

Performance Criteria:

5.1 Create technical-level documentation

5.2 Create user-level documentation


Learning Outcomes


Develope scripted programming abilities.  Develope skills in BASH. 

This course contributes to the development of the following capabilities:
• Develop shell scripts
• Using Linux at the command line
• Monitor processes by command line tools and the GUI.
• Identify and manage standard permissions
• Write a basic menu program
• Modify and testing your code
• Documenting code


Details of Learning Activities

This unit describes the skills and knowledge required to undertake scripted programming tasks for networking related activities.


Teaching Schedule

 

Week

Topic

Elements

1

Introduction to Scripting

Setup Linux Mint (Lab)

1.1

2

Planning your script

Planning your Script (Lab)
Online Quiz 1 Released (Due Week 3)

1.1 - 1.6

3

Creating Your First Script

Introduction to Scripting(Lab)

2.1 - 2.3

4

Selection, Iteration, I/O

Selection, Iteration, I/O (Lab)

Online Quiz 2 released (Due Week 5)

2.4, 2.5

5

User Input, commenting and Coding standards

Menus and user input (Lab)

2.6 - 2.9

6

User Input, commenting and Coding standards cont.

Menus and user input (Lab) cont.

Assignment (Due Week 8)

2.6 - 2.9

7

Assignment

 

8

Assignment

 

9

Use Operating System Tools

Use OS Tools (Lab)

Online Quiz 3 released (Due Week 10)

3.1 - 3.3

10

Testing

Test code to ensure requirements are met (lab)

4.1 - 4.5

11

Testing

Test code to ensure requirements are met (lab)

4.1 - 4.5

12

Documentation

Documentation (Lab)

Online Quiz 4 (Due Week 13)

5.1 - 5.2

13

Powershell

Powershell (Lab)

2.1 - 2.4

14

Powershell cont.

Powershell (Lab) cont.

Online Quiz 5 Released (Due Week 15)

2.5 - 2.9

15

Project (Due Week 17)

 

16

Project (Due Week 17)

 

17

Project (Due Week 17)

 

18

Final Resubmissions (if available)

 

 


Learning Resources

Prescribed Texts


References


Other Resources

We will be using Virtualisation to create scripts on different operating systems for this course.

You will be required to bring along or purchase an External Hard Drive (Minimum 500GB) to complete your assessments. Without it, you will not be able to complete this course.

It is your responsibility to have this organized by the end of week 1 at the latest.

The school computers do not allocate you anywhere near enough disk space for you to install Virtual Machines on your profiles.


Overview of Assessment

Students must pass each of the following assessment tasks to demonstrate competent.

Assessment

Task 1

Online Quizzes

Task 2

Assignments

Task 3

Project

These tasks assess the following Course Learning Outcomes (CLOs):

Assessment Mapping Matix

Element/

Performance Criteria Covered

Task 1 

Task 2

Task 3

1.1

x

   

1.2

x

x

x

1.3

x

x

x

1.4

x

x

x

1.5

x

x

x

1.6

x

x

x

2.1

 

x

x

2.2

x

x

x

2.3

x

x

x

2.4

x

x

x

2.5

x

x

x

2.6

 

x

x

2.7

 

x

x

2.8

 

x

x

2.9

 

x

x

3.1

x

 

x

3.2

x

 

x

3.3

x

 

x

4.1

   

x

4.2

x

 

x

4.3

x

 

x

4.4

x

 

x

4.5

x

 

x

5.1

x

 

x

5.2

x

 

x

 

 

 

 

 

 

 

 

 

To be deemed competent student must demonstrate an understanding of all aspects required of the competency. Assessment methods have been designed to measure student's achievement of each competency in a flexible manner over multiple tasks.


Assessment Tasks

  1. Online quizzes
  2. Assignment
  3. Project

You are permitted to have a maximum of 2 resubmissions for this course, however each individual assessment may only be resubmitted once.

All resubmissions must be completed and submitted no more than 7 days after your work has been graded.


Assessment Matrix

Students must pass each of the following assessment tasks to demonstrate competent.

 

Assessment

Task 1

Online Quizzes

Task 2

Assignment

Task 3

Project


These tasks assesses the following Course Learning Outcomes (CLOs):

Assessment  Mapping Matrix

 

Element/

Performance Criteria Covered

Task 1

Task 2

Task 3

1.1

x

   

1.2

x

x

x

1.3

x

x

x

1.4

x

x

x

1.5

x

x

x

1.6

x

x

x

2.1

 

x

x

2.2

x

x

x

2.3

x

x

x

2.4

x

x

x

2.5

x

x

x

2.6

 

x

x

2.7

 

x

x

2.8

 

x

x

2.9

 

x

x

3.1

x

 

x

3.2

x

 

x

3.3

x

 

x

4.1

   

x

4.2

x

 

x

4.3

x

 

x

4.4

x

 

x

4.5

x

 

x

5.1

x

 

x

5.2

x

 

x

 

To be deemed competent you must demonstrate an understanding of all aspects required of the competency. Assessment methods have been designed to measure your achievement of each competency in a flexible manner over multiple tasks.

Other Information

Credit Transfer and/or Recognition of Prior Learning (RPL):
You may be eligible for credit towards courses in your program if you have already met the learning/competency outcomes through previous learning and/or industry experience. To be eligible for credit towards a course, you must demonstrate that you have already completed learning and/or gained industry experience that is:

  • Relevant
    • Current
    • Satisfies the learning/competency outcomes of the course

Please refer to http://www.rmit.edu.au/students/enrolment/credit to find more information about credit transfer and RPL.
 

Study and learning Support: 

Study and Learning Centre (SLC) provides free learning and academic development advice to you. 
Services offered by SLC to support your numeracy and literacy skills are: 

assignment writing, thesis writing and study skills advice 
maths and science developmental support and advice 
English language development 

Please Refer http://www.rmit.edu.au/studyandlearningcentre to find more information about Study and learning Support 

Equitable Learning Services (ELS):

If you are suffering from long-term medical condition or disability, you should contact Equitable Learning Services (ELS) to seek advice and support to complete your studies.
Please refer to https://www.rmit.edu.au/students/support-and-facilities/student-support/equitable-learning-services to find more information about services offered by Equitable Learning Services (ELS).

Late submission: 

If you require an Extension of Submittable Work (assignments, reports or project work etc.) for 7 calendar days or less (from the original due date) and have valid reasons, you must complete and lodge an Application for Extension of Submittable Work (7 Calendar Days or less) form and lodge it with the Senior Educator/ Program Manager. 
The application must be lodged no later than one working day before the official due date. You will be notified within no more than 2 working days of the date of lodgment as to whether the extension has been granted. 
If you seek an Extension of Submittable Work for more than 7 calendar days (from the original due date) must lodge an Application for Special Consideration form under the provisions of the Special Consideration Policy, preferably prior to, but no later than 2 working days after the official due date. 

Submittable Work (assignments, reports or project work etc.) submitted late without approval of an extension will not be accepted or marked. 


Special consideration: 

Please Refer http://www.rmit.edu.au/students/specialconsideration to find more information about special consideration 

Plagiarism: 

Plagiarism is a form of cheating and it is very serious academic offence that may lead to expulsion from the University. 

Please Refer: www.rmit.edu.au/academicintegrity to find more information about plagiarism. 

Other Information: 

All email communications will be sent to your RMIT email address and you must regularly check your RMIT emails.

Course Overview: Access Course Overview