Software Testing
Software Testing
in
QUESTION BANK
.in
ng
e eri
gin
En
VI SEMESTER
arn
Regulation – 2017
w.
Prepared by
QUESTION BANK
SUBJECT: SOFTWARE TESTING SEM / YEAR: VI / III
UNIT I - INTRODUCTION
Testing as an Engineering Activity – Testing as a Process – Testing axioms – Basic definitions – Software
.in
Testing Principles – The Tester’s Role in a Software Development Organization – Origins of Defects – Cost
of defects – Defect Classes – The Defect Repository and Test Design – Defect Examples – Developer/Tester
Support of Developing a Defect Repository
ng
PART - A
Q.no Questions BTL Competence
eri
1 List out the levels of the testing maturity model. BTL-1 Remembering
2 Define fault and failure. BTL-1 Remembering
3 What are the sources of defects? BTL-2 Understanding
4 Mention the objective of software testing. e BTL-1 Remembering
gin
5 Differentiate verification and validation. BTL-4 Analyzing
6 Mention the role of process in software quality. BTL-4 Analyzing
7 Point out the role of defect Repository. BTL-4 Analyzing
En
8 How would you classify the types in defect classes? BTL-3 Applying
9 Tell about test, test Oracle and Test Bed. BTL-1 Remembering
10 List the members of the critical groups in testing process. BTL-2 Understanding
arn
15 Mention the role of test engineer in software development organization. BTL-2 Understanding
16 How would formulate the cost of defect? BTL-6 Creating
17 Explain some of the quality metric attributes. BTL-3 Applying
w.
PART-B
Q.No Questions Mark BTL Competence
1 Elaborate on the principles of software testing. 13 BTL-4 Analyzing
2 (a) Describe about the components of software development process. 06 BTL-1 Remembering
(b) List and discuss the technological developments that are causing 07
BTL-1 Remembering
organizations to revise their approach to testing.
3 Write short notes on the list given below
BTL-5 Evaluating
(a) Cost of defect. (b) Elements of Engineering disciplines 6+7
.in
9 Give an Overview of the Testing Maturity Model(TMM) & the test related 13
BTL-4 Analyzing
activities that should be done for V-model architecture.
10a Describe the various software testing activities. 06 BTL-1 Remembering
ng
10b Define correctness, reliability, integrity, interoperability. Discuss how these 07
BTL-1 Remembering
are related to testing.
11a Why it is necessary to develop test cases for both valid 06
BTL-6 Creating
eri
and invalid input condition?
11b How important to document a product? How will you test requirement and 07
BTL-6 Creating
design document?
12
e
Compare and contrast terms errors faults and failures using suitable 13
BTL-5 Evaluating
gin
examples.
13 Write the major needs of testing and model of testing in details 13 BTL-1 Remembering
14 Explain in detail processing and monitoring of the defects with defect 13
BTL-4 Analyzing
repository?
En
PART-C
arn
3 Suppose you are testing defect coin problem artifacts, Identify the causes 15
of various defects. What steps could have been taken to prevent the BTL-5 Evaluating
various classes of defects?
w.
4 Give the internal structure of TMM and explain about its maturity goals 15
BTL-5 Evaluating
at each level
ww
.in
11 How mutation testing helpful in testing the software? BTL-5 Evaluating
12 Define code complexity testing .How it is related to testing? BTL-3 Applying
13 Point out the difference of static testing from structural testing. BTL-4 Analyzing
ng
14 What do you meant by test adequacy criteria?. BTL-2 Understanding
15 List white box knowledge source and testing methods. BTL-1 Remembering
16 What is boundary value analysis? BTL-1 Remembering
eri
17 Discuss about Desk checking. BTL-2 Understanding
18 Sketch the control flow graph for an ATM withdrawal system. BTL-6 Creating
19 How would you calculate cyclomatic complexity? BTL-4 Analyzing
20
e
What are the factors affecting less than 100% degree of coverage BTL-4 Analyzing
gin
PART-B
b. Documentation testing
4 With suitable example describe how cause-and–effect graphing and state 13 BTL-1 Remembering
transition testing is done.
5 What approach would you use for testing strategies? Explain in detail.
w.
13 BTL-3 Applying
Show how black box testing is performed in COTS components?
6 Describe the following
(a) State based testing 06+07
ww
BTL-3 Applying
(b) Domain testing
7 What inference can you make from random testing, requirement based 13 BTL-4 Analyzing
testing and domain testing explains?
8 Explain the various white box techniques with suitable test cases. 13 BTL-4 Analyzing
9 Summarize the role of Oaths in white box testing and explain any two 13 BTL-5 Evaluating
white box testing design.
10 Explain the various axioms that allow testers to evaluate Test Adequacy 13 BTL-5 Evaluating
Criteria.
11a Outline the steps in constructing a control flow graph and computing 06 BTL-2 Understanding
Cyclomatic complexity with an example
11b Explain about state transition testing. 07 BTL-2 Understanding
.in
System
2 Explain how the covering code logic and paths are used in the role of 15 BTL-5 Evaluating
white box design with suitable example.
ng
3 Demonstrate the various black box test cases using Equivalence class
partitioning and boundary values analysis to test a module for ATM 15 BTL-6 Creating
system.
eri
4 Explain the basis path testing. State the principles of control flow graph
and cyclomatic complexity. What are the formulas used in cyclomatic 15 BTL-4 Analyzing
complexity?
e
UNIT III - LEVELS OF TESTING
gin
The need for Levels of Testing – Unit Test – Unit Test Planning – Designing the Unit Tests – The Test
Harness – Running the Unit tests and Recording results – Integration tests – Designing Integration Tests –
Integration Test Planning – Scenario testing – Defect bash elimination System Testing – Acceptance testing
– Performance testing – Regression Testing – Internationalization testing – Ad-hoc testing – Alpha, Beta
En
Tests – Testing OO systems – Usability and Accessibility testing – Configuration testing –Compatibility
testing – Testing the documentation – Website testing.
PART – A
arn
6 Analyze on when to do the regression testing and smoke testing? BTL-4 Analyzing
7 Compare functional Testing from non-functional Testing. BTL-4 Analyzing
8 Define unit Test. Give example. BTL-1 Remembering
ww
9 Show the test cases applied for acceptance testing. BTL-3 Applying
10 List out the types of system Testing BTL-6 Creating
11 Compare and contrast Alpha and Beta Testing. BTL-2 Understanding
12 How could you classify the methodology for performance testing? BTL-4 Analyzing
13 Can you prepare the role of test data generators in testing object oriented
BTL-6 Creating
system.
14 Classify the activities of defect bash. BTL-3 Applying
15 Define test harness and Why is it important to design test harness for testing? BTL-4 Analyzing
16 List the levels of Testing. BTL-1 Remembering
17 Summarize the importance to design a test harness for reusability. BTL-5 Evaluating
18 What is the advantage of Bottom up integration? BTL-2 Understanding
PART-B
Q.No Questions Mark BTL Competence
1 Explain the different integration testing strategies for procedures and 13 BTL-4 Analyzing
functions with suitable diagrams.
2 How would you identify the hardware and software for configuration 13 BTL-5 Evaluating
testing and Explain what testing techniques applied for website testing?
3 State unit test and describe about planning and designing of unit test 13 BTL-2 Understanding
4 Explain the various units in a program considered for unit testing. 13 BTL-4 Analyzing
.in
5 Differentiate alpha testing from beta testing and discuss in detail about the
phases in which alpha and beta testing is done ,In what way it is related to 13 BTL-4 Analyzing
milestone and deliverable.
6 Summarize the issues that arise in class testing and explain about
ng
13 BTL-2 Understanding
compatibility and documentation testing.
7 Determine and prepare the test cases for acceptance usability and 13 BTL-6 Creating
accessibility testing.
eri
8 (a)Describe in detail about the internationalization testing and its
designing and planning. 6+7 BTL-2 Understanding
(b)Present an outline of testing object oriented systems
9 Discuss the need for various levels of testing.
e 13 BTL-1 Remembering
gin
10 How would you classify integration testing and system testing? 13 BTL-3 Applying
11 Describe in detail about scenario testing and performance testing. 13 BTL-1 Remembering
12 (a).Why is it so important to design a test harness for reusability and show
the approach you used for running the unit test and recording the results?
En
PART-C
w.
of security breaches, also write the various areas which have to be focused
BTL-3 Applying
on during security testing.
(b) State the need for integration testing in procedural code.
2 Case Study: Serveral kinds of tests for a web application.
Adstract:
A UK based company entrusted us to test this project. Its a web
application for government to collect data and calculate them to prioritize BTL-6 Creating
all the tasks.
Description:
.in
time in communicating with client to make clearly about some important
points; on the other hand we had to get familiar with the application via
operating it and reading requirements.
ng
Then, how to improve the efficiency of regression test?
3 a)What is security testing? Explain its importance. 07+08
eri
b) List the tasks that must be performed by the developer or tested during BTL-4 Analyzing
the preparation fort unit testing.
4 (a)Describe the top-down and bottom-up approaches in integration testing 10
e
discuss about the merits and limitation of these approaches
(b)Suppose you are developing an online system for a specific vendor of
gin
BTL-4 Analyzing
the electronic equipment with all the necessary features to run the Shop. 5
Write down a detailed test plan by including the necessary components
En
Planning – Test Plan Components – Test Plan Attachments – Locating Test Items – test management – test process –
Reporting Test Results – Introducing the test specialist – Skills needed by a test specialist – Building a Testing Group-
The Structure of Testing Group- .The Technical Training Program.
Le
PART - A
PART-B
.in
1 Compare and contrast the role of debugging goals and policies in testing 13 BTL-5 Evaluating
2a What factors would an organization take into account to decide the fitness 06 BTL-4 Analyzing
of a product for release?
ng
2b Can the Defect Repository be accessible by customers? If so, What 07 BTL-5 Evaluating
security aspects would you have to take into account?
3 Demonstrate the test management based on standards infrastructure,
eri
13 BTL-3 Applying
people and product.
4 Differentiate between the effect of globalization and geographically 13 BTL-4 Analyzing
distributed team in product testing?
5
e
Illustrate various components of test plan with example. 13 BTL-2 Understanding
gin
6 What are the role of groups in policy development and test reporting. 13 BTL-4 Analyzing
7a Name the reports of the test results and the contents available in each test 06 BTL-4 Analyzing
reports.
7b What is Test Status Report? And How to report test status? 07 BTL-4 Analyzing
En
8 Identify the role user/client play in the development of test plan for a
project? Should they be present at any of the test plan reviews? Justify 13 BTL-4 Analyzing
your answer.
9 (a)Discuss the advantages and disadvantages of having an independent
arn
test group, that is one that is a separate organizational entity with its own
reporting structure 6+7 BTL-1 Remembering
(b)Why is it so important to integrate testing activities into the software
life cycle?
Le
10a Explain in detail about Testing goals and Policy. 06 BTL-3 Applying
10b Explain the role of the Three critical groups Test Planning. 07 BTL-3 Applying
11 Describe the concepts of building a test group. 13 BTL-2 Understanding
w.
PART-C
.in
Software test automation – skills needed for automation – scope of automation – design and architecture for automation
– requirements for a test tool – challenges in automation – Test metrics and measurements – project, progress and
productivity metrics.
ng
PART - A
Q.no Questions BTL Competence
1 Express the framework for test automation BTL-2 Understanding
eri
2 Discover the objectives of testing. BTL-3 Applying
3 Classify the types of test defect metrics. BTL-3 Applying
4 Mention the challenges in automation. BTL-1 Remembering
5
e
Mention the criteria’s for selecting test tools. BTL-1 Remembering
gin
6 What are the goals of Reviewers? BTL-1 Remembering
7 Outline the need for test metrics &Give any two metrics BTL-2 Understanding
8 Define test automation BTL-1 Remembering
9 Can you show on the reason why metrics in testing? BTL-3 Applying
En
14 Can you make the comparison between metrics and measurement? BTL-5 Evaluating
15 What is the need of Automated testing? BTL-1 Remembering
16 Compare product development and automation. BTL-4 Analyzing
17 Give the formula for defects per 100 hours of testing. BTL-6 Creating
Le
PART-B
Q.no Questions Mark BTL Competence
ww
step.
7 How do you calculate defect density and defect removal rate? Discuss
13 BTL-6 Creating
ways to improve these rates for a better Quality product?
8 Explain the different types of Test defect metrics under Progress metrics
13 BTL-4 Analyzing
based on what they measure and what area they focus on.
9 Explain the various generations of automation and the required skills for
13 BTL-2 Understanding
each.
10 What are metrics and measurements? Illustrate the types of product
13 BTL-3 Applying
metrics.
11 What is the purpose of progress metrics? Describe in detail. 13 BTL-1 Remembering
12 Describe about the various components of Test automation. 13 BTL-1 Remembering
13 Write short notes on following.
.in
6
(a)Classifications of automation testing. BTL-2 Understanding
7
(b) Scope of an automation.
14 Outline project, product and productivity metrics with relevant examples 13 BTL-3 Applying
ng
PART-C
eri
Q.No Questions Mark BTL Competence
1 a) Explain the design and architecture for automation 8
b) List and discuss the metrics that can be used for defect prevention and 7 BTL-4 Analyzing
2
how?
e
a) List the requirements for test tool. Explain any five requirements with a 8
gin
suitable example. BTL-4 Analyzing
b) Explain the components of review plans. 7
3 Assume you are working in an on-line fast food restaurant system. The
En
system reads customer orders. Relays orders to the kitchen, calculates the
customer’s bill and give change. It also maintains inventory information. 15 BTL-4 Analyzing
Each wait person has a terminal. Only authorized wait persons and a
system administrator can access the system. Describe the tests that are
arn
software quality.
w.
ww