ISEB-ISTQB Sample Exam Paper 43

1.   When the software contains an incorrect statement this is called:

a)      an error

b)      a fault

c)      a failure

d)     branch coverage

e)      statement coverage

2.   Which of the following reviews would normally not have management involvement:

a)      Walkthroughs

b)      Informal reviews

c)      Inspections

d)     Technical (peer) reviews

e)      None of the above

3.   Acceptance testing should be the responsibility of

a)a test team of software developers

b)      end-users

c)the project manager

d)     the quality manager

e)the support group or support staff

4.   Consider the following techniques. Are they white box or black box techniques?

1.      branch condition combination testing

2.      cause effect graphing

3.      LCSAJ testing

4.      data flow testing

5.      random testing

6.      modified condition decision testing

7.      boundary value analysis

 

a)      1 – 4 are white box, 5 – 7 are black box

b)      1 – 4 and 6 are white box, 5 and 7 are black box

c)      1, 3, 4 and 6 are white box, 2, 5 and 7 are black box

d)     1, 3 and 6 are white box, 2, 4, 5 and 7 are black box

e)      2 and 3 are white box, 1 and 4 – 7 are black box

5.   Which of the following is least likely to be derived from equivalence partitioning and boundary value analysis?

a)      input of too many digits

b)      maximum and minimum values

c)      less than minimum valid value

d)     how to navigate to the correct field on the screen

e)      greater than maximum valid value


6.   Equivalence partitioning is:

a)      a black box testing technique used only by developers

b)      a black box testing technique that can only be used during system testing

c)      a black box testing technique appropriate to all levels of testing

d)     a white box testing technique appropriate for component testing

e)      a white box testing technique appropriate to all levels of testing

Note: Questions 7 - 9 are based on the following pseudo-code. Draw the control flow graph below if this will be helpful.

 

Result = 0

Read (age)

IF Age < 18 THEN

  WHILE Age <> 18 DO

     Result = Result +1

     Age = Age +1

  ENDDO

  Print “You can start driving in {Result} years”

ELSE

  Print “You can start driving now!”

ENDIF

7.   How many test cases are needed to achieve branch coverage?

a)      5

b)      1

c)      2

d)     3

e)      4

8.   How many test cases are needed to achieve statement coverage?

a)      1

b)      2

c)      3

d)     4

e)      5

9.   What is the cyclometric complexity?

a)      5

b)      4

c)      3

d)     2

e)      1


10. Black box tests

a)      are derived from a specification

b)      are only used in system and acceptance testing

c)      are derived from the code

d)     are derived from a structural model of the system

e)      are performed at night

11. White box tests are

a)      most appropriate in system testing

b)      normally derived by end users

c)      based on structural aspects of the system

d)     based on functional aspects of the system

e)      are derived from a specification

12. Which of the following is not a dynamic testing technique

a)      boundary value analysis

b)      data stepping

c)      cause effect graphing

d)     decision coverage

e)      error guessing

13. Inspections can find all of the following except

a)      variables not defined in the code

b)      spelling and grammar faults in the documents

c)      requirements that have been omitted from the design documents

d)     whether a document conforms to standards

e)      how much of the code has been covered

14. Why are reviews good to do?

a)      they reduce costs by reducing the number of faults before test execution

b)      they help build good social relationships in the team

c)      it means that system documentation is not needed

d)     it means that test documentation is not needed

e)      it allows people to meet members of the opposite sex in a neutral environment

15. Cyclometric complexity

a)      is always greater than 1

b)      is equal to the number of decision statements

c)      is equal to the number of ‘IF’ statements plus 1

d)     is equal to the number of decision statements plus 1

e)      cannot be more than ‘branch’ or ‘decision’ coverage


16. What is an invalid boundary?

a)      an input value that must not be entered by the user

b)      an input value that causes the system to crash

c)      a maximum or minimum value in an invalid equivalence class

d)     any value identified by the boundary value analysis testing technique

e)      a value just less than a maximum valid partition value

17. What is an equivalence partition (also known as an equivalence class)?

a)      a divider used to separate two desks in an office

b)      a set of test cases for testing classes of objects

c)      an input or output range of values such that only one value in the range becomes a test case

d)     an input or output range of values such that each value in the range becomes a test case

e)      an input or output range of values such that every tenth value in the range becomes a test case

18. Data flow analysis

a)      can find unreachable code

b)      can find anomalies such as using a variable before defining it

c)      is a dynamic technique

d)     checks for infinite loops

e)      analyses the values defined in each data variable

Note Questions 19 and 20 refer to exam scoring. If a student scores between 50 and 99 they will achieve a pass, scoring between 100 and 149 will achieve a merit and scoring over 149 will achieve a distinction.

19. Which two values are in the same partition?

a)      45 and 55

b)      55 and 120

c)      50 and 60

d)     120 and 170

e)      45 and 170

20. Which of the following would be the minimum set of values identified by the Boundary Value Analysis technique

a)      49,50, 99,100,149,150

b)      50 and 150

c)      49 and 50

d)     50, 100 and 150

e)      50 only

 

Comments

Popular posts from this blog

What is LCSAJ Testing?

What is State Transition Testing?

ISEB-ISTQB Sample Exam Paper 12