7592582 Istqb Foundation Practice Exam 9

  • June 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 7592582 Istqb Foundation Practice Exam 9 as PDF for free.

More details

  • Words: 2,343
  • Pages: 12
Information Systems Examinations Board

Foundation Certificate In Software Testing SAMPLE PAPER 1a Time allowed: 1 hour

Copying of this paper is expressly forbidden without the direct approval of the Board

1.

When what is visible to end-users is a deviation from the specified or expected behaviour, this is called a) b) c) d) e)

an error a fault a failure a defect a mistake

 

2.

Regression testing should be performed v) w) x) y) z) a) b) c) d) e)

3.

v & w are true, x – z are false w, x & y are true, v & z are false w & y are true, v, x & z are false w is true, v, x, y and z are false All of the above are true

IEEE 829 test plan documentation standard contains all of the following except a) b) c) d) e)

4.

every week after the software has changed as often as possible when the environment has changed  when the project manager says

test items test deliverables test tasks test environment test specification

Testing should be stopped when a) all the planned tests have been run b) time has run out c) all faults have been fixed correctly d) both a) and c) e) it depends on the risks for the system being tested

2

5.

Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries? a) b) c) d) e)

6.

Consider the following statements about early test design: i. ii. iii. iv. v. a) b) c) d) e)

7.

early test design can prevent fault multiplication faults found during early test design are more expensive to fix early test design can find faults early test design can cause changes to the requirements early test design takes more effort

i, iii & iv are true. ii & v are false iii is true, i, ii, iv, & v are false iii & iv are true. i, ii & v are false i, iii, iv & v are true, ii is false i & iii are true, ii, iv & v are false

Non-functional system testing includes: a) b) c) d) e)

8.

1000, 50000, 99999 9999, 50000, 100000 10000, 50000, 99999 10000, 99999 9999, 10000, 50000, 99999, 100000

testing to see where the system does not function correctly testing quality attributes of the system including performance and usability gaining user approval for the system testing a system feature using only the software required for that function testing for functions that should not exist

Which of the following is NOT part of configuration management? a) b) c) d) e)

status accounting of configuration items auditing conformance to ISO 9000 identification of test versions record of changes to documentation over time controlled library access

3

9.

Which of the following is the main purpose of the integration strategy for integration testing in the small? a) b) c) d) e)

10.

What is the purpose of test completion criteria in a test plan? a) b) c) d) e)

11.

to ensure that all of the small modules are tested adequately to ensure that the system interfaces to other systems and networks to specify which modules to combine when, and how many at once to ensure that the integration testing can be performed by a small team to specify how the software should be divided into modules

to know when a specific test has finished its execution to ensure that the test case specification is complete to set the criteria used in generating test inputs to know when test planning is complete to plan when to stop testing

Consider the following statements i. ii. iii. iv. v.

a) b) c) d) e)

an incident may be closed without being fixed. incidents may not be raised against documentation. the final stage of incident tracking is fixing. the incident record does not include information on test environments. incidents should be raised when someone other than the author of the  software performs the test.

ii and v are true, i, iii and iv are false i and v are true, ii, iii and iv are false i, iv and v are true, ii and iii are false i and ii are true, iii, iv and v are false i is true, ii, iii, iv and v are false

4

12.

Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage

a) b) c) d) e) 13.

Read P Read Q IF P+Q > 100 THEN Print "Large" ENDIF IF P > 50 THEN Print "P Large" ENDIF 1 test for statement coverage, 3 for branch coverage 1 test for statement coverage, 2 for branch coverage 1 test for statement coverage, 1 for branch coverage 2 tests for statement coverage, 3 for branch coverage 2 tests for statement coverage, 2 for branch coverage

Consider the following statements: i. ii. iii. iv. v. a) b) c) d) e)

14.

100% statement coverage guarantees 100% branch coverage. 100% branch coverage guarantees 100% statement coverage. 100% branch coverage guarantees 100% decision coverage. 100% decision coverage guarantees 100% branch coverage. 100% statement coverage guarantees 100% decision coverage.

ii is True, i, iii, iv & v are False i is True, ii iii, iv & i are False i & v are True, ii, iii & iv are False ii & iii are True, i, iv & v are False ii, iii & iv are True, i & v are False

Functional system testing is a) b) c) d) e)

testing that the system functions with other systems testing by users to check that the system will perform business functions testing that the components that comprise the system function together testing the end to end functionality of the system as a whole testing the system performs functions within specified response times

5

15.

Incidents would not be raised against a) b) c) d) e)

16.

Which of the following items would not come under Configuration Management? a) b) c) d) e)

17.

updating tests when the software has changed testing very old systems testing a system that has been changed testing by users to ensure that the system meets a business need testing to maintain business advantage

What can static analysis NOT find? a) b) c) d) e)

19.

software operating systems test documentation live data user requirement documents

Maintenance testing is a) b) c) d) e)

18.

requirements documentation on­line help test cases improvements suggested by users

the use of a variable before it has been defined unreachable (“dead”) code whether the value stored in a variable is correct the re­definition of a variable before it has been used array bound violations

Which of the following techniques is NOT a black box technique? a) b) c) d) e)

equivalence partitioning state transition testing LCSAJ syntax testing boundary value analysis

6

20.

Beta testing is: a) b) c) d) e)

21.

Given the following types of tool, which tools would typically be used by developers, and which by an independent system test team?

