(SEM VII) THEORY EXAMINATION 2022-23 SOFTWARE TESTING

B.Tech General 0 downloads
₹29.00

SECTION A (2 Marks Each)

 

(a) Goals of Software Testing

The main goals are to find defects, ensure software meets requirements, verify quality, reduce risk, and build confidence in the system.

 

(b) Error, Fault, and Failure

An error is a human mistake, a fault is a defect in the code, and a failure occurs when the software does not perform as expected.

 

(c) Functional vs Structural Testing

Functional testing checks what the system does, while structural testing checks how the system works internally using code structure.

 

(d) Functional System Testing

Functional system testing verifies that the complete system works according to functional requirements in a real-world environment.

 

(e) Limitations of Boundary Value Analysis and Equivalence Partitioning

These techniques may miss errors outside selected boundaries and do not test internal logic or complex conditions.

 

(f) Test Data Prioritization

It is the process of arranging test data so that high-risk and critical data are tested first.

 

(g) Alpha Testing vs Beta Testing

Alpha testing is performed by developers/testers in a controlled environment, while beta testing is done by real users in a real environment.

 

(h) Test Data Generation Tools

Examples include QuickCheck, Datatect, and Test Data Generator.

 

(i) Post-Deployment Testing

Testing performed after software release to ensure it works correctly in the live environment.

 

(j) Security Testing in Object-Oriented Testing

Security testing checks vulnerabilities like unauthorized access, data leakage, and object misuse in OO systems.

 

SECTION B (10 Marks Each – Attempt Any Three)

 

(a) Test Planning and Test Plan Structure

Test planning defines scope, objectives, resources, schedule, and risks of testing. A test plan includes introduction, test objectives, test items, features to be tested, test strategy, resources, schedule, deliverables, and risk management. It acts as a roadmap for testing activities.

 

(b) White Box Testing and Cyclomatic Complexity

White box testing focuses on internal code structure. Cyclomatic complexity measures the number of independent paths in a program and helps determine the minimum number of test cases required for complete path coverage.

 

(c) Data Flow Testing Criteria

Data flow testing checks the life cycle of variables. Criteria include all-definitions, all-uses, all-definition-use paths, and all-computational-use paths to detect anomalies in variable usage.

 

(d) Organizational Structure of Testing Teams

Testing teams may include test manager, test lead, test engineers, automation testers, and domain experts. In single-product companies, teams work closely with development for better coordination.

 

(e) Object-Oriented vs Procedural Testing

Object-oriented testing focuses on classes, objects, inheritance, and polymorphism, while procedural testing focuses on functions and procedures.

 

SECTION C (10 Marks Each)

 

Q3

(a) Debugging Goals and Policies

Debugging aims to locate and fix faults, while testing aims to find defects. Debugging policies define responsibility, prioritization, and procedures for fixing defects, ensuring efficient error removal.

 

(b) Test Case, Test Suite, and Test Oracle

A test case specifies input, execution conditions, and expected result. A test suite is a collection of test cases. A test oracle determines whether test output is correct.

 

Q4

(a) White Box Testing and Its Methods

White box testing examines code logic using methods like statement coverage, branch coverage, path coverage, and condition coverage.
Unlike black box testing, it requires programming knowledge and focuses on internal structure.

 

(b) Equivalence Partitioning vs Boundary Value Analysis

Equivalence partitioning divides inputs into valid and invalid classes, while boundary value analysis tests values at the edges. Boundary testing is more effective for detecting range errors.

 

Q5

(a) Regression Testing

Regression testing ensures that changes or fixes do not break existing functionality. It is applied in every development phase to maintain software stability.

 

(b) Test Data Reduction Techniques

Techniques include test case prioritization, test suite minimization, selection based on impact analysis, and automation tools.

 

Q6

(a) Factors for Selecting Test Automation Tools

Factors include cost, compatibility, ease of use, scripting support, reporting features, scalability, and tool support.

 

(b) Static and Dynamic Testing Tools

Static tools analyze code without execution, such as lint tools. Dynamic tools test software during execution, such as Selenium and JUnit.

 

Q7

(a) GUI Test Cases for Website Login Form

Test cases include valid login, invalid password, empty username field, and password masking check.

 

(b) Class Testing and OO Integration Testing

Class testing verifies individual classes. OO integration testing focuses on object interactions, inheritance, and message passing, unlike traditional integration testing.

File Size
86.51 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Spoken English Classes Near By Defence Colony Improve Communication Skills, Confidence & Career Opportunities in 2026 Defence Colony, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near DLF Phase 4 Gurugram DLF Phase IV, Gurugram
Physiotherapy Guidance Near Tilak Nagar (Certified Professionals Only) Tilak Nagar, Delhi
Spoken English Classes Near By Govindpuri Improve Fluency, Build Confidence & Unlock Better Career Opportunities in 2026 Govindpuri, Delhi
Guitar Classes Near By Hauz Khas Learn Guitar with Expert Guidance & Turn Your Passion into a Powerful Skill Hauz Khas, Delhi
Video Editing Classes Near Sector 82A Gurugram – Learn Professional Editing Skills Sector 82A, Gurugram
Tailoring & Stitching Classes Near By Dwarka Mor – Learn Professional Sewing Skills Dwarka Mor, Delhi
Video Editing Classes Near By Dwarka Mor – Master Professional Editing Skills Dwarka Mor, Delhi
Spoken English Classes Near By Greater Kailash Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Greater Kailash, Delhi
Diet & Nutrition Consultation Near Vatika City, Gurugram – Your Path to Healthy Living Vatika City, Gurugram
English Spoken Classes Near Rosewood City – Improve Your Confidence and Fluency Rosewood, Gurugram
Violin Classes Near DLF Phase 5 – Learn, Grow & Perform with Confidence DLF Phase V, Gurugram
Study Abroad Consultation Near Sector 101 Dwarka Expressway, Gurugram – Your Gateway to Global Education Gurugram
Spanish Language Classes Near Sector 43 Gurugram – Learn Spanish with Expert Trainers Sector 43, Gurugram
Science Classes Near By Dwarka Mor – Build Strong Concepts in Physics, Chemistry & Biology Dwarka Mor, Delhi
🇫🇷 French Language Classes Near Sector 114 Noida – Learn French with Professional Trainers Noida
German Language Classes Near Central Park 2 – Learn German for Career, Study & Global Opportunities Central Park 2, Gurugram
Digital Marketing Course Near Sector 62 Gurugram – Master Online Growth & Build a High-Demand Career Sector 62, Gurugram
Geography Coaching Classes Near By Dwarka Mor Build Strong Conceptual Understanding & Score High in Board Exams Dwarka Mor, Delhi
Spoken English Classes Near Central Park 1 – Improve Confidence and Communication Skills Central Park 2, Gurugram
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020