istqb sample question paper 7

22
Foundation Certificate In Software Testing Practice Exam Time allowed: 1 hour 40 QUESTIONS Question NOTE: Only one answer per question 1 We split testing into distinct stages primarily because: a)Each test stage has a different purpose. b)It is easier to manage testing in stages. c)We can run different tests in different environments. d)The more stages we have, the better the testing. 2 Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities? a)Regression testing b)Integration testing c)System testing d)User acceptance testing 3 Which of the following statements is NOT correct? a)A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage. b)A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage. c)A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage. d)A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage. 4 Which of the following requirements is testable? a)The system shall be user friendly. b)The safety-critical parts of the system shall contain 0 faults. c)The response time shall be less than one second for the specified design load. d)The system shall be built to be portable. 5 Analyse the following highly simplified procedure: Ask: “What type of ticket do you require, single or return?” IF the customer wants ‘return’ Ask: “What rate, Standard or Cheap-day?” IF the customer replies ‘Cheap-day’ Say: “That will be £11:20” ELSE Say: “That will be £19:50”

Upload: warsha-goel

Post on 28-Nov-2014

15.668 views

Category:

Documents


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Istqb Sample Question Paper 7

Foundation Certificate In Software Testing Practice Exam

Time allowed: 1 hour 40 QUESTIONS

QuestionNOTE: Only one answer per question1 We split testing into distinct stages primarily because:a)Each test stage has a different purpose.b)It is easier to manage testing in stages.c)We can run different tests in different environments.d)The more stages we have, the better the testing.2 Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?a)Regression testingb)Integration testingc)System testingd)User acceptance testing3 Which of the following statements is NOT correct?a)A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.b)A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.c)A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.d)A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage. 4 Which of the following requirements is testable?a)The system shall be user friendly.b)The safety-critical parts of the system shall contain 0 faults.c)The response time shall be less than one second for the specified design load. d)The system shall be built to be portable.5 Analyse the following highly simplified procedure:Ask: “What type of ticket do you require, single or return?”IF the customer wants ‘return’Ask: “What rate, Standard or Cheap-day?”IF the customer replies ‘Cheap-day’Say: “That will be £11:20”ELSESay: “That will be £19:50”ENDIFELSESay: “That will be £9:75”ENDIFNow decide the minimum number of tests that are needed to ensure that allthe questions have been asked, all combinations have occurred and allreplies given.a)3 b)4c)5

Page 2: Istqb Sample Question Paper 7

d)6 6 Error guessing:a)supplements formal test design techniques.b)can only be used in component, integration and system testing.c)is only performed in user acceptance testing.d)is not repeatable and should not be used.7 Which of the following is NOT true of test coverage criteria?a)Test coverage criteria can be measured in terms of items exercised by a test suite.b)A measure of test coverage criteria is the percentage of user requirements covered.c)A measure of test coverage criteria is the percentage of faults found.d)Test coverage criteria are often used when specifying test completion criteria.8 In prioritising what to test, the most important objective is to:a)find as many faults as possible.b)test high risk areas.c)obtain good test coverage.d)test whatever is easiest to test.9 Given the following sets of test management terms (v-z), and activity descriptions (1-5), which one of the following best pairs the two sets?v – test controlw – test monitoringx - test estimationy - incident managementz - configuration control

1 - calculation of required test resources2 - maintenance of record of test results3 - re-allocation of resources when tests overrun4 - report on deviation from test plan5 - tracking of anomalous test results

a)v-3,w-2,x-1,y-5,z-4b)v-2,w-5,x-1,y-4,z-3c)v-3,w-4,x-1,y-5,z-2 d)v-2,w-1,x-4,y-3,z-510 Which one of the following statements about system testing is NOT true?a)System tests are often performed by independent teams.b)Functional testing is used more than structural testing.c)Faults found during system tests can be very expensive to fix.d)End-users should be involved in system tests.11 Which of the following is false?a)Incidents should always be fixed.b)An incident occurs when expected and actual results differ.c)Incidents can be analysed to assist in test process improvement.d)An incident can be raised against documentation.12 Enough testing has been performed when:a)time runs out.b)the required level of confidence has been achieved.c)no more faults are found.d)the users won’t find any serious faults.13 Which of the following is NOT true of incidents?a)Incident resolution is the responsibility of the author of the software under test.b)Incidents may be raised against user requirements.c)Incidents require investigation and/or correction.d)Incidents are raised when expected and actual results differ.

