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
-
Specification-based testing
-
Grey box testing
-
both
-
None
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.
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.
-
Actual ETP values/ HLSP values/Test Case Name/ Regression
-
Actual ETP values/ Re-Run Likely/ Test Case Complexity/ Regression/ No. of similar Test Cases
-
Demand / Release / Stream/ Actual ETP/ HLSP Name/
-
Actual ETP/ No. of similar Test Cases/ HLSP Name/ Stream/ Demand
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.
-
Demand Tab
-
Summary Tab
-
Estimation Tab
-
Others Tab
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.
-
taken up
-
carried out
-
looked into
-
run on
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.
-
Errors exist!
-
There are none!
-
Defects can find Testers!
-
There are always defects!
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.
-
Customers at the developers site
-
An independent Test Team
-
An Internal Test Team
-
Customers at their own site
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.
-
A fault
-
A failure
-
A defect
-
An error
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.
-
When the allocated time has run out
-
When all planned tests have been executed
-
It is dependant on the risks for the item under test
-
When there are no more faults
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.
-
Unit Testing
-
Maintenance Testing
-
Non-Functional Systems Testing
-
User Acceptance Testing
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.
-
Process EBF
-
Entity EBF
-
None
-
Both
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.
-
When the code is complete.
-
When the design is complete.
-
When the software requirements have been approved.
-
When the first code module is ready for unit testing
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.
-
Requirements
-
Design
-
Code
-
Decision table
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.
-
Impossible to answer
-
Easy to answer
-
Depends on the risk, contract and requirements
-
Depends on the maturity of your developers
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.
-
Missing Statements
-
Unused Branches
-
Dead Code
-
Unused Statement
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.