Compsci 101, Fall 2015, Lab 1

Answer the following questions on the online google form for lab 1.

graphing.py

The first four questions refer to graphing.py.
  1. What changes made the plot go from 0 to 20?
    
    
    
    
  2. What changes were needed to graph y=(x-4)3? Describe in words what the curve that appears looks like.
    
    
    
    
    
    
  3. How many complete cycles between x=0 and x=20 for the sine function?
    
    
    
    
    
  4. What do you see with the random function? Why?
    
    
    
    

    SCRATCH program

  5. Give the name of the control block that lets you repeat code a specified number of times?
    
    
  6. Explain what the code would be if you wanted to press the letter H and your sprite would say "hello".
    
    
  7. Enter in the URL for your Scratch world.