Course website: Introduction to Computer Science I for majors [To the faculty website of James Tam]

Functional decomposition: extra help

Why do you need to decompose a program into parts (functions)

Early help with Exercise 5:

Learning objective: seeing a program with functions that take parameters and return information back to the caller. There isn't much of an explanation on how these constructs work that comes with Part II of the lectures on functional decomposition but seeing an actual program can help with this exercise as we won't complete this part of the lectures for a while. [PowerPoint notes] [Acrobat notes] [Example program]

Practice problems, my old mini-assignments (information sent out earlier via an email to the class list).

They are required for credit for this course but working through them can help you apply the concepts you have/will learn by writing very small programs so it's your worth your time to try them.