Module 0: Your First Program
0.0
Our first program
0.1
The Edit-Compile-Test process
(Exercises and media: 0.1-0.2)
0.2
Programming vs. computerese
(0.3-0.6)
0.3
A peek at a more complex program
(0.7)
0.4
GUI vs. command-line
(0.8-0.9)
0.5
Computer science: beyond programming
0.6
How to succeed as a student
(0.10)
Module 1: Parts of a Program
1.0
Some changes to HelloWorld
(1.1-1.3)
1.1
Parts of the HelloWorld program
(1.4-1.6)
1.2
How to read programs
(1.7)
1.3
Whitespace and style
(1.8-1.10)
1.4
When things go wrong
(1.11-1.18)
Module 2: More About Syntax
2.0
Comments
(2.1-2.3)
2.1
Strings
(2.4-2.5)
2.2
Escape sequences
(2.6-2.8)
2.3
print and println
(2.9-2.11)
2.4
Identifiers
(2.12-2.20)
2.5
Good writing habits
(2.21-2.22)
Module 3: Methods: a first look
3.0
An example with method calls
(3.1-3.6)
3.1
Calling methods from other methods
(3.7-3.9)
3.2
Reading and Writing
(3.10)
3.3
When things go wrong
(3.11-3.13)
3.4
And now for something strange
(3.15-3.19)
Module 4: Loops: the for-loop
4.0
An example
(4.1-4.2)
4.1
Printing the loop variable
(4.3-4.6)
4.2
Variations
(4.7-4.9)
4.3
Nested for-loops
(4.10-4.13)
4.4
Tracing through a program in detail
(4.14-4.17)
4.5
Reading and writing
(4.18-4.19)
4.6
When things go wrong
(4.20-4.27)
4.7
Meta
(4.28)
Module 5: Integers
5.0
First, an analogy
(5.1)
5.1
Integer variables
(5.1-5.7)
5.2
Variations
(5.8-5.9)
5.3
Integer operators
(5.10-5.13)
5.4
Expressions and operator-precedence
(5.14-5.16)
5.5
Problem solving and pseudocode
(5.17)
5.6
More about expressions and assignment
(5.18-5.24)
5.7
More problem-solving examples
(5.25-5.29)
5.8
A problem with variables and nested for-loops
(5.30-5.34)
5.9
Choosing variable names
5.10
Shortcut operators
(5.35)
5.11
When things go wrong
(5.36-5.42)
5.12
Meta
(5.43)
Module 6: Characters, Strings, and Some Tools
6.0
Characters vs strings
(6.1)
6.1
Character examples
(6.2-6.5)
6.2
Strings
(6.6-6.12)
6.3
Fun with strings
(6.13-6.14)
6.4
Input from the terminal
(6.15-6.18)
Module 7: Real Numbers
7.0
Real-valued variables
(7.1-7.4)
7.1
Real-valued variables in loops
(7.5-7.9)
7.2
An example with a nested loop
(7.10-7.13)
7.3
Casting
(7.14-7.16)
7.4
Reading and writing
(7.17)
7.5
When things go wrong
(7.18-7.21)
Module 8: Applications
8.0
Some math history via programming - example 1
(8.1-8.4)
8.1
Some math history via programming - example 2
(8.5-8.6)
8.2
Some math history via programming - example 3
(8.7)
8.3
Some math history via programming - example 4
(8.8-8.9)
8.4
Data analysis
(8.10-8.11)
8.5
Functions and plotting data - example 1
(8.12)
8.6
Functions and plotting data - example 2
(8.13-8.15)
8.7
Java's Math package
(8.16)
8.8
Using animation for visualization
(8.17)
8.9
Archimedes and π
(8.18-8.22)
Back to Unit-0