0% found this document useful (0 votes)
28 views

Software Testing Lab-21ISL66 Record

Uploaded by

sudhanva0703
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Software Testing Lab-21ISL66 Record

Uploaded by

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

BANGALORE INSTITUTE OF TECHNOLOGY

K. R. ROAD, V. V. PURA, BANGALORE - 560004

Department of Information Science and Engineering

Software Testing Lab


21ISL66

Laboratory Record
VI-Semester

USN

NAME
BATCH
BANGALORE INSTITUTE OF TECHNOLOGY
Department of Information Science and Engineering

LABORATORY CERTIFICATE

This is to certify that Ms. / Mr. .................................................................... bearing


USN…………...……….. of VI semester, Information Science & Engineering
branch has satisfactorily completed the practical course on Software
Testing Laboratory (21ISL66) prescribed by the Visvesvaraya
Technological University for the academic year 2023-24.

50

Signature of Student Signature of In-charge Staff Signature of HOD


BANGALORE INSTITUTE OF TECHNOLOGY

VISION
 To Establish and Develop the Institute as a Center of Higher Learning
ever abreast with the Expanding horizon of knowledge in the field of
Engineering and Technology, with entrepreneurial thinking,
leadership excellence for life-long success and solve societal
problems.

MISSION

 Provide high quality education in the Engineering disciplines from the


undergraduate through doctoral levels with creative academic and professional
programs.

 Develop the Institute as a leader in Science, Engineering, Technology,


Management and Research and apply knowledge for the benefit of society.

 Establish mutual beneficial partnership with Industry, Alumni, Local, State and
Central Governments by Public Services Assistance and Collaborative Research.

 Inculcate personality development through sports, cultural and extracurricular


activities and engage in the social, economic and professional challenges.
Bangalore Institute of Technology
K R Road, VV Pura, Bangalore - 560004

Department of Information Science and Engineering

VISION:
Empower every student to be innovative, creative and productive in the field of Information
Technology by imparting quality technical education, developing skills and inculcating
human values.

MISSION:

 To evolve continually as a centre of excellence in offering quality Information


Technology Education.
 To nurture the students to meet the global competency in industry for Employment.
 To promote collaboration with industry and academia for constructive interaction to
empower Entrepreneurship.
 To provide reliable, contemporary and integrated technology to support and facilitate
Teaching, Learning, Research and Service

PROGRAM EDUCATIONAL OBJECTIVES

 Uplift the students through Information Technology Education.

 Provide exposure to emerging technologies and train them to Employable in Multi-


disciplinary industries.

 Motivate them to become good professional Engineers and Entrepreneur.

 Inspire them to prepare for Higher Learning and Research.

PROGRAMME SPECIFIC OUTCOMES (PSOs)

 To provide our graduates with Core Competence in Information Processing and


Management.

 To provide our graduates with higher learning in Computing Skills.


PROGRAM OUTCOMES (POs)

Engineering Graduates will be able to:


1. Engineering knowledge: Apply the knowledge of mathematics, science,
engineering fundamentals, and an engineering specialization to the solution of
complex engineering problems.
2. Problem analysis: Identify, formulate, review research literature, and analyze
complex engineering problems reaching substantiated conclusions using first
principles of mathematics, natural sciences, and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering
problems a n d design system components or processes that meet the specified
needs with appropriate consideration for the public health and safety, and the
cultural, societal, and environmental considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and
research methods including design of experiments, analysis and interpretation of
data, and synthesis of the information to provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources,
and modern engineering and IT tools including prediction and modeling to
complex engineering activities with an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge
to assess societal, health, safety, legal and cultural issues and the consequent
responsibilities relevant to the professional engineering practice.
7. Environment and sustainability: Understand the impact of the professional
engineering solutions in societal and environmental contexts, and demonstrate the
knowledge of, and need for sustainable development.
8. Ethics: Apply ethical principles and commit to professional ethics and
responsibilities and norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a
member or leader in diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with
the engineering community and with society at large, such as, being able to
comprehend and write effective reports and design documentation, make effective
presentations, and give and receive clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of
t h e engineering and management principles and apply these to one’s own work, as
a member and leader in a team, to manage projects and in multidisciplinary
environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to
engage in independent and life-long learning in the broadest context of technology
change.
Bangalore Institute of Technology
K. R. Road, VV Pura, Bangalore - 560004

Department of Information Science and Engineering


Software Testing Laboratory (21ISL66)

