This site is from a past semester! The current version is here.
CS2113/T Aug '19
  • Week 1 [Aug 12]
  • Week 2 [Aug 19]
  • Week 3 [Aug 26]
  • Week 4 [Sep 2]
  • Week 5 [Sep 9]
  • Week 6 [Sep 16]
  • Week 7 [Sep 30]
  • Week 8 [Oct 7]
  • Week 9 [Oct 14]
  • Week 10 [Oct 21]
  • Week 11 [Oct 28]
  • Week 12 [Nov 4]
  • Week 13 [Nov 11]
  • Textbook
  • Admin Info
  • Report Bugs
  • Slack
  • Forum
  • Project Info
  • Instructors
  • Announcements
  • File Submissions
  • Tutorial Schedule
  • Duke
  • Project Phase1 Dashboard
  • Java Coding Standard
  • samplerepo-things
  • Projects List
  • config.json templates for Reposense
  • PersonalAssistant-Duke
  • Project Phase2 Dashboard
  • Reference project - Addressbook
  • Repl.it classroom
  • Combined Exercises

    Here are some exercises that combine multiple topics.

    Choose the correct statement

    Explanation:

    • Functional requirements are not always more important.
    • Greenfield projects do not have existing products.
    • Users can inform us about the present. They may not be able to envision the future. (It’s not the consumers’ job to know what they want --Steve Jobs).

    Choose the incorrect statement.

    Explanation: A sequence diagram is a behavior diagram, not a structure diagram. An SD can represent how objects interact with each other (i.e., behavior), not how they are connected to each other (i.e. structure).

    Which one of these is the most useful to model a workflow?

    Pick the odd one out.

    Explanation: RCS is for managing code changes. The others are tools and techniques for managing project schedules. It’s OK if you don’t agree with the answer. What matters is that you know what each one is for.

    Choose the least correct statement

    Explanation: Patterns have costs and sometimes they may be an overkill. Therefore, we should apply them judiciously.