Laboratory Tasks

Each week's lab work has three components: The zyBook exercises are graded automatically within zyBook.

The labtasks are due by the end of your lab session in the week indicated. When you (think you) have completed a labtask, tell one of the TAs and it will be assessed. (That includes you being able to explain your code to the TA - we want to be sure that you have done the work and understand the work!) If your work is not perfect you will receive feedback so you can improve it and resubmit (by the end of the lab session). If you do not show your labtask work to a TA then your labtask will not be assessed. You may not submit by email, or any other way - you must physically attend the lab and see a TA. If you have a documented reason for not attending lab, we'll make a Zoom plan - it requires my permission - TAs cannot approve that.

Students are encouraged to work on the labtasks in advance - often there will not be enough time in the lab session to get the task completed as required. If you do the labtask in advance:

Students who have completed a labtask and have received the points are encouraged to stay and help their peers succeed. This promotes a community where learning is maximized.

When doing labtasks you may not use any programing techniques or constructs other than what has been taught in the course up to that point. Yeah, yeah, yeah, I know you might know more, or have found answers from other sources that use more advanced techniques. You have to learn to use basic constructs correctly, because that will make you a better programmer in the long term. You are welcome to use AI-tools to help you program, but beware, the programs generated by AI-tools often do not meet the requirements of CSC120, e.g., they might use programing techniques or constructs other than what has been taught in the course up to that point. Your work must also demonstrate the required Programming Style, and AI-generated code often is nasty nasty nasty.

Answers will be posted in some cases.


Lab Task Week Task Value zyBook
13 25th November Locating Things 2.0% Challenge 14
12 18th November Lighting up the Stage 3.0% Participation 13 & 14, Challenge 13
11 11th November Diamonds are a Girl's Best Friend 3.0% Participation 12, Challenge 12
10 4th November Integers are Exceptional 2.0% Participation 11, Challenge 11
9 28th October Helping the DCF 2.0% Challenge 10
8 21st October I Think Therefore I Am 1.0% Participation 10
7 7th October Kindle Reader 1.0% Participation 8, Challenge 8
6 30th September Street Maintenance in Durban 3.0% Participation 7, Challenge 7
5 23rd September Fascinating Numbers 2.0% Participation 6, Challenge 6
4 16th September Tax Time with King Geoff 2.0% Participation 5&6, Challenge 5&6
3 9th September Nitrox SCUBA 2.0% Participation 4, Challenge 4
2 9th September Killing Kangaroos 2.0% Participation 3, Challenge 3
1 26th August Fixing a Buggy Program 1.0% Participation 2, Challenge 2
0 19th August IntelliJ 1.0% Participation 1, Challenge 1