CS 112b
Spring 2004
Ileana Streinu

Lab 2

More Unix tricks
Basic Software Engineering Principles
Review of C statements, functions and arrays

Read the whole lab before starting working on it, so that you know what you are required to do by the end of the lab.

Part I:
Pipe in input data to a program from a data file

Part II:
Start working on Hw1

Read the homework 1. Make sure you understand it. Start working on it. Submit in Lab2 as soon as you are done with any part of it. This is just for me (you will not be graded for this): I want to see how many of you were able to complete parts of the homework during lab time. You MUST submit all the homework later, in Hw1, as specified in the Hw1 handout.

Check list:

You are required to submit, for both Part I and Part II: