var mock = new Array(); var t = 0;


mock[t++] =('26#32# 1 of 40 <br><br> When what is visible to end-users is a deviation from the specific or expected behavior, this is called:#An error#A fault#A failure#A defect');


mock[t++] =('14#97# 2 of 40 <br><br>Regression testing should be performed: <br> v) every week <br> w) after the software has changed <br> x) as often as possible <br> y) when the environment has changed <br> z) when the project manager says <br>#v & w are true, x ? z are false#w, x & y are true, v & z are false#w & y are true, v, x & z are false#All of the above are true');


mock[t++] =('19#87# 3 of 40 <br><br>IEEE 829 test plan documentation standard contains all of the following except:#Test items#Test deliverables#Test tasks#Test specification');


mock[t++] =('23#73# 4 of 40 <br><br>Testing should be stopped when:#All the planned tests have been run#Time has run out#All faults have been fixed correctly#It depends on the risks for the system being tested');


mock[t++] =('22#88# 5 of 40 <br><br>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:#1000, 5000, 99999#9999, 50000, 100000#10000, 50000, 9999#10000, 99999');


mock[t++] =('24#72# 6 of 40 <br><br>Consider the following statements about early test design: <br> i. early test design can prevent fault multiplication <br> ii. faults found during early test design are more expensive to fix <br> iii. early test design can find faults <br> iv. early test design can cause changes to the requirements <br> v. early test design takes more effort <br>#i, iii & iv are true, ii & v are false#iii is true, i, ii, iv & v are false#iii & iv are true, i, ii & v are false#i, iii, iv & v are true, ii is false');


mock[t++] =('31#64# 7 of 40 <br><br> Non-functional system testing includes:#Testing to see where the system does not function properly#Testing quality attributes of the system including performance and usability#Testing a system feature using only the software required for that action#Testing a system feature using only the software required for that function');


mock[t++] =('37#34# 8 of 40 <br><br> Which of the following is NOT part of configuration management:#Status accounting of configuration items#Auditing conformance to ISO9001#Identification of test versions#Record of changes to documentation over time');


mock[t++] =('32#24# 9 of 40 <br><br> Which of the following is the main purpose of the integration strategy for integration testing in the small?#To ensure that all of the small modules are tested adequately#To ensure that the system interfaces to other systems and networks#To specify which modules to combine when and how many at once#To ensure that the integration testing can be performed by a small team');


mock[t++] =('28#18# 10 of 40 <br><br> What is the purpose of test completion criteria in a test plan:#To ensure that the test case specification is complete#To set the criteria used in generating test inputs#To know when test planning is complete#To plan when to stop testing');


mock[t++] =('49#94# 11 of 40 <br><br>Consider the following statements <br> i. an incident may be closed without being fixed <br> ii. incidents may not be raised against documentation <br> iii. the final stage of incident tracking is fixing <br> iv. the incident record does not include information on test environments <br> v. incidents should be raised when someone other than the author of the software performs the test <br>#ii and v are true, i, iii and iv are false#i and v are true, ii, iii and iv are false#i, iv and v are true, ii and iii are false#i and ii are true, iii, iv and v are false');


mock[t++] =('25#22# 12 of 40 <br><br>Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage: <br> Read P <br> Read Q <br> IF P Q > 100 THEN <br> Print ?Large? <br> ENDIF <br> If P > 50 THEN <br> Print ?P Large? <br> ENDIF <br>#1 test for statement coverage, 3 for branch coverage#1 test for statement coverage, 2 for branch coverage#1 test for statement coverage, 1 for branch coverage#2 tests for statement coverage, 3 for branch coverage');


mock[t++] =('33#97# 13 of 40 <br><br>Given the following: <br> Switch PC on <br> Start ?outlook? <br> IF outlook appears THEN <br> Send an email <br> Close outlook <br>#1 test for statement coverage, 1 for branch coverage#1 test for statement coverage, 2 for branch coverage#1 test for statement coverage. 3 for branch coverage#2 tests for statement coverage, 2 for branch coverage');


mock[t++] =('21#63# 14 of 40 <br><br> Given the following code, which is true: <br> IF A > B THEN <br> C = A ? B <br> ELSE <br> C = A B <br> ENDIF <br><br> Read D <br> IF C = D Then <br> Print ?Error? <br> ENDIF <br>#1 test for statement coverage, 3 for branch coverage#2 tests for statement coverage, 2 for branch coverage#2 tests for statement coverage, 3 for branch coverage#3 tests for statement coverage, 3 for branch coverage');


mock[t++] =('39#97# 15 of 40 <br><br> Consider the following: <br> Pick up and read the newspaper <br> Look at what is on television <br> If there is a program that you are interested in watching then switch the television on and watch the program <br> Otherwise <br> Continue reading the newspaper <br> If there is a crossword in the newspaper then try and complete the crossword <br>#SC = 1 and DC = 2#SC = 1 and DC = 3#SC = 2 and DC = 2#SC = 2 and DC = 3');


mock[t++] =('18#12# 16 of 40 <br><br>The place to start if you want a (new) test tool is:#Attend a tool exhibition#Invite a vendor to give a demo#Analyse your needs and requirements#Find out what your budget would be for the tool');


mock[t++] =('13#22# 17 of 40 <br><br> When a new testing tool is purchased, it should be used first by:#A small team to establish the best way to use the tool#Everyone who may eventually have some use for the tool#The independent testing team#The managers to see what projects it should be used in');


mock[t++] =('12#33# 18 of 40 <br><br> What can static analysis NOT find?#The use of a variable before it has been defined#Unreachable (?dead?) code#Whether the value stored in a variable is correct#The re-definition of a variable before it has been used');


