Cis 120 Project That Needs To Be Done By Tommorrow At 12:30Pm Eastern Time

Posted Under: Computer Science

Ask A Question
DESCRIPTION
Posted
Modified
Viewed 16
CIS 120 Project Instructions A robot is sitting in a chair with its arms facing down. Write an algorithm, using pseudocode, to make the robot: 1. stand up 2. walk forward until it senses a wall 3. turn around 4. walk back to the chair 5. sit down in its original starting position Finally, output the total number of steps taken. Commands -------- In addition to our standard pseudocode commands, you must also use the following robot control commands: sit stand step (one step forward) raise arms (parallel to floor) lower arms (pointing to floor) sense (only if arms are raised) turn (90 degrees right) Immediately after issuing a sense command, you can check whether the robot is at the wall as follows: if at wall or alternatively if not at wall Assumptions ----------- You must assume the following facts: The robot's initial sitting position is directly facing the target wall. There are no obstacles between the robot and the wall. The wall is 1 or more exact steps from the chair. The wall is sensed when it is less than 1 step from the robot's arms. The length of the robot's arms are slightly less than the length of 1 step. Your solution ------------- Your solution must include all of the following: Adequate comments Initialization and use of at least one variable Sequential flow of control Conditional flow of control Iterative flow of control Handling of any special cases Output of the total number of steps taken Your pseudocode must conform to the course pseudocode guidelines.

This order does not have tags, yet.

Attachments
CIS 120 Project Instructions A robot is sitting in a chair with its arms facing down. Write an algorithm, using pseudocode, to make the robot: 1. stand up 2. walk forward until it senses a wall 3. turn around 4. walk back to the chair 5. sit down in its original starting position Finally, output the total number of steps taken. Commands -------- In addition to our standard pseudocode commands, you must also use the following robot control commands: sit stand step (one step forward) raise arms (parallel to floor) lower arms (pointing to floor) sense (only if arms are raised) turn (90 degrees right) Immediately after issuing a sense command, you can check whether the robot is at the wall as follows: if at wall or alternatively if not at wall Assumptions ----------- You must assume the following facts: The robot's initial sitting position is directly facing the target wall. There are no obstacles between the robot and the wall. The wall is 1 or more exact steps from the chair. The wall is sensed when it is less than 1 step from the robot's arms. The length of the robot's arms are slightly less than the length of 1 step. Your solution ------------- Your solution must include all of the following: Adequate comments Initialization and use of at least one variable Sequential flow of control Conditional flow of control Iterative flow of control Handling of any special cases Output of the total number of steps taken Your pseudocode must conform to the course pseudocode guidelines. Upload the assignment as a text file with the name: flast-Project.txt, where "flast" is the first letter of your first name followed by your last name. CIS120 Course Project Grading Rubric Correct There are too many significant issues with correctness or project not submitted. 0points There are several significant issues with correctness. 2.6points There are some significant issues with correctness. 3points There are only a few minor issues with correctness. 3.4points The algorithm statements flow in the correct order, with correct conditional checks, correct iterations, and correct results. 4points Complete There are too many significant issues with completeness or project not submitted. 0points There are several significant issues with completeness. 2.6points There are some significant issues with completeness. 3points There are only a few minor issues with completeness. 3.4points The algorithm meets all the requirements, including usage of sequential flow, conditional flow, iterative flow, variable usage, output, and handling of any special cases. 4points Clear There are too many significant issues with clarity or project not submitted. 0points There are several significant issues with clarity. 2.6points There are some significant issues with clarity. 3points There are only a few minor issues with clarity. 3.4points The algorithm is well commented, easy to follow its flows, easy to understand, and uses meaningful variable names. 4points Compliant There are too many significant issues with compliance or project not submitted. 0points There are several significant issues with compliance. 2.6points There are some significant issues with compliance. 3points There are only a few minor issues with compliance. 3.4points The algorithm follows the course pseudocode guidelines, including proper indentation of blocks and correct operation names. 4points
Explanations and Answers 1
0
Question: A robot is sitting in a chair with its arms facing down. Write an algorithm, using pseudocode, to make the robot: 1. stand up 2. walk forward until it senses a wall 3. turn around 4. walk back to the chair 5. sit down in its original starting position Finally, output the total number of steps taken. Commands -------- In addition to our standard pseudocode commands, you must also use the following robot control commands: sit stand step (one step forward) raise arms (parallel to floor) lower arms (pointing to floor) sense (only if arms are raised) turn (90 degrees right) Answer: Please find attached the completed work. Best Regards.
$0.00

From 0 reviews

homeworkdoer
homeworkdoer

answered

Answer Reviews

(0)
This answer has not been reviewed yet. Like to add yours?

Post your Answer - free or at a fee

Login to your tutor account to post an answer

Posting a free answer earns you +20 points.

Login

NB: Post a homework question for free and get answers - free or paid homework help.

Get answers to: Cis 120 Project That Needs To Be Done By Tommorrow At 12:30Pm Eastern Time or similar questions only at Tutlance.

Related Questions