ISTQB Foundation Level 2018 syllabus Exams Set 6

ISTQB Foundation Level 2018 syllabus Exams Set 6

For the following state transition diagram

What is the number of test cases required to test all the transitions in it X

Consider that each test case starts at the "Start" State and ends at a dead state


Options are :

  • 3
  • 4
  • 5
  • 6

Answer :4

ISTQB Foundation Level 2018 syllabus Exams Set 7

For the following state transition diagram

What is the number of test cases required to test all the states in it "pass at each state at least one time" X

Consider that each test case starts at the "Start" State and ends at a dead state



Options are :

  • 2
  • 3
  • 4
  • 5

Answer :2

With a highly experienced tester with a good business background, which approach to defining test procedures would be effective and most efficient for a project under severe time pressureX


Options are :

  • A high-level outline of the test conditions and general steps to take
  • Every step in the test spelled out in detail
  • A high-level outline of the test conditions with the steps to take discussed in detail with another experienced tester
  • Detailed documentation of all test cases and careful records of each step taken in the testing

Answer :A high-level outline of the test conditions and general steps to take

Which of the following could be a coverage measure for state transition testingX

V All states have been reached

W The response time for each transaction is adequate

X Every transition has been exercised

Y All boundaries have been exercised

Z Specific sequences of transitions have been exercised


Options are :

  • X,Y and Z
  • V, X, Y and Z
  • W,X and Y
  • V, X and Z

Answer :V, X and Z

CSTE Certified Software Tester Certification Exam Set 1

Which of the following could be used to assess the coverage achieved for black-box test techniquesX


V Decision outcomes exercised

W Partitions exercised

X Boundaries exercised

Y State transitions exercised

Z Statements exercised


Options are :

  • V,W,Y or Z
  • W,X or Y
  • V,X or Z
  • W, X, Y or Z

Answer :W,X or Y

Given the state diagram, which test case is the minimum series of valid transitions to cover every stateX



Options are :

  • SS-S1-S2-S4-S1-S3-ES
  • SS-S1-S2-S3-S4-ES
  • SS-S1-S2-S4-S1-S3-S4-S1-S3-ES
  • SS-S1-S4-S2-S1-S3-ES

Answer :SS-S1-S2-S4-S1-S3-ES

If you are flying with an economy ticket, there is a possibility that you may get upgraded to business class, especially if you hold a gold card in the airline's frequent flyer program. If you don't hold a gold card, there is a possibility that you will get 'bumped' off the flight if it is full and you check in late. Note that each box (i.e. statement) has been numbered. Three tests have already been run:


Test 1: Gold card holder who gets upgraded to business class

Test 2: Non-gold card holder who stays in economy

Test 3: A person who is bumped from the flight


What additional tests would be needed to achieve 100% decision coverageX



Options are :

  • A gold card holder who stays in economy and a non-gold card holder who gets upgraded to business class
  • A gold card holder and a non-gold card holder who are both upgraded to business class
  • A gold card holder and a non-gold card holder who both stay in economy class
  • A gold card holder who is upgraded to business class and a non-gold card holder who stays in economy class

Answer :A gold card holder who stays in economy and a non-gold card holder who gets upgraded to business class

CSTE Certified Software Tester Certification Exam Set 2

If the temperature falls below 18 degrees, the heating is switched on. When the temperature reaches 21 degrees, the heating is switched off. What is the minimum set of test input values to cover all valid equivalence partitionsX


Options are :

  • 15,19 and 25 degrees
  • 17,18,20 and 21 degrees
  • 18,20 and 22 degrees
  • 16 and 26 degrees

Answer :15,19 and 25 degrees

Given this decision table, what is the expected result for the following test casesX



TCI: A 26-year-old on business but with violations or accidents on his driving record

TC2: A 62-year-old tourist with a clean driving record


Options are :

  • TCI: Don't supply car; TC2: Supply car with premium charge.
  • TCI: Supply car with premium charge; TC2: Supply car with no premium charge
  • TCI: Don't supply car; TC2: Supply car with no premium charge
  • TCI: Supply car with premium charge; TC2: Don't supply car

Answer :TCI: Don't supply car; TC2: Supply car with no premium charge

What is exploratory testing X


