Tags:
tag this topic
create new tag
view all tags
<b><u>Lab 2 Tuesday, August 31, 2021</u></b> Topic: Constants Description: This lab session will expand on sequential programming where your team will program your Lego robot vehicle to draw a square and a block figure 8. Components: 1 Go to *Units* and select *Robot Trainer*. Complete the <b>Moves and Turns </b>tutorial. 1 Program the robot to go forward and then make a 90 degree turn. I recommend you use trial and error to get the turn close. Getting it perfect is not required, but you can work towards that if you wish outside of laboratory time. 1 Add constants for the length of the side and the turn. Change your program to use these constants. 1 Add additional statements (using your constants) to complete your square. 1 Add a second square (starting where you finished) to create a block figure 8. Extra Credit: 1 Create a second program that writes out a single block letter of your teams choice (just not B since it will look like the figure 8). Make sure to comment this code appropriately so a different user will understand what is being done.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2021-08-23
-
craiggoehler
Home
Site map
Assessment web
BethelAIResources2026 web
CenterForComputing web
ChatGPT web
Intro2AIatBethel web
Main web
Sandbox web
TWiki web
CenterForComputing Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Register User
E
dit
A
ttach
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback