COMP3000 Operating Systems 2023F Tutorials: Difference between revisions

From Soma-notes
Abdou (talk | contribs)
Abdou (talk | contribs)
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page contains Tutorial instructions for COMP3000, Fall 2023.
This page contains Tutorial instructions for COMP3000 A, Fall 2023.


==Tutorial Instructions==
The main page for the course can be found [https://people.scs.carleton.ca/~abdou/COMP3000_F2023.html here].
Tutorials are in person. You need to be physically in the lab to finish up the tutorial instructions and get checked-out by one of the two present TAs. Please only stick to the tutorial session you had registered in. This avoids overcrowding. Make well use of these tutorials to help you better understand the course material. Each of the 9 tutorials (below) is worth 2.22% of your total grade.


==Tutorial Sections==
==Information about the Tutorials==
Tutorials are in person. You need to be physically in the room to finish up the tutorial instructions on your laptop and get checked-out by one of the two present TAs. Your TA will be your first point of contact when you have questions or encounter any issues during the tutorial session.


* COMP 3000 A1: Tue: 08:35 - 09:55 at Loeb 270 (LA270). [Ethan and Nilofar (T1-T9)]
Please stick to the tutorial session you are registered in. This avoids overcrowding.  
* COMP 3000 A2: Fri: 11:35 - 12:55 at St. Patrick's 303 (SP303). [Ethan and Ali (T1-T3), Ethan and Nareen (T4-T6), Ali and Nareen (T7-T9)]
* COMP 3000 A3: Thu: 08:35 - 09:55 at St. Patrick's 303 (SP303). [Ali and Nareen (T1-T9)]


===[[COMP3000 Operating Systems W23: Openstack Instructions | Instructions for setting up an Openstack instance]]===
Make well use of these tutorials to help you better understand the course material. The plan is to have 9 tutorial sessions this term, each would be worth 2.22% of your total grade. We might revisit this as the term progresses.


===Various ways of [[COMP3000 Operating Systems W23: Connecting to SCS Openstack | connecting to SCS Openstack]]===
Read through the instructions before starting your work to get an overall picture. When source files are needed, you can download them by clicking on the hyperlink.
</div>
</div>


===[[COMP3000 Operating Systems W23: Downloading files from your Openstack VM | Downloading files from your Openstack VM]]===
== Getting Access to a Linux Machine ==


===Tutorial 1===
For the tutorials, you need to get access to a Linux machine. It is recommended to use an SCS Openstack instance (see instructions below). Alternatively, if you prefer to work directly on your laptop and avoid Openstack, you can also download [https://git.scs.carleton.ca/downloads/CourseVirtualMachines/2022F-2023W/COMP3000-W23.ova <b>this VirtualBox image</b>] (courtesy of Prof. Zhao from Winter 2023). You will need access to a Linux system for the entire semester, ideally the same one.
Jan 11, 2023 -- Jan 16, 2023: [[COMP3000 Operating Systems W23: Tutorial 1 | Instructions]]


===Tutorial 2===
=== Setting up an Openstack VM instance for the first time ===
Jan 18, 2023 -- Jan 23, 2023: [[COMP3000 Operating Systems W23: Tutorial 2 | Instructions]]
We will use Openstack for the tutorials of this course. Follow these instructions for setting up an Openstack VM instance: [[COMP3000 Operating Systems F23: Openstack Instructions | instructions here]]. You only need to do this once for the whole term. Please use the same instance for both: the tutorials and the assignments. ''No need to create two instances''.


===Tutorial 3===
=== Connecting to the VM ===
Jan 25, 2023 -- Jan 30, 2023: [[COMP3000 Operating Systems W23: Tutorial 3 | Instructions]]
You can find instructions with various ways to connect to your Openstack instance [[COMP3000 Operating Systems F23: Connecting to SCS Openstack | here]].


===Tutorial 4===
=== Downloading files from the VM ===
Feb 1, 2023 -- Feb 6, 2023: [[COMP3000 Operating Systems W23: Tutorial 4 | Instructions]]
To download files from your Openstack VM instance, you can find instructions [[COMP3000 Operating Systems F23: Downloading files from your Openstack VM | here]].


===Tutorial 5===
=== Backing up the VM ===
Mar 1, 2023 -- Mar 6, 2023: [[COMP3000 Operating Systems W23: Tutorial 5 | Instructions]]


===Tutorial 6===
To backup your VM, the image provides an "scs-backup" command that will backup the student user's directory to the SCS linux machines. So if your SCS username is janedoe, you can type:
Mar 8, 2023 -- Mar 13, 2023: [[COMP3000 Operating Systems W23: Tutorial 6 | Instructions]]


===Tutorial 7===
scs-backup janedoe
Mar 15, 2023 -- Mar 20, 2023: [[COMP3000 Operating Systems W23: Tutorial 7 | Instructions]]


===Tutorial 8===
and it will create a copy of everything in the student account's home directory (note: you can customize it) in a directory called "COMP3000VM-backup" in your SCS home directory. You can ssh/sftp to <tt>access.scs.carleton.ca</tt> in order to access this copy of your VM's files. You should do backups at the end of every session and before you do anything dangerous.
Mar 22, 2023 -- Mar 27, 2023: [[COMP3000 Operating Systems W23: Tutorial 8 | Instructions]]


===Tutorial 9===
Reminder: ''do '''not''' take snapshots of your instance!'' Note that you cannot take snapshots of your VM anyway (it will keep trying and never succeed, and you'll create work for the tech staff who will have to undo what you did), so please don't try.
Mar 29, 2023 -- Apr 3, 2023: [[COMP3000 Operating Systems W23: Tutorial 9 | Instructions]]


==How to Do Well in This Course==
==Tutorial Sections==
The goal here is to establish a <u>conceptual model</u> to understand how operating systems work to serve applications. It is not a course like math or data structures. '''To succeed, you need to be more hands-on and focus on figuring out how to find the answers (like learning to fish) instead of the answers alone (like being given a fish)'''. Memorization of answers and algorithms are NOT the focus of this course. As you progress, you should be gradually able to imagine how various pieces of the OS fit together to function.


If you are asking a lot of "why"s, you are on the right track. Use all available resources (including the course material) as references, like a dictionary, to help answer your "why"s. For example, when you are asked about some information, based on your knowledge, think: 1) which part of the OS should have this information? 2) is it supposed to be available at the point in question? 3) then how do you retrieve that information? e.g., any tool/command/funcion call?
* COMP 3000 A1: Tue: 08:35 - 09:55 at Loeb 720 (LA720). [Ethan and Sneha (T1-T9)]
For sure, this would not be possible if you are just getting started, so a bit of confusion at the beginning is normal. As you move on, the conceptual model will become clearer as the basis for your thinking.
* COMP 3000 A2: Fri: 11:35 - 12:55 at Loeb 720 (LA720). [Ethan and Ali (T1-T3), Ethan and Nareen (T4-T6), Ali and Nareen (T7-T9)]
 
