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
-
Repetition Testing
-
Stress Testing
-
Data Testing
-
Load Testing
A,B,D
Correct answer
Explanation
Test-to-fail techniques intentionally push systems beyond normal operating conditions to expose weaknesses. Stress testing (overload), Repetition testing (endurance), and Load testing (volume) all target failure points. Data testing typically focuses on validation within normal parameters.
-
Parameterization
-
Correlation
-
Rendezvous
-
None of the above
A
Correct answer
Explanation
Parameterization is the technique of replacing hard-coded values in test scripts with variables that can take different values for each Vuser or iteration. This simulates real users entering different data (like different usernames, product IDs, or form entries) rather than all Vusers entering identical data.
-
supplements formal test design techniques
-
can only be used in component, integration and system testing.
-
is only performed in user acceptance testing.
-
is not repeatable and should not be used.
A
Correct answer
Explanation
Error guessing is an experience-based test design technique where testers use their intuition to guess where defects might exist. It supplements formal techniques by leveraging domain knowledge and past defect patterns. It is NOT limited to specific test levels (B is wrong), NOT exclusive to UAT (C is wrong), and IS repeatable as a technique (D is wrong).
-
Regression testing
-
Integration testing
-
System testing
-
User acceptance testing
A
Correct answer
Explanation
Regression testing involves re-running previously executed tests to verify that recent code changes haven't adversely affected existing functionality. Test capture/replay tools record manual test interactions and play them back automatically, making them ideal for repeated regression cycles. Integration and system testing can benefit too, but regression requires the most frequent re-execution.
-
The system shall be user friendly
-
The safety-critical parts of the system shall contain 0 faults.
-
The response time shall be less than one second for the specified design load.
-
The system shall be built to be portable.
C
Correct answer
Explanation
A testable requirement must be specific, measurable, and verifiable. Option C is testable because it specifies a concrete performance threshold (less than 1 second) under defined conditions (specified design load). Options A (user-friendly) and D (portable) are subjective with no clear pass/fail criteria. Option B (0 faults) is theoretically untestable because proving absolute zero requires infinite testing.
-
find as many faults as possible
-
test high risk areas.
-
obtain good test coverage.
-
test whatever is easiest to test.
B
Correct answer
Explanation
Risk-based testing prioritizes test effort based on the likelihood and impact of failures. High-risk areas (critical functionality, complex logic, frequently changed code) deserve priority because defects there cause the most harm. While coverage and fault counts matter, they're secondary to targeting areas where failures would be most damaging.
-
System tests are often performed by independent teams.
-
Functional testing is used more than structural testing.
-
Faults found during system tests can be very expensive to fix.
-
End-users should be involved in system tests.
D
Correct answer
Explanation
System testing evaluates the integrated system against requirements. It's typically performed by independent test teams (A is true), uses more functional than structural techniques (B is true), and faults found late are expensive to fix (C is true). However, end-users participate in USER ACCEPTANCE TESTING, not system testing (D is the false statement). System testing precedes UAT.
-
Specify Releases, Specify Requirements, Plan Tests, Execute Tests, Track Defects
-
Specify Requirements, Specify Releases, Plan Tests, Execute Tests, Track Defects
-
Specify Requirements, Plan Tests, Specify Releases, Execute Tests, Track Defects
-
Specify Releases, Specify Requirements, Plan Tests, Track Defects, Execute Tests
A
Correct answer
Explanation
The correct order of Quality Center test management phases is: Specify Releases (defining the release cycle), Specify Requirements (documenting what to test), Plan Tests (designing test cases), Execute Tests (running the tests), and Track Defects (managing bugs). This sequence follows a logical flow from release planning through defect management.
-
Regression testing
-
Integration testing
-
System testing
-
User acceptance testing
A
Correct answer
Explanation
Regression testing involves re-running previously executed tests to verify that unchanged parts of the software still work after changes. Test capture and replay tools are most beneficial here because the same tests need to be executed repeatedly after each code change, making automation highly valuable.
-
supplements formal test design techniques.
-
can only be used in component, integration and system testing
-
is only performed in user acceptance testing.
-
is not repeatable and should not be used.
A
Correct answer
Explanation
Error guessing is an experience-based technique where testers use their intuition to guess where defects might exist. It supplements formal test design techniques (like boundary value analysis or equivalence partitioning) by adding informal, heuristic-based test cases. It can be used at any testing level and is repeatable when documented.
-
Actual results
-
Program specification
-
User requirements
-
System specification
C
Correct answer
Explanation
User Acceptance Testing (UAT) validates that the system meets user needs and business requirements. Therefore, the user requirements document is the best source for expected outcomes because it defines what users actually need from the system. System specifications focus on technical implementation, while actual results are what you observe during testing.
-
Will always be automated
-
Will help ensure unchanged areas of the software have not been affected
-
Will help ensure changed areas of the software have not been affected
-
Can only be run during user acceptance testing
B
Correct answer
Explanation
Regression testing verifies that unchanged areas of software still work correctly after modifications. Its purpose is to detect unintended side effects in parts of the system that weren't directly modified. It doesn't focus on changed areas (that's the job of other tests) and can be manual or automated at any test level.
-
post-release testing by end user representatives at the developer’s site.
-
the first testing that is performed.
-
pre-release testing by end user representatives at the developer’s site
-
pre-release testing by end user representatives at their sites.
C
Correct answer
Explanation
Alpha testing is pre-release testing conducted at the developer's site by end user representatives or independent test team. It happens before beta testing (which is at users' own sites) and before general release. Option A incorrectly states post-release, option B is wrong (unit testing comes first), and option D describes beta testing.
-
found in the software; the result of an error.
-
departure from specified behaviour.
-
an incorrect step, process or data definition in a computer program
-
a human action that produces an incorrect result.
B
Correct answer
Explanation
A failure is the departure of the system from its specified behavior - it's what the user observes when the software doesn't work as expected. An error is a human mistake that causes a defect (bug) in the code, and when that defect is executed, it causes a failure. Option C describes a defect, option D describes an error, and option A is incomplete.
-
The ScanDisk utility begins to run.
-
The video card and video memory are tested.
-
The BIOS identification process occurs
-
Memory chips are checked to ensure they are working properly.
A
Correct answer
Explanation
This is an EXCEPT question asking what does NOT happen during POST. POST runs hardware diagnostics during boot: testing video cards, memory, BIOS identification, and other essential hardware. ScanDisk is a Windows disk diagnostic and repair utility that runs after the OS is fully loaded, not during the BIOS-controlled POST phase. POST happens before any operating system loads, while ScanDisk requires Windows to be running.