Professional Documents
Culture Documents
INSTRUCTIONS TO CANDIDATES
Group : M3CS2465B
a) There are many roles involves in the Testing phase. Each of them plays an important role that
acquires great responsibility and commitment.
i) The test engineer can be divided into some different roles depending of the unique
competences. List each of the roles.
(2 marks)
ANSWERS:
1. Usability engineer
2. Manual tester
3. Protocol tester
4. Automatic tester
ii) The Test Manager is planning to conduct usability testing for the product that is due to
launch. Identify the main and additional roles that will be included in this testing process.
(2 marks)
ANSWERS:
Additional roles
- Test administrator
- Observer
- Timer
- Data logger
- Technical expert
- Video operator
2|Page
b) Software maintenance is used when a product is adapted to changing requirements or when
failures are removed that had already been in the system. Maintenance testing is done on
existing operational system, and is triggered by modifications, migration, or retirement of the
software or system.
ANSWERS:
ii) Provide ONE (1) example of testing to support each of your answer in (i).
(2 marks)
ANSWERS:
3|Page
QUESTION 2 (10 MARKS)
A deposit transaction is started from within a session when the customer chooses deposit from
the menu of possible transaction types. The customer chooses a type of account to deposit to
(e.g. checking) from a menu of possible accounts, and then chooses a amount by typing it on
the keyboard. The system sends the customer's card number, PIN, chosen account and
amount to the bank, which either approves or disapproves the transaction.
If the transaction is approved, the machine accepts money from the customer and then issues
a receipt. (If the customer does not insert the money within a specified period of time, this
operation times out and the deposit transaction is aborted.)
If the transaction is disapproved due to an incorrect PIN, the Incorrect PIN extension is
executed. All other disapprovals are reported to the session, which initiates the Failed
Transaction Extension. The bank is notified whether or not an approved transaction was
completed in its entirety by the machine; if it is completed then the bank completes crediting
the customer's account for the amount - contingent on manual verification of the deposit
envelope contents by an operator later.
Propose TWO (2) test cases inclusive of ONE (1) invalid and ONE (1) valid cases that should
be used in the testing for EACH of the activities. Design the test cases by stating the steps,
input and expected outcomes.
(5 marks)
ANSWERS:
b) Test input
User PIN number
c) Expected Outcomes
The expected outcome is the user cannot deposit transfer and error message appear
4|Page
b) Transfer Transaction Use Case
A transfer transaction is started from within a session when the customer chooses transfer
from the menu of possible transaction types. The customer chooses a type of account to
transfer from (e.g. checking) from a menu of possible accounts, chooses a different account to
transfer to, and then chooses a dollar amount by typing it on the keyboard. The system sends
the customer's card number, PIN, chosen account and amounts to the bank, which either
approves or disapproves the transaction. If the transaction is approved, the machine issues a
receipt. If the transaction is disapproved due to an incorrect PIN, the Incorrect PIN extension is
executed. All other disapprovals are reported to the session, which initiates the Failed
Transaction Extension. The bank will consider the transaction complete once it has been
approved.
Propose TWO (2) test cases inclusive of ONE (1) invalid and ONE (1) valid cases that should
be used in the testing for EACH of the activities. Design the test cases by stating the steps,
input and expected outcomes.
(5 marks)
ANSWERS:
b) test input
The test input is user Card PIN number
c) Expected outcomes
The expected result of this test case is the transaction approves and the machines will
issue a receipt
8-7+2= 3
(2 mark)
ii. Based on the value of cyclomatic complexity, derive the basis set of test paths.
7|Page
1
2
3
6
4 5
(5 marks)
8|Page
QUESTION 4 (10 MARKS)
You are appointed as the Test Leader, who is in charge of organizing the test execution
for a software that will be used to monitor the safe flight and landing for an aircraft. This
software is complex where it controls the navigation and the manoeuvre of the aircraft.
This is a safety-critical software and is subjected to regulatory requirements. No release,
not even to beta, can be conducted unless all regulatory requirements have been met.
There are features that the business thinks are critical to the success of the project. These
include some new reporting capabilities that will help to differentiate this product from
the competition.
The Test Manager has created Table 1 of the test cases to be executed. Sprints are two
weeks long and usually executed sequentially. Given this information, identify the proper
order for test case execution. Note that, 1 is the highest priority. Write your answer in
the given Test Case Priority column.
Answer:
Table 1: List of Test Cases
Test Risk Business Regulatory Software Test Case
Case Priority Priority Requirement availability Priority
(7 marks)
If the risk for Test Case 4 has a probability of occurrence of 45%, and a loss of 6 days,
calculate the Risk Exposure for (days) for Test Case 4.
9|Page
Risk exposure = 6 days * 45% = 2.7 days
(3 marks)
10 | P a g e