The schedule is updated frequently. Please, check regularly. Unless otherwise stated, all reading and programming assignments are from Deitel’s “Perl How to Program”.
| Date | Description | In-class activities | Reading Assignment | Programming Assignment |
|---|---|---|---|---|
| 01/24 | Course Overview | Questionnaire (10 points). | Section 1.12 and Chapter 2. |
|
| 01/29 | Introduction to Perl and UNIX |
|
Chapter 3. | Exercises 2.9, 2.11, 3.10 Solutions to 2.9, 2.11 and 3.10 |
| 01/31 | Basic Perl Constructs. | Programming Workshop 1 (not graded). | Exercises 3.13, 3.14(a), 4.5, 4.6, 4.8
Solutions to 3.13, 3.14(a), 4.5, 4.6, 4.8 | |
| 02/05 | Perl Arrays.
textbook errata (thanks to Ervi Bongso for finding the link) |
Programming Workshop 1 (checked in class).
Additional programming exercises |
Chapter 4. |
|
| 02/07 | Perl Arrays and Hashes | Programming Workshop 2 (10 points): | Chapter 5. | Exercises 4.7, 4.9 and 5.10.
Solution to Exercises 4.7, 4.9, and 5.10 |
| 02/12 | Lists, Arrays, Hashes and Control Structures | Programming Workshop Two due:
Check submission guidelines |
Chapters 1-5. |
Solution to Exercises 5.6 and 5.9 |
| 02/14 | Lists and Perl functions | Quiz One | Chapter 6. |
|
| 02/19 | Control structures, subroutines | script with unless and next control structures | Chapter 6 |
|
| 02/21 | Variable Scope and Packages | Programming Workshop Three HIV1.txt HIV2.txt |
Chapter 7 |
|
| 02/26 | Variable Scopes. Recursion vs Iteration. | Perl scope rules
notrample.pl DNA.pm Paired t-test | Chapters 1-6. | Prepare for Midterm One:
Midterm Review Midterm Practice Exam |
| 02/28 | Exam One | Chapter 7 | First CGI script (10 points) due Tuesday, March 4,
2008, beginning of the lecture.
Self-Review Exercises 7.1-7.4 (do not submit). Programming Exercises 7.7 and 7.8 (do not submit). Solutions to Exercises 7.7 and 7.8 |
|
| 03/04 | Exam One back. | Post-exam review
Sample solutions to Problems 3-9. |
Chapter 7 and Chapter 6 (Sections 6.14 and 5.15) | Test all CGI examples from Chapter 7
Due March 11, 2008 by midnight: each student should collect 10 non-spam (text) e-mail messages and 10 spam (text) e-mail messages. Each group should e-mail 20 spam and 20 non-spam messages to me by the deadline. One e-mail per group, please. Details are found here |
| 03/06 | Perl CGI | Programming Workshop Four
HTML for Exercise 7.9 Set up Apache in DH450 httpd.conf file |
Chapter 8
Naive Bayesian classifier. |
Self-Review Exercises 8.2-8.4
Programming exercises 8.5 and 8.6 Solutions to 8.5 and 8.6 Print the following handout, understand and answer all the questions and submit one copy per group on March 11, 2008 at the beginning of the lecture (10 points). Quiz Two given in Spring 2007 |
| 03/11 | Perl Modules and CGI | PW Four | Chapters 1-8 | Prepare for Quiz Two.
An excellent tutorial on Perl Modules from Wrox |
| 03/13 | Bayesian classifier | Quiz Two: 30 min
Programming Workshop Five training data |
Chapter 8. |
Programming Exercises 8.7 and 8.9 and PW5
Solution to 8.7 and 8.9 |
| 03/18 | Bayesian classifier |
Quiz 2 Key (DNA.pm was posted on 02/26)
PW 5 POD info test case 1 test case 2 |
Chapter 9 | Work on classifiers.
additional source for RegEx quiz on RegEx given in Spring 2007 |
| 03/20 | Bayesian classifier | PW 5 due end of class (20 points):
training set 2 test case 3 |
Chapters 9 and 10 | Self-Review Exercises 9.2, 9.3, 9.4, 9.5, 10.1 - 10.4 pp. 341-342.
Programming Exercise 9.7, 10.5, 10.6 and 10.7 pp. 343-344. Solutions to 9.7, 10.5, 10.6 and 10.7 |
| 03/25 | Spring break | |||
| 03/27 | Spring break | |||
| 04/01 | Regular Expressions | Lecture | Chapters 1-10 |
Bayesian classifier
by Srilatha Attaluri and Sean Gilpin (Spring 2007)
Bayesian classifier by Yue Chen and Tom Chien (best in Spring 2008) Midterm Two Review Midterm two given in Spring 2007 Practice midterm given in Spring 2007 |
| 04/03 | Midterm Two | Chapter 11 | Programming Exercises 11.5, 11.6, 11.8, and 11.9
Deitel's solutions to 11.5, 11.6, 11.8 and 11.9 are available here |
|
| 04/08 | Regex | Lecture/PW Six
On-line agenda interface |
Chapter 12 | PW Six |
| 04/10 | File I/O | Lecture/PW 6 | Chapter 12 | PW Six |
| 04/15 | RegEx and CGI | Lecture/PW 6 | Chapter 16 (CGI) | PW Six |
| 04/17 | CGI | PW 6 | Chapters 1-12 | Self-Review 12.1, 12.2, 12.3, and 12.4
Programming Exercises 12.5 and 12.6. Input file for Exercise 12.6 is available here Quiz Three given in Spring 2007. |
| 04/22 | Quiz Three | PW 6 demo due | Chapter 12 and
Perl format primer on the web. |
Programming Exercises 12.7 and 12.8. Please, have your solutions to 12.5 and 12.6 (assigned on 04/17) on Thursday in class. |
| 04/24 | Formatting | Lecture/Lab
lab description lab files |
Chapter 13 pp. 400-432. | Self-Review Exercises 13.1, 13.2, 13.3 (a, b, c, d), and 13.4.
Exercise 13.5 p. 438 Solution to 13.5 |
| 04/29 | Formatting and References | Lab
lab description |
Chapter 13 | Complete labs of April 24 and April 29. |
| 05/01 | Multi-dimensional Data Structures | PW 7
Today's files Matrix multiplication Solutions to 1-4. |
Chapter 14 | Self-Review 14.1-14.3.
Programming Exercises 14.5-14.7. |
| 05/06 | Multi-dimensional data structures |
Today's lab
RLE information |
Chapters 1-14 | Prepare for Quiz 4 |
| 05/08 | Multi-dimensional data structures | Quiz 4
sample programs |
||
| 05/13 | Final Review | |||
| 05/21 | Final Exam |
©2007-2008 Natasha Khuri