-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
1127 lines (1078 loc) · 40.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Created from template file index.html.tmpl. Do not modify index.html
directly. -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><script src="/A2EB891D63C8/avg_ls_dom.js" type="text/javascript"></script>
<meta name="description" content ="CS61A Computer Science 61A: Structure and Interpretation of Computer Programs" />
<meta name="keywords" content ="CS61A, Computer Science, CS, 61A, Programming, John DeNero, Berkeley, EECS" />
<meta name="author" content ="John DeNero" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="style.css"/>
<title>CS 61A Spring 2014: Structure and Interpretation of Computer Programs</title>
<!-- Google Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-34495187-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<h1><a href="index.html"><span class="coursename">CS61A</span>Structure and Interpretation of Computer Programs</a>, Spring 2014</h1>
<ul class="courseinfo">
<li>Instructor: Paul Hilfinger</li>
<li>MWF 2-3 PM in Wheeler Auditorium</li>
</ul>
<br/>
<hr/>
<ul class="navigation">
<li><a href="index.html">Main</a></li>
<li><a href="about.html">Course Info</a></li>
<li><a href="staff.html">Staff</a></li>
<li><a href="index.html#schedule">Schedule</a></li>
<li><a href="index.html#resources">Resources</a></li>
<li><a href="https://piazza.com/berkeley/spring2014/61a">Piazza</a></li>
<li><a href="hw/solutions">Solutions</a></li>
</ul>
<hr/>
<a name="announcements"></a>
<h2>Announcements</h2>
<table class="announcements">
<tr>
<td class="date">5/15</td>
<td class="text"><b> Congratulations to our Scheme Art Contest Winners!</bf></td>
</tr>
<tr> <td> </td>
<td>
<ul>
<li> <b>Featherweight Division: </b> <a href="http://goo.gl/3GsOaC">Entries</a>
<ul>
<li> 1st place: Submission 1 (46% of votes) Yidong Zou (cs61a-jf) and Jiacheng Wu (cs61a-je) </li>
<li> 2nd place: Submission 2 (44% of votes)
Yea Jung (cs61a-afc) and Bofan Chen (cs61a-aas) </li>
<li> 3rd place: Submission 0 (10% of votes)
Ryan Kapur (cs61a-vm) and Ginny McGinnis (cs16a-kt)</li>
</ul>
</li>
<li> <b>Heavyweight Division:</b> <a href="http://goo.gl/efsHz0">Entries</a>
<ul>
<li> 1st place: Submission 5 (59% of votes) Allan Zhao (cs61a-ahh)</li>
<li> 2nd place: Submission 4 (21% of votes) Franklin Lee (cs61a-aj)</li>
<li> 3rd place: Submission 3 (20% of votes) Jaskirat Mahal (cs61a-mt) and Sandeep Subramanian (cs61a-ads)</li>
</ul>
</li>
</ul>
<td>
</tr>
<tr>
<td class="date">5/2</td>
<td class="text">Please fill out our
<a href="http://tinyurl.com/msy72mg">final survey</a> by
Friday, 16 May. It's worth 1.5 points, plus 1 extra for the whole class
if we get 90\% participation. </td>
</tr>
<tr>
<td class="date">5/2</td>
<td class="text">HKN surveys today (5 points) in class. </td>
</tr>
<tr>
<td class="date">4/8</td>
<td class="text">
<a href="hw/solutions/sp14-test2-solutions.pdf">Test #2 solutions</a> available.
</td>
</tr>
<tr>
<td class="date">4/4</td>
<td class="text">
Educational Technology Services (ETS) is planning the future of the
Webcast program; in particular we will be making choices about *where*
we make course webcasts available to you. Your input is valuable!
Please take a few minutes to answer the questions on
<a href="http://www.surveygizmo.com/s3/1593553/Webcast-Student-Feedback-Survey-March-2014">our survey, here.</a>
</td>
</tr>
<tr>
<td class="date">2/28</td>
<td class="text">
<strong>Congratulations to our Hog Contest Winners!</strong> See the
<a href="http://inst.eecs.berkeley.edu/~cs61a/sp14/hog_contest/results.html">top 10 entries!</a>
</td>
</tr>
<tr>
<td class="date">2/16</td>
<td class="text">
Your readers include the following
<a href="http://inst.eecs.berkeley.edu/~cs61a/fa13/exams">page of sample tests</a> from past semesters.
</td>
</tr>
<tr>
<td class="date">2/20</td>
<td class="text">
<a href="hw/solutions/sp14-test1-solutions.pdf">Test #1 solutions</a> available.
</td>
</tr>
<!--
<tr>
<td class="date">2/19</td>
<td class="text">
Discussion sections meet this week (2/19--2/21) as usual.
</td>
</tr>
-->
<!--
<tr>
<td class="date">2/16</td>
<td class="text">
<strong>Test #1 Tuesday 2/18, 8-10PM</strong> You'll be assigned
to rooms based on your logins:
<ul>
<li>101 Morgan: Logins aa-aez</li>
<li>2050 VLSB: Logins af-gz</li>
<li>2060 VLSB: Logins ha-jz</li>
<li>2040 VLSB: Logins ka-oz</li>
<li>120 Latimer: Logins pa-uz</li>
<li>100 GPB: Logins va-zx</li>
</ul>
</td>
</tr>
<tr>
<td class="date">2/14</td>
<td class="text">
<strong>No labs 2/17-2/19. No lecture 2/19.</strong>
</td>
</tr>
<tr>
<td class="date">2/14</td>
<td class="text">
<strong>Make-up Tests #1 Wednesday 2/19, 9AM-1PM:</strong> In the
instructional labs (Soda 271 and 273). You must have told us about
your conflict ahead of time.
</td>
</tr>
<tr>
<td class="date">2/14</td>
<td class="text">
<strong>People needing test accommodations:</strong> We'll hold
tests in the instructional labs (271 and 273 Soda)
from 6PM-10PM on Tuesday, 2/18 (overlapping the main test). Please
come at the time you require to finish by 10PM (the test is
nominally 2 hours). I must have received an
accommodation letter for you from the University.
</td>
</tr>
<tr>
<td class="date">4/2</td>
<td class="text">
<strong>Test #2 Wednesday 4/2, 8-10PM</strong> You'll be assigned
to rooms based on your logins:
<ul>
<li>2050 VLSB: Logins aa-cz</li>
<li>2060 VLSB: Logins da-gn</li>
<li>2040 VLSB: Logins go-jz</li>
<li>10 Evans: Logins ka-qq</li>
<li>60 Evans: Logins qr-uz</li>
<li>145 Dwinelle: Logins va-zx</li>
</ul>
</td>
</tr>
-->
<!--
<tr>
<td class="date">1/22</td>
<td class="text">
Web site under construction. Expect frequent changes.
</td>
</tr>
-->
<!---
<tr>
<td class="date">2/8</td>
<td class="text">
<strong>New: Short self-assessment quiz.</strong> Please complete
and submit <a href="hw/quiz1.html">this quiz</a> by midnight
Monday, 10 February. It's worth only a little (3 points), and is
intended to give you and us some idea of whether you are picking up
the subject matter.
</td>
</tr>
-->
<!--
<tr>
<td class="date">1/22</td>
<td class="text">
No labs during the first week. Discussion sections start today.
</td>
</tr>
-->
<!--
<tr>
<td class="date">11/20</td>
<td class="text">
Use the
<a href="http://composingprograms.com/examples/logic/logic.py.html">Logic</a>
language
<a href="http://www-inst.eecs.berkeley.edu/~cs61a/fa13/logic/logic.html">on the web</a>
or add this
<a href="http://composingprograms.com/examples/logic/logic.py">Python implementation</a>
to your Scheme project.
</td>
</tr>
-->
</table>
<a name="calendar"></a>
<h2>Calendar</h2>
<!-- BEGIN SCHEDULE -->
<table id="calendar">
<thead>
<tr>
<th>Week</th>
<th>Date</th>
<th>Lecture Topic</th>
<th>Reading</th>
<th>Lab/Discussion</th>
<th>Homework</th>
<th>Project</th>
</tr>
</thead>
<tr>
<td rowspan="2" class="weeknum">1</td>
<td class="date">Wed Jan 22</td>
<td> Introduction (<a href="slides/01.py">01.py</a>) (<a href="slides/01_1pp.pdf">1pp</a>) (<a href="slides/01_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/11-getting-started.html">Section 1.1</a><br/></p><p> <a href="http://composingprograms.com/pages/12-elements-of-programming.html">Section 1.2</a><br/></p> </td>
<td> <p> <a href="disc/discussion00.pdf">Discussion 0: Lost on the Moon</a></p><p> <a href="disc/discussion00_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw0.html">hw0.html</a> <a href="hw/hw0.py">hw0.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Jan 24</td>
<td> Functions and Expressions (<a href="slides/02.py">02.py</a>) (<a href="slides/02_1pp.pdf">1pp</a>) (<a href="slides/02_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/13-defining-new-functions.html">Section 1.3</a><br/></p><p> <a href="http://composingprograms.com/pages/14-designing-functions.html">Section 1.4</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">2</td>
<td class="date">Mon Jan 27</td>
<td> Names and Environments (<a href="slides/03.py">03.py</a>) (<a href="slides/03_1pp.pdf">1pp</a>) (<a href="slides/03_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/15-control.html">Section 1.5</a><br/></p> </td>
<td> <p> <a href="lab/lab00/lab00.php">Lab 0: Intro to Unix/Emacs</a></p><p> <a href="lab/lab01/lab01.php">Lab 1: Your own machine</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Jan 29</td>
<td> Control (<a href="slides/04.py">04.py</a>) (<a href="slides/04_1pp.pdf">1pp</a>) (<a href="slides/04_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/16-higher-order-functions.html">Section 1.6</a><br/></p> </td>
<td> <p> <a href="disc/discussion01.pdf">Discussion 1: Expressions, Statements, and Functions</a></p><p> <a href="disc/discussion01_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw1.html">hw1.html</a> <a href="hw/hw1.py">hw1.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Jan 31</td>
<td> Environments (<a href="slides/05.py">05.py</a>) (<a href="slides/05_1pp.pdf">1pp</a>) (<a href="slides/05_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/16-higher-order-functions.html">Section 1.6</a><br/></p> </td>
<td> </td>
<td> </td>
<td> <a href="proj/hog/hog.html">Hog</a> (due Feb 13) </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">3</td>
<td class="date">Mon Feb 03</td>
<td> Newton's Method (<a href="slides/06.py">06.py</a>) (<a href="slides/06_1pp.pdf">1pp</a>) (<a href="slides/06_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/16-higher-order-functions.html">Section 1.6</a><br/></p> </td>
<td> <p> <a href="lab/lab02/lab02.php">Lab 2: Control</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Feb 05</td>
<td> Recursion (<a href="slides/07.py">07.py</a>) (<a href="slides/07_1pp.pdf">1pp</a>) (<a href="slides/07_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/17-recursive-functions.html">Section 1.7</a><br/></p> </td>
<td> <p> <a href="disc/discussion02.pdf">Discussion 2: Higher-Order Functions</a></p><p> <a href="disc/discussion02_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw2.html">hw2.html</a> <a href="hw/hw2.py">hw2.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Feb 07</td>
<td> Tree Recursion (<a href="slides/08.py">08.py</a>) (<a href="slides/08_1pp.pdf">1pp</a>) (<a href="slides/08_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/17-recursive-functions.html">Section 1.7</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">4</td>
<td class="date">Mon Feb 10</td>
<td> Function Examples (<a href="slides/09.py">09.py</a>) (<a href="slides/09_1pp.pdf">1pp</a>) (<a href="slides/09_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> <p> <a href="lab/lab03/lab03.php">Lab 3: Recursion and Midterm Review</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Feb 12</td>
<td> Function and Data Abstraction (<a href="slides/10.py">10.py</a>) (<a href="slides/10_1pp.pdf">1pp</a>) (<a href="slides/10_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/21-introduction.html">Section 2.1</a><br/></p><p> <a href="http://composingprograms.com/pages/22-data-abstraction.html">Section 2.2</a><br/></p> </td>
<td> <p> <a href="disc/discussion03.pdf">Discussion 3: Recursion</a></p><p> <a href="disc/discussion03_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw3.html">hw3.html</a> <a href="hw/hw3.py">hw3.py</a> </td>
<td> <a href="proj/hog_contest/hog_contest.html">Hog contest</a> (due Feb 27) </td>
</tr>
<tr>
<td class="date">Fri Feb 14</td>
<td> Sequences (<a href="slides/11.py">11.py</a>) (<a href="slides/11_1pp.pdf">1pp</a>) (<a href="slides/11_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/23-sequences.html">Section 2.3</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">5</td>
<td class="date">Mon Feb 17</td>
<td> ***Academic Holiday*** </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Feb 19</td>
<td> ***No Lecture; <a href="exams/test1.html">Test 1</a> is Tuesday Feb 18 @ 8pm*** </td>
<td> </td>
<td> <p> <a href="disc/discussion04.pdf">Discussion 4: Data Abstraction</a></p><p> <a href="disc/discussion04_sol.pdf">Solutions</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Feb 21</td>
<td> Sequence Operations (<a href="slides/12.py">12.py</a>) (<a href="slides/12_1pp.pdf">1pp</a>) (<a href="slides/12_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/24-mutable-data.html">Section 2.4</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">6</td>
<td class="date">Mon Feb 24</td>
<td> Strings and Sequence Processing (<a href="slides/13.py">13.py</a>) (<a href="slides/13_1pp.pdf">1pp</a>) (<a href="slides/13_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/23-sequences.html">Section 2.3</a><br/></p> </td>
<td> <p> <a href="lab/lab04/lab04.php">Lab 4: Lists and Dictionaries</a></p> </td>
<td> </td>
<td> <a href="proj/trends/trends.html">Trends</a> (due Mar 06) </td>
</tr>
<tr>
<td class="date">Wed Feb 26</td>
<td> Mutable Data, Lists, Dictionaries (<a href="slides/14.py">14.py</a>) (<a href="slides/14_1pp.pdf">1pp</a>) (<a href="slides/14_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/24-mutable-data.html">Section 2.4</a><br/></p> </td>
<td> <p> <a href="disc/discussion05.pdf">Discussion 5: Lists and Dictionaries</a></p><p> <a href="disc/discussion05_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw4.html">hw4.html</a> <a href="hw/hw4.py">hw4.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Feb 28</td>
<td> Objects (<a href="slides/15.py">15.py</a>) (<a href="slides/15_1pp.pdf">1pp</a>) (<a href="slides/15_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/25-object-oriented-programming.html">Section 2.5</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">7</td>
<td class="date">Mon Mar 03</td>
<td> Inheritance (<a href="slides/16.py">16.py</a>) (<a href="slides/16_1pp.pdf">1pp</a>) (<a href="slides/16_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/25-object-oriented-programming.html">Section 2.5</a><br/></p><p> <a href="http://composingprograms.com/pages/28-generic-operations.html">Section 2.8</a><br/></p> </td>
<td> <p> <a href="lab/lab05/lab05.php">Lab 5: Mutable Data</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Mar 05</td>
<td> Abstraction Support:<br>Exceptions, Operators, Properties (<a href="slides/17.py">17.py</a>) (<a href="slides/17_1pp.pdf">1pp</a>) (<a href="slides/17_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/25-object-oriented-programming.html">Section 2.5</a><br/></p><p> <a href="http://composingprograms.com/pages/33-exceptions.html">Section 3.3</a><br/></p> </td>
<td> <p> <a href="disc/discussion06.pdf">Discussion 6: Object-Oriented Programming</a></p><p> <a href="disc/discussion06_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw5.html">hw5.html</a> <a href="hw/hw5.py">hw5.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Mar 07</td>
<td> Orders of growth (<a href="slides/18.py">18.py</a>) (<a href="slides/18_1pp.pdf">1pp</a>) (<a href="slides/18_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/27-recursive-data-structures.html">Section 2.7</a><br/></p> </td>
<td> </td>
<td> </td>
<td> <a href="proj/ants/ants.html">Ants</a> (due Mar 20) </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">8</td>
<td class="date">Mon Mar 10</td>
<td> Orders of Growth (II) (<a href="slides/19.py">19.py</a>) (<a href="slides/19_1pp.pdf">1pp</a>) (<a href="slides/19_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/27-recursive-data-structures.html">Section 2.7</a><br/></p> </td>
<td> <p> <a href="lab/lab06/lab06.php">Lab 6: Recursive objects</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Mar 12</td>
<td> Tree Recursions, Memoization, and Trees (<a href="slides/20.py">20.py</a>) (<a href="slides/20_1pp.pdf">1pp</a>) (<a href="slides/20_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/27-recursive-data-structures.html">Section 2.7</a><br/></p> </td>
<td> <p> <a href="disc/discussion07.pdf">Discussion 7: Recursive Data and Orders of Growth</a></p><p> <a href="disc/discussion07_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw6.html">hw6.html</a> <a href="hw/hw6.py">hw6.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Mar 14</td>
<td> Search Trees and Sets (<a href="slides/21.py">21.py</a>) (<a href="slides/21_1pp.pdf">1pp</a>) (<a href="slides/21_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/27-recursive-data-structures.html">Section 2.7</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">9</td>
<td class="date">Mon Mar 17</td>
<td> Search Trees and Sets II (<a href="slides/22.py">22.py</a>) (<a href="slides/22_1pp.pdf">1pp</a>) (<a href="slides/22_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> <p> <a href="lab/lab07/lab07.php">Lab 7: Sets and Orders of Growth</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Mar 19</td>
<td> Search Trees and Sets III (<a href="slides/23.py">23.py</a>) (<a href="slides/23_1pp.pdf">1pp</a>) (<a href="slides/23_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> <p> <a href="disc/discussion08.pdf">Discussion 8: Generic Functions</a></p><p> <a href="disc/discussion08_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw7.html">hw7.html</a> <a href="hw/hw7.py">hw7.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Mar 21</td>
<td> Scheme (<a href="slides/24.scm">24.scm</a>) (<a href="slides/24_1pp.pdf">1pp</a>) (<a href="slides/24_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/31-introduction.html">Section 3.1</a><br/></p><p> <a href="http://composingprograms.com/pages/32-functional-programming.html">Section 3.2</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">10</td>
<td class="date">Mon Mar 24</td>
<td> ***Spring Break*** </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Mar 26</td>
<td> ***Spring Break*** </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Mar 28</td>
<td> ***Spring Break*** </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">11</td>
<td class="date">Mon Mar 31</td>
<td> Calculator (<a href="slides/25_1pp.pdf">1pp</a>) (<a href="slides/25_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/34-interpreters-for-languages-with-combination.html">Section 3.4</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Apr 02</td>
<td> ***No Lecture; <a href="exams/test2.html">Test 2</a> is Wednesday Apr 02 @ 8pm*** </td>
<td> </td>
<td> <p> <a href="disc/discussion09.pdf">Discussion 9: Scheme</a></p><p> <a href="disc/discussion09_sol.pdf">Solutions</a></p> </td>
<td> </td>
<td> Hog revisions (due Apr 10) </td>
</tr>
<tr>
<td class="date">Fri Apr 04</td>
<td> Interpreters (<a href="slides/26_1pp.pdf">1pp</a>) (<a href="slides/26_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/35-interpreters-for-languages-with-abstraction.html">Section 3.5</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">12</td>
<td class="date">Mon Apr 07</td>
<td> Tail Calls (<a href="slides/27_1pp.pdf">1pp</a>) (<a href="slides/27_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/35-interpreters-for-languages-with-abstraction.html">Section 3.5</a><br/></p> </td>
<td> <p> <a href="lab/lab08/lab08.php">Lab 8: Scheme and Calculator</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Apr 09</td>
<td> The Halting Problem (<a href="slides/28_1pp.pdf">1pp</a>) (<a href="slides/28_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> <p> <a href="disc/discussion10.pdf">Discussion 10: Calculator</a></p><p> <a href="disc/discussion10_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw8.html">hw8.html</a> <a href="hw/hw8.scm">hw8.scm</a> </td>
<td> <a href="proj/scheme/scheme.html">Scheme</a> (due Apr 29) </td>
</tr>
<tr>
<td class="date">Fri Apr 11</td>
<td> Generators and Streams (<a href="slides/29.py">29.py</a>) (<a href="slides/29_1pp.pdf">1pp</a>) (<a href="slides/29_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/41-introduction.html">Section 4.1</a><br/></p><p> <a href="http://composingprograms.com/pages/42-implicit-sequences.html">Section 4.2</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">13</td>
<td class="date">Mon Apr 14</td>
<td> Streams (<a href="slides/30.py">30.py</a>) (<a href="slides/30_1pp.pdf">1pp</a>) (<a href="slides/30_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/42-implicit-sequences.html">Section 4.2</a><br/></p> </td>
<td> <p> <a href="lab/lab09/lab09.php">Lab 9: Iterators, Generators, and Streams</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Apr 16</td>
<td> Declarative Programming (<a href="slides/31.logic">31.logic</a>) (<a href="slides/31_1pp.pdf">1pp</a>) (<a href="slides/31_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/43-declarative-programming.html">Section 4.3</a><br/></p> </td>
<td> <p> <a href="disc/discussion11.pdf">Discussion 11: Logic</a></p><p> <a href="disc/discussion11_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw9.html">hw9.html</a> <a href="hw/hw9.py">hw9.py</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Apr 18</td>
<td> Unification (<a href="slides/32.logic">32.logic</a>) (<a href="slides/32.py">32.py</a>) (<a href="slides/32_1pp.pdf">1pp</a>) (<a href="slides/32_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/44-unification.html">Section 4.4</a><br/></p> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">14</td>
<td class="date">Mon Apr 21</td>
<td> Concurrency (<a href="slides/33_1pp.pdf">1pp</a>) (<a href="slides/33_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/45-distributed-computing.html">Section 4.5</a><br/></p> </td>
<td> <p> <a href="lab/lab10/lab10.php">Lab 10: Logic</a></p><p> <a href="logic/logic.html">Logic Interpreter</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Apr 23</td>
<td> Synchronization (<a href="slides/34.zip">34.zip</a>) (<a href="slides/34_1pp.pdf">1pp</a>) (<a href="slides/34_6pp.pdf">6pp</a>) </td>
<td> <p> <a href="http://composingprograms.com/pages/46-distributed-data-processing.html">Section 4.6</a><br/></p> </td>
<td> <p> <a href="disc/discussion12.pdf">Discussion 12: Streams and Review</a></p><p> <a href="disc/discussion12_sol.pdf">Solutions</a></p> </td>
<td> <a href="hw/hw10a.html">hw10a.html</a> <a href="hw/hw10b.html">hw10b.html</a> <a href="hw/hw10a.py">hw10a.py</a> <a href="hw/hw10b.logic">hw10b.logic</a> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri Apr 25</td>
<td> Cryptography (<a href="slides/35.zip">35.zip</a>) (<a href="slides/35_1pp.pdf">1pp</a>) (<a href="slides/35_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td rowspan="3" class="weeknum">15</td>
<td class="date">Mon Apr 28</td>
<td> Review: Streams and iterators (<a href="slides/36.py">36.py</a>) (<a href="slides/36_1pp.pdf">1pp</a>) (<a href="slides/36_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> <p> <a href="">Review</a></p> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Wed Apr 30</td>
<td> More Review (<a href="slides/37_1pp.pdf">1pp</a>) (<a href="slides/37_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="date">Fri May 02</td>
<td> Conclusion, HKN (<a href="slides/38_1pp.pdf">1pp</a>) (<a href="slides/38_6pp.pdf">6pp</a>) </td>
<td> </td>
<td> </td>
<td> <a href="hw/hw11.html">hw11.html</a> <a href="hw/hw11.py">hw11.py</a> </td>
<td> </td>
</tr>
</table>
<a name="schedule"></a>
<h2>Weekly Schedule</h2>
<table id="schedule">
<tr>
<th></th>
<th colspan="2" width="auto">Monday</th>
<th colspan="2" width="auto">Tuesday</th>
<th colspan="2" width="auto">Wednesday</th>
<th colspan="2" width="auto">Thursday</th>
<th colspan="2" width="auto">Friday</th>
</tr>
<tr>
<td class="time">8:00</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 012<br/>
271 Soda<br/>
Robert Huang<br/>
</td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 022<br/>
271 Soda<br/>
Chenyang Yuan<br/>
</td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 112<br/>
71 Evans<br/>
Robert Huang<br/>
</td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 122<br/>
310 Soda<br/>
Chenyang Yuan<br/>
</td>
</tr>
<tr>
<td class="time">8:30</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">9:00</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">9:30</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 013<br/>
271 Soda<br/>
Rohan Chitnis<br/>
</td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 023<br/>
271 Soda<br/>
Soumya Basu<br/>
</td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 113<br/>
2 Evans<br/>
Rohan Chitnis<br/>
</td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 123<br/>
310 Soda<br/>
Robert Huang<br/>
</td>
</tr>
<tr>
<td class="time">10:00</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">10:30</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">11:00</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 014<br/>
271 Soda<br/>
Mark Miyashita<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 026<br/>
273 Soda<br/>
Keegan Mann<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 024<br/>
271 Soda<br/>
Albert Wu<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 031<br/>
273 Soda<br/>
Soumya Basu<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 114<br/>
71 Evans<br/>
Mark Miyashita<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 126<br/>
75 Evans<br/>
Keegan Mann<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 124<br/>
310 Soda<br/>
Albert Wu<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 131<br/>
405 Soda<br/>
Soumya Basu<br/>
</td>
</tr>
<tr>
<td class="time">11:30</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">12:00</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">12:30</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 015<br/>
271 Soda<br/>
Allen Nguyen<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 027<br/>
273 Soda<br/>
Joy Jeng<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 025<br/>
271 Soda<br/>
Julia Oh<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 032<br/>
273 Soda<br/>
Keegan Mann<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 115<br/>
6 Evans<br/>
Marvin Zhang<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 127<br/>
71 Evans<br/>
Mark Miyashita<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 125<br/>
310 Soda<br/>
Albert Wu<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 132<br/>
405 Soda<br/>
Keegan Mann<br/>
</td>
</tr>
<tr>
<td class="time">1:00</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">1:30</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">2:00</td>
<td rowspan="2" colspan="2" class="slot lecture">
Lecture<br/>
Wheeler Auditorium<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 016<br/>
271 Soda<br/>
Joy Jeng<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 028<br/>
273 Soda<br/>
Julia Oh<br/>
</td>
<td rowspan="2" colspan="2" class="slot lecture">
Lecture<br/>
Wheeler Auditorium<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 116<br/>
71 Evans<br/>
Joy Jeng<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 128<br/>
385 Leconte<br/>
Julia Oh<br/>
</td>
<td rowspan="2" colspan="2" class="slot lecture">
Lecture<br/>
Wheeler Auditorium<br/>
</td>
</tr>
<tr>
<td class="time">2:30</td>
</tr>
<tr>
<td class="time">3:00</td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">3:30</td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 011<br/>
271 Soda<br/>
Steven Tang<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 017<br/>
271 Soda<br/>
Marvin Zhang<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 029<br/>
273 Soda<br/>
Michelle Hwang<br/>
</td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 111<br/>
310 Soda<br/>
Steven Tang<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 117<br/>
87 Evans<br/>
Marvin Zhang<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 129<br/>
310 Soda<br/>
Chenyang Yuan<br/>
</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">4:00</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">4:30</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">5:00</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 018<br/>
271 Soda<br/>
Michelle Hwang<br/>
</td>
<td rowspan="3" colspan="1" class="slot lab split">
Lab 030<br/>
273 Soda<br/>
Andrew Huang<br/>
</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 118<br/>
2 Evans<br/>
Michelle Hwang<br/>
</td>
<td rowspan="3" colspan="1" class="slot dis split">
Dis 130<br/>
310 Soda<br/>
Andrew Huang<br/>
</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">5:30</td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">6:00</td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">6:30</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 019<br/>
271 Soda<br/>
Allen Nguyen<br/>
</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 119<br/>
6 Evans<br/>
Allen Nguyen<br/>
</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">7:00</td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">7:30</td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">8:00</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="2" class="slot lab">
Lab 020<br/>
271 Soda<br/>
Rohan Chitnis<br/>
</td>
<td colspan="2"> </td>
<td rowspan="3" colspan="2" class="slot dis">
Dis 120<br/>
310 Soda<br/>
Rohan Chitnis<br/>
</td>
<td colspan="2"> </td>
</tr>
<tr>
<td class="time">8:30</td>
<td colspan="2"> </td>
<td colspan="2"> </td>
<td colspan="2"> </td>
</tr>