Loading questions...
Updated
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
The developers have suggested test set A is adequate to test the program opposite:

When executing test set A through the program which statements are exercised?
The comment frequency of the code fragment is 13%. To which ISO 9126 quality attribute does a good level of comment frequency especially contribute?
If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airlines frequent flier program. If you dont hold a gold card, there is a possibility that you will get bumped off the flight if it is full and you check in late. This is shown in the figure hereafter. Note that each box (i.e. statement) has been numbered.
Three tests have been run:
Test 1: Gold card holder who gets upgraded to business class
Test 2: Non-gold card holder who stays in economy
Test 3: A person who is bumped from the flight
What is the statement coverage of these three tests?

A component has been analyzed as being highly critical. Which of the following structure-based test design techniques provides the highest level of coverage?
What is the number of nested levels for the code fragment?
An embedded software company is considering to improve the quality of its software components to be delivered to the integration team. After studying various experience papers that report a higher level of quality for software components, two main alternative techniques are identified: static analysis and dynamic analysis. In deciding which one is most applicable and how they relate to each other a detailed study is performed.
Which of the following are TWO key similarities between static analysis and dynamic analysis?
As part of a risk analysis, technical risks are analyzed. Which TWO factors influence technical risk?
Consider the following fault attack: "Force all possible incoming errors from the software/OS interfaces to the application". Which of the following is the kind of failure you are looking for when using this attack?
The result of a product risk analysis performed on components I, II and III of the airplane control system shows the following risk matrix:

The project wants to mitigate the risks by defining different types of coverage depending on the risk level of the components. Which of the following would be a meaningful solution for setting the coverage targets?
How many test cases would be needed to achieve 100% decision coverage?
How many test cases would be needed to achieve 100% statement coverage?
Which specification-based technique could be used to enhance coverage for this code fragment?
Consider the following code fragment
If (a>b) and (b>c) then -
b = (a+c)/2
endif
Assume that in the following options, each of the three numbers in parenthesis represent the inputs for a test case, where the first number represents variable "a", the second number represents variable "b", and the third number represents variable "c".
Which of the following gives a set of test case inputs that achieves 100% decision coverage for this fragment of code with the minimum number of test cases?
For the control flow, what is the correct labelling?
i ii iii
Which of the following is a valid way to calculate the cyclomatic complexity?
What is the value of statement coverage achieved by test case 1 from test set A?
Which TWO additional structure-based test design techniques could be used to dynamically test the code?
How many test cases are needed to test code fragment lines 26 – 32 to achieve 100% condition determination coverage?
The application of multiple condition testing is also being considered.
Which specification-based technique is largely based on the principle of multiple condition testing?
How many test cases are needed to test code fragment lines 26 – 32 to achieve 100% multiple condition coverage?
Which additional set of test cases is needed to achieve both 100% statement coverage and 100% decision coverage?

A.

B.

C.

D.
The Bonus Program is perceived by management to be critical. Defects in the program would almost immediately lead to financial loss. In the past an improvement program has been run to implement review based on IEEE 1028. Knowledge and skills on both formal and informal reviews are available. There is also an existing pool of review leaders. Which of the following review types would you choose to review the program?
You have tested the program and have found that with "bonus" a boundary value has not been implemented according to design. You have written an incident report. Which of the following is the incident report of the highest quality?
When performing code reviews, which of the following defect types will be most difficult to find?
During code reviews, it is the author’s responsibility…