var mock = new Array(); var t = 0;
mock[t++] =('32#42#  1 of 40 <br><br>   Which of the following is a major task of test planning?#Determining the test approach.#Preparing test specifications.#Evaluating exit criteria and reporting.#Measuring and analyzing results.');

mock[t++] =('25#47#  2 of 40 <br> <br>  Which of the following statements is MOST OFTEN true?#Source-code inspections are often used in component testing.#Component testing searches for defects in programs that are separately testable.#Component testing is an important part of user acceptance testing.#Component testing aims to expose problems in the interactions between software and hardware components.');

mock[t++] =('38#23#  3 of 40 <br><br>  In a system designed to work out the tax to be paid: An employee has $4000 of salary tax free.<br>   The next $1500 is taxed at 10%. <br>   The next $28000 after that is taxed at 22%. <br>   Any further amount is taxed at 40%. <br>   To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?<br><br>#$4000; $5000; $5500.#$32001; $34000; $36500.#$28000; $28001; $32001.#$4000; $4200; $5600.');

mock[t++] =('19#94#  4 of 40 <br><br>  Which of the following will NOT be detected by static analysis?#Parameter type mismatches.#Errors in requirements.#Undeclared variables.#Uncalled functions.');

mock[t++] =('38#74#  5 of 40 <br><br>  Which of the following test activities can be automated?   <br> i Reviews and inspections. <br> ii Metrics gathering. <br> iii Test planning. <br> iv Test execution. <br> v Data generation.#i, iii, iv.#i, ii, iii.#ii, iv, v.#ii, iii, v.');

mock[t++] =('20#44#  6 of 40 <br><br>  Which of the following is an objective of a pilot project for the introduction of a testing tool?#Evaluate tester\'s competence to use the tool.#Complete the testing of a key project.#Assess whether the benefits will be achieved at reasonable cost.#Discover what the requirements for the tool are.');

mock[t++] =('11#38#  7 of 40 <br><br>  What is the MAIN purpose of a Master Test Plan?#To communicate how incidents will be managed.#To communicate how testing will be performed.#To produce a test schedule.#To produce a work breakdown structure.');

mock[t++] =('30#43#  8 of 40 <br> <br>  In a REACTIVE approach to testing when would you expect the bulk of the test design work to be begun?#After the software or system has been produced.#During development.#As early as possible.#During requirements analysis.');
mock[t++] =('43#78#  9 of 40 <br> <br>  What is the objective of debugging? <br> i To localise a defect <br> ii To fix a defect. <br> iii To show value. <br> iv To increase the range of testing.#i, iii.#ii, iii, iv.#ii, iv.#i, ii.');


mock[t++] =('32#53#  10 of 40 <br> <br>Given the below decision table  <br> What is the expected result for each of the following test cases? <br> A.TC1: Fred is a 32 year old smoker resident in London <br> B.TC3: Jean-Michel is a 65 year non-smoker resident in Paris <br> <br> <img src=" http://www.patshala.com/istqb/images/12.JPG "> <br>#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.');

mock[t++] =('14#17# 11 of 40 <br> <br>Which of the following are valid objectives for testing?  <br> i.To find defects. <br>  ii.To gain confidence in the level of quality. <br>  iii.To identify the cause of defects. <br> iv.To prevent defects.#i,ii, and iii.#ii, iii and iv.#i, ii and iv.#i,iii and iv.');

mock[t++] =('35#98# 12 of 40 <br> <br>The process of designing test cases consists of the following activities:  <br> i. Elaborate and describe test cases in detail by using test design techniques. <br> ii. Specify the order of test case execution. <br> iii. Analyse requirements and specifications to determine test conditions. <br> iv. Specify expected results. <br> According to the process of identifying and designing tests, what is the correct order of these activities?#iii, i, iv, ii.#iii, iv, i, ii.#iii, ii, i, iv.#ii, iii, i, iv.');


mock[t++] =('35#77#  13 of 40 <br> <br>  What is the main purpose of impact analysis for testers?#To determine the programming effort needed to make the changes.#To determine what proportion of the changes need to be tested.#To determine how much the planned changes will affect users.#To determine how the existing system may be affected by changes.');

mock[t++] =('12#13#   14 of 40 <br> <br>  Which of the following requirements would be tested by a functional system test?#The system must be able to perform its functions for an average of 23 hours 50 mins per day.#The system must perform adequately for up to 30 users.#The system must allow a user to amend the address of a customer.#The system must allow 12,000 new customers per year.');


mock[t++] =('16#93#  15 of 40 <br> <br>  In a system designed to work out the tax to be paid:  <br> An employee has ?4000 of salary tax free. <br> The next ?1500 is taxed at 10%. <br> The next ?28000 after that is taxed at 22%. <br> Any further amount is taxed at 40%.  <br> To the nearest whole pound, which of these is a valid Boundary Value Analysis test case?#?28000.#?33501.#?32001.#?1500.');

