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 6158Using 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 3065This 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 13533Analyze 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 7983For 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 4625Post New ISTQB Interview Questions
Tell me about a time when you failed to meet a deadline. What were the repercussions?
What is line item display? : fi- general ledger accounting
What is the diff bet plan,package,dbrm?
Why purity angle should be less than purity threshold in peak purity
Cos-1 vs. Cos-7 Which cell line will give a higher protein yield?
which cable is used for 15 Hp monoblock pump 3phase and service wire Distance is 210 feet please tell me cable size Armaured
What do you do if windows update is stuck?
Tell me is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is if function in excel?
Define ieee in networking world?
Which is better sqlite or mysql?
what is the command to interpolate two objects in d3.js?
what kind of system requirement is needed to run tm1 for a small installation?
Match the following a)(X'+Y') b)X'Y' C)XY 1)NAND 2)NOR 3)Carry
You are a project manager working on contract. You’ve performed earned value analysis and discovered that the project will be completed on time and under the original estimated amount. This means the profit to your company will decrease as will your personal bonus. Which of the following should you do? A. Add activities to the project to increase the cost enough to meet the original estimated amount. B. Tell the customer you're adding additional requirements to the project chat were originally cut because of cost constraints. C. Inform the customer that the project is completed and has come in under budget. D. Bill the customer for the full amount of the contract as this was the original agreed-upon price.