You are on page 1of 8

Some of the customers have suggested that the number of defects found in the sof tware that was

delivered to them is unacceptable for future release. You have a concern that the test effectiveness is poor. What measurements could you use to evaluate your current test effectiveness? 1. Time spent in test planning 2. Number of test cases executed 3. Number of defects found 4. Number of requirements covered 5. Defect density 1. 2. 3. 4. 1 and 5 1, 3 and 6 2, 3 and 4 2 and 5

Which of the following tasks is NOT part of system testing? 1. 2. 3. 4. Ans: 2 Which of the following can be automated? 1. 2. 3. 4. Test Test Test Test planning strategy case design reporting Testing Testing Testing Testing functionality seen by end users interaction between components performance of the system system security

Ans: ---4 If a feature has 3 inputs and each input has values as given below, then how man y TC's can be designed by using orthogonal array? Input i1 -> A, B, C & D (4 values) Input i2 -> X, Y & Z (3 values) Input i3 -> P, Q (2 values) 1. 2. 3. 4. Ans: 4 An input field accepts a number in the range 1000-2000 and 4000-5000. Boundaries are inclusive. How many equivalence partitions can be made for testing such a f ield. Input field accepts positive numbers only. 1. 2. 3. 4. 6 5 4 3 9 12 15 24

Which of the following options is most approprate to get test automation in plac e early in the product development life cycle.

1. Analyze the requirements & test cases and identify test cases which can be automated early 2. Work with the development team to derive a set of programming guidelines to facilitate automation, complying to design for testability requirements 3. Writing automation code without having the application 4. Building the data sets for automation early Cost of quality divided into cost associated with prevention, appraisal, and fai lure. Which of the following be considered as appraisal costs? 1. All testing costs and the costs of everything else the company does to l ook for errors. 2. Everything the company spends to prevent software and documentation erro rs. 3. All costs of coping with errors discovered during development and testin g. 4. All costs of coping with errors discovered, typically by your customers, after the product is released. The activity of checking how well an application is able to get out gracefully f rom crashes, hardware failures and related problems, is 1. 2. 3. 4. 5. Reliability testing Configuration testing Recovery testing Compatibility testing Stress testing

Ans: 3 (Recovery testing) Which of the following stands for negative test ? 1. 2. 3. 4. Ans: 3 For a field that accepts only odd numbers in the range 11-99, which of the follo wing represents cases that are generated with BVA method. 1. 2. 3. 4. 9, 11, 99, 101 10, 11, 99, 100 9, 11, 13, 97, 99, 101 10, 11, 12, 98, 99, 100 An unsuccessful test case An unsuccessful communication of a new system A test case checking the robustness of the system A test case checking the user understanding in difficult situations

Assume that you are designing test cases for a UI dialog which accepts the follo wing 2 inputs. A. An input box that accepts only integers of length 2. Valid range for the inte ger 18-55. B. A check box What is the maximum number of test cases that you would come up with? Assume tha t you are using BVA technique for the integer input box. 1. 2. 3. 4. 6 12 24 3

Given the following sets of test management terms (v-z), and activity descriptio ns (1-5), which one of the following best pairs the two sets? v w x y z 1 2 3 4 5 1. 2. 3. 4. - Test control -Test monitoring - Test estimation - Incident management - Configuration management Calculation of required test resources Maintenance of record of test results Re-allocation of resources when tests overrun Report on deviation from test plan Tracking of anomalous test results v-3,w-4,x-1,y-5,z-2 v-3,w-2,x-1,y-5,z-4 v-2,w-5,x-1,y-4,z-3 v-2,w-1,x-4,y-3,z-5

Which of the following are correct with respect to techinical risks associated w ith a product? 1) Risks are used to decide what to test early. 2) Risks are used to decide about the tool support for the test. 3) Risks are used to decide the extent of testing.. 4) Risks are used to determine the test techniques to be used 1. 2. 3. 4. 1, 3 are true, 2 & 4 are false 1, 2, are true, 3 &4 are false 1, 3, 4 are true, 2 is false All are true

Which of the following is likely to benefit most from the use of test tools prov iding capture and replay facilities? 1. 2. 3. 4. Regression testing Integration testing System testing User acceptance testing

