Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Bahria University, Islamabad Campus: Department of Software Engineering

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Bahria University, Islamabad Campus

Department of Software Engineering


Final Examination
Class/Section: BSE - 6
(SPRING 2020 Semester)
Paper Type: Descriptive
Subject: Software Quality Engineering Date: 29-06-2020
Course Code: (SEN 321) Session: I
Name of Faculty: Dr. Tamim Ahmed Khan Max Marks: 50
Time Allowed: 120 Minutes Total Pages: 4

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.

Name: _______________________________ Enroll No:______________________


(USE CAPITAL LETTERS)

Q.1. Please define and give examples for the following concepts - [CLO 1] 1+1+1
• MM-Path Testing
• Scenario-based testing
• Acceptance testing

Q.2. Please answer the following questions? [CLO 1]


1+2+4
• Please define and explain exploratory testing
• Please explain how can we make use of tools such as Microsoft Test Manager, as
explained and conducted in tutorial sessions, to do testing.
• Please consider Microsoft Test Manager, an example and use screenshots
clearly showing that it is your own computer and your own work without copying
screenshots from peers as well as from internet.

Case Study No. 1

… This system is planned to fill communication gap between entrepreneurs,


venture capitalists and applicants. Our application would make it easy for young
entrepreneurs who need a platform to communicate with people of their interests
and requirements and especially those who can finance projects. There is
another aspect to our system where fresh start-ups who plan to hire
freelancers/students can gain access to fresh graduates as well. These
entrepreneurs who can afford to hire professionals and are particularly looking
Page 1 of 4
%

Enrollment Number: ____________________________

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

for (int i = 0; i < helpers.size(); i++) {

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())) {

// 1 Check primary Role


if (needer.getPrimaryRole() == helper.getPrimaryRole()) {
score += 1;
} else if (needer.getPrimaryRole() == helper.getSecondaryRole()) {
score += 0.5;
} else {
score += 0;
}

// 2 Check secondary Role


if (needer.getSecondaryRole() == helper.getSecondaryRole()) {
score += 1;
} else if (needer.getSecondaryRole() == helper.getPrimaryRole()) {
score += 0.5;
} else {
score += 0;
}
}

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
%

Enrollment Number: ____________________________

Use Case: Find Incubations

2.2.11 Use Case: Find Incubators

Primary Actor: The User

Scope: Start a Startup

Goal Level: User goal

Success End Condition: User gets a list of incubators based on location


successfully

Precondition: User is logged in to the Application

Trigger: User clicks on Find Incubators

Main Success Scenario:

• User gives location permission.

• User Clicks on Find Incubators.

• System searches for incubators with entered location and displays incubators
in a list.

Alternative:

1a. System fails to find incubators by entered location.

1a1. System prompts an error about no incubators were found.

Page 3 of 4
%

Enrollment Number: ____________________________

Case Study 2:
A software house “BU-Students Consulting” solutions has won a development project which
has the following modules

1. User Interface) 7. Admin pages development


– Forms design – Style sheets
– Wireframes – Administration
– Web pages development
– Reports design – User sections development
2. Back-end Database 8. Test Plans
– Normalization – Website pages
– ER Diagram – Test planning
3. Content Management – Unit testing
System – Integration testing
– Faculty pages – System testing
– Staff pages – Website logic
– Time table – Unit testing
– Alumni – Integration testing
– Management console – System testing
– User pages – Help System
4. Documentation – Help pages
5. UI/db middleware – Online tutorials
6. Web Services 9. Web content writing

Q.5. Please prepare to compile findings such that: [CLO 4] 2X6


We develop a comprehensive test plan for the above project mentioning:
1. what items to be tested?
2. what testing strategies involved?
3. what type of functional and non-functional aspects to be tested?
4. what is the test suites involved?
5. what would be the integration plan?
6. what would be the regression testing plan?

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

You might also like