CMSC 212
Introduction to Low-Level Programming Concepts
Fall 2006
Announcements
December 26
The remaining projects which are not yet visible are just being doublechecked again in the next day or two, and will be made visible then. Thanks for your patience in waiting for the results of these.
December 11
One additional practice Exam #1, from Spring 2005, and a practice Quiz #1, from Fall 2005, have been posted. This is the only additional practice material we have which is applicable.
December 10
The correct outputs of the Project #5 secret tests have been placed in the directory 212public/proj5.
December 9
The Project #5 secret test results are visible on the submit server, and the secret tests have been placed in the directory 212public/proj5.
Note that the first two secret tests have the same effect as the shell commands main-int-bst.x < numbers and main-int-hash.x < numbers, and both should produce the same output as the original program you were given, using the original binary search tree of integers, when run with input redirected from the same file (in other words, they should produce the same output as main-int.x < numbers). Some students failed to include the proper header file table.h in their revised main-int.c, or didn't convert it to use void * pointers, or modified it in some way such that it didn't produce the same output as the original version.
December 6
See the Project #6 clarification on the Project #6 clarifications page . Be sure to check it regularly for any later clarifictions or corrections.
December 5
  • Please fill out the online course evaluation, anytime before noon December 13.
  • Please make sure that your modified main-int.c, in your Project #5 submission, is including table.h, and is not including bst-int.h. (Of course you will have to change the calls to the table functions to use void * arguments in order to do this.
December 4
The Project #5 deadline is extended 1 day, to Tuesday, Dec. 5 at 6PM.  More info is available on the Project #5 clarifications page.
Project #6 will still be posted today, and will be due Tuesday, Dec. 12.
December 3
The Project #4 release and secret test results are now visible on the submit server, and the test programs have been placed in the public class directory.
November 29
See several new items on the Project #5 clarifications page which were just added. Be sure to check it regularly for any later clarifictions or corrections.
November 28
The Project #5 tarfile has been updated with the eleven public tests, worth 50 points total, and the correct output files have been placed in the proj5 subdirectory of the public directory. Note that public01.c and public02.c are exactly the same, except that the Makefile compiles one using the binary search tree and the other one using the hash table, and the same applies for the first five pairs of public tests.
November 23
See one Project #5 clarification on the Project #5 clarifications page . Be sure to check it regularly for any later clarifictions or corrections.
November 22
The file bst-int.c has now been added to the project5.tgz tarfile. A couple of mistakes have also been corrected in the files bst-int.h and main-int.c, and in the Makefile, so be sure to extract these files from the tarfile again.
Note that Dr. Sussman is out of town for a couple of days, so don't expect a reply right away if you try to contact him.
November 21
Project #5 has been posted. The project5.tgz tarfile will be updated tomorrow with the file bst-int.c.
November 16
Note several clarifications on the Project #4 clarifications page today.
November 9
The Project #4 deadline has been extended to Friday, November 17, at 6PM.  The project spec is also being updated today with a few small clarifications, so be sure to look at the clarifications page daily.
November 6
The public tests are on the submit server, and the correct output files have been placed in the public directory on Grace. Please use these output files if you want to see what the public test results should be, rather than unnecessarily submitting your project.
November 5
The Project #4 tarfile has just been updated with the eight public tests, which are worth 45 points total. The release tests (soon to be available) will be worth 20 points, and the secret tests 20 points, for this project.

See the Project #4 clarifications and corrections on the Projects page .
October 29
Due to the project due date there will be some extra office hours tomorrow (Monday the 30th), held by Brent, from 2:00-3:30, in case you have questions at that time.
Sometimes when the weather is bad, power problems occur and systems can go down for a while. The CS webserver has been known to go down before. You may want to download the PDF copy of the project assignment to have it so you can keep on working on your project even if the webserver is inaccessible for a while.
October 26
Eight release tests are now on the submit server; four of them are 2 points and four of them are 3 points, so the release tests are 20 points in total. The secret tests for this project will also be 20 points.

