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
-
Baselining
-
Pinning
-
Skimming
-
Popping
B
Correct answer
Explanation
To answer this question, the user needs to have a basic understanding of software testing and version control concepts.
The correct option is:
B. Pinning
Explanation:
Pinning is a software testing concept that allows the test set to be associated with the tests stored in a baseline. This ensures that the tests are executed against the correct version of the software, and that the test results are accurate and reproducible.
Baselining refers to the process of creating a baseline, which is a snapshot of the software at a specific point in time. Skimming and popping are not software testing or version control concepts, and are not relevant to this question.
Therefore, the answer is:
The Answer is: B. Pinning
-
Consistent
-
Reusable
-
Proactive
-
Productive
A,B,D
Correct answer
Explanation
Automated testing provides consistent results by eliminating human variability, allows test scripts to be reused across different scenarios, and increases productivity through faster execution. Options A, B, and D correctly identify these key advantages.
-
By class and properties
-
By class and methods
-
By methods and properties
-
By class only
A
Correct answer
Explanation
QTP identifies objects by their class (type) and a set of properties that uniquely distinguish them from other objects. Methods define what actions can be performed on the object but are not used for identification during recording.
-
ASAP Team
-
Development Team
-
Testing Team
-
Project Management
B
Correct answer
Explanation
The Development Team is responsible for fixing security vulnerabilities found during testing (B). They own the code and must implement fixes. The ASAP team identifies issues (A) but doesn't fix code. Testing Team finds vulnerabilities (C) but doesn't fix them. Project Management coordinates (D) but doesn't do remediation.
-
Integration testing
-
System testing
-
Penetration testing
-
Unit testing
C
Correct answer
Explanation
Penetration testing is the security-focused testing performed by ASAP teams during testing and rollout phase, simulating real-world attacks to identify exploitable vulnerabilities. Integration (A) and System (B) testing are functional testing types, while Unit (D) is done by developers.
-
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 security framework that provides methodology for application security assessment and integrating security into the SDLC. It's not just testing (C), nor a product (D) - it's a comprehensive framework. Option A calls it a methodology which is partially true but less accurate than framework.
-
Data is validated against a list of values that are known to be valid
-
Data is validated against a list of values that are known to be invalid
-
Both of the above
-
None of the above
A
Correct answer
Explanation
Whitelist data validation means only accepting data that matches a pre-approved list of valid values. This approach is more secure than blacklist validation because it explicitly defines what is permitted rather than trying to block every possible bad input. Option B describes blacklist validation (checking against known invalid values), which is the opposite of whitelisting.
-
During testing
-
During development
-
During design
-
During all phases of application development
D
Correct answer
Explanation
Application security must be considered throughout the entire SDLC - from requirements and design through development, testing, and deployment. Focusing on only one phase (testing, development, or design) leaves vulnerabilities in other phases and is far less effective than continuous security.
-
ASAP Team
-
Development Team
-
Testing Team
-
Project Management
B
Correct answer
Explanation
The Development Team is responsible for fixing security vulnerabilities found during testing because they own the codebase and have the technical expertise to implement fixes. The ASAP Team identifies vulnerabilities, the Testing Team discovers them, and Project Management oversees the process, but none are responsible for the actual remediation work.
-
Integration testing
-
System testing
-
Penetration testing
-
Unit testing
C
Correct answer
Explanation
The ASAP Team performs penetration testing during the testing and rollout phase, which involves simulating real-world attacks to identify security weaknesses. Integration and system testing (options A and B) are typically done by the QA/testing team, while unit testing (option D) is done by developers during coding. Penetration testing is specifically focused on security.
-
ASAP Team
-
Development Team
-
Testing Team
-
Project Management
B
Correct answer
Explanation
The Development Team is responsible for fixing security vulnerabilities found during testing because they own the codebase and have the technical expertise to implement fixes. The ASAP Team identifies vulnerabilities, the Testing Team discovers them, and Project Management oversees the process, but none are responsible for the actual remediation work.
-
Integration testing
-
System testing
-
Penetration testing
-
Unit testing
C
Correct answer
Explanation
Penetration testing involves simulating real-world attacks on a system to identify security vulnerabilities before malicious actors can exploit them. The ASAP team specializes in security assessments, making penetration testing the most appropriate type of security-focused testing during the rollout phase.
-
During testing
-
During development
-
During design
-
During all phases of application development
D
Correct answer
Explanation
Application security must be integrated throughout every phase of development. Thinking about security only during testing is too late, and focusing only on design or development misses crucial aspects. Security considerations should begin at requirements gathering and continue through deployment and maintenance.
-
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 testing involves examining and testing the internal logical structures, code, and design of an application. Black-box testing focuses on inputs and outputs without knowledge of internal code structure. The key difference is access to and understanding of the internal workings.
-
Grey-box testing
-
Black-box testing
-
White-box testing
-
None of these
C
Correct answer
Explanation
White-box testing involves analyzing source code and internal logic. Using regular expressions and pattern databases to scan code for suspicious patterns is a static white-box technique, as it requires access to and examination of the underlying source code.