a) b) c) d) e) 22.

i. static analysis ii. performance testing iii. test management iv. dynamic analysis v. test running vi. test data preparation developers would typically use i, iv and vi; test team ii, iii and v developers would typically use i and iv, test team ii, iii, v and vi developers would typically use i, ii, iii and iv; test team v and vi developers would typically use ii, iv and vi; test team i, iii and v developers would typically use i, iii, iv and v; test team ii and vi

The main focus of acceptance testing is a) b) c) d) e)

23.

performed by customers at their own site performed by customers at the software developer's site performed by an Independent Test Team useful to test bespoke software performed as early as possible in the lifecycle

finding faults in the system ensuring that the system is acceptable to all users testing the system with other systems testing from a business perspective testing by an independent test team

Which of the following statements about the component testing standard is FALSE? a) b) c) d) e)

black box design techniques all have an associated measurement technique. white box design techniques all have an associated measurement technique. cyclomatic complexity is not a test measurement technique black box measurement techniques all have an associated test design technique. white box measurement techniques all have an associated test design technique.

7

24.

Which of the following statements is NOT true? a) b) c) d) e)

25.

inspection is the most formal review process inspections should be led by a trained leader managers can perform inspections on management documents inspection is appropriate even when there are no written documents inspection compares documents with predecessor (source) documents 

A typical commercial test execution tool would be able to perform all of the following, EXCEPT: a) b) c) d) e)

26.

The difference between re-testing and regression testing is: a) b) c) d) e)

27.

re­testing is running a test again; regression testing looks for unexpected side­effects re­testing looks for unexpected side­effects; regression testing is repeating those tests re­testing is done after faults are fixed; regression testing is done earlier re­testing uses different environments, regression testing uses the same environment re­testing is done by developers, regression testing is done by independent testers

Expected results are: a) b) c) d) e)

28.

generating expected outputs replaying inputs according to a programmed script comparison of expected outcomes with actual outcomes recording test inputs reading test values from a data file

only important in system testing only used in component testing never specified in advance most useful when specified in advance derived from the code

What type of review requires formal entry and exit criteria, including metrics: a) b) c) d) e)

informal review walkthrough inspection management review post project review

8

29.

Which of the following uses Impact Analysis most? a) b) c) d) e)

30.

What is NOT included in typical costs for an inspection process? a) b) c) d) e)

31.

training in the inspection process setting up forms and databases analysing metrics and improving processes writing the documents to be inspected time spent on the document outside the meeting

Which of the following is NOT a valid test objective: a) b) c) d) e)

32.

component testing integration testing in the small non­functional system testing user acceptance testing maintenance testing

to show that the software meets its requirement to find faults in the software to prove that the software has no faults to give confidence in the software to find performance problems

Which expression best matches the following characteristics and review processes: 1. 2. 3. 4. 5.

led by the author undocumented no management participation led by a trained moderator or leader uses entry and exit criteria

s) inspection t) peer review u) informal review v) walkthrough a) b) c) d) e)

s = 4, t = 3, u = 2 and 5, v = 1 s = 4 and 5, t = 3, u = 2, v = 1 s = 1 and 5, t = 3, u = 2, v = 4 s = 5, t = 4, u = 3, v = 1 and 2 s = 4 and 5, t = 1, u= 2, v = 3

9

33.

Which of the following is NOT part of system testing? a) b) c) d) e)

34.

Which statement about expected outcomes is FALSE? a) b) c) d) e)

35.

expected outcomes are defined by the software's behaviour expected outcomes are derived from a specification, not from the code expected outcomes include outputs to a screen and changes to files and databases expected outcomes should be predicted before a test is run expected outcomes may include timing constraints such as response times

The standard that gives definitions of testing terms is a) b) c) d) e)

36.

business process­based testing performance, load and stress testing requirements­based testing usability testing top­down integration testing

ISO/IEC 12207 BS7925­1 BS7925­2 ANSI/IEEE 829 ANSI/IEEE 729

The cost of fixing a fault: a) b) c) d) e)

37.

is not important increases as we move the product towards live use decreases as we move the product towards live use is more expensive if found in requirements than functional design can never be determined

Which of the following is NOT included in the Test Plan document of the Test Documentation Standard? a) b) c) d) e)

Test items (i.e. software versions) What is not to be tested Test environments Quality plans Schedules and deadlines

10

38.

Could reviews or inspections be considered part of testing? a) b) c) d) e)

39.

no, because they apply to development documentation no, because they are normally applied before testing no, because they do not apply to the test documentation yes, because both help detect faults and improve quality yes, because testing includes all non­constructive activities

Which of the following is not part of performance testing? a) b) c) d)

measuring response times measuring transaction rates recovery testing simulating many users

e) e) generating many transactions

40.

Error guessing is best used a) b) c) d) e)

as the first approach to deriving test cases after more formal techniques have been applied by inexperienced testers after the system has gone live only by end users

11

List of Answers to the Sample Paper: 1) 2) 3) 4) 5)

C C E E C

21) 22) 23) 24) 25)

B D A D A

6) 7) 8) 9) 10)

A B B C E

26) 27) 28) 29) 30)

A D C E D

11) 12) 13) 14) 15)

B B E D E

31) 32) 33) 34) 35)

C B E A B

16) 17) 18) 19) 20)

D C C C A

36) 37) 38) 39) 40)

B D D C B

12

Related Documents