CS 110/L Spring 2012
Algorithms and Programming

 
Mike Barnes
JD 4443 Teaching Schedule Office hours: M and W 3:00 pm to 4:00 pm, and by apt.
(818) 677-2299 email: renzo@csun.edu web: www.csun.edu/~renzo

CS 110/L Links:

Moddle [ http://moodle.csun.edu/ ] will be used in this class for announcements, and discussions. You can also view your grades in the class.

Reading Assignments

All reading assignments are from the textbook unless specified otherwise.
Textbook's chapters 1 - 4 on line draft version 2005. Last viewed 1/22/2012.

Lecture Notes

Notes are usually Adobe Acrobat PDF files landscape 1 slide per page format. If you print the notes, I strongly recommend you set your printer to print in a 2 page or 4 page up mode.. This way you will get readable notes with half the printed pages.

  1. Introduction and history
  2. Types, expressions, and variables
  3. Structured Statements: boolean expressions, conditional branching, and repetitive loops.
  4. Class, methods, and scope updated 2/20/2012
  5. Arrays, Pictures, Pixels updated 2/21/2012
  6. String input / output, menus
  7. Errors, exceptions, and File i/o Using Scanner to read and PrintWriter to write a file.
  8. Classes, modifiers, overloading, and overridding, Frame, Graphics
  9. Polymorphism, recursiion, performance, design, javadoc updated 4/25
    JavadocExample.java -- you can generate the on-line javadoc documentation for this file with Dr. Java
  10. Majors and Careers related to information processing.
  11. review

Schedule

Task Due Date Description
Project 1 (5%) 2 / 10 / 2012 Star Turtle StarTurtleP1.pdf project specification.
BarnesStarTurtle.java starter file.
In your browser right-click on "BarnesStarTurtle.java" link and either "save link as" or "save target as". Copying and pasting the text into a new Dr Java or jGRASP project does not work for many students. You don't copy all the file! Be sure to set the file type to "any" not "html" in the save dialog window. My advice is to save the file in a project sub-directory under your "home" directory -- not the desktop. The saved file should have the name "BarnesStarTurtle.java". You should be able to open the file in Dr. Java or jGRASP, compile it, and run it -- as shown in the project specification.
Project 2 (7%) 3 / 2 / 2012 TurtleTag.pdf project specfication updated 2/15/2012.
TurtleTag.java starter file updated 2/15/2012.
SafeZone.png picture file.
You need to save both the starter and picture files to your project directory (see notes about saving files from P1).
Project 3 (8%) 3 / 23 /2012 OddSecret.pdf project specification.
Decrypt.java starter file updated 3/5/2012
encryptedPicture.png
Encrypt.java starter file
Here is testPicture.png file you can use for testing your solution. Encrypt your "secret.png" file with testPicture.
Midterm (20%) 3 / 28 / 2012 Study guide
quiz 1
quiz 2
Project 4 (10%) 4 / 23 / 2012
deadline extended
SecretMessage.pdf.
terence.txt input data file.
EncryptionRevisited.pdf another example for project.
Lab exam (20%) 5 / 7 / 2012
11:00 am to 12:15 pm
The lab exam will be done in JD 2210 on May 7 from 11:00 am to 12:15 pm. The lab exam is taken during the lecture hour so that students can work on their 5th program assignment during the lab.
No exceptions without prior consent from professor.
Project 5 (10%) 5 / 11 / 2012 Maze race project specification
maze.png background Picture for World
Final (20%) 5 / 16 / 2012
10:15 to 12:15 am
final study guide

Resources