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 6026Using 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 2956This 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 13366Analyze 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 7849For 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 4485Post New ISTQB Interview Questions
We are running an educational institution in Karnataka,India. Is there any ceiling stating that if gross salary is upto this then only incentive or bonus can be paid?
The Tabula Manufacturing Company has been in business for one month. At the end of month the company had the following accounts: Materials used K 5 000.00 Direct labour 10 000.00 Indirect labour 3 000.00 Indirect materials 2 000.00 Labour fringe benefits 1 000.00 Supervisor’s salary 1 000.00 Depreciation Machinery 2 000.00 Miscellaneous factory overhead 1 000.00 Heat and light 500.00 Insurance on plant 1 500.00 The company processed two jobs during the month with costs as follows: Job 101 Job 102 Materials cost K3 000.00 K2 000.00 Direct labour cost K6 000.00 K4 000.00 Direct labour hours 4 000.00 3 000.00 Machine hours 2 000.00 1 000.00 The company does not use a predetermined rate for factory overhead. The rate is computed at the end of each month. Required Use both the direct labour hours and machine hours to compute: 1) The overhead rates for the month (5 pts) 2) The overhead cost for each job (5pts) 3) The total cost for each job (10 pts) 4) Briefly describe the difference between Job order and process costing, citing relevant examples (5 pts).
What are Isolate objects with holes?
Define what software do you need to run a cucumber web test?
How do I change the page layout in word?
What is meta learning?
Explain the meaning of perl one-liner?
Can you please explain the difference between javascript and jquery? : jquery mobile
What are the two different ways of building a match code object? : abap data dictionary
How do you comment and uncomment in visual studio?
Where do you put the oil in a compressor?
What is a database lookup?
What is the difference between wpf and xaml?
What to do if windows is not starting?
What are the challenges Of Distributed Applications?