Relevant: [
[Picture: The team that was at the top of early Google]
Class Groups
page -- for us to know which team you joined. Note the team ID follows a specific format.Relevant: [
TUTORIAL_ID-TEAM_NUMBER
e.g, CS2103-W14-2
means you are in tutorial CS2103-W14
(i.e., in module CS2103
, on Wednesday
, at 1400-1500
),
team 2
.Relevant: [
Our tutorial IDs are different from LumiNUS. Format: CS2103T-W09
means a tutorial of CS2103T
module, held
on Wednesday
at 0900
, and so on.
Module | Venue | Time | in LumiNUS (don't use this!) |
Our Tutorial ID (use this!) |
Tutors |
---|---|---|---|---|---|
CS2103T | COM1-0210 (SR 10) | Wed 11:00 | CS2103T-W11 |
Damith, Yuan Chuan | |
CS2103T | COM1-0210 (SR 10) | Wed 12:00 | CS2103T-W12 |
Joanne, Andrew | |
CS2103T | COM1-0210 (SR 10) | Wed 13:00 | CS2103T-W13 |
Jacob, Benjamin | |
CS2103T | COM1-0210 (SR 10) | Thu 09:00 | CS2103T-T09 |
Jeffry, Yuan Chuan | |
CS2103T | COM1-0210 (SR 10) | Thu 10:00 | CS2103T-T10 |
Jeffry, Tejas | |
CS2103 | COM1-B103 | Thu 11:00 | CS2103-T11 |
Damith, Brian | |
CS2103T | COM1-0210 (SR 10) | Thu 11:00 | CS2103T-T11 |
James, Jeff | |
CS2103T | COM1-0210 (SR 10) | Thu 12:00 | CS2103T-T12 |
Jun Rong, Brian | |
CS2103T | COM1-0210 (SR 10) | Thu 13:00 | CS2103T-T13 |
Xiaowen, Yuan Chuan | |
CS2103 | COM1-0210 (SR 10) | Thu 14:00 | CS2103-T14 |
Gilbert, Yuan Chuan | |
CS2103 | COM1-0210 (SR 10) | Thu 16:00 | CS2103-T16 |
Kyler, ZhiHui | |
CS2103T | Thu 17:00 | CS2103T-T17 |
Jun Rong | ||
CS2103 | COM1-0210 (SR 10) | Fri 09:00 | CS2103-F09 |
Jonathan, Keith | |
CS2103 | COM1-0210 (SR 10) | Fri 10:00 | CS2103-F10 |
Jonathan, Keith | |
CS2103T | COM1-0210 (SR 10) | Fri 11:00 | CS2103T-F11 |
Jia Hao, Yuan Chuan | |
CS2103T | COM1-0210 (SR 10) | Fri 12:00 | CS2103T-F12 |
Ayush, Yash | |
CS2103T | COM1-0210 (SR 10) | Fri 13:00 | CS2103T-F13 |
LongBin, Yash | |
CS2103T | COM1-0210 (SR 10) | Fri 14:00 | CS2103T-F14 |
Alfred, Yash |
Relevant: [
Consider the code given below:
import java.util.*;
public class Task {
public static final String descriptionPrefix = "description: ";
private String description;
private boolean important;
List<String> pastDescription = new ArrayList<>(); // a list of past descriptions
public Task(String d) {
this.description = d;
if (!d.isEmpty())
this.important = true;
}
public String getAsXML() { return "<task>"+description+"</task>"; }
/**
* Print the description as a string.
*/
public void printingDescription(){ System.out.println(this); }
@Override
public String toString() { return descriptionPrefix + description; }
}
In what ways the code violate the coding standard you are expected to follow?
Here are three:
descriptionPrefix
is a constant and should be named DESCRIPTION_PREFIX
printingDescription()
should be named as printDescription()
important
should be named to sound boolean e.g., isImportant
There are many more.