Topic 21: Mix Questions Set A
Consider the following pseudo code:
1 Begin
2 Read Time
3 If Time < 12 Then
4 Print(Time, "am")
5 Endif
6 If Time > 12 Then
7 Print(Time 12, "pm")
8 Endif
9 If Time = 12 Then
10 Print (Time, "noon")
11 Endif
12 End
How many test cases are needed to achieve 100 per cent decision coverage?
A.
1
B.
2
C.
3
D.
4
3
The three decisions are in sequence and the conditions are all mutually exclusive (if any
one is true the others must be false). Hence a test case that makes the first decision true
will make the second and third decisions false and so on.
So test case 1 (say Time = 6) would exercise the path True, False, False, test case 2 (say
Time = 15) would exercise the path False, True, False. Test case 3 would have to be Time
= 12. This combination achieves 100 per cent decision coverage because each decision
has been exercised through its true and its false outcomes.
Acceptance test cases are based on what?
A.
Requirements
B.
Design
C.
Code
D.
Decision table
Requirements
What should be the MAIN objective during development testing?
A.
To cause as many failures as possible so that defects in the software are identified and
can be fixed
B.
To confirm that the system works as expected and that requirements have been met
C.
To assess the quality of the software with no intention of fixing defects
D.
To give information to stakeholders of the risk of releasing the system at a given time
To cause as many failures as possible so that defects in the software are identified and
can be fixed
Which statement correctly describes the public and profession aspects of the code of
ethics?
A.
Public: Certified software testers shall act in the best interests of their client and
employer (being consistent with the wider public interest). Profession: Certified software
testers shall advance the integrity and reputation of their industry consistent with the public
interest.
B.
Public: Certified software testers shall advance the integrity and reputation of the
profession consistent with the public interest. Profession: Certified software testers shall
consider the wider public interest in their actions.
C.
Public: Certified software testers shall consider the wider public interest in their actions.
Profession: Certified software testers shall participate in lifelong learning regarding the
practice of their profession and shall promote an ethical approach to the practice of their
profession.
D.
Public: Certified software testers shall consider the wider public interest in their actions.
Profession: Certified software testers shall advance the integrity and reputation of their
industry consistent with the public interest.
Public: Certified software testers shall consider the wider public interest in their actions.
Profession: Certified software testers shall advance the integrity and reputation of their
industry consistent with the public interest.
All other answers contain an activity identified as analysis and design that is part of
implementation and test execution.
Which of the following terms is used to describe the management of software components
comprising an integrated system?
A.
Configuration management
B.
Incident management
C.
Test monitoring
D.
Risk management
Configuration management
Incident management is the collection and processing of incidents raised when errors and
defects are discovered. Test monitoring identifies the status of the testing activity on a
continuous basis. Risk management identifies, analyses and mitigates risks to the project
and the product. Configuration management is concerned with the management of
changes to software components and their associated documentation and testware.
Page 14 out of 66 Pages |
Previous |