Which of the following is most important feature expected from a protocol stack software inorder to facilitate test automation? 1. 2. 3. 4. Ability Ability Ability Ability to log all module states transition events to inject and log peer protocol messages log all protocol errors to set the various protocol modules in pre-defined states

PICS-Stmt: Based on the PICS Statement given above, For testing reception of MT SMS (over C s-connection) during an active packet data connection, which PICS combination ne eds to be supported? 1. 2. 3. 4. B, F F, G A, B, F, G G

Based on the PICS Statement given above, If we have to create a test plan for MT

SMS, which of the PICS we need to see? 1. 2. 3. 4. B B, D, G B,C,D,E,G,H All of the PICS items

Based the PICS change, indicated above, the most appropriate approach at system testing will be: 1. To retest all the existing SMS tests, over Packet service. 2. Add a few cases, to test only SMS service works over Packet service. Res t everything remains same anyway. 3. Add the tests for all the affected and newly added interfaces 4. Retest representative cases from existing SMS test, add few cases for ex clusive testing on SMS over packet service. Redo all the Stability and performan ce cases. In the above problem, if we decide to re-use the existing SMS test cases to arri ve at the PS SMS cases, which is the most appropriate option to take among the f ollowing. 1. Copy and modify the CS SMS scripts to take care of PS cases, and maintai n 2 sets of scripts 2. Modify all the CS scripts take care of PS case as well 3. Create 3 sets of test cases from existing a) A set of cases common for P S and CS, parameterized with service type, b) cases specific to CS domain, c) ca ses specific to PS domain 4. None of the above Bug-State-Machine: According to the state diagram above, what is minimum set of states, a bug can g o through 1. 2. 3. 4. 1 2 3 0

As per the above state diagram, what is % transition coverage offered by the eve nt sequence New, Approved, Fixed, Verified. 1. 2. 3. 4. 22% 23.5% 50% 57%

According to the state machine above what is the maximum length path a bug can t ake? 1. 2. 3. 4. 13 18 7 Can not say, a much larger number

How many state transitions are represented in the state diagram above? 1. 8

2. 3. 4.

18 17 7

Which of the following is an impossible states sequence for a bug as per this di agram 1. 2. 3. 4. Proposed, Closed Proposed, Active, Resolved, Closed Proposed Active, Resolved, Active, Closed Proposed, Active, Proposed, Closed

What do you infer by a metric like 0.25 defects found per test case in the first round of test cases executed? 1. 2. 3. 4. The designed test cases are not effective Testing is not done by experienced people This helps to understand the effectiveness of test case Product will have total of 250 defects if there are 1000 test cases

Beta testing is 1. Performed by a limited group of people outside the development/testing t eam in their own environment 2. Performed by customers at developers site 3. Performed by an independent testing team at customer location 4. Performed before system testing at developers site Ans : Performed by a limited group of people outside the development/testing tea m in their own environment Which of the following can be considered true for Scripting language, when compa red to a programming language? 1. 2. 3. 4. Scripting languages have rich string processing features Scripts developed from scripting language execute at higher speed Performing complex tasks needs relatively more steps/lines of code Takes more time to develop and check the code

Ans : Scripting languages have rich string processing features A name field which is supposed to accept alphabetic strings of length 4-10 (both inclusive). The only non-alphabetic character that is allowed is space. Which o f the following covers the needed boundary values? 1. 2. 3. 4. dan, dan, dan, dan, mark, mark, mark, mark, harsha lissy, lissy, harsha roy, harsha bedi harsha de, harsha roy, harsha bedi, 123a, #$abcd1234 harsha de, harsha roy, harsha bedi roy, harsha bedi,123a, #$abcd1234

Ans: dan, mark, harsha roy, harsha bedi,123a, #$abcd1234 In an organization, regression test time planned VS actual is a challenge to ach ieve in any project. Your recommended steps to address the following: 1. Automate execution of critical use cases 2. Regress only the components where changes were made in code 3. Understand the dependency and choose the right regression test cases to be ex ecuted 4. Always add 20% more effort as buffer to regression test

1. 2. 3. 4.

1 1 2 2

and and and and

2 3 4 3

