Home

Video for Lecture 12

Tue Nov 10 12:41:52 +08 2020

Here is the video from the last lecture

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.

Assignment 8 is Here

Thu Oct 29 19:09:40 +08 2020

Assignment 8 on complex recusion, is out.

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.

See here

Diagnostic Quiz for Lecture 10

Tue Oct 27 15:10:34 +08 2020

The quiz is now available.

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.

Assignment 7

Thu Oct 22 08:07:33 +08 2020

Here is this week's dose of programming questions!

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

Here is the notes on searching and sorting for Lecture 9.

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

Video, Quiz, Slides. You know the drill.

Lecture 7 on Unit 17-19

Sun Oct 4 13:37:57 +08 2020

After a two-week break, we will resume the lecture this week. The units covered are Unit 17 on calling by reference, Unit 18 on heap memory allocation, and Unit 19 on multi-dimensional arrays.

more..