var mock = new Array(); var t = 0;

mock[t++] =('18#89# 1 of 40 <br><br>We split testing into distinct stages primarily because:#Each test stage has a different purpose.#It is easier to manage testing in stages.#We can run different tests in different environments.#The more stages we have, the better the testing.');

mock[t++] =('35#93# 2 of 40 <br><br>Which of the following is likely to benefit most from the use of test tools providing test capture and replay facilities?#Regression testing#Integration testing#System testing#User acceptance testing');

mock[t++] =('27#19# 3 of 40 <br><br>Which of the following statements is NOT correct?#A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.#A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.#A minimal test set that achieves 100% path coverage will generally detect more faults than one that achieves 100% statement coverage.#A minimal test set that achieves 100% statement coverage will generally detect more faults than one that achieves 100% branch coverage.');

mock[t++] =('34#82# 4 of 40 <br><br>Which of the following requirements is testable?#The system shall be user friendly.#The safety-critical parts of the system shall contain 0 faults.#The response time shall be less than one second for the specified design load.#The system shall be built to be portable.');
mock[t++] =('8#97# 5 of 40 <br><br>Analyse the following highly simplified procedure: <br><br> Ask: ?What type of ticket do you require, single or return?? <br> IF the customer wants ?return? <br> Ask: ?What rate, Standard or Cheap-day?? <br> IF the customer replies ?Cheap-day? <br> Say: ?That will be ?11:20? <br> ELSE <br> Say: ?That will be ?19:50? <br> ENDIF <br> ELSE <br>Say: ?That will be ?9:75? <br> ENDIF <br> Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given. <br>#3#4#5#6');

mock[t++] =('32#97# 6 of 40 <br><br>Error guessing:#supplements formal test design techniques.#can only be used in component, integration and system testing.#is only performed in user acceptance testing.#is not repeatable and should not be used.');
mock[t++] =('24#82# 7 of 40 <br><br> Which of the following is NOT true of test coverage criteria?#Test coverage criteria can be measured in terms of items exercised by a test suite.#A measure of test coverage criteria is the percentage of user requirements covered.#A measure of test coverage criteria is the percentage of faults found.#Test coverage criteria are often used when specifying test completion criteria.');

mock[t++] =('13#87# 8 of 40 <br><br>In prioritising what to test, the most important objective is to:#find as many faults as possible.#test high risk areas.#obtain good test coverage.#test whatever is easiest to test.');

mock[t++] =('26#42# 9 of 40 <br><br>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? <br> v ? test control <br> w ? test monitoring <br> x - test estimation <br> y - incident management <br> z - configuration control <br><br> 1 - calculation of required test resources <br> 2 - maintenance of record of test results <br> 3 - re-allocation of resources when tests overrun <br> 4 - report on deviation from test plan <br> 5 - tracking of anomalous test results <br>#v-3,w-2,x-1,y-5,z-4#v-2,w-5,x-1,y-4,z-3#v-3,w-4,x-1,y-5,z-2#v-2,w-1,x-4,y-3,z-5');

mock[t++] =('39#54# 10 of 40 <br><br>Which one of the following statements about system testing is NOT true?#System tests are often performed by independent teams.#Functional testing is used more than structural testing.#Faults found during system tests can be very expensive to fix.#End-users should be involved in system tests.');

mock[t++] =('16#57# 11 of 40 <br><br>Which of the following is false?#Incidents should always be fixed.#An incident occurs when expected and actual results differ.#Incidents can be analysed to assist in test process improvement.#An incident can be raised against documentation.');
mock[t++] =('25#67# 12 of 40 <br><br>Enough testing has been performed when:#time runs out.#the required level of confidence has been achieved.#no more faults are found.#the users won?t find any serious faults.');

mock[t++] =('30#74# 13 of 40 <br><br>Which of the following is NOT true of incidents?#Incident resolution is the responsibility of the author of the software under test.#Incidents may be raised against user requirements.#Incidents require investigation and/or correction.#Incidents are raised when expected and actual results differ.');

mock[t++] =('14#77# 14 of 40 <br><br>Which of the following is not described in a unit test standard?#syntax testing#equivalence partitioning#stress testing#modified condition/decision coverage');
mock[t++] =('16#33# 15 of 40 <br><br>Which of the following is false?#In a system two different failures may have different severities.#A system is necessarily more reliable after debugging for the removal of a fault.#A fault need not affect the reliability of a system.#Undetected errors may lead to faults and eventually to incorrect behaviour.');

mock[t++] =('29#22# 16 of 40 <br><br>Which one of the following statements, about capture-replay tools, is NOT correct?#They are used to support multi-user testing.#They are used to capture and animate user requirements.#They are the most frequently purchased types of CAST tool.#They capture aspects of user behaviour.');

mock[t++] =('11#12# 17 of 40 <br><br>How would you estimate the amount of re-testing likely to be required?#Metrics from previous similar projects#Discussions with the development team#Time allocated for regression testing#a &amp; b');