Page 3: Istqb Sample Question Paper 7

14 Which of the following is not described in a unit test standard?a)syntax testingb)equivalence partitioningc)stress testing d)modified condition/decision coverage15 Which of the following is false?a)In a system two different failures may have different severities.b)A system is necessarily more reliable after debugging for the removal of a fault.c)A fault need not affect the reliability of a system.d)Undetected errors may lead to faults and eventually to incorrect behaviour.16 Which one of the following statements, about capture-replay tools, is NOT correct?a)They are used to support multi-user testing.b)They are used to capture and animate user requirements.c)They are the most frequently purchased types of CAST tool.d) They capture aspects of user behaviour.17 How would you estimate the amount of re-testing likely to be required?a)Metrics from previous similar projectsb)Discussions with the development teamc)Time allocated for regression testingd)a & b 18 Which of the following is true of the V-model?a)It states that modules are tested against user requirements.b)It only models the testing phase.c)It specifies the test techniques to be used.d)It includes the verification of designs. 19 The oracle assumption:a)is that there is some existing system against which test output may be checked.b)is that the tester can routinely identify the correct outcome of a test.c)is that the tester knows everything about the software under test.d)is that the tests are reviewed by experienced testers.20 Which of the following characterises the cost of faults?a)They are cheapest to find in the early development phases and the most expensive to fix in the latest test phases.b)They are easiest to find during system testing but the most expensive to fix then.c)Faults are cheapest to find in the early development phases but the most expensive to fix then.d)Although faults are most expensive to find during early development phases, they are cheapest to fix then.21 Which of the following should NOT normally be an objective for a test?a)To find faults in the software.b)To assess whether the software is ready for release.c)To demonstrate that the software doesn’t work.d)To prove that the software is correct.22 Which of the following is a form of functional testing?a)Boundary value analysisb)Usability testingc)Performance testingd)Security testing23 Which of the following would NOT normally form part of a test plan?a)Features to be testedb)Incident reportsc)Risksd)Schedule24 Which of these activities provides the biggest potential cost saving from the use of CAST?

Page 4: Istqb Sample Question Paper 7

a)Test managementb)Test designc)Test executiond)Test planning25 Which of the following is NOT a white box technique?a)Statement testingb)Path testingc)Data flow testingd)State transition testing26 Data flow analysis studies:a)possible communications bottlenecks in a program.b)the rate of change of data values as a program executes.c)the use of data on paths through the code.d)the intrinsic complexity of the code.27 In a system designed to work out the tax to be paid:An employee has £4000 of salary tax free. The next £1500 is taxed at 10%The next £28000 is taxed at 22%Any further amount is taxed at 40%To the nearest whole pound, which of these is a valid Boundary Value Analysis test case?a)£1500b)£32001c)£33501 d)£2800028 An important benefit of code inspections is that they:a)enable the code to be tested before the execution environment is ready.b)can be performed by the person who wrote the code.c)can be performed by inexperienced staff.d)are cheap to perform.29 Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?a)Actual resultsb)Program specificationc)User requirementsd)System specification30 What is the main difference between a walkthrough and an inspection?a)An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.b)An inspection has a trained leader, whilst a walkthrough has no leader.c)Authors are not present during inspections, whilst they are during walkthroughs.d) A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.31 Which one of the following describes the major benefit of verification early in the life cycle?a)It allows the identification of changes in user requirements.b)It facilitates timely set up of the test environment.c)It reduces defect multiplication.d)It allows testers to become involved early in the project.32 Integration testing in the small:a)tests the individual components that have been developed.b)tests interactions between modules or subsystems.c)only uses components that form part of the live system.d)tests interfaces to other systems.33 Static analysis is best described as:a)the analysis of batch programs.

Page 5: Istqb Sample Question Paper 7

