1. Does directory listing, places result in file called foo.txt 2. The programmer is guaranteed that at most one thread executes between lock() and unlock() at a time. 3. At the end, x can be 3,4, or 6. 4. two traces are possible: 20 20 40 AND 20 40 40 5. a, c.