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
.
- What changes made the plot go from 0 to 20?
- What changes were needed to graph y=(x-4)3?
Describe in words what the curve that appears looks like.
- How many complete cycles between x=0 and x=20 for the sine
function?
- What do you see with the random function? Why?
SCRATCH program
- Give the name of the control block that lets you repeat code a
specified number of times?
- Explain what the code would be if you wanted to press the letter H and
your sprite would say "hello".
- Enter in the URL for your Scratch world.