This collection of free notes is aimed at helping the complete beginner learn the basics of computer programming.
Using Processing, a free and easy to use program available for many platforms, you can start from scratch and make advanced interactive graphical programs within a few units. The notes themselves explain how to download and install Processing, and how to get started.
With Processing, students start with making graphics, and skip much of the ugly, memorization-based syntax of beginner Java. However, the content is not dumbed down at all, and students learn real, serious programming. In fact, this is used to teach programming as the first university course at the University of Manitoba. Unlike other guides, this focuses on learning programming, not the features of Processing.
Feedback and comments welcome! young@cs.umanitoba.ca.
PDF Book
Version 1.0 (all notes as single PDF) (all notes as units, as a ZIP)
- Getting Started
- Unit 1: Introduction
- Unit 2: Processing and Programming Basics
- Unit 3: Variables and Integers
- Unit 4: Coding Style and Standards
- Unit 5: Active Processing
- Programming Basics
- Unit 6: User Defined Functions Part 1
- Unit 7: Real Numbers - Floats
- Unit 8: Text in Processing: Strings
- Unit 9: Data Types and Memory
- Unit 10: True and False - Booleans
- Advanced Constructs and Background
- Unit 11: Advanced Conditionals
- Unit 12: Loops
- Unit 13: Advanced Loops
- Unit 14: User Defined Functions Part 2
- Unit 15: Compiling and the Java Virtual Machine
- Arrays
- Unit 16: Array Basics
- Unit 17: Arrays and Memory
- Unit 18: Arrays and Functions
- Unit 19: Working With Arrays: Techniques
- Additional Notes
- Unit 20: End of the Course
- Unit 21: Introduction to Objects
- Unit 22: Introduction to Java
- Unit 23: Using Processing in Java