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 6076Using 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 3001This 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 13423Analyze 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 7896For 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 4549Post New ISTQB Interview Questions
Can we test apis or web services using selenium webdriver?
While finalizing the current year’s profit, the company realized that there was an error in the valuation of closing stock of the previous year. In the previous year, closing stock was valued more by Rs.50,000. As a result (a) Previous year’s profit is overstated and current year’s profit is also overstated (b) Previous year’s profit is understated and current year’s profit is overstated (c) Previous year’s profit is understated and current year’s profit is also understated (d) Previous year’s profit is overstated and current year’s profit is understated
What is an alias in tableau?
How will you get more details on data source and delta modes?
Is a diesel engines maximum rpm limited by the diesel burn rate?
What is dos copy command?
What is an instancetype?
Layers of atmosphere inversion of temperature is noticed in toposphere or in statosphere ?
What is the function func_num_args() used for?
what is the difference between dialogs and workflow?
my extract was running fine for a long time. All of a sudden it went down. I started the extract processes after 1 hour. What will happen to my committed transactions that occurred in the database during last 1 hour?
What is the hardest programming language?
How to validate if the bean was initialized using valid values?
What are the different components of a Hive query processor?
Write a shell program. Enter number of days from keyboard. Find out the number of years, month and days it contains