Minimum Test Required for Statement Coverage :-
Disc = 0
Order-qty = 0
Read Order-qty
If Order-qty >=20 then
Disc = 0.05
If Order-qty >=100 then
Disc =0.1
End if
End if
a) Statement coverage is 4
b) Statement coverage is 1

1 Answer

Answer :

b) Statement coverage is 1

Related questions

Description : Minimum Tests Required for Statement Coverage and Branch Coverage :- Read P Read Q If p+q > 100 thenPrint Large End if If p > 50 then Print pLarge End if a) Statement coverage is 2, Branch ... c) Statement coverage is 1 and branch coverage is 2 d) Statement Coverage is 4 and Branch coverage is 2

Last Answer : c) Statement coverage is 1 and branch coverage is 2

Description : A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ... A. 5, 6, 20 B. 4, 5, 80C. 4, 5, 99 D. 1, 20, 100

Last Answer : C. 0, 1,10,11, 50, 51, 75, 76,100,101

Description : Coverage based analysis is best described as: A. A metric used to show the logic covered during a test session providing insight to the extent of testing. B. A tool for documenting the unique ... their status through to resolution. D. The most traditional means for analyzing a system or a program

Last Answer : A. A metric used to show the logic covered during a test session providing insight to the extent of testing.

Description : Exit Criteria may consist of :- i. Thoroughness measures , such as coverage of code, functionality or risk ii. Estimates of Defect density or reliability measures. iii. Residual risk such as defects not fixed or ... correct and i,ii,iii are incorrect d) iii and iv are correct and i,ii are incorrect

Last Answer : b) i,ii,iii is correct and iv is incorrect

Description : Suggest an alternative for requirement traceability matrix A. Test Coverage matrix B. Average defect aging C. Test Effectiveness D. Error discovery rate

Last Answer : A. Test Coverage matrix

Description : Decision to stop testing should be based upon A. Successful use of specific test case design methodologies B. A percentage of coverage for each coverage category C. Rate of error detection falls below a specified threshold D. All of the above

Last Answer : D. All of the above

Description : Which document helps you to track test coverage? A. Traceability Matrix B. Test plan C. Test log

Last Answer : A. Traceability Matrix

Description : Consider the following statements: i. 100% statement coverage guarantees 100% branch coverage. ii. 100% branch coverage guarantees 100% statement coverage. iii. 100% branch coverage guarantees 100% decision coverage. iv. 100% decision ... & v are False d) ii, iii & iv are True; i & v are False

Last Answer : d) ii, iii & iv are True; i & v are False

Description : Path coverage includes A. Statement coverage B. Condition coverage C. Decision coverage D. None of the above

Last Answer : C. Decision coverage

Description : f the temperature falls below 18 degrees, the heating is switched on. When the temperature reaches 21 degrees, the heating is switched off. What is the minimum set of test input values to cover all valid equivalence ... 17, 18, 20 and 21 degrees C. 18, 20 and 22 degrees D. 16 and 26 degrees

Last Answer : A. 15, 19 and 25 degrees

Description : Which technique can be used to achieve input and output coverage? It can be applied to human input, input via interfaces to a system, or interface parameters in integration testing. A. Error Guessing B. Boundary Value Analysis C. Decision Table testing D. Equivalence partitioning

Last Answer : D. Equivalence partitioning

Description : Which technique can be used to achieve input and output coverage? It can be applied to human input, input via interfaces to a system, or interface parameters in integration testing. a) Error Guessing b) Boundary Value Analysis c) Decision Table testing d) Equivalence partitioning

Last Answer : d) Equivalence partitioning

Description : Assume postal rates for 'light letters' are: $0.25 up to 10 grams; $0.35 up to 50 grams; $0.45 up to 75 grams; $0.55 up to 100 grams. Which test inputs (in grams) would be selected using boundary value analysis? A. 0, 9,19, ... C. 0, 1,10,11, 50, 51, 75, 76,100,101 D. 25, 26, 35, 36, 45, 46, 55, 56

Last Answer : C. 0, 1,10,11, 50, 51, 75, 76,100,101

