Simulate the operation of a simple robot

Assignment Help Basic Computer Science
Reference no: EM13164485

Write a program to simulate the operation of a simple robot . the robot moves in four directions :forward , right , left. the job of the robot is to move items and place it in the right slots in each station. there are 8 stations plus the pick up station . the pick up station is the initial start where the robot picks the items . 8 items can be placed on each station .The nearest station must be filled before placing items on the next station. the items are marked with identification or serial numbers. the items with odd serial number go to the right and the items with even number go the left .the last slot, number 7 is reserved for heavy items which are moret han 700 kg. the serial number is a five digit number , the MSBdigit 5 indicates that the product must be placed in the fifth station which is keeping the product at 20 degree F.

Reference no: EM13164485

Questions Cloud

Explain the difference between a cpu-bound process : Explain the difference between a CPU-bound process and an I/O bound process in terms of the length of CPU burst and the length of I/O burst. Why is it important for the operating system to select a good mix of I/O bound and CPU bound processes?
Determine the number of representative particles in each : Determine the number of representative particles in each substance.
Compute the turnaround time for 4 batch jobs : Compute the turnaround time for 4 batchh jobs, A through D, which arrived on a computer at almost the same time( say ,at time 0
State solution of potassium hydroxide : what is the concentration of chromium ion present in a 0.07092 M solution of potassium hydroxide in contact with a large excess of a precipitate
Simulate the operation of a simple robot : Write a program to simulate the operation of a simple robot . the robot moves in four directions :forward, right,left. the job of the robot is to move items and place it in the right slots in each station
What is the partial pressure of the nitrogen : A tank with a total pressure of 4.7 atm has a mixture of gases that is 72% nitrogen, and the rest is oxygen. What is the partial pressure of the nitrogen? The oxygen?
The dining philosophers problem : Assume the Dining Philosophers problem. Explain the problems and assess what will happen if we allow the following code:a) Pick up chopstick on right, If chopstick on left is free, take it; else drop right chopstick. When done, drop both chopsticks.
Should fuelsource recognize a provision : Should FuelSource recognize a provision as of December 31, 20X1, (1) in reporting to itsU.K. parent under IFRSs and (2) in reporting to its U.S.-based lender in accordance withU.S. GAAP?
State what is the reaction order with respect to no : Plot NO2 versus time, ln NO2 vs time, and 1/NO2 vs time. Which graph yields the best straight line? what is the reaction order with respect to NO2? Briefly explain

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Arrests-convictions resulting from someone hacking in bank

Search online to discover and post the article which reports any particular examples of arrests/convictions resulting from someone hacking into the bank.

  Information assets to estimate for risk management purposes

If the organization has three information assets to estimate for risk management purposes which vulnerability must be estimated for additional controls first? Which vulnerability must be evaluated last?

  Explaining it solutions to enhance workflows

The final method to include IT is not to go "looking for IT solutions" just for sake of using IT. But to have IT at the table to truly think about ways to develop workflows.

  Explaining relationship of strategic and tactical plans

Descriibe in scholarly detail relationship of strategic, tactical, and operational plans,

  Explaining notifier sends e-mail to system administrator

Suppose a notifier sends e-mail to the system administrator when a successful compromise of that system is detected. What are the drawbacks of this approach?

  How to stop process-freeze its memory image in process

Some multicomputers permit running processes to be migrated from one node to another. Is it adequate to stop process, freeze its memory image, and just ship that off to different node?

  Explain findings after conducting search for .cde files

You work for mid-sized corporation known for its inventions which does a lot of copyright and patent work. Explain your findings after conducting Internet search for .cde files.

  Pseudocode or code for simple task

Then post pseudocode or code you would write for simple task (making peanut butter sandwich, for example) as well as three simple control structures that could be used to create this algorithm

  How many instructions can the processor execute

Assume that we are working on a workstation with an instruction rate of 500 MIPS. How many instructions can the processor execute between the receipt of each individual bit of the message?

  Determine minimum number of element

We wish to find the element x that is in upper half when S is sorted, or in other words element which is greater than median. Determine the minimum number of element comparision required to solve problem ?

  Features of organization to make and use information systems

Write down the features of organizations do managers require to know about to make and use information systems successfully?

  Find mean shopping time at supermarket-level of significance

Using 0.10 level of significance is there evidence that mean shopping time at local supermarket is different from claimed value of 22 minutes?

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