Difference between revisions of "GvR Steps 1-10 Quiz"
From WLCS
Line 1: | Line 1: | ||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://osobageqys.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]= | ||
+ | ---- | ||
+ | =[http://osobageqys.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> | ||
== Directions == | == Directions == | ||
The quiz is open-book, open-computer, and CLOSED-PERSON. You have 30 minutes to complete the quiz. | The quiz is open-book, open-computer, and CLOSED-PERSON. You have 30 minutes to complete the quiz. | ||
Line 22: | Line 30: | ||
== Grading == | == Grading == | ||
− | 2 pts - turnright | + | 2 pts - turnright<br> |
− | 2 pts - spin | + | 2 pts - spin<br> |
− | 1 pts - do | + | 1 pts - do<br> |
− | 4 pts - placesomebeepers | + | 4 pts - placesomebeepers<br> |
− | 1 pt - using defined instructions | + | 1 pt - using defined instructions<br> |
− | --- | + | ---<br> |
10 pts total | 10 pts total |
Revision as of 07:08, 24 November 2010
Directions
The quiz is open-book, open-computer, and CLOSED-PERSON. You have 30 minutes to complete the quiz. Once you are done, please demo to Mr. Bui for credit.
- Define the compound instruction turnright so that Guido can turn right using left turns
- Define a new compound instruction called spin that makes Guido do a full 360 degree spin
- Define a new compound instruction called placesomebeepers that does the following:
- place a beeper and move
- place another beeper and move
- place a beeper and turn to the left
- move forward once
- place a beeper and move
- place another beeper and turn to the right using your turnright instruction
- move forward once
- After defining the above compound instructions, have Guido do the following
- start Guido facing east
- move Guido two spaces forward
- do the following twice (must use a do-statement)
- placesomebeepers if the front is clear
- spin
- turn off Guido
Grading
2 pts - turnright<br> 2 pts - spin<br> 1 pts - do<br> 4 pts - placesomebeepers<br> 1 pt - using defined instructions<br> ---<br> 10 pts total