Description : . One of the more daunting challenges of managing a test project is that so many dependencies converge at test execution. One missing configuration file or hard ware device can render all your test results ... incident? A. Test managers faults only B. Test lead faults only C. Test manager and proj

Last Answer : A. Test managers faults only

Description : Acceptance tests are normally conducted by the A. Developer B. End usersC. Test team D. Systems engineers

Last Answer : B. End users

Description : Acceptance testing means A. Testing performed on a single stand - alone module or unit of code B. Testing after changes have been made to ensure that no unwanted changes were introduced C. ... the needs of the organization and end user. D. Users test the application in the developers environment

Last Answer : C. Testing to ensure that the system meets the needs of the organization and end user.

Description : Which testing methods are used by end-users who actually test software before they use it? A. Alpha & Beta Testing B. White Box Testing C. Black Box Testing D. Trial & Error Testing

Last Answer : A. Alpha & Beta Testing

Description : In a Examination a candidate has to score minimum of 24 marks inorder to clear the exam. The maximum that he can score is 40 marks. Identify the Valid Equivalance values if the student clears the exam. A. 22,23,26 B. 21,39,40 C. 29,30,31 D. 0,15,22

Last Answer : C. 29,30,31

Description : What are the four attributes to be present in any test problem?A. Statement, criteria, effect and cause B. Priority, fix, schedule and report C. Statement, fix effect and report D. None of the above.

Last Answer : A. Statement, criteria, effect and cause

Description : The following defines the statement of what the tester is expected to accomplish or validate during testing activity A. Test scope B. Test objective C. Test environment D. None of the above

Last Answer : B. Test objective

Description : ‘X’ has given a data on a person age, which should be between 1 to 99. Using BVA which is the appropriate one A. 0,1,2,99 B. 1, 99, 100, 98 C. 0, 1, 99, 100 D. –1, 0, 1, 99

Last Answer : C. 0, 1, 99, 100

Description : Find the Equivalence class for the following test case Enter a number to test the validity of being accepting the numbers between 1 and 99 A. All numbers < 1 B. All numbers > 99 C. Number = 0 D. All numbers between 1 and 99

Last Answer : D. All numbers between 1 and 99

Description : Range of accelerating factor is a) 50 to 100 b) 1.3 to 1.7 c) 1 to 10 d) 10.8 to 11.2

Last Answer : b) 1.3 to 1.7

Description : When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as: A. Equivalence partitioning B. Boundary value analysis C. Decision table D. Hybrid analysis

Last Answer : A. Equivalence partitioning

Description : When testing a grade calculation system, a tester determines that all scores from 90 to 100 will yield a grade of A, but scores below 90 will not. This analysis is known as: A. Equivalence partitioning B. Boundary value analysis C. Decision table D. Hybrid analysis

Last Answer : B. Boundary value analysis

Description : Functional system testing is: a) testing that the system functions with other systems b) testing that the components that comprise the system function together c) testing the end to end functionality of the system as a whole d) testing the system performs functions within specified response times

Last Answer : c) testing the end to end functionality of the system as a whole

Description : Identify which one is a load condition A. Lost messages B. Task starts before its prerequisites are met. C. Lost or out of sync messages D. Early end of string

Last Answer : A. Lost messages

Description : In case of Large Systems :- a) Only few tests should be run b) Testing should be on the basis of Risk c) Only Good Test Cases should be executed. d) Test Cases written by good test engineers should be executed.

Last Answer : b) Testing should be on the basis of Risk

Description : Which of the following helps in monitoring the Test Progress:- i. Percentage of Test Case Execution ii. Percentage of work done in test environment preparation. iii. Defect Information e.g. defect density, ... ii,iii are correct and iv is incorrect c) i,ii are correct and iii,iv are incorrect

Last Answer : b) i,ii,iii are correct and iv is incorrect

Description : Drivers are also known as: i. Spade ii. Test harness iii. Scaffolding a) i , ii are true and iii is false b) i , iii are true and ii is false

Last Answer : c) ii , iii are true and i is false