* COMP 3000 A3: Thu: 08:35 - 09:55 at St. Patrick's 303 (SP303). [Ali and Nareen (T1-T9)]
Reading the textbook is encouraged but not mandatory, and not all of it will be covered (involved chapters will be posted along with the lectures in Brightspace). The exams and assignments are based on lectures and tutorials. So, make sure you have sufficient understanding of both.
 
==Course Delivery Method==
Lectures will be in person and recorded. Recorded lectures will be posted in Brightspace. Course discussions will be on [https://teams.microsoft.com/ Microsoft Teams]. Such discussions may include but are not limited to assignment clarifications, lecture polls, ad-hoc announcements, and tutorial discussions.
All work submissions (tutorials, assignments, and exams), as well as important (e.g., grading-related) announcements, course material and grade posting, will be through Brightspace.
 
==Online Submission of Course Work==
Assignments/tutorials submissions are handled electronically (i.e., through Brightspace) and there is no "grace period" with respect to a deadline - an assignment submitted even one minute after the deadline is late and will not be accepted by the system. Technical problems do <b>not</b> exempt you from this requirement, so if you <u>wait until the last minute</u> and then have issues with your connection, you will still receive a mark of zero. Consequently, you are advised to attempt to submit your work <u>at least</u> one hour in advance of the due date and time. Contact the TAs/instructor in case of any problems.
 
Format errors, missing files, and other technical/non-technical upload issues will not constitute the justification for another attempt. Only what has been uploaded by the due date and time will be graded.  Consequently, after you upload your submission to Brightspace you should re-download it immediately for verification and ensure that all needed files are there in the right format.
 
==Collaboration==
Collaboration on all work is allowed <b>except</b> for the midterm and the final exams. Collaboration, however, should be <u>clearly acknowledged</u>.
 
For assignments, while you may get help from others and even collaboratively solve technical problems, the <b>code and answers submitted</b> should all be your own work. For example, you may not divide an assignment into parts, give a part to another student or anyone else to solve, and then submit that work as your own. You have to have participated in the creation of every part of your submitted work. An easy way to make sure this happens is to never share files regarding coursework or copy and paste answers. Instead, only meet together (virtually) to work on an assignment (e.g., to discuss your understanding/confusion) and then <b>separate</b> to write up your own solutions.
 
Similarity between submitted assignments that has not been appropriately documented will be treated as plagiarism - the same as copying on a midterm or a final - and will be submitted to the Dean for disciplinary action.


<b>Sharing assignment or exam specifications or posting them online (to sites like Chegg, CourseHero, OneClass, etc.) is considered academic misconduct</b>. You are never permitted to post, share, or upload course materials without explicit permission from your instructor. Academic integrity offences are reported to the office of the Dean of Science. Penalties for such offences can be found on the ODS webpage: https://science.carleton.ca/academic-integrity/.
{| class="wikitable"
|+ Tutorial Schedules
|-
! Tutorial !! Section !! Date !! Time !! Room !! TAs
|-
| rowspan="3" | [[COMP3000 Operating Systems 2023F Tutorials: Tutorial 1 | Tutorial 1]] || A1 || Sep 26 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Sep 28 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Sep 29 || 11:35 am-12:55 pm || LA720 || Ethan and Ali
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 2 | Tutorial 2]] || A1 || Oct 3 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Oct 5 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Oct 6 || 11:35 am-12:55 pm || LA720 || Ethan and Ali
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 3 | Tutorial 3]] || A1 || Oct 10 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Oct 12 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Oct 13 || 11:35 am-12:55 pm || LA720 || Ethan and Ali
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 4 | Tutorial 4]] || A1 || Oct 31 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Nov 2 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Nov 3 || 11:35 am-12:55 pm || LA720 || Ali and Nareen
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 5 | Tutorial 5]] || A1 || Nov 7 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Nov 9 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Nov 10 || 11:35 am-12:55 pm || LA720 || Ethan and Nareen
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 6 | Tutorial 6]] || A1 || Nov 14 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Nov 16 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Nov 17 || 11:35 am-12:55 pm || LA720 || Ethan and Nareen
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 7 | Tutorial 7]] || A1 || Nov 21 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Nov 23 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Nov 24 || 11:35 am-12:55 pm || LA720 || Ethan and Nareen
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 8 | Tutorial 8]] || A1 || Nov 28 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Nov 30 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Dec 1 || 11:35 am-12:55 pm || LA720 || Ali and Nareen
|-
| rowspan="3" | [[COMP3000 Operating Systems F23: Tutorial 9 | Tutorial 9]] || A1 || Dec 5 || 8:35 am-9:55 am || LA720 || Ethan and Sneha
|-
| A3 || Dec 7 || 8:35 am-9:55 am || SP303 || Ali and Nareen
|-
| A2 || Dec 8 || <span style="color:red; background:yellow">1:05 pm-2:25 pm</span> || <span style="color:red; background:yellow">MC2000</span> || Ali and Nareen
|-
|}

