Due: January 8th (Thursday) at the end of your lab session.

CMSC 10500, Winter 2015. Lab 1

In this lab, you will familiarize yourself with the basics of DrRacket, simple UNIX commands, and the SVN assignment submission system.


A. Get Ready...

Familiarize yourself with some of the class tools.

B. Get Set...


C. Go!

Part 1


Part 2


Part 3

Go back to your DrRacket window. We will now draw some pretty pictures. The image teachpack provides primitives for operating with images. Details on working with this teachpack are available at http://docs.racket-lang.org/teachpack/2htdpimage.html or through DrRacket's help desk. Please open this page and consult it as you go through the following exercises.


Part 4: Bonus Problem

Please attempt this only after you have completed and submitted the rest of the lab. Complete as much as you can before the end of the lab session for a check+ grade. Do this in the same lab1.rkt file you have been using, include comments, and don't forget to save and commit it. If you run out of time, you will still have a chance to complete it during next week's homework.

The DrRacket overlay operator overlays images on top of one another. Using this operator, draw a enclosed diamond that looks like this:

Hint: start by trying to overlay two rectangles of different widths and lengths and then use the rotate operatorand go from there.


Submitting Your Work

Anytime you make changes to your repository (i.e. adding new or modified files/folders) you need to svn commit your changes. The command svn add did not save your lab1 folder or lab1.rkt to you repository. It only told svn that when you perform a svn commit that these need to be saved to your repository. Remember, as you go along make sure you svn commit your changes. You will be graded on what is in the lab1 directory at the end of your lab session. Convince yourself that your commit has been successful and that you have submitted the correct files and folder by following the instructions below.

How to Check your SVN Submission


Adapted by Lamont Samuels in 2012 from material designed by Sravana Reddy.