mock[t++] =('39#77# 18 of 40 <br><br>Which of the following is true of the V-model?#It states that modules are tested against user requirements.#It only models the testing phase.#It specifies the test techniques to be used.#It includes the verification of designs.');
mock[t++] =('26#43# 19 of 40 <br><br>The oracle assumption:#is that there is some existing system against which test output may be checked.#is that the tester can routinely identify the correct outcome of a test.#is that the tester knows everything about the software under test.#is that the tests are reviewed by experienced testers.');
mock[t++] =('15#38# 20 of 40 <br><br>Which of the following characterises the cost of faults?#They are cheapest to find in the early development phases and the most expensive to fix in the latest test phases.#They are easiest to find during system testing but the most expensive to fix then.#Faults are cheapest to find in the early development phases but the most expensive to fix then.#Although faults are most expensive to find during early development phases, they are cheapest to fix then.');

mock[t++] =('45#84# 21 of 40 <br><br>Which of the following should NOT normally be an objective for a test?#To find faults in the software.#To assess whether the software is ready for release.#To demonstrate that the software doesn?t work.#To prove that the software is correct.');
mock[t++] =('15#58# 22 of 40 <br><br>Which of the following is a form of functional testing?#Boundary value analysis#Usability testing#Performance testing#Security testing');

mock[t++] =('25#42# 23 of 40 <br><br>Which of the following would NOT normally form part of a test plan?#Features to be tested#Incident reports#Risks#Schedule');
mock[t++] =('47#98# 24 of 40 <br><br>Which of these activities provides the biggest potential cost saving from the use of CAST?#Test management#Test design#Test execution#Test planning');

mock[t++] =('11#92# 25 of 40 <br><br>Which of the following is NOT a white box technique?#Statement testing#Path testing#Data flow testing#State transition testing');
mock[t++] =('26#39# 26 of 40 <br><br>Data flow analysis studies:#possible communications bottlenecks in a program.#the rate of change of data values as a program executes.#the use of data on paths through the code.#the intrinsic complexity of the code.'); 
mock[t++] =('26#72# 27 of 40 <br><br>In a system designed to work out the tax to be paid: <br><br> An employee has ?4000 of salary tax free. The next ?1500 is taxed at 10% <br> The next ?28000 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? <br>#?1500#?32001#?33501#?28000');
mock[t++] =('36#27# 28 of 40 <br><br>An important benefit of code inspections is that they:#enable the code to be tested before the execution environment is ready.#can be performed by the person who wrote the code.#can be performed by inexperienced staff.#are cheap to perform.');
mock[t++] =('26#57# 29 of 40 <br><br>Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?#Actual results#Program specification#User requirements#System specification');
mock[t++] =('33#33# 30 of 40 <br><br>What is the main difference between a walkthrough and an inspection?#An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.#An inspection has a trained leader, whilst a walkthrough has no leader.#Authors are not present during inspections, whilst they are during walkthroughs.#A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.');
mock[t++] =('32#43# 31 of 40 <br><br>Which one of the following describes the major benefit of verification early in the life cycle?#It allows the identification of changes in user requirements.#It facilitates timely set up of the test environment.#It reduces defect multiplication.#It allows testers to become involved early in the project.');
mock[t++] =('26#73# 32 of 40 <br><br>Integration testing in the small:#tests the individual components that have been developed.#tests interactions between modules or subsystems.#only uses components that form part of the live system.#tests interfaces to other systems.');
mock[t++] =('10#92# 33 of 40 <br><br>Static analysis is best described as:#the analysis of batch programs.#the reviewing of test plans.#the analysis of program code.#the use of black box testing.');
mock[t++] =('26#59# 34 of 40 <br><br>Alpha testing is:#post-release testing by end user representatives at the developer?s site.#the first testing that is performed.#pre-release testing by end user representatives at the developer?s site.#pre-release testing by end user representatives at their sites.');
mock[t++] =('16#38# 35 of 40 <br><br>A failure is:#found in the software; the result of an error.#departure from specified behaviour.#an incorrect step, process or data definition in a computer program.#a human action that produces an incorrect result.'); 
mock[t++] =('19#57# 36 of 40 <br><br>In a system designed to work out the tax to be paid: <br><br> An employee has ?4000 of salary tax free. The next ?1500 is taxed at 10% <br> The next ?28000 is taxed at 22% <br> Any further amount is taxed at 40% <br> Which of these groups of numbers would fall into the same equivalence class? <br>#?4800; ?14000; ?28000#?5200; ?5500; ?28000#?28001; ?32000; ?35000#?5800; ?28000; ?32000');
mock[t++] =('22#38# 37 of 40 <br><br>The most important thing about early test design is that it:#makes test preparation easier.#means inspections are not required.#can prevent fault multiplication.#will find all faults.');
mock[t++] =('33#98# 38 of 40 <br><br>Which of the following statements about reviews is true?#Reviews cannot be performed on user requirements specifications.#Reviews are the least effective way of testing code.#Reviews are unlikely to find faults in test plans.#Reviews should be performed on specifications, code, and test plans.');
mock[t++] =('21#39# 39 of 40 <br><br>Test cases are designed during:#test recording.#test planning.#test configuration.#test specification.');
mock[t++] =('31#88# 40 of 40 <br><br>A configuration management system would NOT normally provide:#linkage of customer requirements to version numbers.#facilities to compare test results with expected results.#the precise differences in versions of software component source code.#restricted access to the source code library.');
