User Tools

Site Tools


course_outline

Course Outline

The course outline is a guideline to topics that will be discussed in the course, and when they will be discussed:

Week 1

Lecture

Lab

Week 2

Lecture

Lab

In the lab we will repeat the exercise from week 1.

Week 3

Lecture

Lab

Week 4

Lecture

Lab

This lab is a continuation and extension of lab3. You can use the code developed during previous lab session (and are encouraged to do so).

Week 5

Lecture

Lab

This lab is a continuation and extension of lab4. You can use the code developed during previous lab session (and are encouraged to do so).

Your goal is to implement the same behavior you implemented in lab4 (you used multiple dynamically allocated arrays) using a LINKED LIST.

Your program should allocate memory dynamically and free it at the end. No memory leeks are should appear!

Submit your code using the following command

submit 2031 lab5 lab5.c

Submission folder will be closed on Friday midnight!

Week 6

Lecture

Lab

Submit before Friday midnight!

Week 7

Lecture

Labtest 1

June 17 and June 18 in the lab

Week 8 - Midterm

June 24 2014 during the lecture

Lab

Please try to solve this question

Useful tutorials are posted in Resources section

Week 9

Lecture

There is no lecture. Happy Canada Day!

Lab

We will use lab to answer all you questions. Also it is a chance to discuss mid-term results.

Drop Deadline

Last date to drop course without receiving a grade is July 4 2014

Week 10

Lecture

Lab

Week 11

Lecture

Lab

Solutions

To test your solution with AWK use the following command:

awk -f lab11.awk test.prn

submit your AWK solution using the following command:

submit 2031 lab11 lab11.awk

NOTE: Try to do the same thing with grep and other tools in sh

If you have your shell solution use:

submit 2031 lab11 lab11.sh

Week 12

Lecture

Labtest 2

July 22 and July 23 in the lab

Labtest info

You will be provided with small tasks and asked to write one or two shell scripts and one AWK script. You should review the work from lab and try to write some scripts such as

  • merging and joining files,
  • finding certain files in the system (using ls, grep, cut and pipes),
  • searching for and extracting information from semi-structured files (e.g. removing tags from html file using shell script, finding data in CSV files)
  • using AWK to process the file and print it in a specified format

You will be able to use man pages during the labtest. Also your submissions will be available to you.

It is closed-book exam. You can have a clean sheet of paper and a pen/pencil with you.

Solutions

Week 13

Week 13

Review will be held during our last lecture Last day of classes is July 29 2014

Skip the slides about testing

Final Exam

The final test will be held on Thursday, August 7, 2014 at 9:00 AM in LSB 106

course_outline.txt · Last modified: 2014/08/05 17:00 by pawluk