var mock = new Array(); var t = 0;

mock[t++] =('32#38#<b>1 of 40 </b><br><br>  An input field takes the year of birth between 1900 and 2004.<br>The boundary values for testing this field are:#0,1900,2004,2005#1900, 2004#1899,1900,2004,2005#1899, 1900, 1901,2003,2004,2005');

mock[t++] =('18#38#<b> 2 of 40 </b><br><br>  Which one of the following are non-functional testing methods?#System testing#Usability testing#Performance testing#Both b & c');

mock[t++] =('42#58#<b> 3 of 40 </b><br><br>  Which of the following tools would be involved in the automation of regression test?#Data tester#Boundary tester#Capture/Playback#Output comparator.');
mock[t++] =('31#88#<b> Question 4 of 40 </b><br><br>  Incorrect form of Logic coverage is:#Statement Coverage#Pole Coverage#Condition Coverage#Path Coverage');

mock[t++] =('38#14#<b> 5 of 40 </b><br><br>  Which of the following is not a quality characteristic listed in ISO 9126 Standard?#Functionality#Usability#Supportability#Maintainability');

mock[t++] =('33#17#<b> 6 of 40 </b><br><br> To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.#Stub#Driver#Proxy#None of the above');

mock[t++] =('13#62#<b> 7 of 40 </b><br><br>  Boundary value testing#Is the same as equivalence partitioning tests#Test boundary conditions on, below and above the edges of input and output equivalence classes#Tests combinations of input circumstances#Is used in white box testing strategy');

mock[t++] =('22#63#<b> 8 of 40 </b><br><br>  Pick the best definition of quality#Quality is job one#Zero defects#Conformance to requirements#Work as designed');

mock[t++] =('45#63#<b> 9 of 40 </b><br><br>  Fault Masking is#Error condition hiding another error condition#Creating a test case which does not reveal a fault#Masking a fault by developer#Masking a fault by a tester');

mock[t++] =('11#87#<b> 10 of 40 </b><br><br> One Key reason why developers have difficulty testing their own work is :#Lack of technical documentation#Lack of test tools on the market for developers#Lack of training#Lack of Objectivity');

mock[t++] =('18#32#<b> 11 of 40 </b><br><br>  During the software development process, at what point can the test process start?#When the code is complete.#When the design is complete.#When the software requirements have been approved.#When the first code module is ready for unit testing');

mock[t++] =('29#27#<b> 12 of 40 </b><br><br>In a review meeting a moderator is a person who:#Takes minutes of the meeting#Mediates between people#Takes telephone calls#Writes the documents to be reviewed');

mock[t++] =('21#23#<b> 13 of 40 </b><br><br>  Given the Following program<br>IF X < Y<br>THEN Statement 1;<br>ELSE IF Y >= Z<br>THEN Statement 2;<br>END<br><br><br>McCabe’s Cyclomatic Complexity is :#2#3#4#5');

mock[t++] =('28#47#<b> 14 of 40 </b><br><br>  How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : -<br><br>…………<br>if (Condition 1)<br> then statement 1<br> else statement 2<br>fi<br>if (Condition 2)<br>then statement 3<br>fi<br><br>…………#2 Test Cases#3 Test Cases#4 Test Cases#Not achievable');

mock[t++] =('16#62#<b> 15 of 40 </b><br><br>  Acceptance test cases are based on what?#Requirements#Design#Code#Decision table');

mock[t++] =('22#82#<b> 16 of 40 </b><br><br> “How much testing is enough?”#This question is impossible to answer#This question is easy to answer#The answer depends on the risk for your industry, contract and special requirements#This answer depends on the maturity of your developers');

mock[t++] =('24#64#<b> 17 of 40 </b><br><br>  A common test technique during component test is:#Statement and branch testing#Usability testing#Security testing#Performance testing');

mock[t++] =('24#17#<b> 18 of 40 </b><br><br>  Statement Coverage will not check for the following.#Missing Statements#Unused Branches#Dead Code#Unused Statement');

mock[t++] =('18#98#<b> 19 of 40 </b><br><br>  Independent Verification & Validation is:#Done by the Developer#Done by the Test Engineers#Done By Management#Done by an Entity Outside the Project’s sphere of influence');

mock[t++] =('17#83#<b> 20 of 40 </b><br><br>  Code Coverage is used as a measure of what ?#Defects#Trends analysis#Test Effectiveness#Time Spent Testing');

mock[t++] =('33#79#<b> 21 of 40 </b><br><br>Which of the following uses Impact Analysis most?#Component testing#Non-functional system testing#User acceptance testing#Maintenance testing#1');

