Examples of Mid-Semester Exam Questions

Briefly describe The Von Neumann Model computer architecture. (10 pts)
 
Answer:
The Von Neumann Models consists of:
  1. Central Processing Unit consisting of:
    • A Control Unit to direct instruction processing .
    • An Arithmetic/Logic Unit for hard-wired instruction processing.
  2. Memory, storing both instructions and data.

Describe the result of executing the follow line of MPI code in Task 0
 
      MPI_Bcast(buffer, 2, MPI_INT, 0, MPI_COMM_WORLD); 

(5 pts)
 
Answer:
An array of two ints is sent to all the other Tasks in MPI_COMM_WORLD from Task 0 :