Labs
Objectives
In this Lab, you will:
- Learn how to access your cse account
- Become familiar with the Linux environment
- use a text editor to create/modify small C programs
- use dcc to compile C programs
Preparation
Read the lecture notes from the first lecture.
Getting Started
Introduction
In these lab exercises, the primary aim is for you to familiarize yourself with the process of creating, compiling and executing simple C programs.
The material you will need to know can be found in week 1 lecture notes.
The first few will simply ensure you are capable of writing a small program and getting it to run.
There are no marks for this week’s work, but you should practice testing and submitting your answers in preparation for future weeks.
Before the lab class finishes, you should demonstrate your work to the tutor. If
the tutor says that it’s OK, then you should submit it using the give
command.
In future weeks, only one member of each lab pair needs to submit work using Give. You’ll need to show your tutor that work together for assessment.
Once you’ve done this, you are free to explore some other UNIX commands.