To Lecture Notes

LSP 121 -- 11/16/10

 

Review Questions

  1. What is structured programming?

  2. Explain the difference between definite and indefinite repetition.

  3. What is an infinite loop?

  4. What happens with the following statement?

  5. What is the probability that the coach will disappear?

    Use the formula 1 - (1 - p)n

  6. Where do you find these functions?
  7. Place a cheshire cat in the scene. Write a world.my first method that makes the cat disappear, but leaves the smile of the cat visible.

  8. How many hops does the hare make? Explain your answer.

  9. What is the expected value of hops if the line "If true" is changed to "If choose true 0.5 (50%) of the time"?

  10. How do you make an object say or think how many times an action occurs?

 

Go over Homework 4

 

Practice Final