Return to Scratch

Scratch Lab 8

Name: Miles Wiesenthal

Period: 7

Assignment: Lab #8

My Solution for Part 1a and 1b

For part 1a, We used the Move Finch command, setting the wheel speed, then telling it to stop after a set amount of time. We used blocks for each movement. Most of 1a was just testing the features. For 1b, we had to do a set of simple problems. I made it move in a square by going left, forward, left, forward, left, forward, left, and forward. On each of the turns I then made it change to another color. Then I used the orientation detector I made in 1a, and we made it say the orientation. The obstacle detector was pretty basic as well, we just had it move back if there was an obstruction in the obstacle detectors. Most of the problems were very easy to do because of the blocks we made.

My Solution for Part 2

To make the calculator, we made a bunch of blocks that had the math. Then we took user input on what the numbers are and what equation to do. for add, subtract, divide and multiply, it was a piece of cake, just using features scratch already has. However, factorial, and factor and exponent were trickier. I learned how the preset math blocks could be made, and blocks became easier to understand.

Calculator