100% found this document useful (1 vote)
622 views

IT8076-Software Testing PDF

This document contains a question bank for the subject of Software Testing for the 6th semester. It includes questions divided into three parts - Part A with short answer questions, Part B with longer descriptive questions, and Part C with case-study based questions. The questions cover various topics in software testing like test case design strategies, test adequacy criteria, defect classification, testing principles, test maturity models and more. The question bank has been prepared by three faculty members from the Department of Information Technology and Computer Science Engineering at SRM Valliammai Engineering College.

Uploaded by

Jana S
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
622 views

IT8076-Software Testing PDF

This document contains a question bank for the subject of Software Testing for the 6th semester. It includes questions divided into three parts - Part A with short answer questions, Part B with longer descriptive questions, and Part C with case-study based questions. The questions cover various topics in software testing like test case design strategies, test adequacy criteria, defect classification, testing principles, test maturity models and more. The question bank has been prepared by three faculty members from the Department of Information Technology and Computer Science Engineering at SRM Valliammai Engineering College.

Uploaded by

Jana S
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

 

SRM VALLIAMMAI ENGINEERING COLLEGE


(An Autonomous Institution)
SRM Nagar, Kattankulathur – 603 203

DEPARTMENT OF INFORMATION TECHNOLOGY


&
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

QUESTION BANK

VI SEMESTER

IT8076- SOFTWARE TESTING


Elective
Regulation – 2017

Academic Year 2019– 2020 (Even Semester)

Prepared by

Dr.D.Kavitha, A.P / CSE

Mr. S. Sekar, A.P / IT

Mr. K. Elaiyaraja, A.P / IT


 
 
SRM VALLIAMMAI ENGINEERING COLLEGE
(An Autonomous Institution)
DEPARTMENT OF INFORMATION TECHNOLOGY
&
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

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
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
PART - A
Q.no Questions BTL Competence

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. BTL-1 Remembering
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
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
11 List the element of the engineering disciplines BTL-1 Remembering
12 Compare the process of testing and debugging. BTL-5 Evaluating
13 What is meant by feature defects? BTL-2 Understanding
14 Why test cases should be developed for both valid and invalid inputs? BTL-5 Evaluating
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
18 What is a defect? Give example? BTL-2 Understanding
19 Summarize the major components in software development process. BTL-3 Applying
20 Error Vs Defect Vs Failure. Discuss BTL-4 Analyzing

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

 
 
4a Discuss in detail about the testing axioms. 06 BTL-2 Understanding
4b Explain defect classification in detail. 07 BTL-2 Understanding
5a Write short notes on Origins of defects 07 BTL-5 Evaluating
5b Explain the various origins of defects. Explain the major classes of defects 06
BTL-5 Evaluating
in the software artifacts.
6 Short notes on a) Precision and accuracy b) Verification and validation 6+7 BTL-2 Understanding
7a Explain in detail about defect repository. 06 BTL-4 Analyzing
7b Analyze the Role of process in Software quality. 07 BTL-4 Analyzing
8 Why it is important to meticulously inspect test result and discover the 13
BTL-3 Applying
drawbacks incase if you fail to inspect ? Illustrate with example?
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
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
and invalid input condition?
11b How important to document a product? How will you test requirement and 07
BTL-6 Creating
design document?
12 Compare and contrast terms errors faults and failures using suitable 13
BTL-5 Evaluating
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?

PART-C

Q.No Questions Mark BTL Competence


1 Explain in detail how developer / tester support to develop a defect 15
BTL-6 Creating
repository?
2 Discuss the tester role in software development organization. 15 BTL-6 Creating
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?
4 Give the internal structure of TMM and explain about its maturity goals 15
BTL-5 Evaluating
at each level

UNIT II - TEST CASE DESIGN STRATEGIES


Test case Design Strategies – Using Black Box Approach to Test Case Design – Boundary Value Analysis
– Equivalence Class Partitioning – State based testing – Cause-effect graphing – Compatibility testing –
user documentation testing – domain testing - Random Testing – Requirements based testing – Using White
Box Approach to Test design – Test Adequacy Criteria – static testing vs. structural testing – code
functional testing – Coverage and Control Flow Graphs – Covering Code Logic – Paths – code complexity
testing – Additional White box testing approaches- Evaluating Test Adequacy Criteria.
PART - A

 
 
