Spring 2009

CS1120: Computer Science II

Instructor Information

Stephany Coffman-Wolph
Email: scoffman@cs.wmich.edu
Office Location: B-259
Office Hours: T 1:30-2:30 PM and W 2:30-4:30 PM

Course Information

Time and Location: MW 4:30 PM - 5:45 PM, CEAS C-227
Prerequisite: CS1110 - Computer Science I or equivalent with a grade of C or better
Co-requisite: Math1220 or Math 2000
Syllabus: html version

Recent Updates:

For those who need it: the make-up PMT is Friday, April 17, 2009 2:30-4:30 PM in C-227.

Final Exam: Monday April 20 @ 5-7 PM

By common request: Practice PMT Cipher Question Possible Solution.
Some general information regarding the solution: There are several ways to coding solutions - if/then/else or case statement would also serve very nicely. Another possible method: an array with 2 rows, 26 columns. In one row, you put the alphabet going from A to Z. In the other row, you put the alphabet from Z to A. The shortest (but most challenging) solution would be to manipulate the Unicode values.

Remember for the PMT: you need a solution that works!

There have been a lot of questions regarding assignment #8a and b regarding sharing information between forms and passing information between forms. I have some examples that may help you out: example 1 and example 2. (Let me know if there are still questions, but look at these first).

Reminder: Assignment #8a is now due with assignment #8b. The due dates are as follows:
Wednesday Lab - 4/15
Thursday Lab - 4/16
Monday Lab - 4/20

A selection of sample PMT's are available (download zip here). The real PMT will be given the last week of lab (during the week of April 13). If you have any questions regarding the PMT feel free to ask - email me, post a question on the discussion boards, or talk to me at class.

Schedule

Day: Lecture Notes: Other:
01/05/2009 Lecture Notes: Intro Lecture (ppt) and Software Life Cycle (ppt)
01/07/2009 Lecture Notes: Control Structures (pdf), Arrays (pdf), and Sorting Arrays, etc (pdf) Worksheet 1 (html) and Worksheet 1 Step-by-Step
01/12/2009 Dr. Yang will be giving the lecture (see his website)
01/14/2009 Lecture Notes: Recursion (ppt) and Inheritance Recursion Worksheet and possible solution
01/19/2009 Reminder - No Class (MLK Day)
01/21/2009 Lecture Notes: Quick Wrap-up Recursion (ppt) and Inheritance continued In class example, Worksheet III, the code to get you started, and possible solution
01/26/2009 Dr. Yang will be giving the lecture (see his website)
01/28/2009 Polymorphism, Interfaces, Operator Overloading In class example, Upcasting/Downcasting Examples, link to Operator Overloading (msdn), and link to Interfaces (msdn)
02/02/2009 Review for Exam #1: Bring, Post on the discussion board (see the e-learning website for lecture section), or Email Questions! I will be holding extra office hours on Monday from 3:30-4:30 PM Topics for Midterm and some review material
02/04/2009 Exam #1: grades now availabel via e-learning
02/09/2009 Windows Form Applications In-class activity for Windows Forms and possible solution
02/11/2009 Exception Handling In-class activity for Exception Handling - please submit whatever you have done by the end of class via e-learning (for participation points). A possible solution
02/16/2009 String, StringBuilder, and Regular Expressions Regular Expresions Rule Summary Reference Sheet
02/18/2009 Compilers/Regular Expressions (briefly) and Pair Programming Regular expression examples worksheet (and solutions). In-class activity for Regular Expressions, and a possible solution
02/23/2009 Files and Streams
02/25/2009 Data Structures In-class activity on Files and Streams - please submit whatever you have done by the end of class via e-learning (for participation points). Possible solution.
03/09/2009 Review for Exam #2: Bring, Post on the discussion board (see the e-learning website for lecture section), or Email Questions! Topics for Exam #2
03/11/2009 Exam #2: grades now availabel via e-learning
03/16/2009 Dr. Yang will be giving the lecture (see his website)
03/18/2009 Continuation of Data Structures In-class activity regarding linked lists and code referenced in doc file. Possible solution.
03/23/2009 Dr. Yang will be giving the lecture (see his website)
03/25/2009 In-class Activity for Stacks and Queues and input file. Possible solution.
03/30/2009 Dr. Yang will be giving the lecture (see his website)
04/01/2009 Collections Generic Examples.
04/06/2009 Dr. Yang will be giving the lecture (see his website)
04/08/2009 Sorting
04/13/2009 Dr. Yang will be giving the lecture (see his website)
04/15/2009 Final Review Activities
04/20/2009 Final Exam 5:00 p.m. - 7:00 p.m.

Other Sections of CS1120

Instrutor: Office Hours: Locaiton: Website:
Dr. Yang (email: zijiang.yang@wmich.edu) MW 11:45 AM - 12:45 PM B257 http://www.cs.wmich.edu/~zijiang/CS1120/
Dr. Lilien (email: llilien@cs.wmich.edu) T 12:00 - 1:00 PM, R 6:15 - 7:15 PM B249 http://www.cs.wmich.edu/~llilien/teaching/2009spr/cs1120/

Lab

Instructor: Time: Office Hours: Location: Website:
Jeremy Mange (email: jeremy.b.mange@wmich.edu) M 8:30 AM M, T, and R 10:30 AM-12:30 PM C210 Jeremy Mange's CS1120 lab website
Danyang Hua (email: danyang.hua@wmich.edu) W 12:30 PM W 2:10-4:30 PM and R 1:30-3:30 PM C210
Danyang Hua (email: danyang.hua@wmich.edu) R 3:30 PM W 2:10-4:30 PM and R 1:30-3:30 PM C210

Tutor for CS1120

We have a new C# tutor/mentor, Corey McClain, who'll be holding "help desk hours" in room C208 for one-on-one help with C# programming issues. He's not directly connected to any of these courses, so don't expect that he'll know what a specific course assignment specs looks like. However, Corey is a an excellent C# programmer / problem-solver and is a good resource when you need some help with programming assignments or course material.

Tutoring Information:
Tutor: Help Desk Hours: Location:
Corey McClain M 12:30-4:30 PM and T 12:30-2:30 PM C208

PMT

PMT will be given the Week of April 13-17, 2009
First try PMT will be in your lab section. If you do not pass at this attempt, you will be given a second chance on Friday, April 17. Here are some sample PMT's from previous terms.

Other

Suggestions on How to Approach Programming Problems

Regular Expresions Rule Summary Reference Sheet

Created: January 4, 2009
Last Updated: April 7, 2009