软件测试选择题总结.docx

上传人:b****8 文档编号:30278291 上传时间:2023-08-13 格式:DOCX 页数:20 大小:34.69KB
下载 相关 举报
软件测试选择题总结.docx_第1页
第1页 / 共20页
软件测试选择题总结.docx_第2页
第2页 / 共20页
软件测试选择题总结.docx_第3页
第3页 / 共20页
软件测试选择题总结.docx_第4页
第4页 / 共20页
软件测试选择题总结.docx_第5页
第5页 / 共20页
点击查看更多>>
下载资源
资源描述

软件测试选择题总结.docx

《软件测试选择题总结.docx》由会员分享,可在线阅读,更多相关《软件测试选择题总结.docx(20页珍藏版)》请在冰豆网上搜索。

软件测试选择题总结.docx

软件测试选择题总结

1.1Whatissoftwaretesting?

(c)Itistheprocessofexecutingaprogramwiththeintentoffindingerrors.

1.2Whyshouldtestingbedone?

(b)Tofinderrorsinaprogram

1.3Whichphaseconsumesmaximumefforttofixanerror?

(c)Codingphase

1.4Whichobjectiveismostdifficulttoachieve?

(c)Executeeverypathofaprogramatleastonce

1.5Softwareerrorsduringcodingareknownas:

(a)Bugs

1.6Thecostoffixinganerroris:

(b)Moreincodingphasethanrequirementsanalysisandspecificationphase

1.7Betatestingisdoneby:

(c)Potentialcustomers

1.8Alphatestingiscarriedoutatthe:

(a)Developer’ssiteinacontrolledenvironment

1.9Thepurposeofacceptancetestingis:

(a)Toperformtestingfromthebusinessperspective

1.10Acceptancetestingisdoneby:

(b)Customers

1.11Programis:

(a)Subsetofsoftware

1.12Whichisnotaninfrastructuresoftware?

(d)ResultManagementSoftware

1.13Softwareshouldhave:

(c)Programs+documentation+operatingprocedures

1.14Conceptsofsoftwaretestingareapplicableto:

(d)Alloftheabove

1.15CASEToolis:

(a)ComputerAidedSoftwareEngineeringTool

1.16Onefaultmayleadto:

(d)Alloftheabove

1.17Testsuiteofaprogramisa:

(c)Setofoutputswithpost_conditions

1.18AlphaandBetatestingtechniquesarerelatedto:

(d)TestingbyCustomer

1.19Testingasoftwareisprimarilyfocusedon:

(c)Verificationandvalidationactivities

1.20Testingasoftwarewithrealdatainrealenvironmentisknownas:

(b)Betatesting

1.21Verificationactivitiesare:

(d)Alloftheabove

1.22Validationactivitiesare:

(a)Dynamicactivitiesandrequireprogramexecution

1.23Whentheoutputofaprogramisdifferentfromtheexpectedoutput,itisknownas:

(c)Afailure

1.24Softwaretestingactivitiesshouldbestarted:

(c)Asearlyaspossibleinthesoftwaredevelopmentlifecycle

1.25Softwaretestingactivitiesareimportantin:

(d)Alloftheabove

1.26Thefocusofacceptancetestingis:

(d)Totestfromtheuser’sperspective

1.27Areliablesoftwareisonewhichis:

(c)Unlikelytocausefailures

1.28Whentostoptestingandreleasethesoftwaretocustomersshouldbedecidedonthebasisof:

(c)Testmetrics

1.29Whatarethegoodsoftwaretestingpractices?

(d)Alloftheabove

1.30Whatisatestcase?

(a)Input(s),expectedoutput(s),pre_condition(s)andpost_condition(s)

1.31Youcannotcontrolwhatyoucannot:

(b)Measure

1.32Whatisthemajorbenefitofverificationsintheearlyphasesofthesoftwaredevelopmentlifecycle?

(b)Itreducesdefectmultiplication

1.33Behaviouralspecificationsarerequiredfor:

(a)Modelling

1.34Which,ingeneral,istheleastexpectedskillofatestingperson?

(a)Diplomatic1.35Debuggingofaprogramis