b)the reviewing of test plans.c)the analysis of program code.d)the use of black box testing.34 Alpha testing is:a)post-release testing by end user representatives at the developer’s site.b)the first testing that is performed.c)pre-release testing by end user representatives at the developer’s site.d)pre-release testing by end user representatives at their sites.35 A failure is:a)found in the software; the result of an error.b)departure from specified behaviour.c)an incorrect step, process or data definition in a computer program.d)a human action that produces an incorrect result.36 In a system designed to work out the tax to be paid:An employee has £4000 of salary tax free. The next £1500 is taxed at 10%The next £28000 is taxed at 22%Any further amount is taxed at 40%Which of these groups of numbers would fall into the same equivalence class?a)£4800; £14000; £28000b)£5200; £5500; £28000c)£28001; £32000; £35000d)£5800; £28000; £32000 37 The most important thing about early test design is that it:a)makes test preparation easier.b)means inspections are not required.c)can prevent fault multiplication.d)will find all faults.38 Which of the following statements about reviews is true?a)Reviews cannot be performed on user requirements specifications.b)Reviews are the least effective way of testing code.c)Reviews are unlikely to find faults in test plans.d)Reviews should be performed on specifications, code, and test plans.39 Test cases are designed during:a)test recording.b)test planning.c)test configuration.d)test specification.40 A configuration management system would NOT normally provide:a)linkage of customer requirements to version numbers.b)facilities to compare test results with expected results. c)the precise differences in versions of software component source code.d)restricted access to the source code library.

Question number Correct answer1A 2A3D4C5A6A7C8B9C10D11A

Page 6: Istqb Sample Question Paper 7

12B13A14C15B16B17D18D19B20A21D22A23B24C25D26C27C28A29C30D31C32B33C34C35B36D37C38D39D40B

Please leave your responses, we will discuss answers tomorrow:

1. Error guessing is best used:

a)       after more formal techniques have been applied

b)       as the first approach to deriving test cases

c)       by inexperienced testers

d)       after the system has gone live

2.Which of the following is NOT included in the Test Plan document of the Test Documentation Standard?

a)       what is not to be tested

b)       test environment properties

c)       quality plans

Page 7: Istqb Sample Question Paper 7

d)       schedules and deadlines

3. The standard that gives definitions of testing terms is:

a)    ISO/IEC 12207b)    BS 7925-1c)    ANSI/IEEE 829d)    ANSI/IEEE 729

4. Which of the following techniques is NOT a black box technique?

a)    state transition testingb)    LCSAJc)    syntax testingd)    boundary value analysis

5. Consider the following statements: i.    100% statement coverage guarantees 100% branch coverage.ii.    100% branch coverage guarantees 100% statement coverage.iii.    100% branch coverage guarantees 100% decision coverage.iv.    100% decision coverage guarantees 100% branch coverage.v.    100% statement coverage guarantees 100% decision coverage.

a)    ii is True;  i, iii, iv & v are Falseb)    i & v are True;  ii, iii & iv are Falsec)    ii & iii are True;  i, iv & v are Falsed)    ii, iii & iv are True;  i & v are False

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

Read pRead qIF p+q > 100 THEN    Print “Large”ENDIFIF p > 50 THEN    Print “p Large”ENDIF

a)    1 test for statement coverage, 3 for branch coverageb)    1 test for statement coverage, 2 for branch coveragec)    1 test for statement coverage, 1 for branch coveraged)    2 tests for statement coverage, 2 for branch coverage

These are very simple..just remove the wrong option first.

Technorati Tags: ISTQB, Sample paper, Himanshu

Powered by ScribeFire.

Page 8: Istqb Sample Question Paper 7

Posted in ISTQB, Software Testing Articles, Certifications, Career, software testing | 43 Comments

43 Responses to “Common ISTQB Questions- 2”

1. on 24 Apr 2007 at 1:06 pm1 neeruatblog

1)A2)C3)C4)B5)B6)D

Hi Himanshu! Nice meeting you. This is Niranjan. All the best for your exam on 29th.

I cleared my Functional Tester (Advanced Level). And I’m appearing for Test Manager this 29th from Bangalore.

2. on 24 Apr 2007 at 1:25 pm2 hacsiko

1.) A2.) C3.) B4.) B5.) C6.) B

3. on 24 Apr 2007 at 2:05 pm3 satish

1. A2. C3. B4. B5. D6. B

4. on 25 Apr 2007 at 4:11 am4 sari

Page 9: Istqb Sample Question Paper 7

hi ,answers:

1.A2.C3.C4.B5.B6.D

Regards,Sari..

5. on 25 Apr 2007 at 5:16 am5 Jyothi

Hi Himanshu,

This is Jyothi. Nice meeting you. As of my knowledge, what Niranjan told is right.Ans are:1. A2. C3. C4. B5. B6. D

Please correct me, if I m wrong.

6. on 25 Apr 2007 at 5:22 am6 Prerna

sorry, this was for these set of questions:

