CS 101 Laboratory Programming Assignment Eight
Antarctic Research Data Program
Imagine that you are a geologist doing research in the antarctic. There are several research
sites where scientists are drilling into the ice to bring up sample ice cores for analysis.
You travel from site to site analyzing the ice and recording the data that results. You keep the
data on your laptop computer.
Each sample has several pieces of data associated with it:
- Drill site location identifier ("Station Z" for example (this is a string)).
- Date the sample was taken ("1999-02-24," for example (this is a string)).
- Depth in feet in the ice the sample was taken from (285, for example (this is an integer)).
- Ratio of carbon 14 to carbon 12 found in the sample (0.0003267, for example (this is a floating point number)).
- The name of the person recording the data.
- The date the data were recorded.
Create a program than can be easily used to record the data. Don't worry at this time about
creating a file for permanent data storage. Just get the data into memory and assume you will
add file storage later. The program should have a feature for entering data records (one record
for each ice sample) and another feature for listing the data records entered.
You may use either synchronized arrays or a single array of a C struct. However, you will be
asked to enhance this program in a future assignment, and synchronized arrays may not be so
easy to enhance.
Your report should have a description of how you designed the program along with a block diagram
of the flow of control among the functions. Include the usual source code with programmer's block
and sample output.
Output Examples

Data Entry Screen

Data Record Display Screen
This page established March 12, 1999; last updated March 13, 1999.