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

  Demonstrate skills in drawing tools

To begin to combine and demonstrate skills in drawing tools, tweens, working with text, and telling a story

  Find the gradient magnitude and gradient direction

Consider the sub-image shown above. Find the gradient magnitude and gradient direction at the center entry using the following operators.

  Which information in computer critical to personal life

Let the information stored in the personal computer. Do you, at this moment, have information stored in your computer that is critical to your personal life?

  Find how many times will keyboard be checked in an hour

Assume the processor scans keyboard every 100 ms. How many times will keyboard be checked in the 8-hour period?

  Ways to avoid communication pitfalls

Based on the section on "Watch out for communication pitfalls" in the Bateman and Snell text, describe some ways that Lei could have avoided this situation.

  How virtual memory relies on locality of reference principle

TLB entries are different than page table entries. Describehow they differ and why they differ. Virtual memory relies on a locality of reference principle. Describe.

  Truth table validity of demorgan-s theorem for variables

Find out by means of truth table validity of DeMorgan's theorem for three variables: (ABC)' = A' + B' + C'. Simplify given expressions by using Boolean algebra.

  Creating data encryption standard for ibm

Let us start off with once widely used Data Encryption Standard (DES) which was created by International Business Machines (IBM).

  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?

  More registers appears to be a good thing

More registers appears to be a good thing, in terms of reducing the total number of memory accesses a program might require. Using the arithmetic expression S = (A+B)-(C+D)

  Network lan and the wan links

Use VLSM to configure the given network LAN and the WAN links. VLSM must be used in the MOST efficient way to subnet the LAN and the WAN links. All the links between routers are WAN links.

  Knowledge management systems important-modern organization

Describe in scholarly detail why knowledge management systems would be so important to a modern organization where the organization would initiate.

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