It6004 ST
It6004 ST
Unit-I
Question Bank:
1) Define Software Engineering.
Software Engineering is a discipline that produces error free software with in a
time and budget.
2) Define software Testing.
Testing can be described as a process used for revealing defects in software, and
for establishing that the software has attained a specified degree of quality with respect
to selected attributes.
3) List the elements of the engineering disciplines.
Basic principles
Processes
Standards
Measurements
Tools
Methods
Best practices
Code of ethics
Body of knowledge
Testing Debugging
1. Testing as a dual purpose process Reveal Debugging or fault localization is the process
defects and to evaluate quality attributes of Locating the fault or defect Repairing the
code, and Retesting the code.
24) List the sources of Defects or Origins of defects. Or list the classification of defect
(U.QMay/June 2009)
Education
Communication
Oversight
Transcription
Process
16 Marks
1. Discuss in detail Testing Maturity Model (TMM)
2. Discuss in detail Software testing principles.
3. Explain in detail the tester’s role in a software development organization
4. Explain in detail defect classes, the defect repository and test design
5. Explain in detail about defect analysis in coin problem.
Unit-II
1. Define Smart Tester.
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.
Inputs
Black box (No Knowledge about inner structure, Focus only input and
Output)
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.
Knowledge Sources Methods
6. Define State.
The reusable component may come from a code reuse library within their org or, as is
most likely, from an outside vendor who specializes in the development of specific types of
software components. Components produced by vendor org are known as commercial off-the
shelf, or COTS, components.
Usage profiles are characterizations of the population of intended uses of the software in
its intended environment. Certification refers to third party assurance that a product,process,
or service meets a specific set of requirements.
12. What are the factors affecting less than 100% degree of coverage?
True
Flase True
16 Marks
Unit Test
Integration Test
System Test
Acceptance Test
At a unit test a single component is tested. A unit is the smallest possible testable
software component.
It can be characterized in several ways
A unit in a typical procedure oriented software systems.
It performs a single cohensive function.
It can be compiled separately.
It contains code that can fit on a single page or a screen.
At the integration level several components are tested as a group and the tester
investigates component interactions.
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.
Alpha test developer’s to use the software and note the problems.
Beta test who use it under real world conditions and report the defect to the
Developing organization.
The auxiliary code developed into support testing of units and components is
called a test harness. The harness consists of drivers that call the target code and stubs
that represent modules it calls.
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.
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.
A cluster consists of classes that are related and they may work together to
support a required functionality for the complete system.
Functional testing
Performance testing
Stress testing
Configuration testing
Security testing
Recovery testing
The other types of system Testing are,
Reliability & Usability testing.
Functional tests at the system level are used ensure that the behavior of the system
adheres to the requirement specifications.
When a system is tested with a load that causes it to allocate its resources in
maximum amounts .It is important because it can reveal defects in real-time and other
types of systems.which it will crash. This is sometimes called “breaking the system”.
Main control module is used as a test driver and stubs are substituted for all
components directly subordinate to the main module.
Depending on integration approach (Depth or breadth first) subordinate stubs are
replaced one at a time with actual components.
Tests are conducted as each component is integrated.
The completion of each set of tests another stub is replaced with real component
Regression testing may be conducted to ensure that new errors have not been
introduced.
16 marks
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 Milestones.
Milestones are tangible events that are expected to occur at a certain time in the
Project’s lifetime. Managers use them to determine project status.
13)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.
16 Marks
1. Testing and Debugging goals and Policy
Debugging goal
Debugging policy
Testing Policy: Organization X
Debugging policy: Organization X
2. Test planning
Planning
Milestone
Overall test objectives
What to test (Scope of the tests)
Who will test?
How to test?
When to test?
When to stop Testing?
3. Test Plan Components
Test plan identifier
Introduction
Items to be tested
Features to be tested
Approach
Pass/fail criteria
Suspension and resumption criteria
Test deliverables
Testing tasks
Test environment
Responsibilities
Staffing and training needs
Scheduling
Risks and contingencies
Testing costs
Approvals
4. Test Plan Attachments
Test design specifications
Test case specifications
Test procedure specifications
5. Reporting Test Results
Test log
Test log identifier
Description
Activity and event entities
Test incident report
Test incident report identifier
Summary
Impact
Test summary report
6. The role of the 3 critical groups
1. Managers
Task forces, policies, standards
Planning
Resource allocation
Support for education and training
Interact with users
2. Developers/ testers
Apply black and white box methods
Assist with test planning
Test at all levels
Train and mentor
Participate in task forces
Interact with users
3. Users/clients
Specify requirements clearly
Participate in usability test
Unit-V
3. Define Milestone.
MileStones are tangible events that are expected to occur at a certain time in the
projects life time .Mnagers use them to determine project status.
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.
16 Marks
1. Measurements and milestones for monitoring and controlling
Measurements for monitoring testing status
Coverage measures
Test case development
Test execution
Test harness development
Measurements to monitor tester productivity
Measurements for monitoring testing costs
Measurements for monitoring errors, faults, and failures
Monitoring test effectiveness
2. Criteria for test completion
All the planned tests that were developed have been executed and passed
All specified coverage goals have been met
The detection of a specific number of defects has been accomplished
The rates of defect detection for a certain time period have fallen below a
specified level
Fault seeding ratios are favorable
3. Software configuration management
Identification of the configuration items
Change control
Configuration status reporting
Configuration audits
4. Types of reviews
Inspections as a type of technical review
Inspection process
Initiation
Preparation
Inspection meeting
Reporting results
Rework and follow up
Walkthroughs as a type of technical review
5. Components of review plans
Review goals
Preconditions and items to be reviewed
Roles, participants, team size, and time requirements
Review procedures
Review training
Review checklists
Requirements reviews
Design reviews
Code reviews
Test plan reviews