Two different approaches to constructing simulation programs

Assignment 4 is about the creation of a simulation program involving a system consisting of clients and shared resources. Here are two examples:

  1. Simulation of a bank where clients of different priority wait in line to be served by several tellers. Here is the description of the problem (available only in french), and here is a solution.
  2. Simulation of a machine shop and the processing of different types of products. Here is the description of the problem (version française), and here is a solution (zip file)

Comparison of the programming structure of these two simulation programs

These two programs use two very different programming structures. Here are some comments: