Epilogue

Here is the solution for the final exam. My comments on common mistakes are embedded inside.

And now, a personal message: I would like to thank all of you for being patient with me throughout the semester. This semester’s CS2105 has been the most difficult semester for me to teach: (i) the class size increases to a record high of 191, (ii) the number of TAs reduces to 1, and (iii) I just become a father to a pair of twins in Dec 2013 and am in the constant state of sleep deprivation for the whole semester. I have been late in posting class materials, returning assignments, and returning emails (or not returning emails). I have made mistakes in some of the lectures and spoken incoherently occasionally, and yet you all have been the nicest bunch of students and have tolerated these. Some of you even have kind words for me despite all of these, and that kept me going. So, thank you.

I hope you have enjoyed CS2105 and have learnt something useful. Have a good break!

FIN

Past Year Exam Papers

Here are two past year CS2105 exam paper set by me:

Enjoy.

Oh, here are some MCQs that have been rejected as exam questions this year.

1. Which of the following is a VALID networking protocol?
A. ECP
B. ERP
C. PGP
D. PAP
E. FYP

2. Which of the following is NOT a table used in networking protocols?
A. Switching Table
B. NAT Table
C. Forwarding Table
D. Routing Table
E. Premier League Table

:)

Assignment 3: Update on Submission Instructions

Since the deadline falls on a public holiday, we have decided to allow softcopy submission in addition to hardcopy.

If you decide to submit a hardcopy, you can still pass them to either Wei Tsang or Saeid as per instructions.

If you wish to submit a softcopy, please read and following the instructions below carefully.

  1. A PDF answer form has been made available.
  2. Use any decent PDF viewer/editor to fill up the form with your answers. Remember to save the form after you fill it up with your answers.
  3. Rename the form a3-A1234567X.pdf, replacing A1234567X with your matriculation number.
  4. Submit the form into IVLE workbin here, before the deadline.

WARNING:

  1. Please do not submit any other forms of softcopy (e.g., something scanned from a scanner, an image of the answer sheet taken with your phone, a text file edited with vim, etc.) Only the filled up version of the PDF form above is acceptable.
  2. Please do not email us the softcopy. Do not submit a floppy disk containing the softcopy either!
  3. Please name the PDF file according to the convention a3-<matric number>.pdf. Do NOT name it as a3-<nusnet ID>.pdf. (Your matriculation number ends with an alphabet).

There is a 1-point penalty for each violation of instruction above.

Midterm Result Released

1. Here is the distribution of your midterm marks. The maximum marks given is 30 (out of 31). The average is 16. Note that the make-up midterm marks are not yet integrated (that explains the seven 0s).

screenshot

2. You should be getting back your answer sheet this week during your tutorial. Please note the following regarding regrades.

  • Please check carefully to make sure there is no error in grading (including summing error and mark entering error)
  • Students receiving back the answer sheets this week has until the end of the week to submit the regrade request.
  • Please submit the regrade request to the TA, Mr. Saeid, during his office hours, or slip it under my office door with an accompanying note explaining your request.
  • Students who receive back the answer sheet after this week can only submit the regrade request “on-the-spot.”
  • Please take a look at the marking scheme to understand how we allocate marks, before you request for a regrade.

3. Your midterm mark has been imported into your IVLE gradebook for CS2105.

4. IMPORTANT notes on Q5.  We accept both A and C as correct answers.  Due to my negligence, C is not marked as the correct answer.  You, however, need not submit your answer sheet for regrade if you answered C for Q5 but did not receive 2 marks for that.  An additional 2 marks will be added to your midterm grade “digitally”.   In other words, you should see that your grade in the gradebook is 2 marks higher than what is noted on your answer sheet.  Please inform me if your answer for Q5 is C but you did not receive an additional 2 marks.

Assignment 1 Q&A Schedule

This post will be updated at least once daily.

Wednesday, 5 March, 2014

The following takes place in MR6, AS6 #05-10

1100 OON ZI GUI, TAN MEI LING
1105 SUN HANG, GAO RISHENG
1110 WANG ZHE, KOH JUN XIANG
1115 DAO THAI DUY, HO TUAN DUONG
1120 NURWIDYA UTAMI JATI, LEWIS HARIS NATA
1130 LIM HONG HUI EUGENE, CAO YUBO
1135 TRAN THAI TRI TAN, NGUYEN VAN THE
1140 YANG HUIYU, YUEN SHU HUI
1145 LAI YIT HANN, TAN WEI YOUNG
1150 NGOC THANH, LIU PEIYU

The following takes place in Wei Tsang’s office, AS6 #05-14.

1040 SITI NORFAEQAH BINTE POWZAN, GANGADEVI D/O BALAKRISHNAN
1045 HUANG QINGHUI NICOLAS, CHENG WEN ZHAO
1050 SHIWANI AGARWAL, ASHISH TAYAL
1100 CHUA RUI JUN, LOW KIT YEE

1600 HUANG YUE, ZHOU WEI
1605 TAMANA ANNA THARAKAN, IPSITA MOHAPATRA
1610 JOANNE MAH JIA WEN, FAN YUXIN
1615 LIN BAOYU, LIM WEI KE
1620 CHIA WEI MENG ALEXANDER
1630 CHNG YUAN ZHANG MAURICE, GAN JIA HUI
1635 STEFANI LETICIA, LEE HUI SHAN
1640 TAN JUN KAI, QUEK JUN JIE
1645 XIE CHENHONG, SU HAN
1650 A YUSUF SHAMIR, ATUL NANDAKUMAR

