Syllabus - Section Handout - Programming Methodology- 2, Exercises of Programming Methodologies

Introduction to computer science - Section Handout of Programming Methodology. Syllabus. Prof. Sahami - Stanford University

Typology: Exercises

2010/2011

Uploaded on 10/06/2011

hollyb
hollyb 🇺🇸

4.8

(44)

431 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Mehran Sahami Handout #2
CS 106A September 24, 2007
CS 106A Syllabus
(subject to change)
Monday
Wednesday
Friday
September 24
Welcome to CS106A
Administrivia
Meet Karel the Robot
26
Programming with Karel
Control structures in Karel
Read: Karel, Chapters 1-3
28
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
3
Variables, values, and types
Arithmetic expressions
Read: Chapter 3
5
Control statements
Boolean expressions
Read: Chapter 4
Due: Assignment #1
8
Methods
Using parameters
Read: Chapter 5
10
Pseudorandom numbers
The RandomGenerator class
Read: Chapter 6
12
Stylistic expectations
Engineering for reuse
Using javadoc
15
The acm.graphics package
The collage graphics model
Read: Chapter 9.1-9.3
Due: Assignment #2
17
More graphics
Event driven programming
Read: Chapter 9.4
Read: Chapter 10.110.4
19
Character data
The Java String class
Read: Chapter 8.1-8.4
22
String manipulation
Problem-solving with strings
Read: Chapter 8.5
24
Objects and memory
More on parameter passing
Read: Chapter 7
Due: Assignment #3
26
File processing
Exception handling
Read: Chapter 12.4
pf2

Partial preview of the text

Download Syllabus - Section Handout - Programming Methodology- 2 and more Exercises Programming Methodologies in PDF only on Docsity!

Mehran Sahami Handout # CS 106A September 24, 2007

CS 106A Syllabus

(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 #

Final Examination : Thursday, December 13th, 12:15pm to 3:15pm

Tuesday, October 30th 7:00-8:30pm: Midterm