====== CMPU-101-04 Computer Science I and Lab. (Fall 2018) ====== ~~NOTOC~~ ~~NOCACHE~~ ===== Labs ===== ==== Problems and Solutions ==== ^ Week ^ Lab. ^ Problems ^ Sample Solutions ^ | **1** | 0 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab00_problems.txt|Lab. 00 Problems]] | | | **2** | 1 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab01_problems.txt|Lab. 01 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab01_solns.txt|Lab. 01 Solutions]] | | **3** | 2 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab02_problems.txt|Lab. 02 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab02_solns.txt|Lab. 02 Solutions]] | | **4** | 3 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab03_problems.txt|Lab. 03 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab03_solns.txt|Lab. 03 Solutions]] | | **5** | 4 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab04_problems.txt|Lab. 04 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab04_solns.txt|Lab. 04 Solutions]] | | **6** | ** * MIDTERM --- NO LAB. * ** ||| | **7** | 5 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab05_problems.txt|Lab. 05 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab05_solns.txt|Lab. 05 Solutions]] | | **8** | 6 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab06_problems.txt|Lab. 06 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab06_solns.txt|Lab. 06 Solutions]] | | **9** | 7 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab07_problems.txt|Lab. 07 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab07_solns.txt|Lab. 07 Solutions]] | | **10** | 8 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab08_problems.txt|Lab. 08 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab08_solns.txt|Lab. 08 Solutions]] | | **11** | 9 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab09_problems.txt|Lab. 09 Problems]] | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/solns/lab09_solns.txt|Lab. 09 Solutions]] | | **14** | 10 | [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab10_problems.txt|Lab. 10 Problems]] | | ==== Lab. Descriptions ==== === Lab. 00 === __Friday, 7th September, 2018__ This lab. is intended to help you set up your Vassar CS department Linux account, get used to using DrRacket (the program we use to work in Scheme), and to let you try out saving some work to disc and then loading it back into the computer and running it again. [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab00_problems.txt|Problems for Lab. 00]] === Lab. 01 === __Friday, 14th September, 2018__ In this lab. you will be getting lots of practice using the ''printf'' statements, as well as using ''define'' to create functions. You will also get your first chance to submit your work using the ''submit101'' command. [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab01_problems.txt|Problems for Lab. 01]] === Lab. 02 === __Friday, 21st September, 2018__ This lab explores using ''IF'' and ''COND'' to make decisions. You will also use a new built-in function, ''RANDOM'', which lets the computer pick a random number. You will also begin to use the ''asmt-helper.txt'' file, if you haven't already done so. [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab02_problems.txt|Problems for Lab. 02]] === Lab. 03 === __Friday, 28th September, 2018__ This lab. is all about recursion and writing functions that call themselves to perform a task. This is an important and integral part of Scheme, and of computer science in general. [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab03_problems.txt|Problems for Lab. 03]] === Lab. 04 === __Friday, 5th October, 2018__ We have been looking at several different subjects of late: boolean operators ''AND'', ''OR'' and ''NOT'', recursion, and non-empty lists. In this lab. you will be solving problems mostly involving recursion and lists, although one problem about booleans explores how computers actually work. [[https://www.cs.vassar.edu/~cs101/ell-fal-2018/labs/lab04_problems.txt|Problems for Lab. 04]]