Home
PE 2
Sat Nov 7 14:18:02 +08 2020
You can now get the PE 2 skeleton just like other assignments.
Accept it here, then
run ~cs1010/get-pe02
on one of the PE nodes.
Assignment 9
Thu Nov 5 11:57:56 +08 2020
Here is the final assignment for CS1010! It is just one huge question for you to apply everything that you have learned through out this journey, on a problem that you can impress your friends not taking CS1010 with :)
Exercise 4
Tue Nov 3 19:55:53 +08 2020
Here is Exercise 4 for you to practice recursion and 2D arrays.
Post-Lecture Materials for Lecture 11
Mon Nov 2 20:24:52 +08 2020
Here is the video, the corresponding slides, and the quiz.
Practice Paper and Info for PE 2
Wed Oct 28 10:48:04 +08 2020
The practice paper for PE2 is now available, along with important information about the PE.
Slides and Video for Lecture 10
Mon Oct 26 19:06:15 +08 2020
Here is the video recording of Lecture 10 and the corresponding slides.
Notes for Lecture 10-11
Sat Oct 24 13:36:34 +08 2020
During lecture 10, we are going to see how recursion can be used in more complex settings: how we can solve Tower of Hanoi, generate permutations, and search for a solution for the N Queens problem.
Finally, in Lecture 11 (next week), we will show you how to use struct
in C, and explain how to use printf
and scanf
, as well as why you should avoid them in certain situations.
Post-lecture Materials for Lecture 9
Monday Oct 19 17:42:01 +08 2020
Lecture video, quiz and slides are now available.
Quiz for Lecture 10 will be released tomorrow. Watch out this space for the announcement.
Notes for Lecture 9
Sun Oct 18 07:58:13 +08 2020
Assignment 6
Thu Oct 15 12:59:21 +08 2020
Assignment 6 is out! Counting the number of programming problems we have released (assignment, exercises, past year PE, PE), we have just crossed the threshold of 50! Pat yourself on the back for making it this far.
Post-Lecture 8 Materials
Mon Sep 14 18:04:12 +08 2020
Here is the lecture video , slides , and the diagnostic quiz
Notes for Lecture 8
Sun Oct 11 12:44:14 +08 2020
We will introduce the C preprocessor, the assert
macro and the big-O notation for measuring efficiency in Lecture 8.
Assignment 5 is out
Thu Oct 8 14:27:43 +08 2020
Assignment 5 is out. Note that the weightage for this assignment is 4%, so it is slightly heavier than the past assignments. It is due on Tuesday 13 October, 2359.
Post-Lecture Materials for Lecture 7
Mon Oct 5 17:51:47 +08 2020