Home > Lectures > Lecture Details

The Loop and a Half Problem

By Mehran Sahami - Stanford
get flash player

Lecture Description

The Loop and a Half Problem, For Versus While Loop, The CheckerBoard Program Example, Methods in Java, Examples of Methods, The FactorialExample Program, Returning Objects from Methods

Course Description

Related Resources

Transcript   |  Methods   |  Section Handout 2   |  Assignment 2   |  Assignment 2 Solutions

Course Index

  1. Introduction to Computer Programming
  2. Introduction to Karel
  3. Karel and Java
  4. The History of Computing
  5. Variables
  6. Operators
  7. The Loop and a Half Problem
  8. Information Hiding
  9. Strings
  10. Importance of Private Variables
  11. The GImage Class
  12. Enumeration
  13. String Processing
  14. Memory
  15. Pointer Recap
  16. Array
  17. Multi-dimensional Arrays
  18. A Wrap Up of Multi-dimensional Arrays
  19. An Interface
  20. GUI
  21. Review of Interactors and Listeners
  22. Overview of NameSurfer - The Next Assignment
  23. Searching, Sorting and Algorithmic Efficiency
  24. Principles of Good Software Engineering for Managing Large Amounts of Data
  25. Defining a Social Network for Our Purposes
  26. Introduction to the Standard Java Libraries
  27. Life After Programming Methodology
  28. The Graphics Contest Winners