Computer Knowledge
Software Testing and Quality Control
2,598 Questions
Software testing and quality control questions cover testing methodologies, unit testing, and defect management. These concepts are crucial for the computer knowledge sections of competitive exams. Practice these questions to understand verification and validation processes thoroughly.
Quality control typesUnit testing purposeSoftware vulnerability testingTest planning tasksLoop testing criteriaTest harness functions
Software Testing and Quality Control Questions
-
Fast Forwarding of Test case steps
-
Manual Test Case Recording
-
Scheduling the test case runs
-
Tracking the test cases
-
All of the above
-
Incremental Check-ins
-
Test driven development
-
Gated Check-ins
-
Continuous integration
C
Correct answer
Explanation
Gated check-ins is the TFS feature that allows testing check-ins before building completes. When a developer submits a gated check-in, the build system shelves the changes, builds the project, runs tests, and only commits the changes if everything passes. This prevents broken builds from entering the repository.
-
Breakpoint
-
Intellitrace
-
Debugger
-
VS Debugger
B
Correct answer
Explanation
Intellitrace (formerly Historical Debugger) is the VS 2010 feature that enables historical debugging. It records events and method calls during execution, allowing developers to step backward and forward through code execution history to diagnose bugs that are difficult to reproduce.
-
TamperIE
-
CookieMonitor
-
SQL Profiler
-
All the above
D
Correct answer
Explanation
TamperIE modifies requests to test input validation. CookieMonitor examines cookie data for security issues. SQL Profiler helps analyze SQL injection vulnerabilities. All three are legitimate security testing tools.
-
Penetration testing
-
Vulnerability Testing
-
Risk Assessment
-
All the above
-
None of the above
D
Correct answer
Explanation
Penetration testing actively exploits vulnerabilities. Vulnerability testing identifies security weaknesses. Risk assessment evaluates potential impact and likelihood. Security testing encompasses all these activities.
-
Confidentiality
-
Integrity
-
Availability
-
Functionality Testing
-
All the above
A,B,C
Correct answer
Explanation
Confidentiality ensures data is only accessible to authorized parties. Integrity guarantees data is not altered without authorization. Availability ensures systems and data are accessible when needed. These are the three pillars of the CIA triad.
-
Check the memory leaks
-
Check the robustness
-
Check the branch coverage
-
Check the decision tables
D
Correct answer
Explanation
Component testing focuses on individual software components. Memory leak checking, robustness testing, and branch coverage are all component-level testing activities. Decision table testing is a system-level or acceptance testing technique that examines complex business logic and decision rules, not component behavior.
-
System testing
-
Acceptance testing
-
Integration testing
-
Smoke testing
B
Correct answer
Explanation
Contract and regulation testing verifies that software meets contractual obligations and regulatory requirements. This is a key part of acceptance testing, which validates that the system meets business and legal requirements before it's accepted by stakeholders. It's not system testing (functional verification), integration testing (interface verification), or smoke testing (basic stability check).
-
Boundary value analysis
-
Equivalence partitioning
-
Decision table testing
-
State transition testing
B
Correct answer
Explanation
Equivalence partitioning divides input and output domains into classes where tests from one class represent all others, achieving coverage. Boundary value analysis focuses on edge values, decision tables handle complex logic, and state transition tests model state changes.
-
Identifying test conditions only, not Identifying test cases
-
Not Identifying test conditions, Identifying test cases only
-
Identifying test conditions and Identifying test cases
-
Identifying test conditions or Identifying test cases
C
Correct answer
Explanation
Test design techniques serve the dual purpose of identifying test conditions (what to test) AND identifying specific test cases (how to test). Options A and B are incomplete - focusing on only one aspect. Option D incorrectly suggests 'or' instead of 'and'.
-
To ensure that the test case specification is complete
-
To set the criteria used in generating test inputs
-
To know when test planning is complete
-
To plan when to stop testing
-
Testing to see where the system does not function properly
-
Testing quality attributes of the system including performance and usability
-
Testing a system feature using only the software required for that action
-
Testing a system feature using only the software required for that function
B
Correct answer
Explanation
Non-functional testing examines quality attributes rather than functional behavior. This includes performance testing (speed, response time), usability testing (user experience), reliability, security, and other '-ilities'. Option A describes functional testing, while options C and D describe functional feature testing.
-
i, iii & iv are true, ii & v are false
-
iii is true, i, ii, iv & v are false
-
iii & iv are true, i, ii & v are false
-
i, iii, iv & v are true, ii is false
A
Correct answer
Explanation
Early test design prevents fault multiplication (catching requirements issues before implementation), finds faults early when cheaper to fix, and can cause requirement changes based on test insights. Statement ii is false - early faults are LESS expensive to fix. Statement v is situational - early design can reduce total effort despite upfront investment.
-
All the planned tests have been run
-
Time has run out
-
All faults have been fixed correctly
-
It depends on the risks for the system being tested
D
Correct answer
Explanation
Testing completion is risk-based, not based on arbitrary criteria like running all tests, time expiration, or fixing all faults. The decision depends on the acceptable level of residual risk for the system being tested. Options A, B, and C are incomplete approaches that don't consider business risk.
-
Early testing
-
Defect clustering
-
Pesticide paradox
-
Exhaustive testing
D
Correct answer
Explanation
Exhaustive testing (testing all possible inputs and combinations) is impractical and impossible for non-trivial systems - it's NOT a testing principle. Early testing, defect clustering (Pareto principle), and pesticide paradox (repeated tests become less effective) ARE recognized testing principles.