You are on page 1of 7

Testing Questions: 1.Where may functional testing be performed? At All levels of testing. 2.

The difference between an inspection and a walkthrough? An inspection is led by a moderator and a walkthrough is led by the author. 3.Which defines the expected results of a test? Test case specification. 4.What is beta testing? Testing performed by potential customers at their own locations. 5.When should configuration management procedures be implemented? During test planning. 6.What is the KEY difference between preventative and reactive approaches to testing? Preventative tests are designed early; reactive tests are designed after the software has been produced. 7.IEEE 829 test plan documentation standard contains all of the following except: test specification 8.Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries: 10000, 50000, 99999 9.A thermometer measures temperature in whole degrees only. If the temperature falls below 18 degrees, the heating is switched off. It is switched on again when the temperature reaches 21 degrees. What are the best values in degrees to cover all equivalence partitions? 15, 19 and 25. 10.What is the difference between Testing Techniques and Testing Tools? Testing technique: Is a process for ensuring that some aspects of the application system or unit functions properly there may be few techniques but many tools. Testing Tools: Is a vehicle for performing a test process. The tool is a resource to the tester, but itself is insufficient to conduct testing. 11.When should be performed Regression testing ? After the software has changed or when the environment has changed 12.. When should testing be stopped? It depends on the risks for the system being tested. 13.What makes a good tester? Know the technology. Perfectionist and a realist. An explorer. Posses people skills and tenacity. Objective and accurate.

Defects are valuable. 14.Software Testing Life Cycle Software Testing Life Cycle consist of six (generic) phases: 1) Planning, 2) Analysis, 3) Design, 4) Construction, 5) Testing Cycles, 6) Final Testing and Implementation. 15.What is a bug? A software bug may be defined as a coding error that causes an unexpected defect, fault, flaw, or imperfection in a computer program. 16.What are the phases in bug life cycle? Open Accepted Not Accepted/Wont fix Pending Fixed Close Re-Open. 17.What is Boundary value testing? Test boundary conditions on, below and above the edges of input and output equivalence classes. 18.What is exploratory testing? Exploratory testing is a hands-on approach in which testers are involved in minimum planning and maximum test execution. 19.What is Acceptance Testing? The step after the system testing is usually acceptance testing. The purpose of acceptance testing is to provide the end users with confidence that the system will function according to their expectations. Referring once more to the V-model, acceptance testing will be carried out using the requirement specification as a basis for test. 20.What are the different forms of Acceptance Testing? Typical forms of acceptance testing include the following: 1) User acceptance testing 2) Operational acceptance testing 3) Contract and Regulation Acceptance Testing 4) Alpha and Beta Testing 21.What is Unit or Component Testing? Before testing of the code can start, clearly the code has to be written. This is shown at the bottom of the V-model. Generally, the code is written in component parts, or units. The units are usually constructed in isolation, for integration at a later stage. Units are also called programs, modules or components. Unit testing is intended to ensure that the code written for the unit meets its specification, prior to its integration with other units. In addition to checking conformance to the program specification, unit testing would also verify that all of the code that has been written for the unit can be executed. Instead of using the specification to decide on inputs and expected outputs, the developer would use the code that has been written for this.

22. What is Integration Testing? Once the units have been written, the next stage would be to put them together to create the system. This is called integration. It involves building something large from a number of smaller pieces. The purpose of integration testing is to expose defects in the interfaces and in the interactions between integrated components or systems. 23.How would you explain the different Integration Testing Strategies? 1) Big-Bang Integration 2) Top-Down Integration 3) Bottom-up Integration 24. What is System Testing? Having checked that the components all work together at unit level, the next step is to consider the functionality from an end-to-end perspective. This activity is called system testing. System testing is necessary because many of the criteria for test selection at unit and integration testing result in the production of a set of test cases that are unrepresentative of the operating conditions in the live environment. Thus testing at these levels is unlikely to reveal errors due to interactions across the whole system, or those due to environmental issues. 25.What are the different types or categories of Testing? Types of testing fall into the following categories: 1) Functional Testing 2) Non-Functional Testing 3) Structural Testing 26.What is the use of static testing techniques? Static testing techniques are those techniques that test software without executing the code. This includes both the testing of work-products other than code, typically requirements or specification documents, and the testing of code without actually executing it. There are two types of static testing techniques. 1) Review: It is typically used to find and remove errors and ambiguities in documents before they are used in the development process, thus reducing one source of defects in the code. Reviews are normally completed manually; 2) Static analysis: It enables code to be analyzed for structural defects or systematic programming weaknesses that may lead to defects. Static analysis is normally completed automatically using tools. 27.What are the general Roles and Responsibilities of different members in a review team? The roles are:1) Manager 2) Moderator

