Others
Assessment
CenterForComputing
ChatGPT
Search
Close
Log in
Register
CenterForComputing
You are here:
CenterForComputing
»
SyllabiSpring2025
»
CSC102SylS2025
»
CSC102S2025Lab6
Tag along
18 Feb 2025 - 13:57
|
Version
1
|
UnknownUser
Objectives
Reinforce parallel programming skills
Enhance use variables
Experience the pair programming technique
Assignment
Create a clean program that will allow your robot to follow another robot along a track.
The track will be a wide black line. The leading robot will follow that line.
You are to say between 20 and 40 centimeters behind the other robot. The other robot may speed up or slow down random amounts.
You may use the instructor's robot to see how the leading robot will do its task.
Stop when you encounter red on the line.
Additional requirements
All programming must be done following the simplified version of pair programming we covered in class.
It must use parallel programming. One branch for following the line, one branch for staying the right distance, and a third branch to handle the red.
It must use a variable to determine the speed of the motors.
Submission instructions
Due date is found on Canvas
Each person should create a pdf document that contains the following information
Your name
Your partner's name
A brief description of what you did
A brief description of what your partner did
How your team improved over any mistakes made last time
Indicate which hints (if any) your team used
How well you achieve each objective. Include a discussion about how pair programming went.
Submission:
Team member A submits the team's code and his/her pdf document in one zip folder.
Team member B submits his/her pdf document (does not need to be zip'ed)
Hints
For staying the right distance behind the robot
Challenges
Learn to use your own blocks
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