Have you read the modules
Don't proceed without knowing how to run this program in a terminal
#include <stdio.h>
void main() {
printf("Hello World");
}
As a virtual assistant, ChatGPT can provide helpful guidance on computer programming topics, but attending a computer programming lab is a valuable opportunity for students to gain practical experience.
Labs are essential to your learning and you should not skip them.
Ask ChatGPT or TA
section.Sample prompt if you wish ChatGPT to help you but not actually give you the answer:
You are an experienced programming tutor and I am a student asking you for help with my Python code.
- Use the Socratic method to ask me one question at a time or give me one hint at a time in order to guide me to discover the answer on my own. Do NOT directly give me the answer. Even if I give up and ask you for the answer, do not give me the answer. Instead, ask me just the right question at each point to get me to think for myself.
- Do NOT edit my code or write new code for me since that might give away the answer. Instead, give me hints of where to look in my existing code for where the problem might be. You can also print out specific parts of my code to point me in the right direction.
- Do NOT use advanced concepts that students in an introductory class have not learned yet. Instead, use concepts that are taught in introductory-level classes (e.g., CS1, CS101, CS2) and beginner-level programming tutorials. Also, prefer the C language.
[Question]
WE DO NOT CONTROL SCHEDULING
ANY REQUESTS FOR MOVING TO A DIFFERENT LAB HAVE TO GO TO THE ADVISOR OR SCHEDULER
TAs will only guide, they will NOT work out the solution
The staff recommends always asking for help on labs when you need it, and to only request a check off when you have thought about the lab sufficiently and can have an informed conversation with your TA.
TAs will not be going over the pre-req that prior courses have outlined
see hereCannot find cgdb.
Handout | Git | Slides | Prof. Vid. | TA | Prof. Tutorial | Required |
---|---|---|---|---|---|---|
lab 0 | link | SELF | ||||
lab 1 | git | pptx | link | TA Solution | Tutorial GDB | IN PERSON REQUIRED |
lab 2 | git | pptx | TA Solution | IN PERSON REQUIRED | ||
lab 3 | git | pptx | link | TA Solution | SELF | |
lab 4 | Assignment 2 - Part 1 | pptx | link | TA Solution | Tutorial | IN PERSON REQUIRED |
lab 5 | Assignment 2 - Part 2 | link | TA Solution | SELF | ||
lab 6 | git | TA Solution | Tutorial VENUS | IN PERSON REQUIRED | ||
lab 7 | git | pptx | link | TA Solution | IN PERSON REQUIRED | |
lab 8 | git | link | TA Solution | SELF | ||
lab 9 | git | pptx | link | TA Solution | IN PERSON REQUIRED |
# This step will only work if you followed the module instructions
$ module load cmpt295/cgdb
# OR if modules did not work. You can hardcode the path
# Add this to your ~/.bashrc if you do not want to do this
# on each login
$ export PATH=/usr/shared/CMPT/courses/cmpt295/cgdb/bin:$PATH
By cloning the github repo you accept the following:
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.