6.170 Laboratory in Software Engineering 
Spring 2000 
Problem Set 0: Programming Diagnostic 
Due: February 3, 2000 
Handout 4

Purpose

This is a very short assignment that will check whether you have the background we expect in 6.170. If the assignment takes you more than one hour, you should expect to do extra work over the first three weeks of the course to improve your basic programming skills.

The Problem

Write a procedure of one argument, a string, which produces a table that reports the number of times each character appears in the string. If you write in Java, C, C++, PASCAL, or a similar language: If you write in Scheme, LISP, or a similar language:: Please turn in the following as hardcopy: