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. Understanding what managers value about testing

  2. Identifying potential customer work-arounds for bug

  3. Explaining test results in a neutral fashion

  4. All the above

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

Explaining test results neutrally is most critical for good tester-developer relationships. Understanding managers' values (A) is useful but secondary. Identifying workarounds (B) helps customers but doesn't directly maintain developer relationships. Neutral communication reduces defensiveness and promotes collaboration, making it the highest priority.

Multiple choice technology testing
  1. Component Testing

  2. Functional Testing

  3. Non-functional Testing

  4. Acceptance Testing

  5. Both 2 & 3

  6. Both 1 & 3

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

The question asks for a 'test type'. Component testing is a level, not a type. Functional testing and non-functional testing ARE test types. Acceptance testing is a level. Therefore 'Both 2 & 3' (Functional and Non-functional testing) is correct. These are the two main categories of test types based on what is being tested.

Multiple choice technology testing
  1. Unit Testing

  2. System Testing

  3. Independant Testing

  4. Destructive Testing

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

Independent testing involves testers who are separate from the development team, reducing confirmation bias and promoting objectivity. In contrast, unit testing is typically performed by the original developers who may overlook their own mistakes. System and destructive testing define scope and approach rather than organizational independence.

Multiple choice technology testing
  1. V,W or Y

  2. W, X or Y

  3. V,Y or Z

  4. W,X or Z

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

Structure-based (white-box) coverage includes: decision outcomes (branch coverage), conditions within decisions (condition coverage), and statements executed (statement coverage). Partitions and boundaries are black-box (equivalence partitioning and boundary value analysis) concepts, not white-box. Therefore V (decision outcomes), Y (conditions), and Z (statements) are the correct white-box measures.

Multiple choice technology testing
  1. Data-driven and keyword-driven

  2. Data-driven and capture driven

  3. Capture driven and keyhole-driven

  4. Playback-driven and keyord-driven

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

To understand this question, the user needs to know the basic concepts of test automation and the common scripting techniques.

Data-driven testing is a technique that uses data from external sources (such as spreadsheets or databases) to drive test execution. Keyword-driven testing is a technique that uses a set of keywords or actions to define test steps. Capture-driven and keyhole-driven are not commonly used scripting techniques in test automation. Playback-driven is a term that refers to the ability of a tool to record user actions and then play them back as a test script. However, it is not an advanced scripting technique.

Therefore, the correct answer is:

The Answer is: A. Data-driven and keyword-driven.

Multiple choice technology packaged enterprise solutions
  1. Perform harness

  2. Confirm harness

  3. Review harness

  4. Reopen harness

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

In Pega, the New harness is used to initialize and create a new case. Once the case is submitted and created, the user is transitioned to the Perform harness to complete the initial assignment. Review and Confirm harnesses are for read-only viewing or confirmation of completed work, respectively.

Multiple choice technology packaged enterprise solutions
  1. pyPropertyStatus

  2. pxMethodStatus

  3. pxPropertyStatus

  4. pyMethodStatus

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

In Pega, most activity methods, including Property-Remove, update the system property pxMethodStatus to indicate the success or failure status of the method execution. Property-specific or developer-defined properties like pyPropertyStatus are not automatically updated by system methods.

Multiple choice technology testing
  1. Test Planning and Design

  2. Test Analysis and Control

  3. Test Planning and Control

  4. Test execution and reoprting

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

Test Planning and Control is indeed one of the fundamental activities in the test process according to ISTQB. The fundamental test process consists of planning and control, analysis and design, implementation and execution, evaluating exit criteria and reporting, and closure. Option A incorrectly says 'Planning and Design' which are separate phases. Option B incorrectly says 'Analysis and Control' - analysis is separate from planning/control. Option D has a typo ('reoprting') but also incorrectly names a phase.

Multiple choice technology embedded technologies
  1. Tool support for performance and monitoring

  2. Tool support for static testing

  3. Tool support for test execution and logging

  4. Tool support for management of testing tools

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

Test comparator tools are used to compare actual outputs with expected outputs during test execution, making them part of test execution and logging support. They compare files, data, or screens. Option A (performance monitoring) is wrong - that's for load/performance tools. Option B (static testing) is wrong - comparators work on runtime outputs. Option D (management of testing tools) is wrong - comparators aren't meta-tools.

Multiple choice technology testing
  1. White Box Techniques

  2. Black Box Techniques

  3. Glass Box Techniques

  4. Experience Based Techniques

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

Deriving test cases based solely on the functional specification of a component, without knowledge of its internal structure, is the definition of black-box testing. White-box (or glass-box) testing requires internal code visibility, while experience-based techniques rely on subjective tester expertise rather than specifications.

Multiple choice technology testing
  1. Identifying defects

  2. Fixing defects

  3. Both A & B

  4. None of the above

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

All three activities - reviews, static analysis, and dynamic testing - share the objective of identifying defects. Reviews find defects in documents, static analysis finds defects in code without executing it, and dynamic testing finds defects by executing the code. Option B is wrong because none of these directly fix defects - fixing is a development activity. Option C is incorrect because fixing isn't their objective.

Multiple choice technology testing
  1. Finding Defcts

  2. Gaining confidence about the level of Quality

  3. Preventing Defects

  4. Debugging Defects

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

Debugging is NOT a testing objective - it's a development activity. Testing objectives include: finding defects (A), gaining confidence about quality (B), and preventing defects (C) by designing tests early. Debugging (identifying root cause and fixing) happens after testing finds a defect. Options A, B, C are valid testing objectives.

Multiple choice technology testing
  1. Equivalence partition

  2. Decision tables

  3. Transaction Diagrams

  4. Decision Testing

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

Decision Testing is a white-box technique (also called branch testing), not a black-box technique. Black-box techniques include Equivalence Partitioning (A), Boundary Value Analysis, Decision Tables (B), State Transition Testing, and Use Case Testing. Transaction Diagrams (C) are not a standard black-box technique name but may refer to flow-based testing. Decision Testing examines internal code branches and requires knowledge of implementation.

Multiple choice technology testing
  1. Data validity testing.

  2. Data Integritity testing

  3. Performance related to data base.

  4. Testing of Procedure,triggers and functions.

  5. 1 & 2

  6. All the above

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

Database testing is comprehensive, covering data validity (correct values and formats), data integrity (relationships, constraints, and referential integrity), performance (optimization and indexing), and programmatic objects (procedures, triggers, and functions). All these aspects are essential for thorough database quality assurance.