The following code segment contains a potential "divide by 0"
error.J=50,K=1while (N>=−10) and (N<=10) loop M [K] = J/N K = K + N = N end loop Which of the following is the
most effective way of− 1 1 detecting this error? A. Boundary testing B. Condition testing C.
Compilation of the source code D. Source code inspection

1 Answer

Answer :

D. Source code inspection

Related questions

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 : Which of the following techniques is NOT a black box technique? a) State transition testing b) LCSAJ (Linear Code Sequence and Jump) c) syntax testing d) boundary value analysis

Last Answer : b) LCSAJ (Linear Code Sequence and Jump)

Description : An input field takes the year of birth between 1900 and 2004 The boundary values for testing this field are A. 0,1900,2004,2005 B. 1900, 2004 C. 1899,1900,2004,2005 D. 1899, 1900, 1901,2003,2004,2005

Last Answer : C. 1899,1900,2004,2005

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 : 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 : Which of the following is true about White and Black Box Testing Technique:- a) Equivalance partitioning, Decision Table and Control flow are White box Testing Techniques. b) Equivalence partitioning ... , State Transition , Use Case Testing and Decision Table are White Box Testing Techniques.

Last Answer : c) Equivalence partitioning , State Transition , Use Case Testing are black box Testing Techniques.

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 : 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 : Testing error messages fall under _________category of testing. A. Incremental Testing B. Thread Testing C. Documentation Testing D. Stress Testing

Last Answer : C. Documentation Testing

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 : Match every stage of the software Development Life cycle with the Testing Life cycle: i. Hi-level design a Unit tests ii. Code b Acceptance tests iii. Low-level design c System tests iv. Business requirements d Integration tests a) i-d , ii ... i-b , ii-a , iii-d , iv-c d) i-c , ii-a , iii-d , iv-b

Last Answer : d) i-c , ii-a , iii-d , iv-b

Description : The selection of test cases for regression testing A. Requires knowledge on the bug fixes and how it affect the system B. Includes the area of frequent defects C. Includes the area which has undergone many/recent code changes D. All of the above

Last Answer : D. All of the above

Description : Software testing activities should start A. As soon as the code is written B. During the design stage C. When the requirements have been formally documented D. As soon as possible in the development lifecycle

Last Answer : C. When the requirements have been formally documented

Description : Verification performed without any executable code is referred to as A. Review B. Static testing C. Validation D. Sanity testing

Last Answer : B. Static testing

Description : Let G(x) be the generator polynomial used for CRC checking. What is the condition that should be satisfied by G(x) to detect odd number of bits in error? a. G(x) contains more than two terms b. G(x) does ... exceeding the frame length c. 1+x is a factor of G(x) d. G(x) has an odd number of terms

Last Answer : c. 1+x is a factor of G(x)

Description : Peer Reviews are also called as :- a) Inspection b) Walkthroughc) Technical Review d) Formal Review

Last Answer : Technical Review

Description : . Consider the above state transition diagram of a switch.Which of the following represents an invalid state transition? a) OFF to ON b) ON to OFF c) FAULT to ON Q15. Peer Reviews are also called as :- a) Inspection b) Walkthrough

Last Answer : c) FAULT to ON

Description : ‘Be bugging’ is known as A. Preventing the defects by inspection B. Fixing the defects by debugging C. Adding known defects by seeding D. A process of fixing the defects by tester

Last Answer : C. Adding known defects by seeding

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 : One technique of Black Box testing is Equivalence Partitioning. In a programstatement that accepts only one choice from among 10 possible choices,numbered 1 through 10, the middle partition would be from _____ to _____ a) 4 to 6 b) 0 to 10 c) 1 to 10 d) None of the above

Last Answer : c) 1 to 10

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 a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed ... of these is a valid Boundary Value Analysis test case? A. £28000. B. £33501. C. £32001. D. £1500

Last Answer : B. £33501.

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 : Test data planning essentially includes A. Network B. Operational Model C. Boundary value analysis D. Test Procedure Planning

Last Answer : C. Boundary value analysis

Description : Sources of regression test cases are A. Boundary tests and other pre planned tests. B. Tests that reveal bugs in the program C. Customer reported bugs D. All of the above

Last Answer : D. All of the above

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 : 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 : Which of the following is not a type of incremental testing approach? a) Top down b) Big-bang c) Bottom up d) Functional incrementation.

Last Answer : b) Big-bang

Description : Which of the following will be the best definition for Testing :- a) The goal / purpose of testing is to demonstrate that the program works. b) The purpose of testing is to demonstrate that the ... does what it is supposed to do. d) Testing is executing Software for the purpose of finding defects.

Last Answer : d) Testing is executing Software for the purpose of finding defects.

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 : 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 : Regression testing should be performed: i. every week ii. after the software has changed iii. as often as possible iv. when the environment has changed v. when the project manager says a) i & ii are true, iii, iv & v are ... iv are true, i, iii & v are false d) ii is true, i, iii, iv & v are false

Last Answer : c) ii & iv are true, i, iii & v are false

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 : Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or ... software component: a) Re Testing b) Confirmation Testing c) Regression Testing d) Negative Testing

Last Answer : c) Regression Testing

Description : Which of the following uses Impact Analysis most? a) Component testing b) Non-functional system testing c) User acceptance testing d) Maintenance testing

Last Answer : d) Maintenance testing

Description : Deciding how much testing is enough should take into account:- i. Level of Risk including Technical and Business product and project risk ii. Project constraints such as time and budget iii. Size of Testing Team iv. Size ... ii are true and iii, iv are false d) ii, iii, iv are true and i is false

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

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 : Big bang approach is related to A. Regression testing B. Inter system testingC. Re-testing D. Integration testing

Last Answer : D. Integration testing

Description : Testing of software used to convert data from existing systems for use in replacement systems A. Data driven testing B. Migration testing C. Configuration testing D. Back to back testing

Last Answer : B. Migration testing

Description : In practice, which Life Cycle model may have more, fewer or different levels of development and testing, depending on the project and the software product. For example, there may be component integration testing ... after system testing. A. Water Fall Model B.V-Model C. Spiral Model D. RAD Model

Last Answer : B.V-Model

Description : A type of integration testing in which software elements, hardware elements, or both are combined all at once into a component or an overall system, rather than in stages. A. System Testing B. Big-Bang Testing C. Integration Testing D. Unit Testing

Last Answer : B. Big-Bang Testing

Description : A type of integration testing in which software elements, hardware elements, or both are combined all at once into a component or an overall system, rather than in stages. A. System Testing B. Big-Bang Testing C. Integration Testing D. Unit Testing

Last Answer : B. Check the technical accuracy of the document

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