LOGO Second Assignment
(This will be much like the regular BASIC Project but in LOGO)
1. Draw three circle in LOGO. Have a small one a medium one and
a big one. Make them all concentric. Print out the circles and
the procedures.
If you have the procedure:
TO GRUNT
REPEAT 30 [FD 5 RT 10]
END
what do you get? _______________________
How do you fix the procedure to get a complete circle? ______
_______________________________________________________________
Change the procedure to get a circle 2 times as big? ________
________________________________.
2. Write a procedure to flip a coin N times where n is input
with the verb of the procedure.
TO FLIP :N
FLIP 25 - This should flip the coin 25 times. Have the program
print the number the number of flip and the number of heads.
Now run the program for 1000 flips. Run again with the number of
flips = the number of heads, Repeat this until you have only 5 or
so coins left.
See p. 31 and 32 of your syllabus
3. Now enter your data into Corco - on your disk or the N drive
and finds the function that best describes this data. See
syllabus p. 32.
Back to
my home page