This repository contains my assignments and labs for the course COMP 206 (Introduction to Software Systems) at McGill University (F2020). PDFs for the assignments, my final exam submission and the labs are not posted as requested by the professor.
-
- Recreate a given folder structure and demonstrate bash commands.
-
- Editing files with vi.
-
- Demonstrating
grep
.
- Demonstrating
-
- Transferring files using the FTP (File Transfer Protocol).
-
- A bash script (
backup.sh
) that takes an individual file/directory and backs it up into a tar file. Example:./backup.sh [location to save to] [data to save]
.
- A bash script (
-
- A bash script that compares the text files between two directories.
-
- A bash script ('webmetrics.sh`) to parse webserver logs and produce metrics (num. of requests coming from the browsers Safari, Firefox and Chrome, num. of distinct users (IP addresses) per day, top 20 popular requests by product ID).
-
- A bash script (
runlogs.sh
) to runwebmetrics.sh
on some log files.
- A bash script (
-
- A C program (
scal.c
) that has the same functionality as a scientific calculator. It can perform calculations over arbitrarily large numbers. It acceptsx
,op
,y
, wherex
andy
are integers andop
is an arithmetic operator.
- A C program (
-
- A C program (
report.c
) that analyzes user event data (data.csv
, containingUser, Attempt, Date, Time, Event, IP Address
) that searches student exam data to detect possible collaboration. This is done by we analyzing the IP address of the events, as IP addresses are good indicators of proximity.
- A C program (
-
- A tester script (
mini5tester.sh
).
- A tester script (
-
- A C program (
wcloud
) that reads through all text files passed in as its argument and generates a counter of all words in all files, in alphabetical order.
- A C program (
Notes for myself:
- labF: almost done, small thing at end doesn’t work
- labG: mostly done, but why are str and str2 combined?
- labJ: not done
- lab K: incomplete because I don't know what source file they are talking about