Note that the printf near the end of public3.c, which had read printf("\nCopying s3 to s4.\n"), was worded incorrectly, as s4 is really being copied to s3. To avoid confusion, this printf has been updated in public3.c in the posted tarfile.

Note: we ask that you not submit your project unnecessarily to the submit server just to create a backup copy of it, but we do strongly suggest that you make frequent backup copies of your project files, using the cp command.
October 24
Output for the Project #3 public tests has been put on the Grace machines.  For more details, see the Project #3 clarifications page.
October 19
The Project #3 tarfile has just been updated with the five public tests, which are worth 9 points each (45 total). The release tests (soon to be available) will be worth 20 points, and the secret tests 20 points, for this project. Note that the Makefile has -DMAX_CHAR=12 in CFLAGS.

See the Project #3 clarifications, corrections, and hints on the Projects page .
October 17
The initial posting of Project #3, and the string.h include file we gave you, had a couple of small errors and inconsistencies.  Please get a new version of string.h from project3.tgz in the public directory on the Grace machines, and get the new PDF for the project spec.
October 15
The Project #1 secret tests are now in the proj1 subdirectory of the class public directory. The results on the secret tests have been made visible on the submit server.
October 11
Four Project #2 release tests have been put on the submit server. They are 5 points each. So the highest score a project can have currently is 65. The secret tests will be 20 points, and source code and programming style will be worth the remaining 15 points.

A misworded sentence in the last paragraph of Section 2.1.4 of Project #2 has been corrected. Instead of returning the line number of the first assembly instruction with an error, assemble is supposed to return the index or row subscript of the first assembly instruction with an error, as stated earlier in Section 2.1.3.
October 8
The Project #2 deadline has been extended to Sunday, October 15, at 6PM.  Public tests were posted later than expected, and release tests are also late. We also wanted to give you more time to study for the exam.
October 7
We forgot to remove the labels from the third public test, and also left an incorrect line in the Makefile. Also, the fourth public test had a line with "R0" rather than "R00". These have all been fixed, and the Project #2 tarfile has just been updated. Please copy it again, and extract public3.c, public4.c, and the Makefile again. We're sorry for the inconvenience and for any confusion.
October 6
The Project #2 tarfile has been updated with five public tests, 9 points apiece, so the public tests are 45 points total. The Makefile has been updated with rules for the public tests, and the project has been made visible on the submit server.
The fourth public tests has an input data file (which is also in the tarfile), so run it as
public4.x < public4-input.txt
September 29
See the Projects page for the Project #2 assignment.
September 19
See the Project #1 clarifications and corrections on the Projects page .
September 14
See the Projects page for the Project #1 assignment.
September 5
If you need to download SSH for Windows see the Documentation link. Also see the UNIX tutorial now under Documentation.
August 30
Welcome to CMSC 212!

If you don't have one, apply for a Glue account
here right away!
Staff Name Office (A.V. Williams) Office hours
instructor, 010X and 020X Larry Herman 1111, x52762 T 2:30-4PM
W 10-11AM
(or by appointment)
instructor, 030X Dr. Alan Sussman 4145, x53360 M 1:30-2:30PM
Th 10:30-11:30AM
(or by appointment)
teaching TA, 0101 & 0102 Roman Stanchak 1112 T 1-2PM
Th 1-2PM, 4-5PM
teaching TA, 0201 & 0202 Cole Trapnell 1112 T 4-5:30PM
F noon-1:30PM
teaching TA, 0301 & 0302 Jose Troche 1112 M 11AM-1PM
W noon-1PM
grading TA Saeed Alaei 1112 M 10-11AM
T 10-11AM
W 1-2PM
grading TA Fatih Kaya 1112 T 11:30AM-1PM
Th 11:30AM-1PM
grading TA Sukhyun Song 1112 M 2:30-3:30PM
F 3:30-5:30PM
undergraduate TA John Dickerson 1112 M 4-6PM
W 3:30-5PM
Th 2-3:30PM, 5-6PM
undergraduate TA Brent Dorman 1112 T 2:15-3:15PM
W 11AM-noon, 2-3:30PM
F 11AM-noon, 2-3:30PM