If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ; A. 1 B. 2 C. 3 D. 4
1 5088Using the same code example as question 17,how many tests are required to achieve 100% branch/decision coverage? A. 1 B. 2 C. 3 D. 4
1 2230This part of a program is given: WHILE (condition A) Do B END WHILE How many decisions should be tested in this code in order to achieve 100% decision coverage? A. 2 B. Indefinite C. 1 D. 4
1 12070Analyze the following highly simplified procedure: Ask: "What type of ticket do you require, single or return?" IF the customer wants ‘return’ Ask: "What rate, Standard or Cheap-day?" IF the customer replies ‘Cheap-day’ Say: "That will be £11:20" ELSE Say: "That will be £19:50" ENDIF ELSE Say: "That will be £9:75" ENDIF 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. A. 3 B. 4 C. 5 D. 6
1 6714For the following piece of code, how many test cases are needed to get 100% statement coverage? Procedure X Read (Color) // Input color from user IF (Color == “Red”) THEN Call Roses(Color) ELSEIF (Color == “Blue”) THEN Call Violets(Color) ELSE PRINT “User is no Shakespeare” SaveToDatabase(Color) End Procedure X A. 5 B. 3 C. 1 D. 2
1 3597Post New ISTQB Interview Questions
What is the maximum size of csv file?
hi friends ... i have insurance project(informatica),can you please tell me how many table and mappings we need to use?and explain me.. thank you
I am using submission of two ct in one and half scheme for 67/67N protection. Both CTs star point is grounded separately near ct box.Will two point ground give wrong tripping to 67/67N during fault or no matter.
Is mysql easy to learn?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
Give the advantages of cognos?
Do you have any experience in other industry other than sales?
How can we call child component controller method from the parent component controller method? : salesforce lightning component
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field and so on. how we can handle this scenerio thru Descriptive programming?
Are rar files safe?
pl. send me jr.engg.model question for rrb malda.
What is the difference between save and save?
What is border in ms word?
Briefly explain various access specifiers in C++.
Define what happens to the conductivity of semiconductor with the rise in temperature? Compare with the conductivity of metals.