repl.it
link Guidance for the item(s) below:
We are moving tutorials to fully-online mode from this week.
A________-Tutorial-10.docx
as the template for your submission. Do follow the submission instructions in that file closely or else our scripts will not be able to detect your submission. Guidance for the item(s) below:
Some background: As you know, our i.e., Practical ExamPE includes peer-testing tP products under exam conditions. In the past, we used GitHub as the platform for that -- which was not optimal (e.g., it was hard to ensure the compulsory labels have been applied). As a remedy, some ex-students have been developing an app called CAT stands for Crowd-sourced Anonymous TestingCATcher that we would like to use for the PE this semester.
In this tutorial, we would like to smoke-test the CATcher app to ensure it can run in your computer.
The steps for smoke-testing CATcher:
More Info
link in the security warning and choose Run anyway
).CS2113/T Alpha Test
, and submit.
Use GitHub login interface
to login to CATcher using your GitHub account.alpha
in your GitHub account, when it asks for permission. That repo will be used to hold the bug reports you will create in this testing session.severity
and type
labels are compulsory.alpha
repo created by CATcher in your GitHub account (keep it until the end of the semester) as our scripts will look for it later to check if you have done this activity.Being able to run CATcher is important for the PE -- if you are unable to run it, please follow up via the CATcher issue tracker until you resolve the issue ASAP.
Guidance for the item(s) below:
Guidance for the item(s) below:
Explain Sequence Diagram (ParserFactory
)
Explain the interactions depicted in this sequence diagram.
First, the createParser()
method of an existing ParserFactory
object is called. Then, ...
Guidance for the item(s) below:
Draw Sequence Diagram for printing a quote
Draw a sequence diagram to represent this code snippet.
if (isFirstPage) {
new Quote().print();
}
The Quote
class:
class Quote{
String q;
Quote(){
q = generate();
}
String generate(){
// ...
}
void print(){
System.out.println(q);
}
}
new Quote().print();
as two method calls.print()
method is called.