Week 6 [Mon, Feb 16th] - Tutorial

1 Demo your debugging skills

This tutorial task prepares you for an upcoming tP task. So, do not skip it.

Relevant textbook topic:

Deadline: by Friday 4pm

  1. Open your iP or tP code in your IDE or any other code editor that has reasonable debugging support.
  2. Set a breakpoint somewhere in the code.
  3. Run the code in debug mode.
  4. When the execution stops at the break point, use the debugger to 'step through' 1-2 more statements.
  5. Optional: Set a .
  6. Take a screenshot of the full IDE, showing evidence of the work you've done in above steps, including some code in the IDE editor window.
  7. Upload the screenshot to the Canvas Assignment: Week 6 - Tutorial - Task 1 (Demo your debugging skills).

2 Sequence diagrams exercise

Deadline: by Friday 4pm

  • Do the following two exercises, as guided by video. Also answer the questions given inside the video.

Explain Sequence Diagram about Machine


Explain Sequence Diagram (ParserFactory)


Video Q+ 17 mins