CS100M --> Exercises
Homework and lab exercises are posted here. Lab exercises are to be submitted in the lab.
Exercises are assigned in section/lab. Generally you will start the work in
class and, if necessary, complete the work on your own that week--don't
get behind. Be sure to sign in at each section/lab so that you get credit for
doing the exercise.
Exercise |
Due Date |
Assignment |
Code/Data Tips |
Solutions |
Lab 1 |
1/22, 1/23
in section |
lab1.pdf |
spiral.m |
- |
Lab 2 |
1/29, 1/30
in section |
lab2.pdf |
|
M1_2_4.m
and2or.m
triangle.txt
angle1.m
angle2.m |
Sec 3 |
2/5, 2/6
in section |
sec3.pdf |
|
angle3.m
piSeriesApprox.m
divisors.m
|
Lab 4 |
2/12, 2/13
in section |
lab4.pdf |
stepPyramidSkeleton.m |
stepPyramid.m
lab4sol.txt
|
Sec 5 |
2/19, 2/20
in section |
sec5.pdf |
|
sol.zip
|
Lab 6 |
2/26, 2/27
in section |
lab6.pdf |
|
rollDice.m
rollDie.m |
Sec 7 |
3/4, 3/5
in section |
sec7.pdf |
|
sec7sol.zip |
Lab 8 |
3/11, 3/12
in section |
lab8.pdf |
|
lab8sol1.zip |
Sec 9 |
3/26, 3/26
in section |
sec9.pdf |
|
BoundedRandomWalk2D.m
Interpolate2D_nv.m
Interpolate2D_v.m
scriptBoundedRWStatistics.m |
Lab 10 |
4/1, 4/2
in section |
lab10.pdf |
|
lab10sol.zip |
Sec 11 |
4/8, 4/9
in section |
sec11.pdf |
TheDigits.m |
longLifeBulb.m
i2rc.m
mat2vec.m |
Lab 12 |
4/15, 4/16
in section |
lab12.pdf |
segmentByClicks.m |
reduceSpikes.m
segmentCleaned.m |
Sec 13 |
4/21, 4/22
in section |
sec13.pdf |
|
Power.m
q1sol.txt |
Lab 14 |
4/29, 4/30
in section |
lab14.pdf |
LargestTriangle.m |
LargestTriangleSol.m |
Exercise 15 |
5/7 |
Course Eval |
|
|
Exercise Submission
Unless otherwise specified, use the on-line submission system CMS for homework exercises. Lab and section exercises are submitted in the lab/section.
Grading
Unless otherwise specified, each exercise will receive a score of usually 0 or 1 point with no distinction between correctness and style.