mock[t++] =('40#38#<b> 22 of 40 </b><br><br>Evaluating testability of the requirements and system are a part of which phase#Test Analysis and Design#Test Planning and control#Test Implementation and execution#Evaluating exit criteria and reporting#');

mock[t++] =('38#77#<b> 23 of 40 </b><br><br>Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or unrelated software component:#ReTesting#Confirmation Testing#Regression Testing#Negative Testing#');

mock[t++] =('32#57#<b> Question 24 of 40 </b><br><br>Impact Analysis helps to decide :#How much regression testing should be done#Exit Criteria#How many more test cases need to written#Different Tools to perform Regression Testing#');

mock[t++] =('38#84#<b> Question 25 of 40 </b><br><br>Functional system testing is:#testing that the system functions with other systems#testing that the components that comprise the system function together#testing the end to end functionality of the system as a whole#testing the system performs functions within specified response times#');

mock[t++] =('34#57#<b> 26 of 40 </b><br><br>Peer Reviews are also called as :#Inspection#Walkthrough#Technical Review#Formal Review#');

mock[t++] =('20#22#<b> 27 of 40 </b><br><br>The Kick Off phase of a formal review includes the following :#Explaining the objective#Fixing defects found typically done by author#Follow up#Individual Meeting preparations#');

mock[t++] =('10#92#<b> 28 of 40 </b><br><br>Which of the following is not phase of the Fundamental Test Process?#Test Planning and Control#Test implementation and Execution#Requirement Analysis#Evaluating Exit criteria and reporting#');

mock[t++] =('29#42#<b> 29 of 40 </b><br><br>Which of the following techniques is NOT a black box technique?#State transition testing#LCSAJ (Linear Code Sequence and Jump)#syntax testing#boundary value analysis#');

mock[t++] =('36#97#<b> 30 of 40 </b><br><br>Success Factors for a review include :<br>i. Each Review does not have a predefined objective<br> ii. Defects found are welcomed and expressed objectively <br> iii. Management supports a good review process.<br> There is an emphasis on learning and process improvement#ii,iii,iv are correct and i is incorrect#iii , i , iv is correct and ii is incorrect#i , iii , iv , ii is incorrect#ii is correct#');

mock[t++] =('15#48#<b> 31 of 40 </b><br><br>Test Conditions are derived from#Specifications#Test Cases#Test Data#Test Design#');

mock[t++] =('42#73#<b> 32 of 40 </b><br><br>Minimum Tests Required for Statement Coverage and Branch Coverage :<br> Read P <br> Read Q <br> If p+q > 100 then<br> Print “Large”<br>End if<br>If p > 50 then<br>Print “pLarge”<br>End if#Statement coverage is 2, Branch Coverage is 2#Statement coverage is 3 and branch coverage is 2#Statement coverage is 1 and branch coverage is 2#Statement Coverage is 4 and Branch coverage is 2#');

mock[t++] =('29#57#<b> 33 of 40 </b><br><br>Minimum Test Required for Statement Coverage : <br>Disc = 0 <br> Order-qty = 0 <br> Read Order-qty <br> If Order-qty >=20 then <br> Disc = 0.05 <br> If Order-qty >=100 then <br> Disc =0.1 <br> End if <br> End if#Statement coverage is 4#Statement coverage is 1#Statement coverage is 3#Statement Coverage is 2#');

mock[t++] =('27#44#<b> 34 of 40 </b><br><br>Which of the following will be the best definition for Testing :#The goal / purpose of testing is to demonstrate that the program works.#The purpose of testing is to demonstrate that the program is defect free#The purpose of testing is to demonstrate that the program does what it is supposed to do#Testing is executing Software for the purpose of finding defects#');

mock[t++] =('37#47#<b> 35 of 40 </b><br><br>Which of the following is not a type of incremental testing approach?#Top down#Big-bang#Bottom up#Functional incrementation#');
mock[t++] =('21#97#<b> 36 of 40 </b><br><br>In case of Large Systems#Only few tests should be run#Testing should be on the basis of Risk#Only Good Test Cases should be executed#Test Cases written by good test engineers should be executed#');

mock[t++] =('43#73# 37 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++] =('28#58# 38 of 40 <br><br> Test cases are designed during:#test recording.#test planning.#test configuration.#test specification.');

mock[t++] =('46#63# 39 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.');

mock[t++] =('12#83# 40 of 40 <br><br> A deviation from the specified or expected behavior that is visible to end-users is called:#an error#a fault#a failure#a defect');
