COMPSCI 61A Study Guide - Midterm Guide: 5,6,7,8, Dejavu Fonts, Linked List
zogo39484755 and 6 others unlocked
22
COMPSCI 61A Full Course Notes
Verified Note
22 documents
Document Summary
Answers outside of the space allotted to problems will not be graded. If you are not sure of your answer you may wish to provide a brief explanation. What makes you happy? (alternatively, draw us a nice doodle). You can also take this opportunity to give us feedback. Include all lines that the interpreter would display. If it would display a function, then write function. If it would cause an error, write error. Assume that you have started python 3 and executed the following. 4 print(5) welcome() last_night(308) (lambda x, y: x + y(x))(4, lambda y: 5) [3 for x in range(30) if x > 26] cut(slice_of(pi)) cut(mystery(-1)(20)) cut(mystery(20)(-1)) print(mystery(print(20))) 3: (12 points) environment diagrams (a) (6 pt) environmental, my dear watson. Fill in the environment diagram that results from executing the code below until the entire program is. Nished, an error occurs, or all frames are lled.