Options are :

  • The process of anticipating or guessing where defects might occur
  • A systematic approach to identifying specific equivalent classes of input
  • The testing carried out by a chartered engineer
  • Concurrent test design, test execution, test logging and learning

Answer :Concurrent test design, test execution, test logging and learning

CSTE Certified Software Tester Certification Exam Set 3

What does it mean if a set of tests has achieved 90% statement coverageX


Options are :

  • 9 out of 10 decision outcomes have been exercised by this set of tests
  • 9 out of 10 statements have been exercised by this set of tests
  • 9 out of 10 tests have been run on this set of software
  • 9 out of 10 requirements statements about the software are correct

Answer :9 out of 10 statements have been exercised by this set of tests

Given this diagram, which test case below covers every valid transition X



Options are :

  • SS-S1-S2-S4-S1-S3-ES
  • SS-S1-S2-S3-S4-S3-S4-ES
  • SS-S1-S2-S4-S1-S3-S4-S1-S3-ES
  • SS-S1-S4-S2-S1-S3-ES

Answer :SS-S1-S2-S4-S1-S3-S4-S1-S3-ES

Which two Black Box testing techniques are most closely related to each otherX


Options are :

  • Decision tables and state transition testing
  • Equivalence partitioning and state transition testing
  • Decision tables and boundary value analysis
  • Equivalence partitioning and boundary value analysis

Answer :Equivalence partitioning and boundary value analysis

CSTE Certified Software Tester Certification Exam Set 4

Which of the following is an extension of equivalence partitioningX 


Options are :

  • Decision Tables
  • Decision Testing
  • Boundary Value Analysis
  • State Transition Testing

Answer :Boundary Value Analysis

Which of the following best describes the behaviors defined in a use case that should be covered by testsX 


Options are :

  • Positive path and negative path
  • Basic, exception and error
  • Normal, error, data, and integration
  • Control flow, data flow and decision paths

Answer :Basic, exception and error

In a flight reservation system, the number of available seats in each plane model is an input. A plane may have any positive number of available seats, up to the given capacity of the plane. Using Boundary Value analysis, a list of available – seat values were generated. Which of the following lists is correctX


Options are :

  • 1, 2, capacity -1, capacity, capacity plus 1
  • 0, 1, capacity, capacity plus 1
  • 0, 1, 2, capacity plus 1, a very large number
  • 0, 1, 10, 100, capacity, capacity plus one

Answer :0, 1, capacity, capacity plus 1

CSTE Certified Software Tester Certification Practice Exam Set 1

Which of the following is a valid collection of equivalence classes for the following problem: An integer field shall contain values from and including 1 to and including 15


Options are :

  • Less than 1, 1 through 15, more than 15
  • Negative numbers, 1 through 15, above 15
  • Less than 1, 1 through 14, more than 15
  • Less than 0, 1 through 14, 15 and more

Answer :Less than 1, 1 through 15, more than 15

The digital rainbow thermometer uses 7 colors to show the ambient temperature. Each color spans a range of just 5, with an operating minimum and maximum of minus 5 and 30, Which of the following values is Least likely to have been identified when applying the boundary value test design technique X


Options are :

  • 25-30
  • 0-5
  • 8-15
  • 15-20

Answer :8-15

Income tax is set a flat rate of 20% per year for all incomes but with 2 exceptions. Tax exemption is given for incomes below 2000 $ per year. Also, families with single worker and more than three members get 30% tax reductions. What is the number of test cases generated using decision table testing when having one test case per each table rule X


Options are :

  • 4
  • 6
  • 8
  • 3

Answer :8

CSTE Certified Software Tester Certification Practice Exam Set 2

Postal rates for ‘light letters’ are 25p up to 10g, 35p up to 50g plus an extra 10p for each additional 25g up to 100g. Which test inputs (in grams) would be selected using boundary value analysisX


Options are :

  • 1,10,11,50,51,75,76,100
  • 10,50,75,100,250
  • 0,1,10,11,50,51,75,76,100,101
  • 0,9,19,49,50,74,75,99,100

Answer :0,1,10,11,50,51,75,76,100,101

If you are testing a module of code, how do you determine the level of decision coverage you have achievedX


