

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Introduction to computer science - Section Handout of Programming Methodology. Syllabus. Prof. Sahami - Stanford University
Typology: Exercises
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Mehran Sahami Handout # CS 106A September 24, 2007
(subject to change) Monday Wednesday Friday September 24 Welcome to CS106A Administrivia Meet Karel the Robot
Programming with Karel Control structures in Karel Read: Karel, Chapters 1- 3
Problem-solving in Karel Program decomposition The idea of an algorithm Read: Karel, Chapters 4- 6 October 1 Introduction to Java Classes and objects The Program class hierarchy Read: Java, Chapters 1 - 2
Variables, values, and types Arithmetic expressions Read: Chapter 3
Control statements Boolean expressions Read: Chapter 4 Due: Assignment # 8 Methods Using parameters Read: Chapter 5
Pseudorandom numbers The RandomGenerator class Read: Chapter 6
Stylistic expectations Engineering for reuse Using javadoc 15 The acm.graphics package The collage graphics model Read: Chapter 9.1-9. Due: Assignment #
More graphics Event driven programming Read: Chapter 9. Read: Chapter 10 .1– 10. 4
Character data The Java String class Read: Chapter 8.1-8. 22 String manipulation Problem-solving with strings Read: Chapter 8.
Objects and memory More on parameter passing Read: Chapter 7 Due: Assignment #
File processing Exception handling Read: Chapter 12.
Monday Wednesday Friday 29 Debugging strategies
Arrays in Java Read: Chapter 11.1-11. November 2 Belated midterm recovery day ( No class ) 5 Arrays (continued) The ArrayList class Read: Chapter 11.6-11. Due: Assignment #
Java collections framework The HashMap class Iterators Object-oriented design Read: Chapter 13
Swing interactors The JComponent hierarchy Action listeners Read: Chapter 10.5–10. 12 Graphical user interfaces Interactors Read: Chapter 10.7–10.
Large-scale data structures Data-driven programs Due: Assignment #
Sorting and searching Algorithmic analysis Read: Chapter 12.1-12. 19 Thanksgiving recess ( No class ) Be happy to be on break...
Thanksgiving recess ( No class ) Prepare to eat a lot...
Thanksgiving recess ( No class ) Recover from over-eating... 26 Programming in the large Software engineering Programming patterns
Additional topics Due: Assignment #
Standard Java The main method December 3 Life after CS106A (is there any?)
Review for Final Exam
Dead Day: our token attempt at Dead Week ( No class lecture; sections meet as usual ) Due: Assignment #
Tuesday, October 30th 7:00-8:30pm: Midterm