I agree with Niranjan for answers.Can someone please let me know how to determine the statement and branch coverage?Also in Question 4, I think syntax testing cannot be a black box testing technique apart from LCSAJ. Please comment.

7. on 25 Apr 2007 at 5:32 am7 Jyothi

Hi Prerna,

Page 10: Istqb Sample Question Paper 7

Syntax testing is also known as ‘input validation testing’ and ‘grammar-based testing. This info will be available in Testing Glossary of ISTQB also.So the correct ans is: 4: B

8. on 25 Apr 2007 at 5:47 am8 Prerna

Many Thanks Jyothi.can u please tell me about how to calculate the statement and branch coverage in question 6.Also is there any simple way to calculate the cyclometric compexity?

9. on 25 Apr 2007 at 6:47 am9 Jyothi

Hi Prerna,

The simple way to calculate the cyclometric complexitiy isNo of bounded regions +1

10. on 25 Apr 2007 at 7:20 am10 sari

hai jyothi,

Could you please let me know about cyclometric complexity in detail

actually i know theoritically havent faced in real time

i would like to know about bounded regions+1 …in detail

Please help me to know it better

Regards,Sari…

11. on 25 Apr 2007 at 8:24 am11 himanshu

Hi All,

Page 11: Istqb Sample Question Paper 7

The correct answers are1)A2)C3)B4)B5)C6)B

Only hacsiko is right.I am answering these questions out of my personal experience, please dont give answers from sample papers as most of the answers are wrong..in case any of you have have a difference of opinion lets discuss…

~Himanshu~

12. on 25 Apr 2007 at 11:07 am12 sari

Hai,Answer these questions,

1. An input field takes the year of birth between 1900 and 2004The boundary values for testing this field area. 0,1900,2004,2005b. 1900, 2004c. 1899,1900,2004,2005d. 1899, 1900, 1901,2003,2004,2005

2. Which one of the following are non-functional testing methods?a. System testingb. Usability testingc. Performance testingd. Both b & c

3. Which of the following tools would be involved in the automation of regression test?a. Data testerb. Boundary testerc. Capture/Playbackd. Output comparator.

4. Incorrect form of Logic coverage is:a. Statement Coverageb. Pole Coveragec. Condition Coveraged. Path Coverage

5. Which of the following is not a quality characteristic listed in ISO 9126 Standard?a. Functionalityb. Usability

Page 12: Istqb Sample Question Paper 7

c. Supportabilityd. Maintainability

6. To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.a. Stubb. Driverc. Proxyd. None of the above

7. Boundary value testinga. Is the same as equivalence partitioning testsb. Test boundary conditions on, below and above the edges of input and output equivalence classesc. Tests combinations of input circumstancesd. Is used in white box testing strategy

8. Pick the best definition of qualitya. Quality is job oneb. Zero defectsc. Conformance to requirementsd. Work as designed

Regards,Sari..

13. on 25 Apr 2007 at 11:15 am13 sari

Analyse the following highly simplified procedure:Ask: “What type of ticket do you require, single or return?”IF the customer wants ‘return’Ask: “What rate, Standard or Cheap-day?”IF the customer replies ‘Cheap-day’Say: “That will be £11:20”ELSESay: “That will be £19:50”ENDIFELSESay: “That will be £9:75”ENDIFNow decide the minimum number of tests that are needed to ensure that allthe questions have been asked, all combinations have occurred and allreplies given.a) 3b) 4c) 5d) 6

regards,Sari..

Page 13: Istqb Sample Question Paper 7

14. on 25 Apr 2007 at 11:54 am14 Niranjan

Hi Sari,

Please check with the answers for your questions

1.D2.D3.C4.B5.C6.B7.B8.C

Thanks,Niranjan

15. on 25 Apr 2007 at 12:00 pm15 Niranjan

Hi Sari,

Is the answer ‘d’ for the simplified procedure which you have given?

16. on 25 Apr 2007 at 12:09 pm16 veer9501

I think answer is A

17. on 25 Apr 2007 at 12:21 pm17 veer9501

Sari… and my answers to your question are…

DCC

Page 14: Istqb Sample Question Paper 7

BABBC

18. on 25 Apr 2007 at 12:56 pm18 sari

hi,Niranjan….

Your answers are correct,

but the answer for simplified procedure is A.

Minimum tests are 3…

Regards,sari…

19. on 25 Apr 2007 at 1:30 pm19 hacsiko

Hi