Options are :

  • By taking the number of decisions you have tested and dividing that by the total number of executable statements in the module
  • By taking the number of decisions you have tested and dividing that by the total number of decisions in the module
  • By taking the number of decisions you have tested and dividing that by the total lines of code in the module
  • By taking the number of decision outcomes you have tested and dividing that by the total number of decision outcomes in the module

Answer :By taking the number of decision outcomes you have tested and dividing that by the total number of decision outcomes in the module

Given the following program fragment:

If day =Monday

  then statement a

Else

  statement b

End if

If day = Tuesday

  then statement c

End if

What is the minimum number of test cases needed to achieve 100% statement coverageX



Options are :

  • 1
  • 2
  • 3
  • 4

Answer :2

CSTE Certified Software Tester Certification Practice Exam Set 3

If you need to attain a certain level of code coverage for a particular software product your team is testing, what type of testing should you useX


Options are :

  • Behavior-based
  • Structure-based
  • Experience-based
  • Defect-based

Answer :Structure-based

How is statement coverage determinedX


Options are :

  • Number of test decision points divided by the number of test cases
  • Number of decision outcomes tested divided by the total number of decision outcomes
  • Number of possible test case outcomes divided by the total number of function points
  • Number of executable statements tested divided by the total number of executable statements

Answer :Number of executable statements tested divided by the total number of executable statements

Which of the following is the correct decision table for the following pseudocode for ordering a hamburger X

Note : if you add or delete items from the basic burger, you no longer get the basic burger.



Options are :

  • Table 1
  • Table 2
  • Table 3
  • Table 4

Answer :Table 2

CSTE Certified Software Tester Certification Practice Exam Set 4

You are testing a medical application that is used only by teenagers, which of the following inputs can be used if we apply equivalence partitioning technique on this system X


Options are :

  • 9, 15, 19
  • 13, 18, 25
  • 12, 15, 18
  • 12, 15, 20

Answer :12, 15, 20

A simple gaming application has been specified as a set of use cases. It has been tested by the supplier and is now ready for UAT. The system is assessed as low risk but we need to release the software into the market as fast as possible. Which of the following  techniques would be the best choice  to use in testing this applicationX


Options are :

  • State transition testing & use case testing
  • Equivalence Partitioning & State transition testing
  • Use case testing & exploratory testing
  • Decision Table Testing & Exploratory Testing

Answer :Use case testing & exploratory testing

Decision Testing Table is being performed on a speeding fine system. Two test cases have already been generated for rules 1 and 4, which are shown below:



Given the following additional test cases:


Which two of the additional test cases would achieve full coverage of the complete decision table (when combined with the test cases that have already been generated for rules 1 and 4)X


Options are :

  • DT1 & DT2
  • DT2 & DT3
  • DT2 & DT4
  • DT3 & DT4

Answer :DT2 & DT4

ISTQB Foundation Level Practice Mock Test

You have designed test cases to provide 100 % statement and 100 % decision coverage for the following fragment of code:

If (grade 1 > grade 2)

   print("Highest grade is grade 1")

else:

   print("Highest grade is grade 2")


The following statements have been added to the code:

print("Grade 1 is" , grade1)

print("Grade 2 is" grade 2)

Print ("The total of your grades is:" , grade 1 + grade 2)


After the new statements are added, how many more test cases are required to achieve both 100 % statement coverage & 100 % decision coverage:



Options are :

  • One more test case will be required for 100 % Decision Coverage
  • Two more test cases will be required for 100 % Decision Coverage, one of them will achieve 100 % Statement Coverage
  • Two more test cases will be required for 100 % Decision Coverage, no more test cases will be required for Statement Coverage
  • No more test cases will be needed, the previously designed test cases will achieve 100 % statement & decision coverage

Answer :No more test cases will be needed, the previously designed test cases will achieve 100 % statement & decision coverage

Which of the following will prevent defects from reoccurring X


Options are :

  • Rotating developers to keep them motivated
  • Determining the environmental conditions that caused the failure
  • Improving processes based on root cause analysis
  • Prioritizing reoccurring defects higher than new defects

Answer :Improving processes based on root cause analysis

ISTQB Foundation Level 2018 syllabus Exams Set 10

Comment / Suggestion Section
Point our Mistakes and Post Your Suggestions