In this computer science course, you will learn the basics of programming in the Java language, and cover topics relevant to the AP Computer Science A course and exam.
This course will cover repetition statements (for, while, do-while and for-each), the array data structure, methods and recursion.
This course is for anyone interested in taking a first-level computer-programming course, particularly those who attend a school that does not provide a similar class.
No previous programming knowledge is needed, although it is recommended that learners be comfortable with the topics addressed in AP Computer Science A: Java Programming.
We are looking forward to helping you explore this exciting new world!
Unit Name or Timeframe: Repetition (2 weeks)
- Loops (for-loop, while-loop, do-while-loop)
- Nested loops
- Fencepost errors
- Infinite loops
- IndexOutOfBounds exception
Unit Name or Timeframe: Data Structures (2 weeks)
- Arrays and indexing
- Memory management of data structures
- Array length property
- Looping though arrays using for and for-each loops
- Two-dimensional arrays
Unit Name or Timeframe: Recursion (2 weeks)
- Recursive functions and induction
- Exit conditions
- Call stack
Sunil Prabhakar, Debbie Perouli and Phil Sands