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

Multiple choice technology testing
  1. Baselining

  2. Pinning

  3. Skimming

  4. Popping

Reveal answer Fill a bubble to check yourself
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

Multiple choice technology testing
  1. Consistent

  2. Reusable

  3. Proactive

  4. Productive

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. By class and properties

  2. By class and methods

  3. By methods and properties

  4. By class only

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. ASAP Team

  2. Development Team

  3. Testing Team

  4. Project Management

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. Integration testing

  2. System testing

  3. Penetration testing

  4. Unit testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. Its a TCS proprietary methodology

  2. Its a security framework

  3. Its about security testing

  4. Its a product from TCS

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. Data is validated against a list of values that are known to be valid

  2. Data is validated against a list of values that are known to be invalid

  3. Both of the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. During testing

  2. During development

  3. During design

  4. During all phases of application development

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. ASAP Team

  2. Development Team

  3. Testing Team

  4. Project Management

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. Integration testing

  2. System testing

  3. Penetration testing

  4. Unit testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. ASAP Team

  2. Development Team

  3. Testing Team

  4. Project Management

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. Integration testing

  2. System testing

  3. Penetration testing

  4. Unit testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. During testing

  2. During development

  3. During design

  4. During all phases of application development

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. White-box testing is performed by an independent programmer team

  2. Black-box testing uses the bottom-up approach

  3. Black-box testing involves the business units

  4. White-box testing examines the program internal logical structures

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology security
  1. Grey-box testing

  2. Black-box testing

  3. White-box testing

  4. None of these

Reveal answer Fill a bubble to check yourself
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.