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?
Given the Following program IF X <>= ZTHEN Statement 2;ENDMcCabe’s Cyclomatic Complexity is :
What is the concept of introducing a small change to the program and having theeffects of that change show up in some test..?
When a defect is detected and fixed then the software should be retested to confirm that the original defect has been successfully removed. This is called:
Which of the following statements are true?
(i) Defects are likely to be found earlier in the development process by using reviews rather than static analysis.
(ii) Walkthroughs require code but static analysis does not require code.
(iii) Informal reviews can be performed on code and specifications.
(iv) Dynamic techniques are generally used before static techniques.
(v) Dynamic techniques can only be used after code is ready to be executed.
Which of the following statements BEST describes one of the seven key principles of software testing?