Lab 2
Team Organization
and
Getting started with C

Objectives

The objectives of this lab are threefold:

Team Formation

The purpose of this task is to meet with your teammates for the semester and decide among yourselves the details of how your team will operate. All of the members of your team should sit at workstations in the same row in the lab, beginning with this lab and in the future. You should spend at least an hour of this lab period discussing team issues with the members of your team. In particular, you should: One member of the team should write-up the team goals and expectations, and your team name in a file, and send it to me (tep@wiliki.eng.hawaii.edu) with copies to all members of the team and your TA.

Explore C program creation and compilation.

In the following problems you are asked to create five C program source files, compile them, and get them to work. You should do this lab individually; however, you can consult with your teammates and the TA to get help. Each individual should turn in all five files as described below by the end of your lab period.

More practice with Unix

You have created five ".c" files in your EE160 directory for Lab 2, but there will be many more files in future labs, so you should create a directory for these files as follows: If you are in Section 001 use:

          grade -lab2s1,ee160 welcome.c myname.c myinfo.c pay0.c gravity.c

If you are in Section 002 use:

          grade -lab2s2,ee160 welcome.c myname.c myinfo.c pay0.c gravity.c

If you are in Section 003 use:

          grade -lab2s3,ee160 welcome.c myname.c myinfo.c pay0.c gravity.c

If you are in Section 004 use:

          grade -lab2s4,ee160 welcome.c myname.c myinfo.c pay0.c gravity.c

You should verify that you turned in things successfully, which you can do with the grade command by simply leaving the file names off from the previous command:

          grade -lab2s1,ee160
          
          OR
          
          grade -lab2s2,ee160
          
          OR
          
          grade -lab2s3,ee160

          OR
          
          grade -lab2s4,ee160