THEORY EXAMINATION (SEM–VI) 2016-17 SOFTWARE TESTING

B.Tech General 0 downloads
₹29.00

SOFTWARE TESTING (EIT062)

Section-wise Solved Answers & Notes

 

SECTION – A (10 × 2 = 20 Marks)

Short, precise answers

 

(a) Validation vs Verification

VerificationValidation
Are we building the product right?Are we building the right product?
Reviews, inspectionsTesting & execution
Process-orientedProduct-oriented

(b) Role of Review in Software Testing

Reviews help detect defects early, improve quality, reduce rework cost, and ensure compliance with requirements before testing begins.

 

(c) Factors responsible for requirement changes

• Changing customer needs                              • Market competition
• Technological changes                                    • Poor initial requirement analysis
• Regulatory changes

 

(d) Levels of Testing

• Unit Testing                                                      • Integration Testing
• System Testing                                                 • Acceptance Testing

 

(e) Testing vs Debugging

TestingDebugging
Finds failuresFixes defects
Performed by testersPerformed by developers
Error detectionError correction

(f) Mutation Testing

Mutation testing checks test suite effectiveness by making small changes (mutants) in code and seeing if tests detect them.

 

(g) Impracticality of testing all paths

Due to large number of possible execution paths, testing all paths is impossible for real-world programs.

 

(h) Significance of Navigation Testing

Ensures correct navigation between pages/screens, especially in web and GUI applications, improving usability.

 

(i) Use Case Diagram – Library Management System

Actors:       • Librarian                                          • Student

Use cases:
                 • Issue book                                        • Return book
                 • Search book                                      • Maintain records

(Neat diagram to be drawn in exam)

 

(j) Software Evolution

Software evolution refers to continuous modification of software after delivery to fix defects, adapt to changes, and add features.

 

SECTION – B (Attempt Any Five) (5 × 10 = 50 Marks)

(a) Regression Testing & Code Coverage Prioritization

Regression Testing:
Re-testing software after changes to ensure existing functionality is not broken.

Code coverage prioritization:
Test cases are prioritized based on maximum code coverage first.

Example:
Test cases covering more branches/functions are executed earlier.

 

(b) Object Oriented Testing & Issues

Testing process:                                                 • Testing classes
• Testing class interactions                                   • Testing inheritance & polymorphism

Issues:
• Encapsulation hides data                                   • Dynamic binding
• Inheritance complexity

 

(c) Risk Matrix

A risk matrix evaluates probability vs impact of risks.

Steps:                                                                   Identify risks

Assign probability                                                 Assign impact

Categorize as high/medium/low priority

 

(d) State Chart Diagram                                        A state chart diagram shows state changes of a system.

Stack example:
States: Empty → Not Empty                                 Operations: push(), pop()

(Diagram to be drawn in exam)

 

(e) Static & Dynamic Testing Tools

Static testing tools:
• Code analyzers                                                  • Review tools

 

Dynamic testing tools:
• Unit testing tools (JUnit)                                   • Performance tools (LoadRunner)

 

(f) SRS & SDD Document Verification

SRS verification checklist:                                 • Completeness
• Consistency                                                        • Unambiguity
• Verifiability

 

SDD verification checklist:                                  • Correct architecture
• Interface clarity                                                    • Design standards

 

(g) Test, Test Case, Test Suite & Test Oracle

Test: Execution to find defects                            • Test case: Input + expected output
Test suite: Collection of test cases                      • Test oracle: Determines correctness

Scenario: Login system validation.

 

(h) Cause–Effect Graphing Technique

Technique converts requirements into logical conditions.

Notations:                                                            • Cause (input condition)
• Effect (output condition)                                     • Logical operators (AND, OR, NOT)

Example: ATM withdrawal rules.

 

SECTION – C (Attempt Any Two) (2 × 15 = 30 Marks)

 

Q3 (i) Activity Diagram                                           Activity diagram shows flow of control.

Basic symbols:
• Initial node                                                          • Activity
• Decision node                                                     • Final node

 

Q3 (ii) Student Division Program

Conditions:                                                            • Avg < 50 → Fail
• 50 ≤ Avg < 60 → Second division                      • Avg ≥ 60 → First division

Functions:
• getdata()                                                            • validate()
• calculate()

 

Test cases:

Avg MarksOutput
45Fail
55Second
65First

Cyclomatic complexity:

V(G)=Number of decision nodes+1V(G) = \text{Number of decision nodes} + 1V(G)=Number of decision nodes+1 

 

Q4 Previous Date Program

Equivalence Classes

• Valid dates                                              • Invalid dates

Boundary Value Analysis                           • Day = 1, 31
• Month = 1, 12                                         • Year = 1850, 2050

 

Robust Test Cases

Include invalid values (day = 0, 32)

Worst-Case Test Cases

All combinations of boundary values.

 

Q5 Short Notes

(i) Walkthrough

Informal review where author explains work to team.

(ii) Inspection

Formal review process with defined roles & checklists.

(iii) Configuration Audit

Ensures correct versions, changes, and documentation are maintained.

File Size
100.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

Graphic Designing Course Near Sector 61 Gurugram – Build Creative Skills & Start Your Design Career Gurugram
Drum Lessons Near Tilak Nagar – Learn Electronic Drums at Home with Confidence Tilak Nagar, Delhi
Prenatal Yoga Training Near Uppal Southend, Gurugram – A Calm & Healthy Pregnancy Journey Uppal Southend, Gurugram
Harmonium Classes Near By Saket – Learn Classical & Devotional Music with Confidence Delhi
Fitness Training Near By Najafgarh Professional Workout Programs for Strength, Weight Loss & Overall Wellness Najafgarh, Delhi
Public Speaking Training Near Sector 109 Noida – Improve Confidence and Communication Skills Noida
Home Tuition (All Subjects) Near Dwarka Mor – Personalized Learning for Academic Success Dwarka Mor, Delhi
Science Classes Near By Dwarka Mor – Build Strong Concepts in Physics, Chemistry & Biology Dwarka Mor, Delhi
Spoken English Classes Near By Vasant Kunj Improve Fluency, Build Confidence & Achieve Career Growth in 2026 Vasant Kunj, Delhi
Resume & Interview Coaching Near By Dwarka Mor Build a Professional Resume, Crack Interviews & Secure Your Dream Job Dwarka Mor, Delhi
Cake Decoration Classes Near By Dwarka Mor – Master the Art of Creative Cake Designing Dwarka Mor, Delhi
Social Science Classess Dwarka Mor, Delhi
Spoken English Classes Near By Saket Improve Fluency, Confidence & Career Opportunities with Expert Training in 2026 Saket, Delhi
Guitar Classes Near By Green Park Learn Guitar with Expert Trainers & Turn Your Passion into a Lifelong Skill Green Park, Delhi
Spoken English Classes Near By Tilak Nagar Improve Fluency, Build Confidence & Unlock Career Opportunities in 2026 Tilak Nagar, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near DLF Phase 4 Gurugram DLF Phase IV, Gurugram
Music Theory & Composition Classes Near By Najafgarh – Build Your Musical Foundation Najafgarh, Delhi
Drum Lessons (Electronic Drums Preferred at Home) Near Sector 146 Noida – Learn Drumming with Professional Trainers Sector 146, Noida
Prenatal Yoga Training Near By Uttam Nagar – Safe & Guided Pregnancy Wellness Uttam Nagar, Delhi
Guitar Classes Near By Malviya Nagar Learn Guitar with Expert Trainers & Turn Your Passion into Skill in 2026 Malviya Nagar, Delhi
⭐ 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