Murray Saul's INT322 Webpage  
 
INT322 Course Notes
Week Coverage
Weeks 8 - 13
Attention:

June 20, 2005
(Week 7)
Content:
  • Working with Files / Continued...
    1. Pipes
    2. Testing File Attributes
    3. tell / seek / truncate
  • Regular Expressions
    1. Purpose
    2. Characters / Wildcard / Repetition
    3. Anchors & Assertions
    4. Grouping / Back-References
In-Class Exercises: Samples: (refer to int322 topic notes - June 20, 2005)
June 13, 2005
(Week 6)
Content:
  • Built-in Functions
    1. Review String / Array / Data List
    2. Hash / Plus
  • Working with Files
  • Test #1 [ click here ] for date/time, FAQs, Topic Coverage
In-Class Exercises: Samples: (refer to int322 topic notes - June 13, 2005)
June 6, 2005
(Week 5)
Content:
  • Discuss Assignment #1
  • Review Sub-Routines
  • Variable Scope
  • Common Functions
  • Built-in Functions:
    1. Strings
    2. Arrays
    3. List Data
    4. Hash Arrays
In-Class Exercises: Samples: Assignment #1 Submission Checklist: (refer to int322 topic notes - June 6, 2005)
June 6, 2005
(Week 4)
Content:
  • Discuss Assignment #1
  • Operators
  • Statements / Control Statements
  • Special Variables
  • Common Functions
  • Subroutines (aka user-defined functions)
In-Class Exercises: Samples: Slides: (previous semester - Chris Tyler)

Please refer to Last previous week's slides

(refer to int322 topic notes - May 30, 2005)
May 23, 2005
(Week 3)
Content:
  • Introduction to Perl
  • Literals
  • Variables (Scalar, Arrays, Associative Arrays)
  • Operators
  • Statements / Control Statements
  • Preparation for Assignment #1
Assignment #1 Preparation
(Due Friday June 3, 2005 for 1%) In-Class Exercises: Slides: (previous semester - Chris Tyler)

Part I    [ pdf ]    [ HTML ]

Part II    [ pdf ]    [ HTML ]

(refer to int322 topic notes - May 23, 2005)
May 16, 2005
(Week 2)
Content:
  • Browser / Server CGI Interaction
  • Bash Shell Scripts
  • Introduction to Perl Scripts
Labs:
  • This virtual Labs to be run & completed in Matrix
    Due: May 25, 2005 @ 23:00:00 (This tutorial worth 1% of final grade)

    Issue in Matrix shell prompt to run:

    • /home/murray.saul/322labs/322_lab4
Practice Exercise (includes solutions):

[ Basic Linux Commands ]

Sample Bash Shell Scripts (not covered on tests or exams - for interest only)

[ script 1 ]   [ script 2 ]   [ script 3 ]   [ script 4 ]   [ script 5 ]   [ script 6 ]   [ script 8 ]

Example of a Bash Shell script called "maketable" that takes data from files (eg. salary, salary2, salary3) and builds table rows and columns with data and updates html file
(eg: maketable salary file.html
maketable salary2 file.html
maketable salary3 file.html
   ).
As demonstrated in class - here are the files

[ salary ]   [ salary2 ]   [ salary3 ]   [ file.html ]   [ maketable ]

For Interest:

Online resource to obtain response using both GET and HEAD methods. Note: it may appear that it generated an error, but be patient to see the results...

[ HTTP Header ]

Slides: (previous semester - Chris Tyler)

Part I    [ pdf ]    [ HTML ]

Part II    [ pdf ]    [ HTML ]

(refer to int322 topic notes - May 16, 2005)
May 9, 2005
(Week 1)
Content: Labs:
  • Virtual Labs to be run & completed in Matrix
    Due: May 22, 2005 @ 23:00:00 (Each tutorial worth .5 % of final grade)

    Issue in Matrix shell prompt to run:
    (Please run each tutorial/lab in the order displayed)

    • /home/murray.saul/322labs/vi_tutorial
    • /home/murray.saul/322labs/322_lab1
    • /home/murray.saul/322labs/322_lab2
    • /home/murray.saul/322labs/322_lab3
Exercise:

To be completed in Zenit
Due: May 22, 2005 @ 23:00:00 (worth: 1% of final grade)

Edit your web homepage in Zenit - include the following:

  1. Your full name
  2. Your student number
  3. Your Picture or a drawing of yourself
  4. A working link to your learn e-mail address
Slides: (previous semester - Chris Tyler)

[ pdf ]    [ HTML ]

(refer to int322 topic notes - May 9, 2005)

Room: TEL2105      e-mail: murray.saul@senecac.on.ca

Valid CSS!