COMP111 Unix and Script Programming    

Spring 2008

 

Lectures: Monday & Wednesday 9:00 – 9:50  Rm 2502

Office Hours: Tuesday & Thursday 16:30 – 17:30  Rm 3508

Huamin Qu (Email: huamin (at) cs dot ust dot hk )

 

| Schedule & Notes  | Newsgroup |

 


Announcements:

  • The final project presentation schedule is available now. Please check the lecture schedule for the last few weeks.
  • The final project is due at 23:59pm, Apr. 27 (Sunday).
  • The midterm exam of COMP111 is scheduled at 7pm – 9pm on Apr. 18 (Fri).   The venue is LTJ.
  • No labs  on 1 Feb and 8 Feb
  • Welcome!

Schedule:

 

Week

Lect.

Date

Topic/Notes

Book

Quiz

Lab

Links

1

1
2

 4 Feb
 6 Feb

Intro to Unix
Unix utilities

U1,2
U3

Q1

Holiday
No lab

Unix History

2

3
4

11 Feb
13 Feb

Unix file system
Links, Shell

U4
U4,5

Q2

 Lab 1 & 2

Pronunciation Guide

3

5
6

18 Feb
20 Feb

Shell programming
Shell programming

U10
U10

Q3

Lab 3

Shell Resources

4

7
8

25 Feb
27 Feb

Into to Perl,
Perl Basics

P1
P2

Q4

Lab 4

 

5

9
10

 3 Mar
 5 Mar

Perl arrays and lists
Perl control flow

P3
P4,9

Q5

Lab 5

 

6

11
12

 10 Mar
12 Mar

Perl i/o, Perl file i/o
Perl functions, Makefiles,

P6,10
P8

Q6


Lab 6

 

7

13
14

17 Mar
19 Mar

Perl hashes,
Regular expressions

P5
P7

Q7

   Study Break    

        No lab

 

7

 

24 Mar
26 Mar

No class (Mid-Semester Break)

No class (Mid-Semester Break)

 



 

Lab 7

 

8

15
16

31 Mar
 2 Apr

Regular expressions
Perl directory access, Perl process management

P7
P12-13,14

Q8

Holiday
No lab

 

9

17
18

 7 Apr
 9 Apr

HTML
CGI in Perl, CGI2

P19
P19



Lab 8

 

10

19


20

14 Apr


16 Apr

 

18 Apr

Server Push & Client Pull,

 

Review (old midterm, old final)

 

Midterm

P19



Lab9

 

11

21
22

21 Apr
23 Apr

Go over midterm

Review

 


 Lab10

 

12

23
24

28 Apr


30 Apr

Presentations (Group 3, 16, 6, 12, 18, 1)

Presentations (Group 25, 23, 9, 20, 4, 19)

 



 

13

25
26

 5 May


 7 May

Presentations (Group 17, 5, 2, 7, 26, 15)

Presentations (Group 14, 11, 8, 13, 21, 24)

 

 


 

14

 

12 May

14 May

Holiday

Presentations (Group 22, 10)

 

 

 

 

                              Slides are courtesy of  Prof. Andrew Horner

 

Contacts:

 

 

Name

Email

Room

Office Hour

Professor

Huamin QU

huamin@cse.ust.hk

3508

Tuesday & Thursday 16:30 – 17:30

TA

Chuck-Jee CHAU

        cscjchau@ust.hk

TBA

TBA

TA

Wing-Yi CHAN

winchan@cse.ust.hk

4204

TBA

TA

Ka-Kei CHUNG

kkchung@cse.ust.hk

4204

TBA

TA

Haomian WANG

whaomian@cse.ust.hk

4204

TBA


Labs: 

Section

   Day

Time

Room

TA

1A

Friday

13:00 – 14:50

4214

Haomian Wang

1B

Friday

15:00 – 16:50

4214

         Ka-Kei Chung

1C

Friday

17:00 – 18:50

4214

Wing-Yi Chan

 

 


Course Description: (From the HKUST course catalog)

UNIX is popular alternative to the Windows environment, especially in high-performance PC Linux servers and other UNIX-based web servers. Topics include: Unix utilities and file structure, Links and symbolic links, Data processing and process control in the Unix shell, Shell programming, Regular expressions, Perl programming in the Unix environment. Laboratory exercises are designed to give hands-on practice with software tools and to increase programmer productivity.

 


Textbook (available at the HKUST bookstore and on reserve in the library):

  • [U]: Unix System V: A Practical Guide, Sobell, Add-Wes., 3rd Ed. '95. 
  • [P]: Learning Perl, Schwartz & Christiansen, O'Reilly, 2nd Ed. '97.  

 


Grading Scheme:

  • 10 Lab assignments 20% (2% each)
  • Midterm Exam 50%
  • Project and Presentation 30% (schedule: to be announced)

Midterm Exam Schedule:

  • Date: Apr. 18 (Fri)
  • Time: 1900 – 2100
  • Venue: LTJ

 


Illness: If you have a medical reason for handing in your assignment late or for missing an examination, you should let us know as soon as possible.

Midterm and Final: No make-ups will be given unless prior approval is granted by the instructor, or you are in unfavorable medical condition with physician's documentation on the day of the examination.

Collaboration: You are encouraged to collaborate in study groups. However, you must write up solutions on your own for written assignments, and write your own programs for programming assignments. You must also acknowledge your collaborators in your submitted assignment for each problem, whether or not they are classmates. Other cases will be dealt with as plagiarism.

Plagiarism: If you cheat on an assignment, both you and the person who helped you will receive a lower grade or the fail grade F. Please refer to the class notes for details.

University Policy: