CS1112M --> Exercises

Exercises are assigned in discussion 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/DataTips Solutions 1 8/26, 8/27 Lab 1 spiral.m convertC2F.m convertF2C.m 2 9/2, 9/3 Lab 2 M1_2_5, M1_2_6, triangleType, Sticks, angle1, angle2, angle3, Conciseness & efficiency 3 9/9, 9/10 Sec 3 Multiples, sqrRootN, ApproxPi 4 9/16, 9/17 Lab 4 stepPyramidSkeleton.m, Fibonacci.m stepPyramid, fib, binCoef 5 9/23, 9/24 Sec 5 Mid3, Trig, ShowTrig, IsPythag, ShowPythag, MySin1, digitsOfBinCoef, showDigitsOfBinCoefs 6 9/30, 10/1 Lab 6 loopPattern.txt, vectorQuery.m, sequence.m, rollDice.m 7 10/7, 10/8 Sec 7 findInMatrix, matrixCSums 8 10/15 (attendance optional) Lab8 myDeterminant, scriptRWStatistics, RandomWalk2D, BoundedRandomWalk2D, scriptBoundedRWStatistics 9 10/21, 10/22 Sec 9 See Project 4 solutions after the project due date 10 10/28, 10/29 Lab10 rComplement, rCompBulk, DispCards MyShuffle, ShowMyShuffle, 11 11/4, 11/5 Sec 11 Submit 3.1 and 3.2 on paper at the beginning of next week's discussion MakeSquare, ShowMakeSquare, class designs 12 11/11, 11/12 Lab12 Submit your completed Fraction.m in CMS by Mon 11/17 at 11pm Interval.m, Fraction.m Interval, Fraction.m 13 11/18, 11/19 Sec 13 intervalArray.m, LocalWeather.m, ithacaWeather.txt isInRange, LocalWeather 14 11/25 (attendance optional) Lab 14 Power 15 12/2, 12/3 Lab15 InsertionSort, LargestTriangle InsertionSortInplace, LargestTriangleSol

#### Grading

Unless otherwise specified, each exercise will receive a score of usually 0 or 1 point with no distinction between correctness and style. Discussion exercises are checked during the discussion class. If there is a homework exercise, it should be submitted via CMS.