mock[t++] =('36#13#  16 of 40 <br> <br>  Which of the following defines the sequence in which tests should be executed?#Test plan.#Test procedure specification.#Test case specification.#Test design specification.');

mock[t++] =('20#38#  17 of 40 <br> <br>Given the following state transition  <br> <br> <img src=" http://www.patshala.com/istqb/images/17.JPG "> <br>  <br> <br> Which of the following series of state transitions below will provide 0-switch coverage?#A, B, E, B, C, F, D.#A, B, E, B, C, F, F#A, B, E, B, C, D.#A, B, C, F, F, D.');

mock[t++] =('47#73#  18 of 40 <br> <br> Given the below decision table   <br> <br> <img src=" http://www.patshala.com/istqb/images/18.JPG "> <br>  <br><br>  What is the expected result for each of the following test cases? <br> A. Frequent flyer member, travelling in Business class <br> B. Non-member, travelling in Economy class#A ? Don?t offer any upgrade, B ? Don?t offer any upgrade.#A ? Don?t offer any upgrade, B ? Offer upgrade to Business class.#A ? Offer upgrade to First, B ? Don?t offer any upgrade.#A ? Offer upgrade to First, B ? Offer upgrade to Business class.');

mock[t++] =('29#12# 19 of 40 <br> <br> During which fundamental test process activity do we determine if MORE tests are needed?#Test implementation and execution. #Evaluating test exit criteria.#Test analysis and design.#Test planning and control.');

mock[t++] =('46#73# 20 of 40 <br> <br> What is the difference between a project risk and a product risk?#Project risks are potential failure areas in the software or system; product risks are risks that surround the project?s capability to deliver its objectives.<br>#Project risks are the risks that surround the project?s capability to deliver its objectives; product risks are potential failure areas in the software or system.<br>#Project risks are typically related to supplier issues, organizational factors and technical issues; product risks are typically related to skill and staff shortages.<br>#Project risks are risks that delivered software will not work; product risks are typically related to supplier issues, organizational factors and technical issues.');

mock[t++] =('17#28# 21 of 40 <br><br>Given the following specification, which of the following values for age are in the SAME equivalence partition? <br>   If you are less than 18, you are too young to be insured. <br> Between 18 and 30 inclusive, you will receive a 20% discount. <br> Anyone over 30 is not eligible for a discount. <br>#17, 18, 19.#29, 30, 31.#18, 29, 30.#17, 29, 31.');

mock[t++] =('18#54#  22 of 40 <br><br>Considering the following pseudo-code, calculate the MINIMUM number of test cases for statement coverage, and the MINIMUM number of test cases for decision coverage respectively.  <br> READ A <br> READ B <br> READ C <br> IF C>A THEN <br> IF C>B THEN <br> PRINT "C must be smaller than at least one number" <br> ELSE <br> PRINT "Proceed to next stage" <br> ENDIF <br> ELSE <br> PRINT "B can be smaller than C" <br> ENDIF#3, 3.#2, 3.#2, 4.#3, 2.');

mock[t++] =('11#52#  23 of 40 <br><br>Which of the following is a benefit of independent testing?#Code cannot be released into production until independent testing is complete.#Testing is isolated from development.#Developers do not have to take as much responsibility for quality.#Independent testers see other and different defects, and are unbiased.');

mock[t++] =('13#57#  24 of 40 <br><br>Which of the following tools is most likely to contain a comparator?#Dynamic Analysis tool.#Test Execution tool.#Static Analysis tool.#Security tool.');

mock[t++] =('41#88#  25 of 40 <br><br><br> <br> <img src=" http://www.patshala.com/istqb/images/26.JPG "> <br>Given the above State Table:  <br> Which of the following represents an INVALID state transition?#E from State S2.#E from State S3.#B from State S1.#F from State S3.');

mock[t++] =('26#84#  26 of 40 <br><br>Which of the following is a characteristic of good testing in any life cycle model?#All document reviews involve the development team.#Some, but not all, development activities have corresponding test activities.#Each test level has test objectives specific to that level.#Analysis and design of tests begins as soon as development is complete.');

mock[t++] =('28#62#  27 of 40 <br><br>Which activity in the fundamental test process includes evaluation of the testability of the requirements and system?#Test analysis and design.#Test planning and control.#Test closure.#Test implementation and execution.');

