This site is from a past semester! The current version will be here when the new semester starts.

Week 6 [Fri, Feb 11th] - Tutorial

1 Demo your debugging skills

  1. Open your iP or tP code in your IDE.
  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 execute 1-2 more statements.
  5. Take a screenshot of the IDE and paste in the tutorial workspace file.
  6. Optional: Set a i.e., the execution will stop only if the specified condition is metconditional break-point, take a screenshot of it, and paste it in the same file.

2 Sequence diagrams exercise

  • Do the following two exercises, as guided by the tutor.

Explain Sequence Diagram about Machine


Explain Sequence Diagram (ParserFactory)