Name (print clearly): _________________________________________________
Student ID (print clearly; 1 digit per underline): _____ _____ _____ _____ _____ _____
CSE 231s Quiz 02: Computation Graphs
1) Draw the computation graph for the code below:
Tip: draw the continuation first.
s1;
finish { // F1 - Start
async s2;
finish { // F2 - Start
async s3;
async s4;
s5;
} // F2 - End
async s6;
s7;
} // F1 - End
s8;
2) Assuming each statment s1, s2, ..., s8 is 1 unit of work. What is the work and critical path length:
WORK: _________________
CPL: _________________