Pre-requisites:

 Knowledge of Algorithms
 Extensive Knowledge of any Programming Language
 Basic Concepts of Software Engineering

Course Objectives:

The main objectives of this course are

 Understand the basic knowledge of software testing


 Analyze the requirements for the given problem statement
 Design and implement solutions for the given problem.
 Construct Control flow graphs for the solution to be implemented.

COURSE OUTCOMES (CO)

At the end of the course the students should be able to:

CO1: Identify the requirements for the given problem statement.


CO2: Implement a solution for given software testing problem.
CO3: Use appropriate functions testing strategies, compare the difference
testing techniques.
CO4: Develop the test cases and create a test report for the testing problem.
CO5: Interpret various testing tools and testing methods by group activities.
Mapping of CO’s with PO’s and PSO’s

VI-SEM Course Name : Software Testing Laboratory Code : 21ISL66


Year of Study : 2024-25

PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2

CO1 3
CO2 3 3

CO3 3 2
CO4 3 2 3
CO5 3 1 1 3 3
Software Testing Laboratory

Subject Code: 21ISL66 IA Marks : 50


Hours/Week: 02 Exam Hours: 03
Total Hours: 24 Exam Marks: 100
Credits: 01
LIST OF PROGRAMS

Sl.
Name of the Experiment
No
Design, develop, code and run the program in any suitable language to solve the
1 commission problem. Analyze it from the perspective of boundary value testing, derive
different test cases, execute these test cases and discuss the test results.
Design, develop, code and run the program in any suitable language to implement the
2 Next Date function. Analyze it from the perspective of boundary value testing, derive
different test cases, execute these test cases and discuss the test results.
Design, develop, code and run the program in any suitable language to solve the
3 commission problem. Analyze it from the perspective of decision table-based testing,
derive different test cases, execute these test cases and discuss the test results.
Design and develop a program in a language of your choice to solve the triangle problem
defined as follows: Accept three integers which are supposed to be the three sides of a
triangle and determine if the three values represent an equilateral triangle, isosceles
4 triangle, scalene triangle, or they do not form a triangle at all. Assume that the upper
limit for the size of any side is 10. Derive test cases for your program based on
equivalence class partitioning, execute the test cases and discuss the results.
Design, develop, code and run the program in any suitable language to solve the
5 commission problem. Analyze it from the perspective of dataflow testing, derive different
test cases, execute these test cases and discuss the test results.
Design, develop, code and run the program in any suitable language to implement the
6 binary search algorithm. Determine the basis paths and using them derive different test
cases, execute these test cases and discuss the test results.
Software Testing Laboratory Evaluation Rubrics

Subject Code: 21ISL66 IA Marks : 50


Hours/Week: 02 Exam Hours: 03
Total Hours: 24 Exam Marks: 100

EVALUATION CRITERIA

Maximum Marks: 30

Excellent Good Fair


Demonstrate detailed Moderate knowledge of
Write up and knowledge of requirements and
a. No requirement
analysis requirements and algorithmto solve the
analysis.
(10 Marks) algorithm to solve the given problem
(5M)
(CO1) given problem statement. statement.
(10M) (7M)
Program computes all Average
Execution possible conditions while conditions are
b. No Execution.
(15 Marks) execution of the program defined and
(7M)
(CO2) with satisfying results. verified inthe code.
(15M) (10M)
Test cases Develop all possible Partial development of No proper test
c. (5 Marks) testcases. testcases. cases defined.
(CO3) (5M) (4M) (3M)
Software Testing Laboratory

Subject Code: 21ISL66 IA. Marks: 50


Hours/Week: 02 Exam Hours: 03
Total Hours: 24 Exam Marks: 100

SCHEDULE OF EXPERIMENTS

Sl. No Name of the Experiment To be


completed

1 Introduction to software testing and sample programs. Week 1

2 Commission problem Week 2

3 Next Date function Week 3

4 Commission problem using decision-table base testing Week 4

5 Test-I Week 5

Triangle problem defined as follows: equilateral, isosceles, scalene Week 6


6
triangle
Commission problem using data flow testing Week 7
7

8 Binary search using basis paths Week 8

9 Test-II Week 9

10 Project Week 10

11 Project Week 11

12 Project Week 12
Software Testing Laboratory
Subject Code: 21ISL66 IA. Marks : 50 Hours/Week: 02
Exam Hours : 03 Exam Marks: 60 Total Hours : 24

INDEX

