ISTQB Foundation Level 2018 syllabus Exams Set 5

## ISTQB Foundation Level 2018 syllabus Exams Set 5

Options are :

• 3
• 5
• 4
• 2

##### You have started behavior-based testing of a program. It calculates the greatest common divisor (GCD) of two integers (A and B) greater than zero calcGCD (A, B); The following test cases (TC) have been specified Which test technique has been applied in order to determine test cases 1 through 6XLarger image

Options are :

• Boundary value analysis
• State transition testing
• Equivalence partitioning
• Decision Table

##### Which of the following statements about the given state table is TRUEXLarger image

Options are :

• The test case table exercises the shortest number of transitions
• The test case gives only the valid state transitions
• The test case gives only the invalid state transitions
• The test case exercises the longest number of transitions

Answer :The test case gives only the valid state transitions

##### 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 classX

Options are :

• 4800, 14000, 28000
• 5200, 5500, 28000
• 28001, 32000, 35000
• 5800, 28000, 32000

Options are :

• 1500
• 32001
• 33501
• 28000

Options are :

• 10,11,12
• 3,20,21
• 3,10,22
• 10,21,22

Options are :

• 9,10,11,12
• 9,10,21,22
• 10,11,21,22
• 10,11,20,21

##### 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

Options are :

• 1000, 5000, 99999
• 9999, 50000, 100000
• 10000, 50000, 99999
• 10000, 99999

##### An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are

Options are :

• 0,1900,2004,2005
• 1900,2004
• 1899,1900,2004,2005
• 1899,1900,1901,2003,2004,2005

##### What is the expected result for each of the following test casesX   A. Citibank card member, holding a silver room   B. Non Citibank member, holding a platinum roomLarger image

Options are :

• A – don't offer any upgrade, B – Don't offer any upgrade
• A – Don't offer any upgrade, B – Offer upgrade to gold
• A – Offer upgrade to silver, B – Offer upgrade to silver
• A – Offer upgrade to gold, B – Don't offer any upgrade

##### What is the expected result for each of the following test casesX A.TC1: Fred is a 32 year old smoker resident in LondonB.TC3: Jean-Michel is a 65 year non-smoker resident in ParisLarger image

Options are :

• A – Insure, 10% discount, B – Insure, no discount.
• A – Don't insure, B – Don't insure
• A – Insure, no discount, B – Don't insure
• A – Insure, no discount, B – Insure with 10% discount

Answer :A – Insure, no discount, B – Don't insure

##### •What is the expected result for each of the following test casesX 1-Frequent flyer member, travelling in Business class2- Non-member, travelling in Economy classLarger image

Options are :

• A – don't offer any upgrade, B – Don't offer any upgrade
• A – Offer upgrade to First, B – Don't offer any upgrade

##### •Consider the above state transition diagram of a switch, Which of the following represents an invalid state transitionLarger image

Options are :

• Off to On
• On to Off
• Fault to On
• Fault to Fault

##### Which is not true-The black box tester

Options are :

• should be able to understand a functional specification or requirements document
• should be able to understand the source code.
• is highly motivated to find faults
• is creative to find the system's weaknesses

Answer :should be able to understand the source code.

Options are :

• 4 to 6
• 0 to 10
• 1 to 10

##### Find the Equivalence class for the following test case. Enter a number to test the validity of being accepting the numbers between 1 and 99

Options are :

• All numbers < 1
• All numbers > 99
• Number = 0
• All numbers between 1 and 99

Answer :All numbers between 1 and 99

Options are :

• 17,18,19
• 29,30,31
• 18,29,30
• 17,29,31

##### •Evaluate the following control flow diagram and determine the statement coverage and decision coverage resulting from the execution of the following test cases:A-B-D-E-F A-B-CLarger image

Options are :

• 33 % statement, 100 % decision
• 50 % statement, 50 % decision
• 100 % statement, 75 % decision
• 100 % statement, 100 % decision

Answer :100 % statement, 75 % decision

##### One of the test goals for the project is to have 100% decision coverageThe following three tests have been executed for the control flow graph shown below.   Test A covers path: A, B, D, E, G.   Test B covers path: A, B, D, E, F, G.   Test C covers path: A, C, F, C, F, C, F, G. Larger imageWhich of the following statements related to the decision coverage goal is correct X

Options are :

• Decision D has not been tested completely
• 100 % decision coverage has been achieved
• Decision C has not been tested completely
• Decision F has not been tested completely

Answer :Decision D has not been tested completely

##### Which one of the following techniques is structure-based X

Options are :

• Decision Testing
• Boundary Value Analysis
• Equivalence Partitioning
• State Transition Testing

Options are :

• 1
• 4
• 3
• 2

##### Statement Coverage will not check for the following X

Options are :

• Unused branches
• Unused statement
• Missing Statements

##### Minimum Tests required for statement coverage and branch coverageLarger image

Options are :

• Statement coverage is 2, Branch coverage is 2
• Statement coverage is 1, Branch coverage is 3
• Statement coverage is 1, Branch coverage is 2
• Statement coverage is 4, Branch coverage is 2

Answer :Statement coverage is 1, Branch coverage is 2

##### Minimum Tests required for statement coverage and branch coverageLarger image

Options are :

• Statement Coverage is 1, Branch Coverage is 1
• Statement Coverage is 2, Branch Coverage is 2
• Statement Coverage is 1, Branch Coverage is 2
• Statement Coverage is 2, Branch Coverage is 3

Answer :Statement Coverage is 1, Branch Coverage is 2

##### Which of the following is correct X

Options are :

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

Answer :100% branch coverage guarantees 100% statement coverage.

Options are :

• 100 % or 6/6
• 50 % or 3/6
• 67 % or 4/6
• 83 % or 5/6

##### Which of the following is a good reason to use experience-based testingX

Options are :

• You can find defects that might be missed by more formal techniques
• You can test for defects that only experienced users would encounter
• You can target the developer's efforts to the areas that users will be more likely to use
• It is supported by strong tools and can be automated

Answer :You can find defects that might be missed by more formal techniques

##### If you are using error guessing to target your testing, which type of testing are you doing X

Options are :

• Behavior-based
• Structure-based
• Experience-based
• Reference-based

##### If you are using a testing technique to identify test cases that were missed when you applied formal testing techniques, what type of test design are you doingX

Options are :

• Experience-based
• Informal
• Defect-based

##### Which of the following would be the best test approach when there are poor specifications and time pressuresX

Options are :

• Use case testing
• Condition coverage
• Exploratory testing
• Path testing