Filters
Question type

Study Flashcards

Given the following fragment of code, how many tests are required for 100% statement coverage? Given the following fragment of code, how many tests are required for 100% statement coverage?   A)  1 B)  2 C)  3 D)  4


A) 1
B) 2
C) 3
D) 4

Correct Answer

verifed

verified

A simple gaming system has been specified as a set of use cases. It has been tested by the supplier and is now ready for user acceptance testing. The system is assessed as low risk and there is pressure to release the software into the market as soon as possible. Which of the following test techniques would be most appropriate for this testing?


A) State transition testing and decision testing
B) Equivalence partitioning and statement testing
C) Use case testing and exploratory testing
D) Decision table testing and exploratory testing

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Retirement of software or a system would trigger which type of testing?


A) Load testing
B) Portability testing
C) Maintenance testing
D) Maintainability testing

Correct Answer

verifed

verified

Which of the following is a project risk?


A) There are non-standard implementations of some features
B) We may not be able to get a contractor to join the test team as planned
C) The response times of the software may not be fast enough
D) The contract has a legal loophole which has affected the company profit

Correct Answer

verifed

verified

Which of the following are the typical defects found by static analysis tools? a) Variables that are never used. b) Security vulnerabilities. c) Poor performance. d) Unreachable code. e) Business processes not followed.


A) b, c and d are true; a and e are false
B) a is true; b, c, d and e are false
C) c, d and e are true; a and b are false
D) a, b and d are true; c and e are false

Correct Answer

verifed

verified

Which one of the following best describes risk-based testing?


A) Testing as much of the system as possible in the time available
B) Targeting testing at the more critical areas of the system
C) Making full use of formal test case design techniques
D) Fixing as many defects as possible before go-live

Correct Answer

verifed

verified

Which one of the following BEST describes the purpose of a priority rating in an incident report?


A) To show which parts of the system are affected by the incident
B) To show how quickly the problem should be fixed
C) To show how much it would cost to fix the defect
D) To show progress of testing

Correct Answer

verifed

verified

Which of the following is a purpose of the review kick off activity?


A) Explain the objectives
B) Select the personnel group
C) Document results
D) Define entry and exit criteria

Correct Answer

verifed

verified

Pair the correct test design techniques (i to v) with the category of techniques (x, y and z) : i) Exploratory Testing ii) Equivalence Partitioning iii) Decision Testing iv) Use Case Testing v) Condition coverage x) Specification-based   y) Structure-based z) Experienced-based


A) x = i and ii; y = iii and v; z = iv.
B) x = i, ii and iv; y = v; z = iii
C) x = ii and iv; y = iii and v; z = i.
D) x = iii and iv; y = v; z = i and ii.

Correct Answer

verifed

verified

Which of the following best describes the purpose of non-functional testing?


A) To measure characteristics of a system which give an indication of how the system performs its functions
B) To ensure that a system complies with the quality standards set by ISO 9126
C) To ensure that the system deals appropriately with software malfunctions
D) To measure the extent to which a system has been tested by functional testing

Correct Answer

verifed

verified

Which of the following software work products would NOT TYPICALLY be examined using static analysis techniques? a) Design specification. b) Component code. c) Software model. d) Test procedure. e) Non-functional requirements specification.


A) a, c and d
B) a, d and e
C) b, c and d
D) a, b and e

Correct Answer

verifed

verified

  The above table shows 6 test procedures (P to U)  that must now be entered into a test execution schedule. Business severity is regarded as the most important element in determining the sequence of the test procedures, but other dependencies must also be taken into consideration. Regression testing can only be run once all other tests have completed. Which of the following represents the MOST effective sequence for the test execution schedule (where the first entry in the sequence is the first procedure to be run, the second entry is the second to be run and so on) ? A)  R, Q, S, T, U, P B)  S, R, P, U, Q, T C)  Q, R, S, T, P, U D)  S, R, U, P, Q, T The above table shows 6 test procedures (P to U) that must now be entered into a test execution schedule. Business severity is regarded as the most important element in determining the sequence of the test procedures, but other dependencies must also be taken into consideration. Regression testing can only be run once all other tests have completed. Which of the following represents the MOST effective sequence for the test execution schedule (where the first entry in the sequence is the first procedure to be run, the second entry is the second to be run and so on) ?


A) R, Q, S, T, U, P
B) S, R, P, U, Q, T
C) Q, R, S, T, P, U
D) S, R, U, P, Q, T

Correct Answer

verifed

verified

Which of the following matches the activity (i to iv) to its most suitable type of tool (p to s) ? i) Analysis of code structure. ii) Generation of test cases. iii) Simulation of the environment in which a component is run. iv) Analysis of test metrics. p) Test management. q) Test design tool. r) Static analysis tool. s) Test harness.


A) i-s, ii-p, iii-r, iv-q
B) i-r, ii-q, iii-s, iv-p
C) i-r, ii-s, iii-p, iv-q
D) i-q, ii-r, iii-s, iv-p

Correct Answer

verifed

verified

Given the following sample of pseudo code: Input ExamScore If ExamScore <= 75 then      Print "Candidate has failed" Else      Print "Candidate has passed"      If ExamScore >= 120 then           Print "Candidate has achieved a distinction"      EndIf EndIf. What is the minimum number of test cases required to guarantee 100% decision coverage?


A) 2
B) 1
C) 3
D) 4

Correct Answer

verifed

verified

Which statement BEST describes the role of testing?


A) Testing ensures that the right version of code is delivered
B) Testing can be used to assess quality.
C) Testing shows that the software is error free.
D) Testing improves quality in itself.

Correct Answer

verifed

verified

Given the following decision table: Given the following decision table:   Which of the following test cases and expected results is VALID? A)  23 year old in insurance class A Premium is 90 and excess is 2,500. B)  51 year old in insurance class C Premium is 70 and excess is 500. C)  31 year old in insurance class B Premium is 70 and excess is 2,500. D)  43 year old in insurance class C Premium is 70 and excess is 1,000. Which of the following test cases and expected results is VALID?


A) 23 year old in insurance class A Premium is 90 and excess is 2,500.
B) 51 year old in insurance class C Premium is 70 and excess is 500.
C) 31 year old in insurance class B Premium is 70 and excess is 2,500.
D) 43 year old in insurance class C Premium is 70 and excess is 1,000.

Correct Answer

verifed

verified

Which of the following is an example of a product risk?


A) Software that does not perform its intended functions
B) Failure of a third party
C) Problems in defining the right requirements
D) Skill and staff shortages

Correct Answer

verifed

verified

A candidate sits an exam with 40 questions. To pass, the candidate must answer at least 25 questions correctly. To gain a distinction, a mark of 32 or above must be achieved. Which of these groups of exam scores would fall into three different equivalence classes?


A) 32, 36, 40
B) 0, 27, 36
C) 0, 24, 32
D) 25, 32, 40

Correct Answer

verifed

verified

Which of the following activities would NORMALLY be undertaken during test planning? a) Scheduling test analysis and design. b) Designing Test Conditions. c) Monitoring test progress. d) Identifying the objectives of testing. e) Evaluating test tools. f) Selecting test metrics for monitoring and control.


A) b, c and d
B) a, d and f
C) a, d and e
D) b, c and f

Correct Answer

verifed

verified

Showing 21 - 40 of 98

Related Exams

Show Answer