1700 FLORENCE WAI TZE YUN, CHUA YI JING
1705 CHIAM ZHIJIE JONATHAN, IAN LEOW TZE WEI
1710 WANG YI, CHEN TONGTONG

The following takes place in DR5, AS6 #02-08.

1645 CHRISTOPHER MARSHALL LAIRD, AI YUE GUO
1650 ADINDA AYU SAVITRI, ONG CHEE CHIN

1700 CHU BING HAN BRYAN, SAN WENYIN
1705 KHAN SAIM SAEED, SENGUPTA DEBOPAM
1710 HE LINGFEI, XIA LU
1715 GUNESS VARSHA, MICHELLE SINN SHWE YE OO
1720 CHANG YAN QIAN, LIM YU DE
1730 SEAH SHAO CHENG, JACOB TAN JIA WEN
1735 LI HO YEUNG, KIN FUNG ANTONY TSE
1740 SONG YI, LI YUANDA
1745 WANG WENZHU, WANG GAOYING

1800 JOEY HOK WAI YI, JAYARAMAN ARCHANA
1805 YE SHUJIAN, LU XI
1810 ZHANG MENGDI, YEO JEONG HOUN

Continue reading

Assignment 1 Q&A

Please book your slots for Q&A here.

Here are the rules:

  1. Each team will indicate the one-hour slots where both team members are available, from which we will allocate 5 minutes for each team.
  2. We will need to stick to the clock exactly, so you must come on time and end on time.
  3. We will randomly ask each student to explain a random part of the code.  Your answer will constitute 2 marks of your individual Assignment 1’s grade.
  4. If you missed your slot or is late, there will be no rescheduling and no extra time.
  5. Both team members must show up on the same time slot.
  6. At the doodle site, in the column that says “Your Name”, please enter the matriculation numbers of both team members.
  7. You will receive an email confirming your slots. Further schedule will be updated in another blog post.
  8. The last slot will be 6pm, 5 March, 2014. After this time, no further booking online possible.

NextGen@ICAAN

The following email snippet from National Youth Council is referred:


We have been approached by an organisation to nominate youths from university/tertiary students, to participate in the inaugural NextGen@ICANN program that will engage them on the areas of internet policy and governance, and get them familiarized with the ICANN (Internet Corporation for Assigned Names and Numbers) processes. ICANN is an international organization responsible for coordinating the unique identifiers – top level domains (TLD), such as ‘.com’, ‘.org’ and ‘.net’, etc, between computers across the world and building the global Internet. The youths should preferably be those who are interested in the area of ICT, internet governance or whose study is related to this area. More details on the program can be found in the attached.

Would you be interested to nominate some of your students to participate? There are 15 slots for students, Uni Year 1 and above (or equivalent, aged 18-29).

If anyone is interested, please email me.

Code from Lecture 3

You can get the code (cleaned up and polished) from Lecture 3 on github:
https://github.com/weitsang/nus-cs2105-socket-programming

You can download the whole thing as a zip file (click on “Download Zip” on the lower right corner).

If you are familiar with git, feel free to clone and submit pull request if you found any bug.

Issues with Tutorial Registration (Updated)

Update (7pm, 2014-01-22):

We managed to swap two groups to a larger room. We can now accommodate more students. We also increased the quota for all tutorial slots, except Tutorial 8 (due to room size).

If you emailed me earlier, you should have heard back from me. For those who still have not secured a tutorial slot, please email me, Tang Ruiming, and Zeng Yong with your preferred slots (give multiple slots) and your matric number, and we will try to slot you in as much as the room size allows.

Original Post:

I received many emails from you about not being able to bid for tutorial slot.

I checked and we have 40+ students more than last AY. This increase in number could be why there is not enough slots available.

I am sorting things out with the UG Office and timetable planner. Please hang on for further announcement (and check for new slots or increase quota in CORS).

If you have other issues with CS2105 tutorial slots, please email Tang Ruiming (tangruiming@comp.nus.edu.sg) and Zeng Yong (zengyong@comp.nus.edu.sg). They are in charge of tutorial registrations for CS2105 (and have access to the online system).

Welcome to CS2105

This blog serves as the main Web site for CS2105, containing tutorials, lecture slides, labs, screencasts, and general announcement about CS2105. From time-to-time, we might post interesting tidbits, bookmarks, and news related to CS2105. You are also free to make comments, ask questions, answer questions, raise issues, etc. through the blog. The blog serves as a replacement for IVLE’s workbin, announcement, and forum.

As the blog will be frequently updated (sometimes with important announcements), you should check the blog frequently for the latest updates. Two easier options to keep yourself up to date are (i) subscribe to the blog update via email (at the top of the sidebar), in which case you will receive an email everytime the blog is updated, (ii) subscribe to the blog RSS feeds, in which case you can use any RSS reader (e.g., Google Reader, Thunderbird) to read the blog’s feed along with other websites you are interested in.

For printing a particular page or post, I find the Evernote Clearly bookmarklet useful.

The first class of CS2105 will be on Monday, 13 January 2014, in LT15. See you there!