Skip to main content

Check Yourself

  • Have you read tutorials page and set up either VM or have CSIL Access?
  • Have you read the linux section on the tutorials page?
  • Have you read the C section on the tutorials page?
  • Have you read the modules
  • Do you know how to run cgdb on CSIL machines or VM? If not read here
  • Don't proceed without knowing how to run this program in a terminal
#include <stdio.h>
void main() {
  printf("Hello World");
}
  • Labs are essential to your learning and you should not skip them.
  • Computer programming is inherently an applied exercise, and you will not learn much if you do not practice.
  • Debugging code is an essential part of programming.

Details

  • Please use Rooms 9838 and 9700 if you want ready access to TAs. You can also use room 9804, but then TAs may not be able to provide timely advice.
  • Labs are designed to take approximately 1 hour.
  • Watch lab videos before the lab. TAs will dedicate the majority of the time for lab tasks only.
  • TAs will not be going over the pre-req that prior courses have outlined see here
  • Go over lab tasks before the lab. TAs will walk through the slides (if any) and handouts.
  • TAs will only guide, they will not provide the complete solution.
  • The staff recommends always asking for help on labs when you need it.
  • We do recognize the value of AI bots to enhance learning in labs. You can use any AI Bot; however you see fit. May we recommend 295's Bot ChatGPT here.

Lab Schedule

SELF DOES NOT MEAN OPTIONAL TO WATCH. It means OPTIONAL TO ATTEND PHYSICAL LAB You are expected to go over the material as they will be helpful for completing assignments The TAs will be present physically in the lab during all lab hours (SELF/REQUIRED) to help you

<style type="text/css"> .tg {border-collapse:collapse;border-color:#ccc;border-spacing:0;} .tg td{background-color:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#333;overflow:hidden;padding:10px 5px;word-break:normal;} .tg th{background-color:#f0f0f0;border-color:#ccc;border-style:solid;border-width:1px;color:#333; font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;} .tg .tg-buh4{background-color:#f9f9f9;text-align:left;vertical-align:top} .tg .tg-ru17{font-weight:bold;position:-webkit-sticky;position:sticky;text-align:left;top:-1px;vertical-align:top; will-change:transform} .tg .tg-0lax{text-align:left;vertical-align:top}
Handout Git Slides Prof. Vid. TA Prof. Tutorial Required
lab 0
</td>
<td class=".tg-0lax">  </td>
   <td class=".tg-0lax">  <a href="https://youtu.be/watchy?v=ECuQEt54llg">link</a> </td>
<td class=".tg-0lax"> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  SELF  </td>
lab 1
  <a href="https://github.com/CMPT-295-SFU/C-Lab-1">git</a> 


</td>
<td class=".tg-0lax">  <a href="https://cmpt-295-sfu.github.io/website//labs/Lab1/Lab1.pptx">pptx</a>  </td>
   <td class=".tg-0lax">  <a href="https://www.youtube.com/watch?v=SvxmgWKJi5s">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/C-Lab-1-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  <a href="https://www.cs.sfu.ca/~ashriram/Courses/CS295/tutorials/gdb/gdb.html"> Tutorial GDB</a>  </td>
<td class=".tg-0lax">  <b> IN PERSON REQUIRED </b>  </td>
lab 2
  <a href="https://github.com/CMPT-295-SFU/C-Lab-2">git</a> 


</td>
<td class=".tg-0lax">  <a href="https://cmpt-295-sfu.github.io/website//labs/Lab2/Lab2.pptx">pptx</a>  </td>
   <td class=".tg-0lax"> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/C-Lab-2-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  <b> IN PERSON REQUIRED </b>  </td>
lab 3
  <a href="https://github.com/CMPT-295-SFU/C-Lab-3">git</a> 


</td>
<td class=".tg-0lax">  <a href="https://cmpt-295-sfu.github.io/website//labs/Lab3/Lab3.pptx">pptx</a>  </td>
   <td class=".tg-0lax">  <a href="https://www.youtube.com/watch?v=iv7z19qve0E">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/C-Lab-3-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  SELF  </td>
lab 4
  Assignment 2 - Part 1

</td>
<td class=".tg-0lax">  <a href="https://cmpt-295-sfu.github.io/website//labs/Lab4/Lab4.pptx">pptx</a>  </td>
   <td class=".tg-0lax">  <a href="https://www.youtube.com/watch?v=5dgj4pPW6fc&t=709s">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-4-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  <a href="https://youtu.be/58KFPRjN0Ww"> Tutorial </a>  </td>
<td class=".tg-0lax">  <b> IN PERSON REQUIRED </b>  </td>
lab 5
  Assignment 2 - Part 2

</td>
<td class=".tg-0lax">  </td>
   <td class=".tg-0lax">  <a href="https://www.youtube.com/watch?v=GewFiqnf-Fg&t=709s">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-4-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  SELF  </td>
lab 6
  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-6">git</a> 


</td>
<td class=".tg-0lax">  </td>
   <td class=".tg-0lax"> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-6-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  <a href="https://www.cs.sfu.ca/~ashriram/Courses/CS295//videos.html#venus"> Tutorial VENUS</a>  </td>
<td class=".tg-0lax">  <b> IN PERSON REQUIRED </b>  </td>
lab 7
  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-7">git</a> 


</td>
<td class=".tg-0lax">  <a href="https://cmpt-295-sfu.github.io/website//labs/Lab7/Lab7.pptx">pptx</a>  </td>
   <td class=".tg-0lax">  <a href="https://youtu.be/93GsWHckzBY">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-7-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  SELF  </td>
lab 8
  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-8">git</a> 


</td>
<td class=".tg-0lax">  </td>
   <td class=".tg-0lax">  <a href="https://www.youtube.com/watch?v=fqimq2X2Uyw">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/RISCV-Lab-8-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  <b> IN PERSON REQUIRED </b>  </td>
lab 9
  <a href="https://github.com/CMPT-295-SFU/Vector-Lab9-Solution">git</a> 


</td>
<td class=".tg-0lax">  <a href="https://cmpt-295-sfu.github.io/website//labs/Lab9/Lab9.pptx">pptx</a>  </td>
   <td class=".tg-0lax">  <a href="https://www.youtube.com/watch?v=a6gYO4rAiZM">link</a> </td>
<td class=".tg-0lax">  <a href="https://github.com/CMPT-295-SFU/Vector-Lab9-Solution"> TA Solution</a> </td>
<td class=".tg-0lax">  </td>
<td class=".tg-0lax">  <b> IN PERSON REQUIRED </b>  </td>

Policies

By cloning the github repo you accept the following:

  • I have read, fully understand and will follow strictly course policies about academic integrity documented in course website and SFU website [1]. In particular, I will not:
  • Share my work with others, both before and after finishing this course.
  • Post my work in public repositories, both before and after finishing this course.
  • Plagiarize under any circumstance.