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 platforms and products
  1. @baseclass

  2. Top Level class

  3. ClassGroups

  4. work pool

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In Pega PRPC class hierarchy, work objects can be instantiated from classes derived from Work- base class, as well as from top-level classes. The class hierarchy supports flexible instantiation patterns while maintaining proper inheritance. Top-level classes provide another entry point for creating work objects outside the standard Work- hierarchy.

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

Security must be integrated throughout all phases: design, development, and testing. Focusing on only one phase leaves vulnerabilities. Security by design is most effective when applied continuously.

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 (also called glass-box or clear-box testing) involves full knowledge of the application's internal structure, code, and logic, allowing testers to examine paths, conditions, and data flow. Black-box testing treats the application as an opaque system, testing only inputs and expected outputs without seeing internal code. White-box is typically done by developers, while black-box simulates an external attacker or user perspective.

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 the actual source code, byte code, or binary of an application to identify security vulnerabilities, coding errors, and suspicious patterns. Using regular expressions (regex) to scan code for known vulnerability patterns, dangerous function calls, or tainted data flow is a classic white-box static analysis technique. Black-box testing only tests the running application without code access, while grey-box combines both approaches.

Multiple choice technology testing
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Software testing is often legally mandated or required by contracts and specific standards (e.g., safety-critical system regulations). Thus, the statement is correct, making True the right option and False incorrect since testing is frequently obligatory for compliance.

Multiple choice technology testing
  1. alongside development standards

  2. training

  3. defect analysis

  4. all the above

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Quality assurance encompasses multiple activities including maintaining development standards, providing training, and conducting defect analysis. All these elements work together to ensure software quality throughout the development lifecycle.

Multiple choice technology testing
  1. the level of risk, including technical,safety, and business risks

  2. project constraints such as time and budget

  3. only a

  4. both 1 and 2

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Deciding when to stop testing must balance risk factors (including technical, safety, and business aspects) alongside project constraints (such as time and budget). Since both elements are essential to the decision, choosing only risk or only constraints is incomplete, making 'both 1 and 2' correct.

Multiple choice technology testing
  1. Developers and testers respectively

  2. testers

  3. Developers

  4. user

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Debugging is the process of identifying and fixing defects, which is primarily done by developers who write the code. Testing is the process of evaluating software to find defects, which is primarily done by testers who verify the system from a user perspective. This separation of concerns helps maintain objectivity in testing.

Multiple choice technology testing
  1. Testing is not context dependent

  2. Exhaustive testing is possible

  3. Early testing is impossible

  4. Absence-of-errors fallacy

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The absence-of-errors fallacy is a fundamental testing principle stating that finding and fixing defects does not guarantee a usable system. A system can be defect-free but still fail to meet user needs or business objectives. Testing is context-dependent, exhaustive testing is impossible, and early testing is actually recommended.

Multiple choice technology testing
  1. Test Analysis and Design

  2. Test Planning and Control

  3. Test Implementation and Execution

  4. Evaluating Exit Criteria and Reporting

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Test analysis and design is the phase where testability is evaluated. During this phase, testers examine the test basis (requirements, specifications) and test objects to determine if they can be effectively tested. This includes checking if the requirements are clear, measurable, and testable.

Multiple choice technology testing
  1. Checking which planned deliverables have been delivered

  2. Finalizing and archiving testware, the test environment and the test infrastructure for later reuse

  3. Handing over the testware to the maintenance organization

  4. Writing a test summary report for stakeholders

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Test closure activities include checking planned deliverables, archiving testware, and handing over to maintenance. Writing a test summary report is actually part of evaluating exit criteria and reporting, not a test closure activity. The test summary report is created earlier when deciding if testing is complete.

Multiple choice technology testing
  1. Understanding what managers value about testing.

  2. write objective and factual incident reports and review findings

  3. Identifying potential customer work-arounds for bugs

  4. Promoting better quality software whenever possible.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Good relationships between testers and developers depend on professional, objective communication. Writing factual incident reports helps developers understand and fix issues without feeling personally attacked. Understanding managers, identifying workarounds, and promoting quality are all valuable but secondary to clear, objective reporting.

Multiple choice technology testing
  1. Each test stage has a different purpose

  2. It is easier to manage testing in stages

  3. We can run different tests in different environments

  4. The more stages we have, the better the testing

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Testing is split into distinct stages primarily because each stage serves a different purpose - unit testing checks individual components, integration testing checks interfaces, system testing checks the whole system, etc. This separation ensures comprehensive coverage.

Multiple choice technology testing
  1. User acceptance testing

  2. System testing

  3. Integration testing

  4. Regression testing

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

Regression testing involves re-running many existing tests repeatedly after each code change. Test tools automate this efficiently, saving significant time and effort compared to manual execution. Other testing types like UAT, system testing, and integration testing often require more human judgment and exploratory approaches that benefit less from pure automation.