Others
Assessment
CenterForComputing
ChatGPT
Search
Close
Log in
Register
CenterForComputing
You are here:
CenterForComputing
»
SyllabiSpring2025
»
CSC102SylS2025
»
CSC102S2025Lab5
Don't fall
02 Feb 2025 - 01:51
|
Version
1
|
UnknownUser
Objectives
Start to learn parallel programming
Reinforce repetition
Reinforce selection
Experience proper pair programming
Assignment
Create a clean program that will not fall of the table and stop when it encounters red on the table.
Additional requirements
It must use parallel programming. One branch for staying on the table and a second for dealing with red.
Use the touch sensor to know if you are about to fall off the table.
If you are about to fall off the table, turn a random amount and start moving forward again.
Submission instructions
Due date is found on Canvas
Each person should create a pdf document that contains the following information
Your name
A brief description of what you did
How you improved over any mistakes made last time
Indicate which hints (if any) you used
How well you achieve each objective.
Submission:
submit code and document in one zip folder.
Hints
In class we have demonstrated how to do parallel programming. Refer to your lecture notes.
Challenges
Add a third feature (via parallel programming) with a different sensor. It is important that each action be totally independent!
Attachments
($count)
Show options
Search:
Sort by:
Name
Date
Author
Size
Type
Results per page:
6
12
24
48
all
Display hidden:
More actions
Create link(s)
Embed
Download
Hide
Unhide
Move
Delete
0
attachment(s)
Select all
Clear all
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback
This website is using cookies.
More info
.
That's Fine