(b)Theprocessofidentifyingafaultandremovingitfromtheprogram

1.36Allvalidationactivitiescomeunderthecategoryof:

(a)Dynamictesting

1.37Allverificationactivitiescomeunderthecategoryof:

(b)Statictesting

1.38Whichisnotafactorofsoftwarequality?

(d)Functionality

1.39Whichisthemostimportantfactorofsoftwarequality?

(a)Reliability

1.40Qualityassuranceactivitiesconcentrateon

(d)Softwareprocesses

1.41Whichisnotthequalityofatestingperson?

(a)Judgmental

1.42Whatshouldbethebestpossibleobjectivefortesting?

(b)Executeeverypathatleastonce

1.43Whichisnotausermanual?

(c)Sequencediagrams

1.44Whichisnotadocumentationmanual?

(d)Installationguide

1.45Whileisnotthelimitationoftesting?

(b)Availabilityoftestingtools

1.46Howmuchpercentageofcostisgenerallyconsumedinsoftwaretestingwithreferencetosoftwaredevelopmentcost?

(b)40-50

1.47Howmuchtestingisenough?

(a)Noteasytodecide

1.48Ifanexpectedouputisnotspecifiedthen:

(c)Wecannotexecutethetestcase

1.49Whichofthefollwingisareasonforasoftwarefailure?

(b)SoftwareFault

1.50Whyisitimpossibletotestaprogramcompletely?

(a)Inputdomainistoolargetotest

2.1Whatisfunctionaltesting?

(b)Testcasesaredesignedonthebasisoffunctionality,andinternalstructureofthesourcecodeiscompletelyignored.

2.2Whichofthefollowingstatementiscorrect?

(a)Functionaltestingisusefulineveryphaseofthesoftwaredevelopmentlifecycle.

2.3Whichofthefollowingisnotaformoffunctionaltesting?

(c)Dataflowtesting

2.4Functionaltestingisknownas:

(c)BehaviourTesting

2.5Forafunctionof‘n’variables,boundaryvalueanalysisgenerates:

(d)4n+1testcases

2.6Forafunctionof4variables,boundaryvalueanalysisgenerates:

(b)17testcases

2.7Forafunctionof‘n’variables,robustnesstestingyields:

(a)6n+1testcases

2.8Forafunctionof‘n’variables,worstcasetestinggenerates:

(c)5ntestcases

2.9Forafunctionof‘n’variables,robustworstcasetestinggenerates:

(d)7ntestcases

2.10Asoftwareisdesignedtocalculatetaxestobepaidasperdetailsgivenbelow:

(i)UptoRs.40,000:

Taxfree(ii)NextRs.15,000:

10%taxNextRs.65,000:

15%tax

(iii)Abovethisamount:

20%tax

Inputtothesoftwareisthesalaryofanemployee.Whichofthefollowingisavalid

boundaryanalysistestcase?

(a)Rs.40,000

2.11‘x‘isaninputtoaprogramtocalculatethesquareofthegivennumber.Therangeforx’isfrom1to100.Inboundaryvalueanalysis,whicharevalidinputs?

(c)1,2,50,99,100

2.12‘x’isaninputtoaprogramtocalculatethesquareofthegivennumber.Therangeforx’isfrom1to100.isfrom1to100.Inrobustnesstesting,whicharevalidinputs?

(a)0,1,2,50,99,100,101

2.13Functionalityofasoftwareistestedby:

(b)Blackboxtesting

2.14Oneweaknessofboundaryvalueanalysisis:

(b)Itdoesnotexplorecombinationsofinputs

2.15Boundaryvalueanalysistechniqueiseffectivewheninputsare:

(b)Independent

2.16Equivalenceclasstestingisrelatedto:

(c)Functionaltesting

2.17Inaroomair>conditioner,whenthetemperaturereaches28oC,thecoolingisswitchedon.Whenthetemperaturefallstobelow20oC,thecoolingisswitchedoff.Whatistheminimumsetoftestinputvalues(indegreecentigrade)tocoverallequivalenceclasses?

(d)19,24,29

2.18Ifaninputrangeisfrom1to100,identifyvaluesfrominvalidequivalenceclasses.