Daily Conduction
Marks
Sl. Cont Page Date of Date of Staff
CO’ s Scored
No ent No. Execution Submission Signature
30
1 1 , 2 , 3,4
Commission problem
2 Next Date function 1 , 2 , 3,4
3 Commission problem using 1 , 2 , 3,4
decision-table base testing
4 Triangle problem defined as follows: 1 , 2 , 3,4
equilateral, isosceles, scalene triangle
5 Commission problem using 1 , 2 , 3,4
data flow testing
6 1 , 2 , 3,4
Binary search using basis paths
Daily Conduction

Lab Internals
Write up Execution Result Procedural Viva Project
Knowledge Total Marks
TEST-1 (15 Marks) (25 Marks) (10 Marks) (20 Marks) (20Marks)
(CO1) (CO2) (10 Marks)
(CO3) (CO1) (CO5) 100
(CO4)

TEST-2

(T1+T2)/2=100
(100*0.2) 100 Marks scaled down 20 Marks
Daily Conduction + Lab Internals(30+20)

Signature of In-charge Staff

50
21ISL66 SOFTWARE TESTING LABORATORY

Program 1 DATE:

Design, develop, code and run the program in any suitable language to solve the
commission problem. Analyze it from the perspective of boundary value testing, derive
different test cases, execute these test cases and discuss the test results.

DESCRIPTION

1. What is boundary value testing explain?


2. How many tests are needed as per boundary value analysis?
3. What are the weaknesses of BVA?

[Department of ISE, BIT] Page 1


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 2


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 3


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 4


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 5


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 6


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 7


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 8


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 9


21ISL66 SOFTWARE TESTING LABORATORY

Program 1: Evaluation Rubrics

Maximum Marks: 30

Excellent Good Fair Marks


Demonstrate detailed
Moderate knowledge of
knowledge of
a. Write up and requirements and No
requirements and
analysis algorithmto solve the Requirement
(10 Marks) algorithm to solve the
given problem analysis.
(CO1) given problem
statement. (5M)
statement.
(7M)
(10M)
Program computes all
possible conditions Average conditions
Execution
b. whileexecution of the aredefined and No Execution.
(15 Marks)
program with verified inthe code. (7M)
(CO2)
satisfying results. (10M)
(15M)
No proper
Test cases Develop all possible Partial development of
testcases
c. (5 Marks) testcases. testcases.
defined.
(CO3) (5M) (4M)
(3M)
Total

[Department of ISE, BIT] Page 10


21ISL66 SOFTWARE TESTING LABORATORY

Program 2 DATE:

Design, develop, code and run the program in any suitable language to implement the
Next Date function. Analyze it from the perspective of boundary value testing, derive
different test cases, execute these test cases and discuss the test results.

DESCRIPTION

1. What is equivalence class software testing with example?


2. What are the different types of ECT?

[Department of ISE, BIT] Page 11


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 12


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 13


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 14


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 15


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 16


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 17


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 18


21ISL66 SOFTWARE TESTING LABORATORY

Program 2: Evaluation Rubrics

Maximum Marks: 30

Excellent Good Fair Marks


Demonstrate detailed
knowledge of Moderate knowledge of
a. Write up No
requirements and requirements and
and analysis requirement
(10 Marks) algorithm to solve the algorithmto solve the
analysis.
given problem given problem statement.
(CO1) (5M)
statement. (7M)
(10M)
Program computes all
possible conditions Average conditions are
Execution
b. whileexecution of the defined and verified in No Execution.
(15 Marks)
program with the code. (7M)
(CO2)
satisfying results. (10M)
(15M)
Test cases Develop all possible Partial development of No proper test
c. (5 Marks) testcases. testcases. cases defined.
(CO3) (5M) (4M) (3M)
Total

[Department of ISE, BIT] Page 19


21ISL66 SOFTWARE TESTING LABORATORY

Program 3 DATE:

Design, develop, code and run the program in any suitable language to solve the
commission problem. Analyze it from the perspective of decision table-based testing,
derive different test cases, execute these test cases and discuss the test results.

DESCRIPTION
1. What is decision table testing with an example?
2. What are the different types of decision tables?

[Department of ISE, BIT] Page 20


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 21


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 22


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 23


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 24


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 25


21ISL66 SOFTWARE TESTING LABORATORY

Program 3: Evaluation Rubrics


Maximum Marks: 30

Excellent Good Fair Marks


Demonstrate detailed
knowledge of Moderate knowledge of
a. Write up No
requirements and requirements and
and analysis requirement
(10 Marks) algorithm to solve the algorithmto solve the
analysis.
given problem given problem statement.
(CO1) (5M)
statement. (7M)
(10M)
Program computes all
possible conditions Average conditions are
Execution
b. whileexecution of the defined and verified in No Execution.
(15 Marks)
program with the code. (7M)
(CO2)
satisfying results. (10M)
(15M)
Test cases Develop all possible Partial development of No proper test
c. (5 Marks) testcases. testcases. cases defined.
(CO3) (5M) (4M) (3M)
Total

[Department of ISE, BIT] Page 26


21ISL66 SOFTWARE TESTING LABORATORY

Program 4 DATE:

Design and develop a program in a language of your choice to solve the triangle problem
defined as follows: Accept three integers which are supposed to be the three sides of a
triangle and determine if the three values represent an equilateral triangle, isosceles
triangle, scalene triangle, or they do not form a triangle at all. Assume that the upper
limit for the size of any side is 10. Derive test cases for your program based on
equivalence class partitioning, execute the test cases and discuss the results.

DESCRIPTION

1. What are the disadvantages of decision table testing?

[Department of ISE, BIT] Page 27


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 28


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 29


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 30


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 31


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 32


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 33


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 34


21ISL66 SOFTWARE TESTING LABORATORY

Program 4: Evaluation Rubrics


Maximum Marks: 30

Excellent Good Fair Marks


Demonstrate detailed
knowledge of Moderate knowledge of
a. Write up No
requirements and requirements and
and analysis requirement
(10 Marks) algorithm to solve the algorithmto solve the
analysis.
given problem given problem statement.
(CO1) (5M)
statement. (7M)
(10M)
Program computes all
possible conditions Average conditions are
Execution
b. whileexecution of the defined and verified in No Execution.
(15 Marks)
program with the code. (7M)
(CO2)
satisfying results. (10M)
(15M)
Test cases Develop all possible Partial development of No proper test
c. (5 Marks) testcases. testcases. cases defined.
(CO3) (5M) (4M) (3M)
Total

[Department of ISE, BIT] Page 35


21ISL66 SOFTWARE TESTING LABORATORY

PROGRAM 5 DATE:

Design, develop, code and run the program in any suitable language to solve the
commission problem. Analyze it from the perspective of dataflow testing, derive different
test cases, execute these test cases and discuss the test results.

DESCRIPTION

1. What is the basic of dataflow testing?


2. Why is dataflow testing important?

[Department of ISE, BIT] Page 36


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 37


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 38


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 39


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 40


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 41


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 42


21ISL66 SOFTWARE TESTING LABORATORY

Program 5: Evaluation Rubrics

Maximum Marks: 30

Excellent Good Fair Marks

Demonstrate detailed
knowledge of Moderate knowledge of
a. Write up No
requirements and requirements and
and analysis requirement
(10 Marks) algorithm to solve the algorithmto solve the
analysis.
given problem given problem statement.
(CO1) (5M)
statement. (7M)
(10M)
Program computes all
possible conditions Average conditions are
Execution
b. whileexecution of the defined and verified in No Execution.
(15 Marks)
program with the code. (7M)
(CO2)
satisfying results. (10M)
(15M)
Test cases Develop all possible Partial development of No proper test
c. (5 Marks) testcases. testcases. cases defined.
(CO3) (5M) (4M) (3M)
Total

[Department of ISE, BIT] Page 43


21ISL66 SOFTWARE TESTING LABORATORY

Program 6 DATE:

Design, develop, code and run the program in any suitable language to implement the
binary search algorithm. Determine the basis paths and using them derive different test
cases, execute these test cases and discuss the test results.

[Department of ISE, BIT] Page 44


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 45


21ISL66 SOFTWARE TESTING LABORATORY

[Department of ISE, BIT] Page 46


21ISL66 SOFTWARE TESTING LABORATORY

Program 6: Evaluation Rubrics

Maximum Marks: 30

Excellent Good Fair Marks


Demonstrate detailed
knowledge of Moderate knowledge of
a. Write up No
requirements and requirements and
and analysis requirement
(10 Marks) algorithm to solve the algorithmto solve the
analysis.
given problem given problem statement.
(CO1) (5M)
statement. (7M)
(10M)
Program computes all
possible conditions Average conditions are
Execution
b. whileexecution of the defined and verified in No Execution.
(15 Marks)
program with the code. (7M)
(CO2)
satisfying results. (10M)
(15M)
Test cases Develop all possible Partial development of No proper test
c. (5 Marks) testcases. testcases. cases defined.
(CO3) (5M) (4M) (3M)
Total

[Department of ISE, BIT] Page 47

You might also like