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
-
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.
-
Critical transactions
-
Account Lockout
-
Page load times for all application pages
-
Login/Logout events for users
C
Correct answer
Explanation
Logging page load times for all application pages is inappropriate for continuous logging because it generates excessive volume of low-value data, degrades performance, and makes it difficult to find meaningful security events. Continuous logging should focus on security-relevant events like logins, lockouts, and critical transactions.
-
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.
-
Integration testing
-
System testing
-
Penetration testing
-
Unit testing
C
Correct answer
Explanation
Penetration testing involves simulating real-world attacks to identify security weaknesses before deployment. This active testing approach is typically performed by security teams during the testing and rollout phase to validate defenses.
-
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 proprietary security framework that provides structured methodology for application security assessment. It defines processes, engagement models, and best practices for integrating security into the software development lifecycle.
-
User Analysis stage
-
Task Analysis stage
-
Testing Stage
-
Development Stage
C
Correct answer
Explanation
Heuristic evaluation is a usability testing method performed by experts to identify design flaws. While best conducted iteratively throughout the design lifecycle, it functions as an evaluation and testing process to critique interfaces and prototypes before public release.
-
It is deleted if the corresponding properties are set.
-
It is hidden if the corresponding properties are set.
-
An end user can delete any Live object within any special properties to be set
-
It is hidden even if no special properties set.
B
Correct answer
Explanation
When an end user deletes a Live object, it is hidden (not completely deleted) if the corresponding deletion properties are properly configured. This allows for recovery or controlled deletion behavior. Special properties must be set for this to work - it won't happen automatically.
A
Correct answer
Explanation
Exception Handler activities in DataStage are triggered by exception conditions and do not require input links. They can exist as standalone activities that execute when an exception occurs.
A
Correct answer
Explanation
The Exception Handler activity in DataStage is designed to catch and handle exceptions that occur during job execution. It does not require any input links to function - its purpose is to handle errors that might occur in other stages. The minimum number of input links required is zero. Therefore option A (0) is correct.
-
When a login sequence needs to be recorded
-
When a particular application flow needs to be recorded
-
When in session parameter needs to be defined
-
When you need to test only a part of your application
B
Correct answer
Explanation
Multi-step operations record complex application flows requiring multiple sequential requests to reach a specific state or functionality. This includes multi-page forms, wizards, workflows where state changes across requests, or any scenario requiring navigation through several pages. It's not just for login sequences or parameter manipulation - it captures any complex user journey.
-
Black box security testing
-
White box security testing
-
Gray box security testing
-
Blue box security testing
A
Correct answer
Explanation
AppScan operates as a black-box tool, testing applications from the outside by sending HTTP requests and analyzing responses without accessing source code or internal state. It simulates an external attacker's perspective.
-
Inform the user population about the test
-
Inform the QA and system administers about the test
-
Backup the database
-
Shut down the configured SMPT servers
A,B,C
Correct answer
Explanation
Before testing, you must communicate (notify users and administrators so they're aware of potential disruptions), protect data (backup the database to enable recovery if the test causes issues), and document (though not listed here, documentation is also critical). SMTP servers should remain running unless specifically testing email handling. The question tests standard test preparation protocols.