Find appropriate for algorithm

Assignment Help Basic Computer Science
Reference no: EM133255547

You are designing a program for a robot that enables it to collect 3 objects in a maze. The robot starts and ends on the square in the top right-hand corner. The objects that the robot must collect are a pencil case, a blue key and a monkey. These objects can be collected in any order.

The robot can move one space at a time, moving down or up, left or right. The robot must not go outside the maze's grid boundary at any time. Obstacles are randomly placed in the maze, which the robot must go around. The robot can collect a maximum of two items, before it must return home (top right-hand corner) to drop off the item(s). There is also a rubbish bin icon on the floor of the maze. If the robot runs over this icon and is currently carrying any objects, the robot must place the objects down and return to the top right-hand corner. If the robot isn't carrying any objects when it runs over this icon, it continues to search.

Write an algorithm based on the scenario written above.

You must use conditional statements and loops as appropriate for your algorithm. Feel free to list any assumptions you have made.

Reference no: EM133255547

Questions Cloud

Specific types of defensive techniques : Compare and contrast some specific types of defensive techniques that would be sufficient to deter an apprentice-level intruder to what would be needed to keep
Explain the types of attack : Zeek (formerly known as Bro) is a popular open-source network traffic analyzer that can be used for intrusion detection. Do some online research to compare and
Specific information security breach in facebook : You need to report a specific information security breach in Facebook and discuss the damage caused, response of that organisation and risk mitigation methods u
How much has doing business sustainably cost them : How often to they report on their progress? How much has doing business sustainably cost them?
Find appropriate for algorithm : You are designing a program for a robot that enables it to collect 3 objects in a maze. The robot starts and ends on the square in the top right-hand corner. Th
Do you feel that reconstruction is realistic : Do you feel that this reconstruction (showing what the different figures may have looked like in the flickering firelight) is realistic
Topic for a university assignment using the internet : Big Data is often defined by the 5 V's. Describe the extent to which each of the 5 V's applies to the following examples and indicate whether you consider these
Calculate the mathematical inverse of this function : Calculate the mathematical inverse of this function? Does it make sense to specify such an inverse function in economics? Explain your reasoning.
What is an expert system : 1) Discuss the use of rules as a knowledge representation technique. 2) What is an Expert System?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd