Computer Knowledge

Software Testing and Quality Control

2,292 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 general knowledge
  1. Specification-based testing

  2. Grey box testing

  3. both

  4. None

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

Specification-based testing (also called black-box testing) focuses on verifying software functionality against requirements and specifications without examining internal code structure. It tests what the system should do based on documented requirements, user needs, and functional specifications. This contrasts with structure-based (white-box) testing which examines internal implementation.

Multiple choice general knowledge
  1. True

  2. False

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

This statement is True. As established by Edsger Dijkstra's famous principle, software testing can demonstrate the presence of bugs but can never prove their absence. Testing is a sampling technique that shows defects exist under specific test conditions, but provides no guarantee about untested scenarios. Complete confidence in error-free software requires mathematical proof techniques beyond empirical testing.

Multiple choice general knowledge
  1. Actual ETP values/ HLSP values/Test Case Name/ Regression

  2. Actual ETP values/ Re-Run Likely/ Test Case Complexity/ Regression/ No. of similar Test Cases

  3. Demand / Release / Stream/ Actual ETP/ HLSP Name/

  4. Actual ETP/ No. of similar Test Cases/ HLSP Name/ Stream/ Demand

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

When updating Test Cases, the editable fields are: Actual ETP values, Re-Run Likely, Test Case Complexity, Regression status, and No. of similar Test Cases. Option A is incomplete (missing Re-Run Likely and Complexity). Option C includes Demand/Release/Stream which are reference fields not typically editable after creation. Option D includes HLSP Name and Stream which are reference fields, not editable update fields.

Multiple choice general knowledge
  1. Demand Tab

  2. Summary Tab

  3. Estimation Tab

  4. Others Tab

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

The full Test Case List Report for a particular Release, Stream, or both can be downloaded from the Estimation Tab. Options A (Demand Tab), B (Summary Tab), and D (Others Tab) are incorrect as the Estimation Tab is specifically designed to provide comprehensive Test Case listings with ETP information.

Multiple choice softskills communication
  1. taken up

  2. carried out

  3. looked into

  4. run on

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

The correct answer is 'carried out' (option B). This formal phrasal verb means to conduct, perform, or execute a procedure, test, or investigation. 'Taken up' means to begin a new activity or address an issue, 'looked into' means to investigate, and 'run on' means to continue without stopping or to operate on a particular source.

Multiple choice technology testing
  1. Errors exist!

  2. There are none!

  3. Defects can find Testers!

  4. There are always defects!

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

Testing can demonstrate the presence of defects but can never prove their complete absence (Edsger Dijkstra's principle). Even extensive testing cannot guarantee that no errors remain, making 'there are none' the correct completion of the statement.

Multiple choice technology testing
  1. Customers at the developers site

  2. An independent Test Team

  3. An Internal Test Team

  4. Customers at their own site

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

Beta testing is performed by customers at their own sites using pre-release versions of software. This differs from alpha testing (internal or at developer site) and allows real-world testing in actual customer environments before general release.

Multiple choice technology testing
  1. A fault

  2. A failure

  3. A defect

  4. An error

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

In testing terminology, a failure is the observable deviation from specified behavior that end users experience. A fault is the defect in code that causes the failure, an error is the human mistake that introduced the fault, and defect is often used interchangeably with fault.

Multiple choice technology testing
  1. When the allocated time has run out

  2. When all planned tests have been executed

  3. It is dependant on the risks for the item under test

  4. When there are no more faults

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

Testing stops based on risk assessment and business decisions, not arbitrary thresholds like time or test completion. Factors include remaining risk, cost-benefit analysis, deadlines, and acceptable quality level. It's impossible to test everything or find all faults.

Multiple choice technology testing
  1. Unit Testing

  2. Maintenance Testing

  3. Non-Functional Systems Testing

  4. User Acceptance Testing

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

Impact analysis is most critical during maintenance testing because it helps identify which parts of the system might be affected by changes or modifications. When maintaining software, you need to understand the ripple effects of changes to ensure existing functionality isn't broken. Unit testing focuses on individual components in isolation, non-functional testing examines quality attributes, and UAT focuses on business requirements - none require impact analysis as extensively as maintenance testing does.

Multiple choice technology
  1. Process EBF

  2. Entity EBF

  3. None

  4. Both

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

In Oracle Application Integration Architecture (AIA), Enterprise Business Flows (EBFs) are categorized as Process EBFs or Entity EBFs. Orchestration-type flows like TestOrderOrchestrationEBF are Process EBFs, which coordinate business processes across multiple systems.

Multiple choice technology testing
  1. When the code is complete.

  2. When the design is complete.

  3. When the software requirements have been approved.

  4. When the first code module is ready for unit testing

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

Testing activities, such as test planning, test case design, and requirement analysis, can begin as soon as the software requirements are approved. Waiting for code completion or unit testing delays the testing process unnecessarily.

Multiple choice technology testing
  1. Requirements

  2. Design

  3. Code

  4. Decision table

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

Acceptance testing verifies that software meets user requirements and business needs, so test cases are derived directly from Requirements. Design and Code are inputs for earlier testing phases. Decision tables are a test design technique, not the basis for acceptance tests.

Multiple choice technology testing
  1. Impossible to answer

  2. Easy to answer

  3. Depends on the risk, contract and requirements

  4. Depends on the maturity of your developers

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

Testing scope depends on risk (criticality of failure), contractual obligations (SLAs, penalties), and requirements complexity. It's not objectively measurable or easy to answer. Developer maturity is one factor but not the primary determinant.

Multiple choice technology testing
  1. Missing Statements

  2. Unused Branches

  3. Dead Code

  4. Unused Statement

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

Statement coverage verifies that all executable statements are run, but it cannot detect statements that should exist but don't (missing requirements). Unused branches, dead code, and unused statements may still be executed and thus covered by statement coverage.