It6004-Software Testing Two Marks Question With Answers Unit-I
It6004-Software Testing Two Marks Question With Answers Unit-I
Introduction
1) Define Software Engineering.
Basic principles
Processes
Standards
Measurements
Tools
Methods
Best practices
Code of ethics
Body of knowledge
4) Differentiate between verification and validation?(U.Q Nov/Dec 2009)
Verification Validation
Testing Debugging
Developer/Tester
User/Client
Fault Failure
1. A fault is introduced into the 2. A failure is the inability of a
software as the result of an software or component to perform
error. It is an anomaly in the its required functions within
software that may cause nit to specified performance
behave incorrectly, and not requirements.
according to its specification.
15) Define Test Cases.
A test case in a practical sense is attest related item which contains the following
information.
A set of test inputs. These are data items received from an external
source by the code under test. The external source can be
hardware, software, or human.
24) List the sources of Defects or Origins of defects. Or list the classification of defect
(U.Q May/June 2009)
Education
Communication
Oversight
Transcription
Process
Unit-II
Black box testing , the tester is no The White box approach focuses on the
Knowledge of its inner structure(i.e. how inner structure of the software to be
it woks)The tester only has knowledge of tested.
what it does(Focus only input & output)
Black box approach is usually applied White box approach is usually applied
large size piece of software. small size piece of software.
Black box testing sometimes called White box sometimes called clear or glass
functional or specification testing. box testing.
3. Draw the tester’s view of black box and white box testing.
Test Strategy Tester’s View
Inputs
Outputs
Each software module or system has an input domain from which test input data is
selected. If a tester randomly selects inputs from the domain, this is called random testing.
In equivalence class partitioning the input and output is divided in to equal classes or
partitions.
5. List the Knowledge Sources & Methods of black box and white box testing.
7. Define State.
A state is an internal configuration of a system or component. It is defined in terms of
the values assumed at a particular time for the variables that characterize the system or
component.
The unit may be simple, and not mission, or safety, critical, and so
complete coverage is thought to be unnecessary.
Other project related issues such as timing, scheduling. And marketing constraints.
14. What are the basic primes for all structured program.
False
Levels of Testing
Integration Test
System Test
Acceptance Test
2. Define Unit Test and characterized the unit test.
At a unit test a single component is tested. A unit is the smallest possible
testable software component.
Describe the requirement for test harness and other software that interfaces with
the unit to be tested, for ex, any special objects needed for testing object oriented.
5. Define integration Test.
At the integration level several components are tested as a group and the tester
investigates component interactions.
6. Define System test.
When integration test are completed a software system has been assembled and
its major subsystems have been tested. At this point the developers /testers begin to test
it as a whole. System test planning should begin at the requirements phase.
Beta test who use it under real world conditions and report the defect to
the Developing organization.
8. What are the approaches are used to develop the software?
There are two major approaches to software development
Bottom-Up
Top_Down
procedure_oriented
Object_oriented
9. List the issues of class testing.
Issue1: Adequately Testing classes
The tester must determine from the test whether the unit has passed or failed
the test. If the test is failed, the nature of the problem should be recorded in what is
sometimes called a test incident report.
12. Define Summary report.
The causes of the failure should be recorded in the test summary report, which
is the summary of testing activities for all the units covered by the unit test plan.
Top_ Down: In this strategy integration of the module begins with testing the
upper level modules.
Bottom_ Up: In this strategy integration of the module begins with testing
the lowest level modules.
15. What is Cluster?
A cluster consists of classes that are related and they may work together to
support a required functionality for the complete system.
Security testing
Recovery testing
The other types of system Testing are,
Functional tests at the system level are used ensure that the behavior of the
system adheres to the requirement specifications.
19. What are the two major requirements in the Performance testing.
Main control module is used as a test driver and stubs are substituted for
all components directly subordinate to the main module.
Test Management
i. Business goal: To increase market share 10% in the next 2 years in the area of
financial software
ii. Technical Goal: To reduce defects by 2% per year over the next 3 years.
iii. Business/technical Goal: To reduce hotline calls by 5% over the next 2 years
iv. Political Goal: To increase the number of women and minorities in high
management positions by 15% in the next 3 years.
3) Define Plan.
A plan is a document that provides a framework or approach for achieving a set
of goals.
1. Project startup
2. Management coordination
3. Tool selection
4. Test planning
5. Test design
6. Test development
7. Test execution
8. Test measurement, and monitoring
9. Test analysis and reporting
10. Test process improvement
10) What is the function of Test Item Transmittal Report or Locating Test Items
Suppose a tester is ready to run tests on the data described in the test plan. We
needs to be able to locate the item and have knowledge of its current status. This is the
function of the Test Item Transmittal Report. Each Test Item Transmittal Report has a
unique identifier.
11) What is the information present in the Test Item Transmittal Report or Locating
Test Items
The tester should record in attest incident report (sometimes called a problem
report) any event that occurs during the execyution of the tests that is unexpected ,
unexplainable, and that requires a follow- up investigation.
14) What are the Three critical groups in testing planning and test plan policy ?
Managers:
Task forces, policies, standards, planning Resource allocation,
support for education and training, Interact with users/Clients
Developers/Testers
Apply Black box and White box methods, test at all levels, Assst
with test planning, Participate in task forces.
Users/Clients
Specify requirement clearly, Support with operational profile,
Participate in acceptance test planning
Test Manager
Test leader
Test Engineer
Junior Test Engineer
Unit-V
Test Automation
7. What is Testing?
Testing is generally described as a group of procedures carried out to evaluate
some aspect of a piece of software.It used for revealing defect in software and to evaluate
degree of quality.
8. Define Review.
Review is a group meeting whose purpose is to evaluate a software artifact or a
set of software artifacts.
9. What are the goals of Reviewers?
Identify problem components or components in the software artifact that need
improvement.
Identify components of the software artifact that donot need improvement.
Identify specific errors or defects in the software artifact.
Ensure that the artifact confirms to organizational standards.