Go to NUS website Go to SoC website CS1010 Programming Methodology
   Designed by Aaron Tan | Terms of Use © NUS 2010-2017  

Module Info...


 Term Tests


AY2017/8 Semester 1
Continual Assessment - Labs


Labs form the practical element of CS1010. We attach great importance to developing good programming skills in you, and hence we need your cooperation and committment to view lab assignments seriously.

We will be closely monitoring your progress, and your discussion leader is entasked to help you. They will run through your graded lab assignments with you, give comments on your programs, and point out areas for improvement.

You are reminded that all submissions must be from your own effort. This is the only way real learning can take place. (Please see About Plagiarism below.)

For take-home lab assignments, there is no fixed lab session. You are to do your lab assignments and your own practice on your own, either at home or in school. Locations of the programming labs are given in the following floor plans: You may use the computers as long as there are no classes going on. For the locations of all teaching labs and their accessibility and opening hours, please refer to Teaching Laboratories.

The card readers at the labs are usually activated from week 3 onwards. If your matriculation card has problem with accessing the labs, please send an email with your matriculation number to smartcardop@comp.nus.edu.sg to inform them of your problem.

Please also visit Resources - Online page for links to other resources, such as C resources, style guides, information for Mac users, vim help sheet, etc.

Intro Workshop


You will use a system called CodeCrunch to submit your lab assignments. We will introduce CodeCrunch to you at the Intro Workshop in week 2. (You will be granted access to CodeCrunch later, so for the moment you are unable to access it.)

Lab Assignments

  • Lab 0 is not graded. The objective is to ensure that you are familiar with how to submit your program to CodeCrunch.
  • Subsequent lab assignments are graded. Please refer to the Lab Guidelines for general information including the marking scheme.
Lab Title Release date Deadline Worksheet Directory
0 Volume of Box 21 Aug (Mon), 8am Deadline: Before your first discussion session in week 3.
Please attempt this after your Intro Workshop.
1 Three Simple Exercises 28 Aug (Mon), 8am 6 Sep (Wed), 5pm Ex3 worksheet: pdf Directory
2 Nanotable (0) 4 Sep (Mon), 8am 13 Sep (Wed), 5pm   Directory
3 Control Structures 7 Sep (Thu), 8am 18 Sep (Mon), 5pm Ex2 worksheet: pdf Directory
4 Arrays 22 Sep (Fri), 8am 11 Oct (Wed), 5pm Ex2 worksheet: pdf Directory
5 Two-dimensional Arrays 11 Oct (Wed), 5pm 25 Oct (Wed), 5pm Ex3 worksheet: pdf Directory
6 Strings, Recursion and Structures 25 Oct (Wed), 5pm 8 Nov (Wed), 5pm None Directory

About Plagiarism

Plagiarism, in general, is an act of academic dishonesty. In the context of a programming module, it refers, but is not limited, to cases of a student copying others' work and passing it off as his own, or a student who allows his own work to be copied by another.

We would thus advise you against collaborating on lab questions, or discussing the solution among yourselves or openly on the IVLE forum. However, you may raise your doubt about the task statements on the IVLE forum.

We encourage discussion among the students, but you need to draw a line between discussion and copying. Two students who get together to discuss a problem and derive the algorithm, and then leave to write the code on their own is fine. But most often than not, during the discussion the students tend to produce the code, a partial code, or a skeleton of the code together, and their end products will look quite identical. You need to be aware of this and to avoid getting into such situation.

For take-home lab assignments, we understand that sometimes you may discuss the problems with your friends as part of your learning experience. However, try to refrain from copying the programs from others without putting in your own real effort. If we encounter such cases, we will not award the attempt-mark to the students.

For more details on plagiarism, please refer to the page on NUS Plagiarism Notice.

Last updated: 25 October 2017