P1 2011-2: Lecture Notes

Notes

Most of the lecture notes are provided as PDF files:

format best for...
slides projection
A5 reading, printing as a small book, laptop or iPad displays
summaries just the summaries from the end of each section

 

Lecture audio

The Nathan lecture and workshop audio is available as a podcast, as well as via the direct links below.

Copy the following link into iTunes > Advanced > Subscribe to podcast... or your favourite podcatcher.

feed://mudshark.cit.gu.edu.au/~arock/p1-11-2-audio-nathan/p1-11-2-feed.xml

 

Schedule

The lecture notes are divided into sections. This table will track our progress week by week.

Lecture notes
section
Downloadable
examples
Nathan
in week
1. Introduction 1 [audio]
2. Elements of Java Hello.java
3. Character Sets
4. File Types
5. A First MaSH Program Hello.mash
6. Lego Mindstorms 2 [audio]
7. Hello, NXT! HelloNXT.mash
8. Syntax, Semantics and Compiler Phases
9. Data Types and Literal Values 3 [audio]
 
 
 
 
10. Console Procedures
11. NXT Procedures
12. Numbers
 
4 [audio]
13. Making Stuff Happen With Numbers Example1.mash
CD1.mash
CD2.mash
CD3.mash
15. Booleans 5 [audio]
16. Java Booleans
17. Making It Happen — Again Scope.mash
Blink1.mash
Blink2.mash
Doorbell.mash
Hello10_1.mash
Hello10_2.mash
OneToTen.mash
TenToOne.mash
14. Debugging 6 [audio]
18. Making It Happen — Or Not Flatter1.mash
Flatter2.mash
EvenOdd1.mash
EvenOdd2.mash
EvenOdd3.mash
Highest.mash
19. Handy Math Functions
20. Characters and Strings
21. Compatibility and Conversions Widen.mash
Narrow1.mash
Narrow2.mash
7 [audio]
 
 
 
 
 
22. Packaging What Happens In Methods Hello2.mash
ByValue1.mash
ByValue2.mash
LocalGlobal.mash
ToUpperCase.mash
8 [audio]
23. Geometry For Graphics RedBox1.mash
RedBox2.mash
24. Arrays 9 [audio]
25. About Programming Languages
28. Boolean Algebra
26. Threads Doorbell2.mash 10 [audio]
27. Events Doorbell3.mash
29. Searching Linear.mash
Binary.mash
11 [audio]
 
 
Project help
 
12 [audio]
30. Why MaSH Is Rubbish 13 [audio]
A. Conventions Used In these Notes
B. Reminder About Academic Misconduct
C. Environment console
D. Environment nxt
E. Environment graphics
F. Environment files
G. Standard Streams and Redirection
Last modified Sat Oct 29 10:29:53 EST 2011 by the P1 team.