Skip to content

Older Announcements

Assignment 4 is out

Thu Oct 1 12:26:51 +08 2020

In view of the upcoming PE1, the next assignment has an extended deadline (two more days, until Thursday 23:59) and reduced workload (only two questions). But I am posting it early in case you are looking for problems to solve to practice for PE1.

Please do pay attention to the additional requirements and grading criteria outlined.

Here it is: Assignment 4.

Guide to Documenting Your Code

Thu Oct 1 12:24:04 +08 2020

We have posted a new guide to documenting your code. This is a good practice that we have been holding off enforcing until now so that you can focus on the logic and correctness of your code.

After PE1, you are expected to write proper documentation in your code, starting with Assignment 4.

Exercise 3 is out

Tue Sep 29 17:39:38 +08 2020

Here is ungraded Exercise 3.

Assignment 3 is out

Thu Sep 17 10:09:37 +08 2020

Here is your Assignment 3 on one dimensional arrays. Note that this is due on the Tuesday after the recess week. But do work on it early since the week after the recess week is the midterm + PE week.

Even though arrays are not covered in the midterm + PE, you can use these assignments to strengten your understanding and confidence in using loops and recursion to solve problems.

Practice PE Exercise Released

Tue Sep 15 18:54:23 +08 2020

You can use the PE question from 18/19 Semester 1 as the practice paper.

  • Download the question paper
  • Accept the assignment on GitHub
  • Run ~cs1010/get-pe18 on any PE host to get the skeleton code and test cases
  • Run ~cs1010/submit-pe18 to submit/archive your solution on GitHub

Post-Lecture 6 Materials

Mon Sep 14 18:04:12 +08 2020

Folks, here is your post-lecture materials for Lecture 6: lecture video , slides , and the diagnostic quiz .

Notes for Lecture 6

Sat Sep 12 14:50:07 +08 2020

We will cover Units 13 - 16 in our last lecture before the break. Check under Notes on the left menu for the notes.

Assignment 2 Released

Thu Sep 10 11:39:40 +08 2020

Here is your Assignment 2 on loops.

Exercise 2 Released

Tue Sep 8 11:30:27 +08 2020

Here is your ungraded Exercise 2 on loops. This is for you to practice before Assignment 2 is released on Thursday.

Post-Lecture 5 Materials

Sat Sep 5 19:35:57 +08 2020

Folks, here is your weekly dose of lecture video , slides , and the diagnostic quiz .

Notes for Lecture 5; Details about PE and Midterm

Sat Sep 5 19:35:57 +08 2020

We will cover Unit 11 and Unit 12 in Lecture 5. We will also go through some important details about the upcoming midterm and PE1.

Assignment 1 Release

Thu Sep 3 10:28:04 +08 2020

Here is your first graded programming assignment. Due next Tuesday (Sep 8) 23:59 SGT.

Ungraded Exercise 1 Available

Tue Sep 1 21:51:56 +08 2020

If you would like to have more practices before Assignment 1, here is Exercise 1, an ungraded exercise on conditionals and logical expression.

Post-Lecture Materials for Lecture 4 Available

Mon Aug 31 18:33:02 +08 2020

Please enjoy the video , slides , and the diagnostic quiz for Lecture 4 today.

The older announcements below are moved to the old announcements sections in the left bar.

Notes for Lecture 4 Available

Sat Aug 29 10:15:34 +08 2020

We will cover Unit 8, Unit 9, and Unit 10 in Lecture 4. The notes have been posted.

Catch Up Session

Fri Aug 28 11:57:46 +08 2020

The Piazza Q&A Page for tomorrow's catch-up session is now open and will remain open for the next 24 hours.

Please post your questions and vote for questions that you would like us to answer live tomorrow.

The link to Zoom can be found at the usual place.

Bonus Quiz: Using the CS1010 PE

We added a bonus diagnostic quiz on using the CS1010 PE for you to self-diagnose your basic understanding of the usage of the CS1010 PE nodes. This quiz is due next Thursday 10am as usual.

This quiz carries the same weight as the rest of the quizzes. Recall that we will take the best 10 out of all the quizzes in CS1010 to compute your marks.

Exercise 0 Posted

Fri Aug 28 05:12:47 +08 2020

In case you missed the lab yesterday, here is Exercise 0, a warm-up to get your ready to write some C code and prepare for the coming assignments.

Exercise 0 is not graded but it is important that you complete it before Assignment 1, which is going to be released next week.

Slides, Video, and Quiz for Lecture 3

Mon Aug 24 17:24:46 +08 2020

Here you go:

Notes for Lecture 3 and for Using C in CS1010

Fri Aug 21 16:18:17 +08 2020

We will cover Unit 5, Unit 6, and Unit 7 in Lecture 3. The notes have been posted.

We have also posted notes on using C in CS1010:

  • C in CS1010 lists and explains the features of C that are banned or discouraged in this module;
  • CS1010 I/O library documents the APIs provided by the libcs1010 library, something that we provide to shield the pain and danger of using printf and scanf from you;
  • C Style documents the programming style that we should all follow in CS1010.
  • Compiler Messages lists the common warnings and errors that students encounter in CS1010. This list will be updated throughout the semester.

Slides, Video, Quiz for Lecture 2

Mon Aug 17 14:59:16 +08 2020

The slides, video, and post-lecture quiz for Lecture 2 are now available.

Notes for Lecture 2 Posted

Fri Aug 14 21:54:24 +08 2020

We will cover Unit 3 and Unit 4 in Lecture 2. The notes have been posted.

Lecture 1

Mon Aug 10 14:17:40 +08 2020

Lecture 1 has been recorded and posted. You can watch it here.

Please read through the notes and watch the lecture. After that, you can try the post-lecture diagnostic quiz to test your own understanding.

The slides are posted as well.

Notes for Lecture 1 Posted

Sun Aug 9 07:20:35 +08 2020

We will cover Unit 1 and Unit 2 in our very first lecture. You can always check out the notes under the menu items notes.

Getting Ready for CS1010

Welcome to CS1010! Here are some things that you can do while waiting for the semester to start.

Take a Look at General CS1010 Information

Take a look at the crucial information about CS1010 here. Scan through the learning outcomes to know what you are expected to learn in this module.

Note down the important dates on your calendar.

Read about CS1010 Policies

The general policies for CS1010 is posted. Go through it to see what is expected.

Read Feedback on CS1010 from Two Years Ago

This semester's CS1010 will be conducted in a similar style with the version in 2018. Read the comments from that batch of students to know what to expect.

Explore Some Additional Readings

Some extra reading materials curated by Wei Tsang are available. In particular, check out the articles under Must Read section. If you have some programming background and are wondering why we are teaching C, read the articles under Why C section.

Enable Your Piazza Account

You should have received an email inviting you to create a Piazza account and enroll in the module Q&A forum. Please join CS1010 on Piazza.

Enable Your SoC Account

Go to https://mysoc.nus.edu.sg/~newacct and create your SoC Unix Account if you have not done so. Activate "General Unix Servers" and "The SoC Compute Cluster" in MySoC here: https://mysoc.nus.edu.sg/~myacct/services.cgi

Create a GitHub Account

Create a GitHub account if you do not have one. This account should stay with you for your professional career. So choose the username wisely.

Get a Head-Start with Unix and Vim

If you did not register for the SoC Unix@Home Workshop, you can still head to the website and take a look at the notes and follow through with the examples. If you have questions or face any issues, ask on Piazza.