SJSU/Udacity CS046

Lesson 1 - Introduction

  1. Introduction
  2. Introducing Kylie
  3. What is Programming
  4. Java
  5. Quiz: Hello, World
  6. Installing BlueJ
  7. Download Code for the Course
  8. Hello, Udacity!
  9. Creating a Test Project
  10. Quiz: Hello World, Two Lines
  11. Quiz: Text and Numbers
  12. Our First Program
  13. Quiz: print and println
  14. Quiz: Errors
  15. Quiz: Compile-Time and Runtime Errors
  16. Quiz: Compile-Time and Runtime Errors 2
  17. Kylie's Advice When You Run into Errors
  18. Quiz: Algorithms
  19. Quiz: Algorithms 2
  20. Quiz: Tidying Legos
  21. Quiz: What Does This Pseudocode Print?
  22. Quiz: Another Pseudocode Example
  23. Quiz: Move to the First Yellow-Blue Lego
  24. Quiz: Why Is This Not a Correct Algorithm?
  25. Quiz: What Does This Algorithm Do?
  26. Quiz: Kylie's Advice for You
  27. Congratulations!

Quiz: Why Is This Not a Correct Algorithm?

Why is this not an algorithm?

  1. The description is ambiguous.
  2. The description contains steps that cannot be executed.
  3. The procedure does not always terminate.
The description is unambigous and executable, so the answer must be that the procedure does not always terminate. Watch the answer video for an example.

Problem on this page?

Your name:

Your email address:

Problem description:

To protect against spam robots, please answer this simple math problem:
× =