Student ID

You can put any integer number here to generate different exercises for practice. However you must submit the activity associated with your ID number to D2L in order to receive credit for the activity.

File Editing

  1. Take a screenshot of these instructions (including your student number) and the file/folder structure below. If you cannot get everything into the screenshot it is okay, just take your ID number and whatever fits on the screen.
  2. Create a folder called a12fileediting in your home folder on the sit.cna-qatar.edu.qa server.
  3. Using the nano text editor, create the following file and save it as ? in the folder.
    nothing
  4. Try running the program and verify that it works as expected. The program should ask you to enter the number of animals that you saw each day and give you the total animals when the program finishes. Note: there are a couple of small bugs put into the program intentionally and you might accidentally introduce more yourself while typing.
  5. When everything is finished, open the program in the nano editor and take a screenshot. Run the program and enter some data so that the program finishes and take a screenshot.

Submission of Work

The daily exercises in this course are based on proving that you have successfully completed the tasks. This is done by determining which command(s) are necessary and collecting a screenshot of the completed work.

For each day, you will submit a PDF file to D2L by 11:30pm. The format MUST BE PDF! Submitting work in any other format will result in a zero. The dropbox closes promptly at 11:30pm and no late submissions by email will be accepted. No special arrangements will be made for any reason. A small number of daily activities will excused at the end of the semester to handle various problems that might arise.

Questions/parts must be clearly labelled. Work submitted without labels will not receive full marks.

All Rights Reserved by Matrix-admin. Designed and Developed by WrapPixel.