The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 398 Weeks Ago, 4 Days Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Assume you have created a mechanical robot that can perform the following tasks:
• Stand up.
• Sit down.
• Turn left 90 degrees.
• Turn right 90 degrees.
• Take a step.
Additionally, the robot can determine the answer to one test condition:
• Am I touching something? Place two chairs 20 feet apart, directly facing each other. Draw a structured flowchart or write pseudo code describing the logic that would allow the robot to start from a sitting position in one chair, cross the room, and end up sitting in the other chair. Have a fellow student act as the robot and carry out your instructions. Looking up a word in a dictionary can be a complicated process. For example, assume you want to look up “logic.” You might proceed by opening the dictionary to a random page and seeing “juice.” You know that word comes alphabetically before “logic,” so you
flip forward and see “lamb.” Th at is still not far enough, so you flip forward and see “monkey.” That means you have gone too far, so now you flip back, and so on. Draw a structured flowchart or write pseudo code that describes the process of looking up a word in a dictionary. Pick a word at random and have a fellow student attempt to carry out your instructions.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll