CMPU-101-04 Computer Science I and Lab. (Fall 2018)

Problems and Solutions

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.

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.

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.

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.

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.

Problems for Lab. 04