Professional Documents
Culture Documents
Click or tap here to enter text.Click or tap here to enter text. Click or tap here to enter
text.@mySeneca.ca
Click or tap here to enter text.
OR
Select a dress shirt from the closet, put it on, and button it up.
followed by your answer.
(minimum 250 words)
1. Start
2. Open the Closet door.
3. Robot checks the dress shirts in the closet.
A. There are no dress shirts in the closet.
i. Close the closet door and go to another closet. And go to step 2.
ii. If there are no more closets, print an error message.
B. There are dress shirts in the closet, go to step 4.
4. Robot holds the dress shirt in his hand.
A. Checks a dress shirt if it is:
i. Yes: it is in the closet. Go to step 5.
ii. No: they don’t have any. Go to step 3, again.
5. Robot holds the shirt in his hand.
A. The dress shirt is folded.
i. Unfold the dress shirt and go to Step 6.
B. The dress shirt is in a package.
i. Unpack the dress shirt and go to Step 6.
6. Robot puts the dress shirt over his shoulder.
A. If it does not go over the shoulder,
i. Try step 6 again until the dress shirt goes over the shoulder.
B. If a robot already puts the dress shirt over the robot's shoulder, go to Step 7.
7. Decide which sleeve the robot will put its arm through first.
A. When the robot puts the left arm into the left sleeve first, then it's right arm
goes into its right sleeve. Go to step 8.
B. When the robot puts its right arm into its right sleeve first, then its left arm
goes into its left sleeve. Go to step 8.
8. Make a dress shirt flat and have buttons on the front.
9. Close the shirt buttons.
A. When the robot closes the shirt button from the top, it then closes all the
buttons down from the top. Go to step 10.
B. When the robot closes the shirt buttons from the bottom, it then closes all
the buttons to the top starting from the bottom, go to Step 10.