An automated plant has three conveyor belts – R, A and B. the units produced are sent continuously onto belt R at the rate of 1 unit/sec. A robot transfers the units either onto belt A or belt B, on which they are sent to the packaging department. Initially, five units are skipped to eliminate starting error. The robot then transfer units based on the program. The movement of the robot from the belt to belt B (or vice versa) and back takes two seconds. While carrying a unit the robot moves back to the belt from where it started. Neglect the time taken by robot to move from one belt to another when it is not carrying any unit. Only one command is executed at a time.
TAKE RTOB (x): transfer ‘x’ units from belt R to the belt B ( this would take x seconds, at the rate of 1 sec/unit).
TAKE ATOB (y) / TAKE BOTA (y): transfer ‘y’ units from belt A to the belt B or from belt B to belt A.
LEAVE (z): do not transfer the next z units. Following set of command is issued.
i. START
ii. LEAVE (5)
iii. TAKE RTOB(25)
iv. TAKE RTOA(30
v. TAKE ATOB(20)
vi. TAKE RTOA(15)
vii. TAKE RTOB(20)
viii. TAKE BTOA(25)
ix. STOP
Q1. What is the total number of units produced when the above program is executed?
1) 125
2) 96
3) 185
4) 187
Q2. What is the difference in the number of units at belt A and belt B at the end of the above program?
1) 3
2) 10
3) 32
4) 5
Q3. What is the total time taken to execute the instruction?
1) 180
2) 185
3) 90
4) 235
Answer
1. 3
2. 2
3. 2