3) Author 4) Reviewers 5)Scribe (or recorder) 28.What are the different types of specification-based techniques? We have following five major specification-based techniques: 1) Equivalence partitioning 2) Boundary value analysis 3) Decision table testing 4) State transition testing 5) Use case testing 29.What is the purpose of Statement Testing and Coverage? Statement testing is testing aimed at exercising programming statements. If we aim to test every executable statement we call this full or 100 per cent statement coverage. If we exercise half the executable statements this is 50 per cent statement coverage, and so on. Remember: we are only interested in executable statements, so we do not count non-executable statements at all when we are measuring statement coverage. 30.What are the different types of experience-based testing techniques? There are mainly two techniques under this category; 1) Error Guessing: It is a very simple technique that takes advantage of a tester's skill, intuition and experience with similar applications to identify special tests that may not be easy to capture by the more formal techniques. When applied after systematic techniques, error guessing can add another value in identifying and exercising test cases that target known or suspected weaknesses or that simply address aspects of the application that have been found to be problematical in the past. The main drawback of error guessing is its varying effectiveness, depending as it does on the experience of the tester deploying it. 2) Exploratory Testing: It is a technique that combines the experience of testers with a structured approach to testing where specifications are either missing or inadequate and where there is severe time pressure. It exploits concurrent test design, test execution, test logging and learning within time-boxes and is structured around a test charter containing test objectives. In this way exploratory testing maximizes the amount of testing that can be achieved within a limited time frame, using test objectives to maintain focus on the most important areas. 31.What are the different effects or harms of an incorrect software? 1) To people: e.g. by causing an aircraft crash in which people die, or by causing a hospital life support system to fail 2) To companies: e.g. by causing incorrect billing, which results in the company losing money 3) To the environment: e.g. by releasing chemicals or radiation into the atmosphere. a) Loss of money b) Loss of time c) Loss of business reputation d) Injury e) Death

32.What is the difference between Testing and Debugging? Testing and debugging are different kinds of activity, both of which are very important. Debugging is the process that developers go through to identify the cause of bugs or defects in code and undertake corrections. Testing, on the other hand, is a systematic exploration of a component or system with the main aim of finding and reporting defects. Testing does not include correction of defects - these are passed on to the developer to correct. Testing does, however, ensure that changes and corrections are checked for their effect on other parts of the component or system. 33.What are the different elements of fundamental test process? The fundamental test process consists of five sequential parts that encompass all aspects of testing as described in the following figure: 1) Planning and control. 2) Analysis and design. 3) Implementation and execution. 4) Evaluating exit criteria and reporting. 5) Test closure activities. 34.List the software testing principles? 1:Testing shows presence of defects 2: Exhaustive testing 3: Early testing 4: Defect clustering 5: Pesticide paradox 6: Testing is context 7: Absence-of-errors 35.What are the major tasks in Evaluating exit criteria and reporting ? Exit criteria should be set and evaluated for each test level. Evaluating exit criteria has the following major tasks: Check test logs against the exit criteria specified in test planning Assess if more tests are needed or if the exit criteria specified should be changed Write a test summary report for stakeholders. 36.What are the types of reviews? 1.Walkthroughs 2.Technical reviews 3.Inspection. 37.What are the most common reasons to have bugs in a software The most common reasons to have bugs in a software are: 1. Ambiguous or unclear requirements 2. Programming errors 3. Communication gap 4. Poor documentation 5. Increased complexity of the software

38.IEEE 829 test plan documentation standard contains all of the following : 1. test items 2. test deliverables 3.test tasks 4.test environment 39.What are the skills needed in testing? The skills needed are: Automators, Database Experts, Technique specialists, Test managers. 40.The difference between re-testing and regression testing is Re-testing is running a test again; regression testing looks for unexpected side effects. 41.The ___________ technique can be used to achieve input and output coverage Equivalence partitioning 42.The __________ testing is performed at the developing organizations site Alpha testing. 43.Which is not the software characteristics A. Reliability B. Usability C. Scalability D. Maintainability Scalability. 43.White Box Techniques are also called as: Structural Testing 44.How much percentage of the life cycle costs of a software are spent on maintenance? 70% 45.What type of tools to be used for Regression Testing Record/Playback 46.A white box testing technique that measures the number of or percentage of decision directions executed by the test case designed is called Decision/Condition coverage 47.Testing with out a real plan and test cases is called --Gorilla testing (or) Monkey testing (or) Adhoc testing 48._______ includes both Black box and White Box Testing features Gray Box Testing 49.One Key reason why developers have difficulty testing their own work is : Lack of Objectivity 50.Statement Coverage will not check for the following. A. Missing Statements B. Unused Branches

C. Dead Code D. Unused Statement A. Missing Statements

You might also like