Description : Which of the following is a part of Test Closure Activities? i. Checking which planned deliverables have been delivered ii. Defect report analysis. iii. Finalizing and archiving testware. iv. Analyzing lessons. a) i , ii , ... false c) i , iii , iv are true and ii is false d) All of above are true

Last Answer : c) i , iii , iv are true and ii is false

Description : Which of the following is the task of a Test Lead / Leader: i. Interaction with the Test Tool Vendor to identify best ways to leverage test tool on the project. ii. Write Test Summary Reports based on the ... is true and ii,iii,iv are false d) iii and iv is correct and i and ii are incorrect

Last Answer : a) i, ii, iii is true and iv is false

Description : The structure of an incident report is covered in the Standard for Software Test Documentation IEEE 829 and is called as : - a) Anomaly Report b) Defect Report c) Test Defect Report d) Test Incident Report

Last Answer : a) Anomaly Report

Description : Benefits of Independent Testing a) Independent testers are much more qualified than Developers b) Independent testers see other and different defects and are unbiased. c) Independent Testers cannot identify defects. d) Independent Testers can test better than developers

Last Answer : b) Independent testers see other and different defects and are unbiased.

Description : Test Conditions are derived from :- a) Specifications b) Test Cases c) Test Data d) Test Design

Last Answer : a) Specifications

Description : Which of the following is not phase of the Fundamental Test Process? a) Test Planning and Control b) Test implementation and Execution c) Requirement Analysis d) Evaluating Exit criteria and reporting

Last Answer : c) Requirement Analysis

Description : Impact Analysis helps to decide :- a) How much regression testing should be done. b) Exit Criteria c) How many more test cases need to written. d) Different Tools to perform Regression Testing

Last Answer : a) How much regression testing should be done.

Description : What is the expected result for each of the following test cases? A. Citibank card member, holding a Silver room B. Non Citibank-member, holding a Platinum room a) A - Don't offer any upgrade, B - Don't ... , B - Offer upgrade to Silver. d) A - Offer upgrade to Gold, B - Don't offer any upgrade

Last Answer : d) A – Offer upgrade to Gold, B – Don’t offer any upgrade

Description : We use the output of the requirement analysis, the requirement specification as the input for writing :- a) User Acceptance Test Cases b) Integration Level Test Cases c) Unit Level Test Cases d) Program specifications

Last Answer : a) User Acceptance Test Cases

Description : Which of the following has highest level of independence in which test cases are : a) Designed by persons who write the software under test b) Designed by a person from a different sectionc) Designed by a person from a different organization d) Designed by another person

Last Answer : c) Designed by a person from a different organization

Description : Evaluating testability of the requirements and system are a part of which phase:- a) Test Analysis and Design b) Test Planning and control c) Test Implementation and execution d) Evaluating ... text box which accepts alphabets in lower or upper case. Identify the invalid Equivalence class value.

Last Answer : a) Test Analysis and Design

Description : Test charters are used in ________ testingA. Exploratory testing B. Usability testing C. Component testing D. Maintainability testing

Last Answer : A. Exploratory testing

Description : System test can begin when? I. The test team competes a three day smoke test and reports on the results to the system test phase entry meeting II. The development team provides software to the test team 3 business days prior ... . I and II only B. II and III only C. I and III only D. I, II and III

Last Answer : D. I, II and III

Description : There is one application, which runs on a single terminal. There is another application that works on multiple terminals. What are the test techniques you will use on the second application that ... B. Concurrency test, Scalability C. Update & Rollback, Response time D. Concurrency test, Integrity

Last Answer : C. Update & Rollback, Response time

Description : “The tracing of requirements for a test level through the layers of a test documentation” done by A. Horizontal tracebility B. Depth tracebility C. Vertical tracebility D. Horizontal & Vertical tracebilities

Last Answer : A. Horizontal tracebility

Description : A test harness is a A. A high level document describing the principles, approach and major objectives of the organization regarding testing B. A distance set of test activities collected into a manageable phase ... conduct a test D. A set of several test cases for a component or system under test

Last Answer : C. A test environment comprised of stubs and drives needed to conduct a test