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: Algorithms

Which car is the better deal?

  1. Car 1
  2. Car 2
  3. Same price
  4. Not enough information
If you only drive a few miles, or if gas is free, car 1 will be cheaper. But if not, car 2 might be better. We need to know the miles driven and the price of gas.

Problem on this page?

Your name:

Your email address:

Problem description:

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