Latest revision as of 17:26, 30 November 2023

This page contains Tutorial instructions for COMP3000 A, Fall 2023.

The main page for the course can be found here.

Information about the Tutorials

Tutorials are in person. You need to be physically in the room to finish up the tutorial instructions on your laptop and get checked-out by one of the two present TAs. Your TA will be your first point of contact when you have questions or encounter any issues during the tutorial session.

Please stick to the tutorial session you are registered in. This avoids overcrowding.

Make well use of these tutorials to help you better understand the course material. The plan is to have 9 tutorial sessions this term, each would be worth 2.22% of your total grade. We might revisit this as the term progresses.

Read through the instructions before starting your work to get an overall picture. When source files are needed, you can download them by clicking on the hyperlink.

Getting Access to a Linux Machine

For the tutorials, you need to get access to a Linux machine. It is recommended to use an SCS Openstack instance (see instructions below). Alternatively, if you prefer to work directly on your laptop and avoid Openstack, you can also download this VirtualBox image (courtesy of Prof. Zhao from Winter 2023). You will need access to a Linux system for the entire semester, ideally the same one.

Setting up an Openstack VM instance for the first time

We will use Openstack for the tutorials of this course. Follow these instructions for setting up an Openstack VM instance: instructions here. You only need to do this once for the whole term. Please use the same instance for both: the tutorials and the assignments. No need to create two instances.

