The purpose of this assignment is to:
Help you learn the basics of the Linux operating system and the Bash shell.
Collect background statistics for COS 217 students in order to support student advisement.
Make sure you study the course Policies web page before doing this assignment or any of the COS 217 assignments.
Your task is to take the COS 217 survey and submit your answers.
Do all your work on the CourseLab cluster following the procedure below.
Create a proper COS 217 computing environment by completing the steps in the A Minimal COS 217 Computing Environment document from the first precept.
Start a terminal session and log into to CourseLab. At the Bash shell prompt issue this command:
to create a project directory named
surveyproj in your home directory. Then issue this commmand:
to make your project directory your working directory. Finally isssue this command:
cp /u/cos217/Assignment0/conductsurvey.c .
to copy the
conductsurvey.c file from the
/u/cos217/Assignment0 directory to your working directory.
Issue the command:
gcc217 conductsurvey.c -o conductsurvey
conductsurvey.c to build
Issue the command:
to take the survey. Read the instructions carefully and answer all questions.
After you have answered all questions, the
conductsurvey program will finish and you will return to the Bash shell prompt. The result will be a file named
survey in your working directory.
Make sure that you took the survey properly. To do that, issue this command:
to display the names of all files in your working directory. One of those files should be named
survey. Then issue this command:
to examine the contents of the
survey file. The file should contain your survey responses.
submit command to submit the results of the survey. More specifically, issue this command:
submit 0 survey
to submit the results of the survey.
We will not grade your Assignment 0 submission. However, your Assignment 0 submission is required. We will not accept your submissions for subsequent assignments until you complete Assignment 0.
This assignment was written by Iasonas Petras
with contributions by Robert M. Dondero, Jr.