(a)0,101

2.19Inanexamination,theminimumpassingmarksis50outof100foreachsubject.Identifyvalidequivalenceclassvalues,ifastudentclearstheexaminationofallthreesubjects.

(c)60,65,100

2.20Howmanyminimumtestcasesshouldbeselectedfromanequivalenceclass?

(c)1

2.21Decisiontablesareusedinsituationswhere:

(a)Anactionisinitiatedonthebasisofavaryingsetofconditions

2.22Howmanyportionsareavailableinadecisiontable?

(c)4

2.23Howmanyminimumtestcasesaregeneratedbyacolumnofadecisiontable?

(b)1

2.24Thedecisiontablewhichusesonlybinaryconditionsisknownas:

(a)Limitedentrydecisiontable

2.25Incause>effectgraphingtechnique,causesandeffectsarerelatedto:

(b)Inputsandoutputs

2.26Cause>effectgraphingisoneformof:

(d)Functionaltesting

2.27Whichisnotaconstraintapplicableatthe‘causes’sideinthecause>effectgraphingtechnique?

(c)Masks

2.28Whichisnotabasicnotationusedinacause>effectgraph?

(d)NAND

2.29Whichisthetermusedforfunctionaltesting?

(d)Alloftheabove

2.30Functionaltestingdoesnotinvolve:

(a)Sourcecodeanalysis

3.1Cyclomaticcomplexityisdesignedby:

(a)T.J.McCabe

3.2Cyclomaticcomplexitycanbecalculatedby:

(d)Alloftheabove

3.3ThecyclomaticcomplexityequationV(G)=+1isapplicableonlyifeverypredicatenodehas:

(a)Twooutgoingedges

3.4Cyclomaticcomplexityisequalto:

(b)Numberofindependentpathsinagraph

3.5Anodewithindegree0andoutdegree=0iscalled:

(b)Destinationnode

3.6Anodewithindegree=0andoutdegree0iscalled:

(a)Sourcenode

3.7Anindependentpathis:

(a)Anypaththathasatleastonenewsetofprocessingstatementsornewcondition

3.8DDpathgraphiscalled:

(c)Decisiontodecisionpathgraph

3.9Everynodeinthegraphmatrixisrepresentedby:

(a)Onerowandonecolumn

3.10Thesizeofgraphmatrixis:

(b)Numberofnodesintheflowgraph

3.11Aprogramwithhighcyclomaticcomplexityis:

(c)Difficulttotest

3.12Developersmayhavetotakesometoughdecisionswhenthecyclomaticcomplexityis:

(c)15

3.13Everynodeofaregulargraphhas:

(b)Samedegree

3.14Thesumofentriesofanycolumnofincidencematrixis:

(a)2

3.15Thesumofentriesofanyrowofadjacencymatrixgives:

(a)Degreeofanode

3.16Theadjacencymatrixofadirectedgraph:

(c)Maynotbesymmetric

3.17Lengthofapathisequalto:

(d)Thenumberofedgesinapath

3.18Stronglyconnectedgraphwillalwaysbe:

(a)Weaklyconnected

3.19Asimplegraphhas:

(b)Noloopandaparalleledge

3.20Inadirectedgraph:

(b)Edgesaretheorderedpairsofnodes

4.1Whichisnotastructuraltestingtechnique?

(d)Decisiontablebasedtesting

4.2Whichisastructuraltestingtechnique?

(d)Alloftheabove

4.3Dataflowtestingisrelatedto:

(d)Noneoftheabove

4.4Mutationtestingisrelatedto:

(a)Faultseeding

4.5Mutationscoredoesnotindicateanythingabout:

(a)Sizeofatestsuite

4.6100%statementcoverageandbranchcoveragemeans

(c)Everystatementandeverybranchhasbeentested

4.7Howmanytestcasesarerequiredfor100%statementandbranchcoverageofthefollowingsourcecode?

(c)2testcaseforstatementcoverage,2forbranchcoverage.

4.8Whichofthefollowingstatementsabouttherelationshipofstatementcoverageanddecisioncoverageiscorrect?

(b)100%decisioncoverageme

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 医药卫生 > 基础医学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1