Connecting to the VM

You can find instructions with various ways to connect to your Openstack instance here.

Downloading files from the VM

To download files from your Openstack VM instance, you can find instructions here.

Backing up the VM

To backup your VM, the image provides an "scs-backup" command that will backup the student user's directory to the SCS linux machines. So if your SCS username is janedoe, you can type:

scs-backup janedoe

and it will create a copy of everything in the student account's home directory (note: you can customize it) in a directory called "COMP3000VM-backup" in your SCS home directory. You can ssh/sftp to access.scs.carleton.ca in order to access this copy of your VM's files. You should do backups at the end of every session and before you do anything dangerous.

Reminder: do not take snapshots of your instance! Note that you cannot take snapshots of your VM anyway (it will keep trying and never succeed, and you'll create work for the tech staff who will have to undo what you did), so please don't try.

Tutorial Sections

  • COMP 3000 A1: Tue: 08:35 - 09:55 at Loeb 720 (LA720). [Ethan and Sneha (T1-T9)]
  • COMP 3000 A2: Fri: 11:35 - 12:55 at Loeb 720 (LA720). [Ethan and Ali (T1-T3), Ethan and Nareen (T4-T6), Ali and Nareen (T7-T9)]
  • COMP 3000 A3: Thu: 08:35 - 09:55 at St. Patrick's 303 (SP303). [Ali and Nareen (T1-T9)]
Tutorial Schedules
Tutorial Section Date Time Room TAs
Tutorial 1 A1 Sep 26 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Sep 28 8:35 am-9:55 am SP303 Ali and Nareen
A2 Sep 29 11:35 am-12:55 pm LA720 Ethan and Ali
Tutorial 2 A1 Oct 3 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Oct 5 8:35 am-9:55 am SP303 Ali and Nareen
A2 Oct 6 11:35 am-12:55 pm LA720 Ethan and Ali
Tutorial 3 A1 Oct 10 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Oct 12 8:35 am-9:55 am SP303 Ali and Nareen
A2 Oct 13 11:35 am-12:55 pm LA720 Ethan and Ali
Tutorial 4 A1 Oct 31 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Nov 2 8:35 am-9:55 am SP303 Ali and Nareen
A2 Nov 3 11:35 am-12:55 pm LA720 Ali and Nareen
Tutorial 5 A1 Nov 7 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Nov 9 8:35 am-9:55 am SP303 Ali and Nareen
A2 Nov 10 11:35 am-12:55 pm LA720 Ethan and Nareen
Tutorial 6 A1 Nov 14 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Nov 16 8:35 am-9:55 am SP303 Ali and Nareen
A2 Nov 17 11:35 am-12:55 pm LA720 Ethan and Nareen
Tutorial 7 A1 Nov 21 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Nov 23 8:35 am-9:55 am SP303 Ali and Nareen
A2 Nov 24 11:35 am-12:55 pm LA720 Ethan and Nareen
Tutorial 8 A1 Nov 28 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Nov 30 8:35 am-9:55 am SP303 Ali and Nareen
A2 Dec 1 11:35 am-12:55 pm LA720 Ali and Nareen
Tutorial 9 A1 Dec 5 8:35 am-9:55 am LA720 Ethan and Sneha
A3 Dec 7 8:35 am-9:55 am SP303 Ali and Nareen
A2 Dec 8 1:05 pm-2:25 pm MC2000 Ali and Nareen