Professional Documents
Culture Documents
1. Which of the following are the typical defects fo nd !y static analysis tools" a. #aria!les that are ne$er sed. !. Sec rity $ lnera!ilities. c. %oor perfor&ance. d. 'nreacha!le code. e. B siness processes not followed. A. b, c and d are true; a and e are false B. a is true; b, c, d and e are false C. c, d and e are true; a and b are false D. a, b and d are true; c and e are false (. Which of the following are characteristics of good testing in any life cycle &odel" a. E$ery de$elop&ent acti$ity has a corresponding test acti$ity. !. Testers re$iew de$elop&ent doc &ents early. c. There are separate le$els for co&ponent and syste& integration test. d. Each test le$el has o!)ecti$es specific to that le$el. e. Each test le$el is !ased on the sa&e test !asis. A. a, d and e B. b, c and e C. a, c and d D. a, b and d *. Which of the following state&ents are tr e in relation to co&ponent testing" a. St !s &ay !e sed. !. May co$er reso rce !eha$ior +e.g. &e&ory lea,s-. c. Tests the interactions !etween software co&ponents. d. .efects are typically fi/ed witho t for&ally &anaging these defects. A. a and d B. a, b and d C. b, c and d D. all of above 0. Which of the following is a good reason for a de$eloper to se a test harness tool" A. To help the developer to compare differences b/w files and databases. B. To reduce the quantity of component tests needed to be run. C. To ma e it easier for developers to peer!test each other"s code. D. To simplify runnin# unit tests when related components are not available yet. 1. Which of the following ia 2OT a test planning acti$ity" 3. $electin# test conditions based on analysis of the test ob%ect. B. Sched ling test analysis and design4i&ple&entation and e/ec tion of acti$ities C. 3ssigning reso rces for the acti$ities to !e perfor&ed. .. Ma,ing decisions a!o t which roles will perfor& the test acti$ities and setting le$el of details for test proced res.
PureTrainings Software Pvt Ltd Page 1
Page 2
1. identify and doc &ent the characteristics of a test ite&. 11. Control changes to the characteristics of a test ite& 111. chec, a test ite& for defects introd ced !y a change 1#. record and report the stat s of changes to test ite& #. Confir& that changes to a test ite& fi/ed a defect . Which of the following state&ent is tr e: A. -nly . is a confi#uration mana#ement is true. B. All are confi#uration mana#ement tas s C. .,.. and ... are confi#uration mana#ement tas s. D. ., .. and ./ are confi#uration mana#ement tas s.
13. 9o are wor,ing as a tester on a pro)ect to de$elop a point of sales
syste& for grocery stores and other si&ilar retail o tlets.which of the following is a prod ct ris, for s ch a pro)ect. A. 0ailure to accept allowed credit cards. B. The arrival of more reliable competin# product on the mar et. C. An e,cessively hi#h number of defect fi,es fail durin# retestin#. D. Delivery of an incomplete test release to the first cycle of the system test. 10. Which of the following are str ct re=!ased techniA es" a. .ecision ta!le testing !. Bo ndary $al e analysis c. M ltiple condition co$erage d. 'se case testing e. .ecision co$erage A. a and c. B. b and d. C. b and e. D. c and e.
Page 3
e/tra 1>p for each additional (1g p to 1>>g.Which test inp ts +in gra&swo ld !e Selected sing eA i$alence partition"
A) 1,23,13,.43 B) .4,54,85,.35
1;. %air the correct test design techniA es +i to $- with the category of techniA es +/4 y4 B-? i- E/ploratory Testing ii- EA i$alence %artitioning iii- .ecision Testing E .ecision Co$erage i$- 'se Case Testing
PureTrainings Software Pvt Ltd Page 4
(*. E$en tho gh a test that once re$ealed &any defects is part of regression s ite4 no new test cases ha$e !een created for the &od le nder test in a long ti&e. What test principle is a Q3 tea& forgetting" A. Absence!of!errors fallacy B. Defect clusterin# C. ;esticide parado, D. &arly testin# (0. 6i$en the following sa&ple of pse do code? >1 Inp t n &!er of &ale tigers >( Inp t n &!er of fe&ale tigers >* If &ale tiger J > and fe&ale tiger J > then >0 Inp t .o yo want to !reed +9es E 2o>1 If !reed G 2o" >5 %rint Keep &ale and fe&ale tigers apart >: End if >; End If Which of the following test cases will ens re that state&ent 5 is e/ec ted" A. male ti#er 9 ., female ti#er 9 ., breed 9 yes B. male ti#er 9 ., female ti#er 9 ., breed 9 no C. male ti#er 9 ., female ti#er 9 3, breed 9 yes D. male ti#er 9 ., female ti#er 9 4, breed 9 no (1. Which of the following BEST descri!es a data=dri$en approach to the se of test e/ec tion tools"
PureTrainings Software Pvt Ltd Page 6
Which of the following represents an I2#38I. transition +2-" A. -ff from display Channel .= B. Channel 3 from Display Channel .= C. $tandby from >ive= D. Channel 3 from >ive= (;. Which of the following is a p rpose of the re$iew ,ic, off acti$ity" A. &,plain the ob%ectives
PureTrainings Software Pvt Ltd Page 7
*>. The flow graph !elow shows the logic of a progra& for which 1>>K state&ent co$erage and 1>>K decision co$erage is reA ired on e/it fro& co&ponent testing.
Page 8
The following test cases ha$e !een r n? L Test Case 1 co$ering path 34 B4 .4 6 L Test Case ( co$ering path 34 B4 .4 E4 @4 E4 @4 E4 @4 E4 6 L Test Case * co$ering path 34 C4 .4 E4 @4 E4 6 Which of the following state&ents related to co$erage is correct" A. $tatement covera#e is .44?; decision covera#e is .44?. B. $tatement covera#e is less than .44?; decision covera#e is .44?. C. $tatement covera#e is .44?; decision covera#e is less than .44?. D. $tatement covera#e and decision covera#e are both less than .44?. *1. Which of the following state&ents is correct" A. The ob%ective of testin# is always to find defects by causin# failures when e,ecutin#. B. Test activities end after the tests are e,ecuted and deviations are documented. C. The true level of quantity cannot be learned by dynamic testin#. D. Both dynamic and static testin# can be used to achieve similar ob%ectives.
Page 9
What is the &ini& & n &!er of test cases reA ired to g arantee 1>>K of decision
co$erage"
A. B. C. D.
@ . 2 3
**. - The standard that gi$es definitions of testing ter&s is? a- ISOEIEC 1((>: !- BS:<(1=1 c- BS:<(1=( d- 32SIEIEEE ;(< e- 32SIEIEEE :(< *0. Which of the following state&ents is MOST O@TE2 tr e" A. $ource!code inspections are often used in component testin#. B. Component testin# searches for defects in pro#rams that are separately testable. C. Component testin# is an important part of user acceptance testin#. D. Component testin# aims to e,pose problems in the interactions between software and hardware components *1. Which of the following state&ents is 2OT correct" A. Testers can"t help developers improve their s ills throu#h #ood defect documentation. B. ;eople ali#n their plans with ob%ectives set by mana#ement if they understand them. C. Testin# is a constructive activity when seen in the mana#ement of product ris s.
PureTrainings Software Pvt Ltd Page 10
*5. If yo are flying with an econo&y tic,et4 there is a possi!ility that yo &ay get pgraded to ! siness class4 especially if yo hold a gold card in the airlineQs freA ent flier progra&. If yo donQt hold a gold card4 there is a possi!ility that yo will get Q! &pedQ off the flight if it is f ll and yo chec, in late. This is shown in following @ig re. 2ote that each !o/ +i.e. state&ent- has !een n &!ered.
Page 11
Three tests ha$e !een r n? Test 1? 6old card holder who gets pgraded to ! siness class4 Test (? 2on=gold card holder who stays in econo&y4 Test *? 3 person who is ! &ped fro& the flight What is the state&ent co$erage of these three tests" A. 64? B. 84? C. 14? D. 74? *:. Consider the following decision ta!le for Car rental. Conditions 7 le 1 7 le ( 7 le * 7 le 0
Page 12
0 0
T 0
T T
6i$en this decision ta!le4 what is the e/pected res lt for the following test cases" TC1? 3 (5=year=old on ! siness ! t with $iolations or accidents on his dri$ing record TC(? 3 5(=year=old to rist with a clean dri$ing record A. TC.B DonAt supply car; TC3B $upply car with premium char#e. B. TC.B $upply car with premium char#e; TC3B $upply car with no premium char#e. C. TC.B DonAt supply car; TC3B $upply car with no premium char#e. D. TC.B $upply car with premium char#e; TC3B DonAt supply car. *;. Syste& test e/ec tion on a pro)ect is planned for eight wee,s. 3fter a wee, of testing4 a tester s ggests that the test o!)ecti$e stated in the test plan of Qfinding as &any defects as possi!le d ring syste& testQ &ight !e &ore closely &et !y redirecting the test effort according to which test principle" A. 'mpossibility of e,haustive testin#. B. 'mportance of early testin#. C. The absence of errors fallacy. D. Defect clusterin# *<. Which of the following descri!es test control actions that &ay occ r d ring testing" a. Setting an entry criterion that de$elopers & st retest fi/es !efore fi/es are accepted into a ! ild. !. Changing the test sched le d e to a$aila!ility of test en$iron&ent. c. 7e=prioritiBing tests when de$elop&ent deli$ers software late. 3. a only B. b only C. a and c .. All of above . 0>. Contract and reg lation testing is a part of?
Page 13
Page 14