Difference between revisions of "Assessment SET08112 2011 Hard"

From Progzoo
Jump to: navigation, search
(Question 09)
(Question 10)
Line 462: Line 462:
 
</question>
 
</question>
  
==Question 10==
+
==Question 15==
<question className='Q10' copyFile='product.txt cluster.txt Cluster.class Address.class Location.class Product.class Tray.class'>
+
<question className='Q15' copyFile='product.txt cluster.txt Cluster.class Address.class Location.class Product.class Tray.class'>
No tower should contain more than 100 of a particular product. List those products that are in excess in a tower. Give the product code, the tower and the number of products.
+
Replenish with 20 of product 20034301. List the locations that should be used and the quantity to be replenished for each.
 
<prog><![CDATA[
 
<prog><![CDATA[
 
import java.util.HashMap;
 
import java.util.HashMap;

Revision as of 00:08, 4 March 2011

For picking and replenishment you should observe the following constraints:

  1. Minimise the number of locations used.

£Maximise the distribution of products across towers.

  1. Minimise the amount of movement move as few trays as possible.
  2. Use low trays.
  3. Use the edges. Put the weight at the outside edges. Avoid the centre of the tray.
  4. Balance trays. There should not be excessive weight on either the left or the right.

Question 11

No tray should weight more than 100kg. List the trays that are overloaded.


[Font] [Default] [Show] [Resize] [History] [Profile]

Question 12

List the trays where the centre of gravity is off centre by more than 10%.

  • To calculate the centre of gravity of a tray you divide the sum of the moments by the total mass on the tray.
  • The moment of a location is the mass of the location multiplied by its distance from the left edge.



[Font] [Default] [Show] [Resize] [History] [Profile]

Question 13

Give a location that can be cleared by moving the products to one or more, partially full locations. Give details of the location to be cleared and a list of the destinations.


[Font] [Default] [Show] [Resize] [History] [Profile]

Question 14

Pick 15 of product 20034301. List the locations that should be used and the quantity to be removed.


[Font] [Default] [Show] [Resize] [History] [Profile]

Question 15

Replenish with 20 of product 20034301. List the locations that should be used and the quantity to be replenished for each.


[Font] [Default] [Show] [Resize] [History] [Profile]