Name (print clearly): _________________________________________________


Student ID (print clearly; 1 digit per underline): _____ _____ _____ _____ _____ _____

CSE 231s Quiz 01: Async/Finish; Computation Graphs

1) For the pseudo-code below, list which statements can run in parallel with eachother.

s1;
finish {
   async s2;
   s3;
}
s4;
s1 can run in parallel with: _______________________________

 

s2 can run in parallel with: _______________________________

 

s3 can run in parallel with: _______________________________

 

s4 can run in parallel with: _______________________________

2) Draw the computation graph below (abbreviate to your heart's content)

Given the tasks below:

Create account on edge.edx.org
Sign up for RiceX's COMP322
Complete RiceX Unit 1.1 Lecture
Complete RiceX Unit 1.1 Demo
Complete RiceX Unit 1.1 Quiz
Fill out S&Q From

Sign up for piazza
Join 231 on piazza

Download JDK 13
Install JDK 13

Download Eclipse
Install Eclipse
Test Eclipse

Submit Results Form

3) write pseudocode with async and finish to correctly employ parallelism:
Note: assume installing Eclipse depends on JDK already being installed.