Q.No Questions BTL Competence
1 List the advantages of Equivalence class partitioning. BTL-1 Remembering
2 Show the need of code functional testing in test case design. BTL-3 Applying
3 Create the equivalence classes in testing the program for quadratic equation
BTL-6 Creating
solution.
4 Write the two basic testing strategies used to design test cases. BTL-5 Evaluating
5 Define COTS components. BTL-2 Understanding
6 List some of the advantages of documentation testing and domain testing. BTL-1 Remembering
7 Compare black box and white box testing. BTL-2 Understanding
8 Tell the steps involved in developing test cases with a cause- and-effect graph. BTL-1 Remembering
9 Tabulate the black box methods and knowledge sources. BTL-1 Remembering
10 Can you classify the compatibility testing and explain? BTL-4 Analyzing
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
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
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 What are the factors affecting less than 100% degree of coverage BTL-4 Analyzing

PART-B

Q.No Questions Mark BTL Competence


1 Explain about the following methods of black box testing with example
a..Equivalence class partitioning 06+07 BTL-4 Analyzing
b. Boundary value analysis.
2 Write a note on the following
a. Positive and Negative Testing 06+07 BTL-2 Understanding
b. Decision Tables
3 Write short notes on the list given below
a. Compatibility testing 06+07 BTL-1 Remembering
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. 13 BTL-3 Applying
Show how black box testing is performed in COTS components?
6 Describe the following
(a) State based testing 06+07 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
 
 
12a Discuss in detail about code coverage testing. 06 BTL-2 Understanding
12b Explain mutation testing with an example. 07 BTL-2 Understanding
13 Explain the significance of Control flow graph and Cyclomatic
complexity in white box testing with a pseudo code for sum of positive 13 BTL-6 Creating
numbers. Also mention the independent paths with test cases.
14 Discuss in detail about static testing and structural testing .Also write the 13 BTL-1 Remembering
difference between these testing concepts
PART-C
Q.No Questions Mark BTL Competence
1 Demonstrate the various black box test cases using Equivalence class
partitioning and boundary values analysis to test a module for payroll 15 BTL-6 Creating
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.
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.
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?

UNIT III - LEVELS OF TESTING


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
Tests – Testing OO systems – Usability and Accessibility testing – Configuration testing –Compatibility
testing – Testing the documentation – Website testing.
PART – A
Q.No Questions BTL Competence

1 Give the most effective ad hoc testing techniques. BTL-2 Understanding


2 What is security testing give the examples. BTL-2 Understanding
3 Show the approaches you use to do website testing. BTL-3 Applying
4 Can you judge on the reason for system testing? BTL-5 Evaluating
5 List out the objectives of configuration testing. BTL-1 Remembering
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
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

 
 
19 Based on what plan the scenario testing is done? BTL-6 Creating
20 What is stress testing? 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
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 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.
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. 13 BTL-1 Remembering
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? 6+7 BTL-3 Applying
(b). Tabulate the key difference in integrating procedural oriented system
as compared to object oriented systems.
13 (a) Describe “The Class as a Testable Unit” in detail. 6+7
BTL-1 Remembering
(b) Explain the planning, design and execution of unit tests.
14 (a)Explain about the various types of System Testing and its importance
with example. 6+7 BTL-2 Understanding
(b)What is regression testing? Outline the issues to be addressed for
developing test cases to perform regression testing.

PART-C

Q.No Questions Mark BTL Competence


1 (a) Write the importance of security testing and explain the consequences 08+07
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:

 
 
This client is from Hertfordshirts in UK, the project is an application for
the government. In fact it includes two parts: web site for data collection
and presentation purpose, in parallel a windows application for
administration purpose. Here the task is ensuring the quality of the web 15
application, includes many aspects, such as function correctness
performance acceptance, UI appropriateness and so on. Moreover, for
testing function, we had to use the windows application to edit user’s
services and other data.
The client only gave us the software requirement specification and the
applications tested, there was not any test plan, test strategy, test cases,
even test termination criterion. On the one hand, we had to spend much
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.
Then, how to improve the efficiency of regression test?
3 a)What is security testing? Explain its importance. 07+08
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
discuss about the merits and limitation of these approaches
(b)Suppose you are developing an online system for a specific vendor of 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

UNIT IV - TEST MANAGEMENT


People and organizational issues in testing – Organization structures for testing teams – testing services – Test
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.
PART - A

Q.no Questions BTL Competence

1 Mention the duties of component-wise testing teams. BTL-1 Remembering