I think the right answer is C for sari`s first question. 2003, 1901 are not boundary values. Beacuse programmers may improperly use

20. on 25 Apr 2007 at 1:34 pm20 hacsiko

I think the right answer is C for sari`s first question.2003, 1901 are not boundary values. Beacuse programmers may improperly use “

21. on 25 Apr 2007 at 1:39 pm21 hacsiko

Sorry this site dosen`t allow special characters.

so once again

Page 15: Istqb Sample Question Paper 7

I think the right answer is C for sari`s first question.2003, 1901 are not boundary values. Beacuse programmers may improperly use “smaller than sign” instead of “smaller than and equal sign ”

e.g: use 1900 ” smaller than sign” x “smaller than sign” 2004 instead of 1900 “smaller than equal” sign X “smaller than equal sign ” 2004

As a result 1901 and 2003 vaules are not risky, beacuse they are always in the “right” range.

I hope you undersatnd what I want to say

What do you think?

Regards,

Hacsiko

22. on 26 Apr 2007 at 4:20 am22 sari

hi,

yes boundary value is minus one of mimimum value , plus one of maximum value, and mid value for all these we need to chek the boundary conditions.

as d has not given exact answer c answer can be considered.

I too had bit doubt with that answer

Thanks,Sari

23. on 26 Apr 2007 at 8:23 pm23 Vertika

Hi,

1- c2- d3- c4- b5- c6- b7- b8- c

Page 16: Istqb Sample Question Paper 7

I’m not sure about question numbers 4 and 6.Kindly clarify.

Also for the last question (simplified procedure) , please explain how to solve.

Thanks!

24. on 27 Apr 2007 at 9:36 am24 bhavani

Hi sari,

My answers are

1.d2.c3.c4.b5.d6.a7.b8.c

25. on 27 Apr 2007 at 11:26 am25 sari

hai all the correct answers are:

1.C2.D3.C4.B5.C6.B7.B8.C

Regards,Sari………..

26. on 30 Apr 2007 at 6:30 am26 Snehal

Himanshu,

Answerof the following question is “C” not “B” . I am very much sure about it.

Page 17: Istqb Sample Question Paper 7

3. The standard that gives definitions of testing terms is:

a) ISO/IEC 12207b) BS 7925-1c) ANSI/IEEE 829d) ANSI/IEEE 729

27. on 30 Apr 2007 at 8:33 am27 Hunter

Hii Snehal,

U r wrong. Ans is B,Himanshu is correct.Definition of testing is given in BS 7925-1.

28. on 30 Apr 2007 at 12:03 pm28 Reshma

1 a2 c3 c4 b5 a

29. on 02 May 2007 at 11:17 am29 mramacha

Hi Vertika,

Regarding the simplified procedure: The Answer is 3.

As per the question, we need to find the minimum number of tests, to ensure that all the questions have been asked, all combinations have occurred and allreplies given.

1. Customer told , return and then Standard.2. Customer told, return and then Cheap3. Custome told, single.

This will cover all the branches. Hope you got it.

Page 18: Istqb Sample Question Paper 7

30. on 02 May 2007 at 1:30 pm30 Debjani Sen

Hiiii,

I have only 8 months experience in software testing and i want to qualify the ISTQB certification..so can u plz guide me how i can acheive this.where i can get the studymat etc..plz advise me

31. on 02 May 2007 at 1:47 pm31 mramacha

Hi Debjani,

Go through this Blog, you will get immense information regarding the ISTQB certification

32. on 03 May 2007 at 12:58 am32 Tester

Hi all,I am new to this blog, i have read few links. very useful.

Himanshu : How was ur exam?

can you suggest me one or two books to prepare for the foundation level exams. or any online book website?

thanks

33. on 03 May 2007 at 3:22 am33 mramacha

Hi Tester,

“FOUNDATIONS OF SOFTWARE TESTING ISTQB CERTIFICATION ”

by OROTHY GRAHAM 0 / ERIK VAN VEENENDAAL / ISABEL EVAN

is a very good book for ISTQB foundation exam. the cost of the book is 250 rupees.. if you are getting from Sapna book house bangalore, they will give you for RFs. 225

Page 19: Istqb Sample Question Paper 7

34. on 08 May 2007 at 5:40 am34 pawan

Any body explain me how to solve these type of qns.

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

Read pRead qIF p+q > 100 THENPrint “Large”ENDIFIF p > 50 THENPrint “p Large”ENDIF