Bahria University, Islamabad Campus: Department of Software Engineering
Bahria University, Islamabad Campus: Department of Software Engineering
Bahria University, Islamabad Campus: Department of Software Engineering
INSTRUCTIONS:
I. All questions are compulsory.
II. The paper is closed book.
III. The students are not allowed any helping material (books, tables, formulas, etc).
IV. Use blue, black or blue-black ink only.
Q.1. Please define and give examples for the following concepts - [CLO 1] 1+1+1
• MM-Path Testing
• Scenario-based testing
• Acceptance testing
for young talent and our platform would come into play. Finally, our system
would help corporate sector, entrepreneurs, startups, incubators, incubates, and
students to shop or showcase their skills and abilities in a match-making
manner…
The following questions are based on this case study, unless mentioned
otherwise
Q.3. Please develop control flow graph for the following codes and please write test case 3+2+3+3
for all nodes coverage clearly marking: [CLO 2]
• Paths
• Path conditions
• Test cases with inputs, expected outputs, path number from A part
score = 0;
Helper helper = helpers.get(i);
if (needer.getPrimaryRole().equals(helper.getPrimaryRole())
|| needer.getPrimaryRole().equals(helper.getSecondaryRole())
|| needer.getSecondaryRole().equals(helper.getPrimaryRole())
|| needer.getSecondaryRole().equals(helper.getSecondaryRole())) {
Q.4. Please analyze and discuss which of the testing technique would be highly relevant 3+3+3+3
to prepare test cases for the following use case diagram. Please prepare test cases clearly
identifying the following: [CLO 3]
• Test Conditions
• Input (data values)
• Expected result
Page 2 of 4
%
• System searches for incubators with entered location and displays incubators
in a list.
Alternative:
Page 3 of 4
%
Case Study 2:
A software house “BU-Students Consulting” solutions has won a development project which
has the following modules
Q.6. Please develop a bug report form which is in line with your answer in Q5 meaning
5
thereby, we can have a traceability from test cases to bug reports. [CLO 4]
Page 4 of 4