mock[t++] =('20#52#  28 of 40 <br><br>The following statements are used to describe the basis for creating test cases using either black or white box techniques:  <br> i information about how the software is constructed. <br> ii models of the system, software or components. <br> iii analysis of the test basis documentation <br> iv analysis of the internal structure of the components.  <br> Which combination of the statements describes the basis for black box techniques?#ii and iii.#ii and iv.#i and iv.#i and iii.');

mock[t++] =('12#39#  29 of 40 <br><br>What is typically the MOST important reason to use risk to drive testing efforts?#Because testing everything is not feasible.#Because risk-based testing is the most efficient approach to finding bugs.#Because risk-based testing is the most effective way to show value.#Because software is inherently risky.');

mock[t++] =('11#28#  30 of 40 <br><br>Which of the following defines the scope of maintenance testing?#The coverage of the current regression pack.#The size and risk of any change(s) to the system.#The time since the last change was made to the system.#Defects found at the last regression test run.');

mock[t++] =('45#79#  31 of 40 <br><br>Which is the MOST important advantage of independence in testing?# An independent tester may find defects more quickly than the person who wrote the software.# An independent tester may be more focused on showing how the software works than the person who wrote#An independent tester may be more effective and efficient because they are less familiar with the software than the person who wrote it.#An independent tester may be more effective at finding defects missed by the person who wrote the software.');

mock[t++] =('30#88# 32 of 40 <br><br>For testing, which of the options below best represents the main concerns of Configuration Management? <br>  i. All items of testware are identified and version controlled <br> ii. All items of testware are used in the final acceptance test <br> iii. All items of testware are stored in a common repository <br> iv. All items of testware are tracked for change <br> v. All items of testware are assigned to a responsible owner <br> vi. All items of testware are related to each other and to development items.#i, iv, vi.#ii, iii, v.#i, iii, iv.#iv, v, vi.');

mock[t++] =('12#23# 33 of 40 <br><br>Which of the following would be a valid measure of test progress?#Number of undetected defects.#Total number of defects in the product.#Number of test cases not yet executed.#Effort required to fix all defects.');

mock[t++] =('25#54# 34 of 40 <br> <br>Which of following statements is true? Select ALL correct options  <br>  Regression testing should be performed: <br> i once a month <br> ii when a defect has been fixed <br> iii when the test environment has changed <br> iv when the software has changed#ii and iv.#ii, iii and iv.#i, ii and iii.#i and iii.');

mock[t++] =('28#68# 35 of 40 <br><br>In which of the following orders would the phases of a formal review usually occur?#Planning, preparation, kick off, meeting, rework, follow up.#Kick off, planning, preparation, meeting, rework, follow up.#Preparation, planning, kick off, meeting, rework, follow up.#Planning, kick off, preparation, meeting, rework, follow up.');

mock[t++] =('21#47# 36 of 40 <br><br>Which of the following are valid objectives for incident reports?  <br> i. Provide developers and other parties with feedback about the problem to enable identification, isolation and correction as necessary. <br> ii. Provide ideas for test process improvement. <br> iii. Provide a vehicle for assessing tester competence. <br> iv. Provide testers with a means of tracking the quality of the system under test.#i, ii, iii.#i, ii, iv.#i, iii, iv.#ii, iii, iv.');

mock[t++] =('49#29# 37 of 40 <br><br>Consider the following techniques. Which are static and which are dynamic techniques? <br>  i. Equivalence Partitioning. <br> ii. Use Case Testing. <br> iii. Data Flow Analysis. <br> iv. Exploratory Testing. <br> v. Decision Testing. <br> vi Inspections.#i-iv are static, v-vi are dynamic.#iii and vi are static, i, ii, iv and v are dynamic.#ii, iii and vi are static, i, iv and v are dynamic.#vi is static, i-v are dynamic.');

mock[t++] =('33#89# 38 of 40 <br><br>Why are static testing and dynamic testing described as complementary?#Because they share the aim of identifying defects and find the same types of defect.#Because they have different aims and differ in the types of defect they find.#Because they have different aims but find the same types of defect.#Because they share the aim of identifying defects but differ in the types of defect they find.');

mock[t++] =('20#78# 39 of 40 <br><br>Which of the following are disadvantages of capturing tests by recording the actions of a manual tester? <br> i The script may be unstable when unexpected events occur. <br> ii Data for a number of similar tests is automatically stored separately from the script. <br> iii Expected results must be added to the captured script. <br> iv The captured script documents the exact inputs entered by the tester. <br> v When replaying a captured test, the tester may need to debug the script if it doesn?t play correctly.#i, iii, iv, v.#ii, iv and v.#i, ii and iv.#i and v.');

mock[t++] =('20#63# 40 of 40 <br><br> Which of the following is determined by the level of product risk identified?#Extent of testing.#Scope for the use of test automation.#Size of the test team.#Requirement for regression testing.');



