Question
Use the problem solving method steps to develop a solution to allow Otto the Robot to do the following: Direct Otto to stand up and
Use the problem solving method steps to develop a solution to allow Otto the Robot to do the following:
Direct Otto to stand up and move forward to a maze, find and open the door to the maze, proceed inside and find his way through the maze until he reaches the exit. Assume that the maze has no dead ends and no intersections (these are important constraints). Normally, from Otto's starting position the maze is two steps forward. Your program will terminate once he finds the exit, opens the exit door and steps through it (this is the end of the basic assignment). He does not need to re-find the chair and sit. For extra credit think about how you might go about finding the chair after exiting and re-seat the robot (worth 5 extra points). You need to test your program on different mazes so that we can be sure that your program works on any maze in the Otto simulator.
As before to get any credit you need to follow the problem solving method step by step no skipping. Just providing me the answer and a working program results in no credit. Please do not skip any step. I realize that some of you are capable of doing this without executing the steps but the point is to practice doing this in order so that you can see how the process helps you write better programs.
As before submit your work in a report form showing each step plus screen shots of everything Otto does...perhaps a video capture of the robot operating would be nice (see camtasia). Finally, attach answers to the following questions to your report.
Questions:
The Otto simulator is a fun tool but it is very limited. If you had the opportunity to be part of the design team for Otto what commands would you add to make Otto a more effective tool? List at least three commands that affect three different subsystems (action, detection, and memory) and explain what the command would do and how you would use it in a simulation that you could not do now.
Explain in your own words or with drawings etc...(be professional) how a computer swaps 2 numbers (from inside the computer in terms of memory location etc)
Explain how understanding how hardware is designed is necessary to understand before we start worrying about what commands should be in the programming language?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started