Java code symbolizes how tasks are scheduled in an operating system. It uses the example of Visitors traveling ellis island. Firsr visitors stand in line waiting for one of two movies to start. Each movie has a certain capacity. After the movie theatre is filled, the remaining visitors who did not get into movie are set to wait for movie two. All times are kept so as to indicate what processors enter at certain times