COMP 111: Software Tools (Summer 2001)

With wide-spread deployment of high-performance PC Linux servers and other UNIX-based web-servers nowadays, UNIX is regaining popularity in various communities.  This course provides an introduction to UNIX and some software tools in this environment, covering the following topics: UNIX utilities and file structure; Links and symbolic links; Data processing and process control in the Unix shell; Shell programming; Regular expressions; and Perl programming in the UNIX environment. Laboratory  exercises are designed to give hands-on practice with software tools and to increase programmer productivity.


COMP111 Course Information

Course Page:  http://www.cs.ust.hk/~kwchiu/comp111s
Newsgroup:    hkust.cs.class.111

Instructor: Dr. Dickson K.W. CHIU (Ph.D., HKUST)
http://www.cs.ust.hk/~kwchiu/
Room 3512, phone: x8771
email: kwchiu@cs.ust.hk
Office Hours: You can make appointments with me by email.

Demonstrator: Mr. Eric LIN Chi Wing (Room 4204) (email: cslcw@cs.ust.hk)
Office Hour: By email appointment or see him in the labs.
TA: Mr. Ray SHUN Yeuk Kiu  (email: rayshun@cs.ust.hk)
TA: Mr. LI Hui Hui  (email: hhli@cs.ust.hk)

Lecture: Tue, Thur

 

13:00 - 14:50 Lecture Theatre F (LTF)
Lab1A: 15:00 - 16:50 Room 4214 (Lab 2)
Lab1B: 17:00 - 18:50 Room 4214 (Lab 2)
Texts:  (okay to share with a friend)
[U]: Unix System V: A Practical Guide, Sobell, Addison-Wesley, 3rd Ed. '95. 
        
(many other UNIX textbooks are also fine)
[P]: Learning Perl, Schwartz & Christiansen, O'Reilly, 2nd Ed. '97.
Some Important / Useful links:
Information for labs (Pls read before 1st lab):
http://www.cs.ust.hk/cssystem/UG/
Local UNIX help: http://www.cs.ust.hk/cssystem/SYSTEM/UNIXhelp
HTML tutorials: (do a web search for "HTML tutorial for more":
http://www.davesite.com/webstation/html/
(basic tutorial)
http://www.mcli.dist.maricopa.edu/tut/   (with some advanced stuffs)
http://htmlprimer.com/ (with some advanced stuffs)
http://www.webspawner.com/cc/html/alpha.htm
(HTML Cross Reference)
Evaluation: around 11 labs (30%), midterm (30%), final (40%).
Grades for lab: 1a  1b  (Midterm: max 91, mean=61.4, min <15, std=14.5)

                                   


 
 

Tentative Course Schedule

Wk. Lect. Date Topic/Notes Book Lab
1 1
June 26 Intro to Unix (.ppt)
Unix utilities (.ppt)
(partial video)
U1,2
U3
(no lab)
2
June 28 Unix file system (.ppt) (video)
Links (.ppt) (video)
U4
U4
Lab1
(ans)
2 3 July 3 Shell (.ppt)(video)
Shell programming (.ppt)(video)
U5
U10
Lab2
(ans)
4
July 5 Shell programming (video)
More shell program (.ppt)
(video)
U10
U10
Lab3
(ans)
3 5 July 10 Archive Utilities (.ppt)(video)
More Unix Concepts and Administration
(.ppt)(video)
--
U14
Lab4
(ans)
6 July 12 Review (old midterm)
mid term :July 16: 12:00-14:00 (Rm 4334 - note the time)
Lab5
(ans)
4 7 July 17 Intro to Perl (.ppt)(video)
Perl basics (.ppt) (video)
P1
P2
(no lab)
8 July 19 Perl control flow (.ppt)(video)(video)
Perl arrays and lists (.ppt)(video)

Perl directory access (.ppt)(video)
P3
P4,9
Lab6
(ans)
5 9 July 24 Perl hashes (.ppt)(video)
Perl i/o (.ppt)(video)
P5
P6
Lab7
(ans)
10
July 26 Regular expressions (.ppt)(video)
P7
Lab8
(ans)
6 11 July 31 Perl functions (.ppt)(video)
Perl file i/o (.ppt)(video)
Perl process mgmt (.ppt)(video)
P8
P10
Lab9
(ans)
12 Aug 2 CGI in Perl (.ppt)(video)
CGI (.ppt)(video)
(Reference: HTML Tutorial)
P12,13
Lab10
(ans)
7 13 Aug 7 (no Lecture)
P19 Lab11
(ans)
(demo)
14 Aug 9 Review (Old Exam) P14
      Final Exam: Aug 13 (Mon) 
18:30-20:30 Rm 3007
Run Demo Demo12
(ans)