2 Analyze the various steps in forming the test group. BTL-4 Analyzing
3 Analyze on few typical resources that are considered when test planning. BTL-4 Analyzing
4 Give the need of test plan components BTL-2 Understanding
5 Point out the five stages in a test plan process. BTL-4 Analyzing
6 Classify various approaches to test cost estimation. BTL-3 Applying
7 What is the function of Test Transmittal report or Locating Test Items? BTL-1 Remembering
Can you make a distinction between structures of single- product companies and
8 BTL-2 Understanding
multi-product?
9 What is the need of Test incident Report? BTL-3 Applying
10 Name the test plan components. BTL-1 Remembering
11 What is test log? BTL-1 Remembering
12 Show test case specification. BTL-3 Applying
13 Can you judge the three essential elements of test infrastructure management? BTL-5 Evaluating

 
 
14 Summarize the success factors for testing organization. BTL-2 Understanding
15 Analyze the role of manager in support of test group. BTL-4 Analyzing
16 List the various skills needed by a test specialist. BTL-1 Remembering
How would you estimate the measurements for monitoring error, faults and
17 BTL-5 Evaluating
failures?
18 Write the reason to create Work Breakdown Structure (WBS). BTL-6 Creating
19 How would you prepare testing and development function? BTL-6 Creating
20 Define Test Summary Report BTL-2 Understanding

PART-B

Q.no Questions Mark BTL Competence


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?
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, 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 Illustrate various components of test plan with example. 13 BTL-2 Understanding
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
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
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?
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
12a Demonstrate on various stages of test plan. 06 BTL-3 Applying
12b Illustrate the role of testing. 07 BTL-2 Understanding
13 Explain the following test related documents and its components. 6
(a)Test Case Specification BTL-1 Remembering
7
(b)Test Incident Report
14 Explain the concepts of test planning in detail .Also mention the way of 13 BTL-2 Understanding
defining test plan.

PART-C

Q.No Questions Mark BTL Competence


1 Write the technological development that causes organizations to revise their
BTL-5 Evaluating
approach to testing, also write the criteria and methods involved while 15

 
 
establishing a testing policy.
2 a) Discuss testing team structures for a single product companies 8
BTL-3 Applying
b) What are the skills needed for test specialist. 7
3 Develop the challenges and issues faced in testing service organization also
BTL-6 Creating
write how we can eliminate challenges. 15
4 a) Write any four recommended test related documents in details. 8
BTL-4 Analyzing
b) Discuss the different process activities of software testing in detail. 7

UNIT V - TEST AUTOMATION


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.
PART - A
Q.no Questions BTL Competence
1 Express the framework for test automation BTL-2 Understanding
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 Mention the criteria’s for selecting test tools. BTL-1 Remembering
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
10 Distinguish between milestone and deliverable. BTL-3 Applying
11 What is Walk Through? BTL-1 Remembering
12 Summarize the reasons for selecting the test tool for automation BTL-5 Evaluating
13 Classify the skills needed for automation. BTL-4 Analyzing
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
18 Name any two software testing tools. BTL-2 Understanding
19 What is the main plan of Test framework? BTL-3 Applying
20 Define progress Metrics. BTL-2 Understanding

PART-B
Q.no Questions Mark BTL Competence
1 Describe briefly about various types of test automation and scope of
13 BTL-4 Analyzing
automation.
2 Discuss in detail about selecting the test tool in test automation. 13 BTL-1 Remembering
3 Developing software to test the software is called test automation. Test
automation can help address several problems, Justify. Draw the 13 BTL-5 Evaluating
Framework for test automation.
4a List the generic requirements for test tool. Explain with suitable examples. 06 BTL-4 Analyzing
4b Why testing in metrics? Analyze about Productivity metrics. 07 BTL-4 Analyzing
5 What are the challenges faced in test automation? Explain. 13 BTL-2 Understanding
6a Identify what are the key benefits in using metrics in product development
06 BTL-3 Applying
and testing?
6b What are the steps involved in a metrics program. Briefly explain each 07 BTL-3 Applying
 
 
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.
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

PART-C

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
how?
2 a) List the requirements for test tool. Explain any five requirements with a 8
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
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
suitable to the test the application.
4 a) Explain the five stop test criteria that are based on quantitative 7
approach.
BTL-3 Applying
b) Narrate about the metrics/parameters to be considered for evaluating the 8
software quality.

You might also like