Computer Knowledge
Software Testing and Quality Control
2,292 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
-
Component testing should be performed by development
-
Component testing is also know as isolation or module testing
-
Component testing should have completion criteria planned
-
Component testing does not involve regression testing
D
Correct answer
Explanation
Component testing, also called unit or module testing, is performed by developers and requires planned completion criteria. It absolutely involves regression testing to ensure changes to one component don't break others. Statement D is false because regression testing is a standard part of component testing.
-
Execution
-
Design
-
Planning
-
Check Exit criteria completion
C
Correct answer
Explanation
Finding faults during the planning phase is most cost-effective because preventing defects early avoids expensive rework later. While design review also catches issues early, planning establishes the entire testing strategy and can prevent entire categories of faults. Planning is considered most cost-effective because it enables prevention at the earliest stage.
-
Being diplomatic
-
Able to write software
-
Having good attention to detail
-
Able to be relied on
B
Correct answer
Explanation
While useful technical skills, testers don't necessarily need to write production software. More critical are soft skills like diplomacy for reporting issues, attention to detail for thorough testing, and reliability for consistent execution. Technical writing skills for test documentation are more important than programming ability for most testers.
-
Interim Test report
-
Final test report
-
Project status report
-
Management report
C
Correct answer
Explanation
A function/test matrix maps software functions to their corresponding tests, tracking test coverage and execution status. It is typically included in project status reports to communicate progress. It is not exclusively an interim, final, or high-level management report.
-
Does not meet people needs
-
Cultural difference
-
Loss of control over reallocation of resources
-
Relinquishments of control
B
Correct answer
Explanation
The primary difference is cultural - varying communication styles, business practices, and expectations across countries affect testing processes and outcomes. Other options like resource allocation (C) or relinquishing control (D) are contract-specific, not geography-specific.
-
a) RTH- Turbo
-
b) Bugzilla
-
c) QC
-
d) RPT
D
Correct answer
Explanation
RPT (Rational Performance Tester) is a performance and load testing tool, not a test management tool. RTH-Turbo, Bugzilla, and Quality Center (QC) are designed to manage the testing process, test cases, and defects.
-
a) Equivalence Partitioning
-
b) Boundary Value Analysis
-
c) Error Guessing
-
d) None of the above
D
Correct answer
Explanation
White Box Testing techniques involve analyzing internal code structure, logic, and implementation. Equivalence Partitioning, Boundary Value Analysis, and Error Guessing are all Black Box Testing techniques that focus on inputs and outputs without examining internal code. Therefore, 'None of the above' is correct as none of these are White Box techniques.
-
a)Quality Control is testing the software or product for its intended behavior
-
b) Quality Control is testing the processes involved in developing and testing the software or product.
-
c) Quality Assurance is testing the software or product for its intended behavior.
-
d) None of the above.
A
Correct answer
Explanation
Quality Control is defined as testing the software or product for its intended behavior - it involves actual testing activities to find defects. Quality Assurance focuses on process improvement and preventing defects. Option A correctly defines Quality Control as product testing for intended behavior.
-
a) Installation Testing
-
b) Penetration Testing
-
c) Security Testing
-
d) Recovery Testing
B
Correct answer
Explanation
Penetration Testing is specifically conducted to determine whether software is vulnerable to attacks by simulating real-world attacks. While Security Testing is a broader category, Penetration Testing is the specific technique mentioned for vulnerability assessment. Installation Testing and Recovery Testing serve different purposes.
-
ASAP Team
-
Development Team
-
Testing Team
-
Project Management
B
Correct answer
Explanation
The development team is responsible for fixing security vulnerabilities discovered during testing. While the ASAP or testing team identifies issues through security assessments, the developers who wrote the code must remediate them. This ensures proper understanding of the codebase and appropriate fixes.
-
Integration testing
-
System testing
-
Penetration testing
-
Unit testing
A
Correct answer
Explanation
The ASAP team conducts integration testing during the testing and rollout phase to verify that security controls work correctly when different components and systems interact. This ensures security is maintained as components are integrated.
-
Its a TCS proprietary methodology
-
Its a security framework
-
Its about security testing
-
Its a product from TCS
B
Correct answer
Explanation
TCS ASAP is a comprehensive security framework that provides methodology, guidelines, and processes for integrating security throughout the application development lifecycle. It is not a product or just testing, but a structured approach to application security.
-
White-box testing is performed by an independent programmer team
-
Black-box testing uses the bottom-up approach
-
Black-box testing involves the business units
-
White-box testing examines the program internal logical structures
D
Correct answer
Explanation
White-box testers see source code and can design tests targeting specific internal logic paths. Black-box testers only see inputs and outputs like external users. Options A, B, and C are incorrect - tester independence, approach strategy, and business unit involvement don't define the difference.
-
Grey-box testing
-
Black-box testing
-
White-box testing
-
None of these
C
Correct answer
Explanation
White-box testing involves analyzing source code directly to find vulnerabilities. Regex-based scanning is a static white-box technique that examines code patterns. Black-box (B) tests without code access, and grey-box (A) combines limited internal knowledge with external testing.
-
ASAP Team
-
Development Team
-
Testing Team
-
Project Management
B
Correct answer
Explanation
The Development Team owns the codebase and is responsible for implementing fixes for security vulnerabilities discovered during testing. While testing teams identify issues, remediation requires developers to modify the actual source code.