Ans: 2 and 3 Which of the following can be treated as inspection effectiveness? 1. Critical defects found during inspection 2. Number of defects found post inspection 3. Number of defects found in the later stages of inspection 4. Number of defects found during inspection versus other evaluation methods 1. 2. 3. 4. 1, 1, 2, 1, 2 3 3 2 and and and and 3 4 4 4

Ans: 1, 2 and 4 (my perception) Which of the following metrics that shall be collected to measure Test effective ness? 1. 2. d errors 3. 4. Number of high severity bugs found during the test cycle Weighted sum of errors reported by testers/Weighted sum of total reporte Ratio of Testing effort vis--vis development effort Number of test cycles executed before release

Ans : Weighted sum of errors reported by testers/Weighted sum of total reported errors Organization had analyzed defects data for several projects and set a goal of 8 defects per KLOC as defect density metric for this year while defining quality o bjectives. Project under discussion showed the defect density measure has 5.5 de fects per KLOC when about to release. Which can fit the nearest inference? 1. We must stop the release as goal is not met 2. Verify whether the project has lot of reuse of stable code and just few enhancement code in it 3. Organization has to reset the goal from now on 4. Testing not done as per plan

The program starts with an introductory menu. When select an option, the program changes and displays a new menu. What technique should be applied to test this scenario? 1. 2. 3. 4. Decision table technique Exhaustive technique State transitions technique None of the above

Ans : State transitions technique (as they gave cause and effect we can opt both Decision table technique and State transitions technique ) In a real time system that is being developed it is suspected that - integrity o f the data is not handled and timing requirements are not met. Which of the foll owing types of testing will uncover the above issues?

1. Load testing 2. Stress testing 3. Functional testing 1. 2. 3. 4. 1 and 3 2 & 3 1, 2, 3 3

Ans: 2. 2 & 3 (my understanding is that load testing is basically concern about time & data) While designing test cases to test a state machine implementation, what is most appropriate objective that you would set? 1. 100% state coverage 2. 100% transition coverage 3. 100% state coverage and exhaustive error events that are not in the stat e machine diagram 4. 100% transition coverage and exhaustive error events that are not in the state machine diagram Ans : 100% transition coverage and exhaustive error events that are not in the s tate machine diagram (my understanding if there is more state in the state mod el testing, then the appropriate objective is state trasition) Below graph shows defects report of a particular project w.r.t open and fixed ag ainst time. Which of the following could be the inference from the graph?

1. 2. 3. 4. ing

Project Project Project Project

quality quality quality quality

level level level level

is is is is

not changing slightly improving deteriorating going out of control as fixed defects are reduc

Ans : Graph is missing :-) There are 1000 TC's which takes 30 elapsed days for execution in a test cycle fo r a product. The customer wants to make a quick release within 15 days of time. On what basis do you choose the TC's for execution? I. Select a representative test suite for each feature II. Select test cases based on the defects uncovered in earlier test build / rel ease III. Choose TC's of those features which are very important to the success of th e customer's business IV. Choose TC's of those features which pose high risk to the product success 1. 2. 3. 4. Ans : 1. I, II, IV III and IV II II and III I, II, IV, It is my perception

To derive test cases for an input which accepts strings as per the following rul es, which testing technique is most appropriate? 1. The length of the string should be between 4-10 char 2. Only allowed characters are [a-z][A-Z] and space 1. 2. 3. 4. Equivalence partitioning Exhaustive method Boundary value analysis Orthogonal array

Ans : Exhaustive Method , as we have to test each and every character or else we can go for Orthogonal Array Cost of quality divided into cost associated with prevention, appraisal, and fai lure. Which one among the choices given belongs to failure cost? 1. 2. 3. 4. Repair Testing In process inspection Formal technical review

Ans : Repair Automation of i18N applications can be achieved by which of the following approa ches? 1. Maintaining different sets of test libraries & test scripts for differen t languages 2. Have a single test library, single set of scripts which work with extern al test data in multiple languages 3. Maintaining the test scripts for a language and translating the scripts to other languages as when needed 4. Using special tool sets for automating non-english languages Ans : Maintaining the test scripts for a language and translating the scripts to other languages as when needed

You might also like