Tutorial 7
Tutorial 7
/20
COURSE: SOFTWARE
CODE: BCS1033
ENGINEERING
General Instructions:
Complete product
Figure 1
Requirement, R
Voting result is shall only be enabled when the voting duration is completed.
Domain Properties, D
Released the voting result, if and only if the approval has been granted.
Approval for voting result is granted, if and only if the voting period is end.
Specification, S:
Voting result enabled if and only if the voting result is released.
1
FACULTY OF COMPUTING MARKS:
/20
COURSE: SOFTWARE
CODE: BCS1033
ENGINEERING
Question 1
Give TWO (2) sample questions for Verification.
1) Does the user interfaces correctly implement the design specifications?
2) Does the architectural design of the software correctly implement the functional and non-
functional requirement of the software.
Question 2
Give TWO (2) sample questions for Validation.
1) Does this software meet the business requirement?
2) Does this software meet the user requirement imposed by the stakeholders?
program inspection. As a preparation for conducting inspection, project overview of the new
system is presented to testing team. The inspection team is includes programmers & system
designers whose responsible for developing SES, Mr Akmal who will record the result of the
inspection meeting, and Ms Eiieen as the moderator whose responsible for inspection session. All
team members are familiar to the organisation standard practice implemented in GiantBig.
Testing team is planning to check the correctness of conditional statement, looping and
conditional statement of the program. The way looping is terminated, the bracket used in the
compound statement will be inspected. Furthermore, all input variables used by the program is
investigated, while examining for unexpected input that may cause program failure or fault in the
output.
2
FACULTY OF COMPUTING MARKS:
/20
COURSE: SOFTWARE
CODE: BCS1033
ENGINEERING
Question 3
Give TWO (2) essential things that has been done for SES, as a preparation for inspection.
1) Project overview of the new system is presented to testing team.
2) All input variables used by the program is investigated, while examining for
unexpected input that may cause program failure or fault in the output.
Question 4
Based on your answer in 3, briefly justify the reason for having the essential things that has been
identified.
These essential things are important because during testing, error can hide other errors as
inspection is a static process whereby one don’t need to be concerned about the interaction
between two errors. As well as searching for program defects, an inspection can also be
consider broader qualities attributes of a program such as compliance with standards,
portability and maintainability.
Question 5
List ALL roles involves in SES inspection. Explictily mention, who is the playing each role.
Briefly describe each of the role identified.
1) Author - Inspection team which includes programmers and system designers whose
responsible to developing the SES software.
2) Inspector - The testing team whose responsible in finding errors , omissions and
inconsistencies in the SES software.
3) Scribe - Mr Akmal who will record the result the inspection meeting.
4) Moderator - Ms Eiieen who is responsible the inspection section.
Question 6
Based on your knowledge in V&V, which role is wrongly assigned in SES inspection? Suggest
the correct person-in-charge who supposedly to play the role.
Role Inspector played by the testing team is wrongly assigned in SES inspection.
3
FACULTY OF COMPUTING MARKS:
/20
COURSE: SOFTWARE
CODE: BCS1033
ENGINEERING
Question 7
Give TWO (2) type of faults that can be discovered by the inspection for the above case.
1) Control faults
2) Input/output faults
Question 8
For each type of faults identified in Question 7, give TWO (2) sample questions for the
inspection check.
Question 9
What is user testing? Give TWO (2) types of user testing. What is the different between them?
When the SES will be considered in both types of user testing mentioned?
User testing is when the users pr customers provide input and advice on system testing. Two
types of user types are alpha testing and beta testing. Alpha testing is when the users of the
software work with the development team to test the software at the developer’s site while beta
testing is a release of the software is made available to users to allow them to experiment and to
raise problems that they discover with the system developers. The SES will be considered in
both types of user testing mentioned during the acceptance testing process.
Question 10
What is the difference between type of software testing: unit, integration (component) and system
testing? What is the difference between testing techniques: black box and white box testing?
Suggest on how to use the testing techniques in each testing type.
The difference between component/unit testing and system testing is that component/unit
testing is the process of testing individual components in isolation and also a defect testing
process while system testing involves integrating components to create a version of the system
and then testing the integrated system which focus on the interactions between components.
Difference between black box and white box testing is that black box testing is a way of
software testing in which the internal structure or the program or the code is hidden and
nothing is known about it such as functional and non-functional testing. As for the white box
4
FACULTY OF COMPUTING MARKS:
/20
COURSE: SOFTWARE
CODE: BCS1033
ENGINEERING
testing, it is a way of testing the software in which the tester has knowledge about the internal
structure of the code or the program of the software such as path testing and loop testing.