mock[t++] =('42#78# 19 of 40 <br><br> Which of the following is NOT a black box technique:#Equivalence partitioning#State transition testing#LCSAJ#Syntax testing');


mock[t++] =('24#14# 20 of 40 <br><br> Beta testing is:#Performed by customers at their own site#Performed by customers at their software developer?s site#Performed by an independent test team#Useful to test bespoke software');


mock[t++] =('41#63# 21 of 40 <br><br>Given the following types of tool, which tools would typically be used by developers and which by an independent test team: <br> i. static analysis <br> ii. Performance testing <br> iii. Test management <br> iv. Dynamic analysis <br> v. Test running <br> vi. Test data preparation <br>#Developers would typically use i, iv and vi; test team ii, iii and v#Developers would typically use i and iv; test team ii, iii, v and vi#Developers would typically use i, ii, iii and iv; test team v and vi#Developers would typically use ii, iv and vi; test team i, ii and v');


mock[t++] =('45#49# 22 of 40 <br><br>The main focus of acceptance testing is:#Finding faults in the system#Ensuring that the system is acceptable to all users#Testing the system with other systems#Testing for a business perspective');


mock[t++] =('36#17# 23 of 40 <br><br>Which of the following statements about the component testing standard is false:#Black box design techniques all have an associated measurement technique#White box design techniques all have an associated measurement technique#Cyclomatic complexity is not a test measurement technique#Black box measurement techniques all have an associated test design technique');


mock[t++] =('27#84# 24 of 40 <br><br>Which of the following statements is NOT true:#Inspection is the most formal review process#Inspections should be led by a trained leader#Managers can perform inspections on management documents#Inspection is appropriate even when there are no written documents');


mock[t++] =('28#27# 25 of 40 <br><br> A typical commercial test execution tool would be able to perform all of the following EXCEPT:#Generating expected outputs#Replaying inputs according to a programmed script#Comparison of expected outcomes with actual outcomes#Recording test inputs');


mock[t++] =('24#97# 26 of 40 <br><br>The difference between re-testing and regression testing is#Re-testing is running a test again; regression testing looks for unexpected side effects#Re-testing looks for unexpected side effects; regression testing is repeating those tests#Re-testing is done after faults are fixed; regression testing is done earlier#Re-testing uses different environments, regression testing uses the same environment');


mock[t++] =('21#39# 27 of 40 <br><br> Expected results are:#Only important in system testing#Only used in component testing#Never specified in advance#Most useful when specified in advance');


mock[t++] =('38#32# 28 of 40 <br><br> Test managers should not:#Report on deviations from the project plan#Sign system off for the release#Re-allocate resource to meet original plans#Raise incidents on faults that they have found');


mock[t++] =('30#93# 29 of 40 <br><br> Unreachable code would best be found using:#Code reviews#Code inspections#A coverage tool#A test management tool');


mock[t++] =('19#37# 30 of 40 <br><br> A tool that supports traceability, recording of incidents or scheduling of tests is called:#A test execution tool#A debugging tool#A test management tool#A configuration management tool');


mock[t++] =('51#14# 31 of 40 <br><br> What information need not be included in a test incident report:#How to reproduce the fault#Test environment details#Severity, priority#The actual and expected outcomes');


mock[t++] =('21#62# 32 of 40 <br><br> Which expression best matches the following characteristics or review processes: <br> 1. led by author <br> 2. undocumented <br> 3. no management participation <br> 4. led by a trained moderator or leader <br> 5. uses entry exit criteria <br><br> s) Inspection <br> t) Peer review <br> u) Informal review <br> v) Walkthrough <br>#s = 4, t = 3, u = 2 and 5, v = 1#s = 4 and 5, t = 3, u = 2, v = 1#s = 1 and 5, t = 3, u = 2, v = 4#s = 5, t = 4, u = 3, v = 1 and 2');


mock[t++] =('15#67# 33 of 40 <br><br> Which of the following is NOT part of system testing:#Performance, load and stress testing#Requirements-based testing#Usability testing#Top-down integration testing');


mock[t++] =('16#62# 34 of 40 <br><br> What statement about expected outcomes is FALSE:#Expected outcomes are defined by the software?s behaviour#Expected outcomes are derived from a specification, not from the code#Expected outcomes include outputs to a screen and changes to files and databases#Expected outcomes should be predicted before a test is run');


mock[t++] =('21#48# 35 of 40 <br><br> The standard that gives definitions of testing terms is:#ISO/IEC 12207#BS7925-1#BS7925-2#ANSI/IEEE 829');


mock[t++] =('26#83# 36 of 40 <br><br> The cost of fixing a fault:#Is not important#Increases as we move the product towards live use#Decreases as we move the product towards live use#Is more expensive if found in requirements than functional design');


mock[t++] =('18#28# 37 of 40 <br><br> Which of the following is NOT included in the Test Plan document of the Test Documentation Standard:#Test items (i.e. software versions)#What is not to be tested#Test environments#Quality plans');


mock[t++] =('13#13# 38 of 40 <br><br> Could reviews or inspections be considered part of testing:#No, because they apply to development documentation#No, because they are normally applied before testing#No, because they do not apply to the test documentation#Yes, because both help detect faults and improve quality');


mock[t++] =('37#93# 39 of 40 <br><br> Which of the following is not part of performance testing:#Measuring response time#Measuring transaction rates#Recovery testing#Simulating many users');


mock[t++] =('21#18# 40 of 40 <br><br> Error guessing is best used#As the first approach to deriving test cases#After more formal techniques have been applied#By inexperienced testers#After the system has gone live');
