This site is from a past semester! The current version will be here when the new semester starts.
CS2113/T 2021 Jan-May
  • Full Timeline
  • Week 1 [Mon, Jan 11th]
  • Week 2 [Mon, Jun 21st]
  • Week 3 [Mon, Jun 28th]
  • Week 4 [Mon, Jul 5th]
  • Week 5 [Mon, Jul 12th]
  • Week 6 [Mon, Jul 19th]
  • Week 7 [Mon, Jul 26th]
  • Week 8 [Mon, Aug 9th]
  • Week 9 [Mon, Aug 16th]
  • Week 10 [Mon, Aug 23rd]
  • Week 11 [Mon, Aug 30th]
  • Week 12 [Mon, Sep 6th]
  • Week 13 [Mon, Sep 13th]
  • Textbook
  • Admin Info
  • Dashboards
  •  Individual Project (iP):
  • Individual Project Info
  • iP Upstream Repo
  • iP Code Dashboard
  • iP Progress Dashboard

  •  Team Project (tP):
  • Team Project Info
  • Reference AB3
  • Team List
  • tP Code Dashboard
  • tP Progress Dashboard
  • Java exercises
  • Report Bugs
  • Forum
  • Gitter (Chat)
  • Instructors
  • Announcements
  • Files (handouts, submissions etc.)
  • Tutorial Schedule
  • Java Coding Standard
  • Git Conventions
  • Forum Activities Dashboard
  • Participation Dashboard
  • Standards/ConventionsiP (Individual Project): Overview


    Java exercises

    We will use GitHub Classroom to run the basic Java exercises. It will give you additional opportunities to work with Git and GitHub and get familiar with version control.

    GitHub Classroom Prerequsites

    • Before you start the exercises, you will require two things:

      1. The GitHub username you provided us in the pre-module survey
      2. The masked student identifier. Please refer to the module details page on LumiNUS for more information.
    • Next, you need to register on the Classroom.

    Registering in GitHub Classroom

    • When you start the assignments, for the first time you will be asked to select your identifier to associate your GitHub username to you.

      Find your identifier correctly and click on it. GitHub Classroom will ask you to confirm, click OK.

      • If you missed this step at the first assignment, GitHub Classroom will ask you to associate your GitHub username to your identifier again when you accept subsequent assignments.
      • You need to associate the identifier with your GitHub username only once; once you have linked the two, nothing needs to be done for future assignments.
      • Upon linking, we can track your progress, including the past submissions.

    List of exercises

    Note: As such the exercises are open until end of Week 6. The suggested deadline will help you to keep up with the weekly activities that counts for participation points.


    Working on the assignments

    Accepting an assignment

    • Upon opening the assignment, you will be presented with a screen to accept it.

    • Click Accept this assignment; wait for a moment and refresh the subsequent page.

    • Here you will be presented with the link to your assignment repository

    Working on the assignment

    • Click on the assignment repository, and you will land in the familiar GitHub repository page.

    • Clone the repository to your machine.

    • Open the project as a gradle project in IntelliJ

      and select Open as Project

    • Complete the assignment by adding necessary code/additional files.

    • Test using the given TestMain.java file under src/test/java

      If Run 'TestMain' doesn't appear for you, open the TestMain.java file and select Run (from the menubar on top) -> Run
      You will be asked to select the configuration. Here select the Gradle configuration (the one with an elephant icon)

    • Once the tests pass, you can commit and push to your assignment repository. That would be a complete submission.


    Standards/ConventionsiP (Individual Project): Overview