Tags:
tag this topic
create new tag
view all tags
---+Geometric drawing ---++ Objectives 1. Learn to use repetition 1. Learn to use variables 1. Reinforce selection skills 1. Reinforce reading from the brick ---++ Assignment 1. Create a clean program that will "draw" a 3, 4, or 5 sided figure (with even sides) based on the button from the brick. a. If the left button is pressed, draw a triangle (60 degree angle) a. If the middle button is pressed, draw a square (90 degree angle) a. If the right button is pressed, draw a five sided polygon (approximately 108 degree angle) 1. Additional requirements a. You should use a count controlled loop a. You must use at least two variables. a. Inside the selection you can only have variables blocks (only one is optimal but not required). No repetition or arithmetic blocks inside the selection a. You may only have two instances of motor blocks ---++ Submission instructions 1 Due date is found on Canvas 1 Each person should create a pdf document that contains the following information a. Your name a. Your partner's name a. A brief description of what you did a. A brief description of what your partner did a. How your team improved over any mistakes made last time a. Indicate which hints (if any) your team used a. How well you achieve each objective 1. Submission: a. Team member A submits the team's code and his/her pdf document in one zip folder. a. Team member B submits his/her pdf document (does not need to be zip'ed) ---++ Hints 1. The same thing about accuracy in the first lab applies to this one! There is not objective about being accurate! 1. [[CSC102F2022Lab3Variable][I can set a variable but using a variable is a problem]] 1. Questions about the math should be asked in class. This is not one of the objectives of the assignment! So ask if you need some help on the arithmetic! ---++ Challenges 1. Make your program very accurate 1. Have your program move forward and then draw the figure based on a color seen. Let the color pick the number of sides.
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r4 - 2022-09-06
-
cathybareiss
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