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
-
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
The Power-On Self-Test (POST) is a diagnostic routine that runs immediately after a computer is powered on. It tests hardware components like the video card (B), performs BIOS identification (C), and checks memory chips (D) to ensure basic functionality before booting. ScanDisk (A) is a Windows disk utility that runs optionally to check for file system errors and bad sectors - it is NOT part of the POST process.
-
System testing
-
Acceptance testing
-
Functional testing
-
White box testing
C
Correct answer
Explanation
Functional testing focuses on validating that the system behaves according to requirements by examining inputs and outputs without regard to internal implementation. It tests 'what' the system does rather than 'how' it does it internally. System testing is broader (tests entire system), Acceptance testing validates against user/business requirements, and White box testing specifically DOES look at internal code/logic - making it the opposite of what the question describes.
-
System testing
-
Acceptance testing
-
Functional testing
-
White box testing
C
Correct answer
Explanation
Functional testing focuses on validating that the system behaves according to requirements by examining inputs and outputs without regard to internal implementation. It tests 'what' the system does rather than 'how' it does it internally. System testing is broader (tests entire system), Acceptance testing validates against user/business requirements, and White box testing specifically DOES look at internal code/logic - making it the opposite of what the question describes. Note: This is a duplicate of question 134086.
-
Recovery testing
-
Compatibility testing
-
Performance testing
-
Comparison testing
C
Correct answer
Explanation
Performance testing is the umbrella term that encompasses stress testing and load testing. Load testing checks system behavior under expected load, stress testing pushes beyond expected limits, and performance testing evaluates overall system responsiveness, stability, and scalability under various conditions. The other options are unrelated: Recovery testing checks system recovery after failures, Compatibility testing validates interoperability, and Comparison testing compares different versions or systems.
-
Regression testing
-
Load testing
-
Install/Uninstall testing
-
Sanity testing
D
Correct answer
Explanation
Sanity testing is a quick, cursory testing performed to determine if a new software version is stable enough to warrant further major testing efforts. It's a subset of regression testing focused on core functionality. If sanity testing fails (major bugs in critical features), the build is rejected without wasting time on comprehensive testing. Regression testing is broader (checks all functionality), Load testing checks performance under load, and Install/Uninstall testing validates installation processes.
-
Usability testing
-
Smoke testing
-
Load testing
-
Sanity testing
B
Correct answer
Explanation
Smoke testing (also called build verification testing) is performed to check if the application is stable enough for further major testing and is working properly without failing in critical areas. It's a preliminary testing to determine the basic 'smoke' doesn't come out of the application when run - indicating it's stable enough for deeper testing. Sanity testing is similar but narrower (tests specific fixes), Load testing checks performance, and Usability testing evaluates user experience.
-
System integration testing
-
Adhoc testing
-
Stress testing
-
ADA testing
B
Correct answer
Explanation
Adhoc testing is informal testing done without formal planning or documentation. System integration testing is structured, stress testing checks system limits, and ADA testing relates to the Americans with Disabilities Act - not relevant.
-
Contains some data inputs stored in test script’s datasheet, but not true data-driven.
-
Test case steps are part of each Action script: high maintenance, low reusability.
-
Scripting developed in reactionary mode to test a single issue or fix.
-
None of the above.
A,B,C
Correct answer
Explanation
Ad-hoc frameworks have three key characteristics: (A) Some data in datasheet but not truly data-driven, (B) Test steps embedded in Action scripts (high maintenance, low reuse), and (C) Reactive scripting for single issues. These describe poorly structured automation. Option D (None) is incorrect because A, B, and C all accurately describe ad-hoc framework traits.
-
This framework will yield a higher degree of modularization and add to the overall maintainability of the test scripts.
-
This can be achieved by creating small, independent scripts that represent modules.
-
It is heavily depended on Datasheets for each execution.
-
Strategy is to build an abstraction layer in front of a component to hide the component from the rest of the application.
A,B,D
Correct answer
Explanation
Test Script Modularity framework emphasizes creating small, independent, reusable script modules (B) which improves maintainability (A) and uses abstraction layers to hide components (D). It does NOT heavily depend on datasheets for each execution - that describes a data-driven framework.
-
Maintainability: multiple data-files are required for each Test Case.
-
Accessibility: Finding a perticular datasheet in a specific folder location is always pain.
-
Extensibility: scripts are not as extensible as in other frameworks.
-
Usablity: difficult to trace back error in unattended execution. Specially if recovery scenario is triggered during execution.
A,B,D
Correct answer
Explanation
Data-driven testing has maintainability challenges (A) because each test case needs separate data files. Finding specific data files (B) is difficult as test suites grow. Error tracing (D) is harder during unattended runs, especially when recovery scenarios activate. Extensibility (C) isn't inherently worse - scripts can be as extensible as other frameworks.
-
Keyword-driven tests look very similar to manual test cases.
-
Requires more extensive training in the test tool for people who will create tests.
-
The Detail Test Plan can be written in Spreadsheet format containing all input and verification data.
-
The tester need only learn the "Key Words" required, and the specific format to use within the Test Plan.
A,C,D
Correct answer
Explanation
Keyword Driven Frameworks make tests readable like manual test cases (A true). They don't require extensive tool training because testers only need to learn keywords, not the underlying tool (B false). The test plan can indeed be structured in spreadsheets with input and verification data (C true). Testers primarily learn keywords and the test plan format (D true). Options A, C, and D are correct.
-
Less used framework because of it's limitations.
-
A Framework which is a combination of two or more frameworks.
-
Has essential components of this framework are Core Data Driven Engine, the Component Functions, and the Support Libraries.
-
Has App Map to bridges the automation framework with the application being tested.
B,C,D
Correct answer
Explanation
A Hybrid Framework combines multiple framework types (B true). It includes core components like Data Driven Engine, Component Functions, and Support Libraries (C true). The App Map bridges the automation framework with the application being tested (D true). Option A is incorrect because hybrid frameworks are widely used, not limited.
B
Correct answer
Explanation
Test Automation Frameworks are designed to be tool-independent in their architectural principles. A framework provides structure, methodology, and organization patterns that can work across different automation tools. While implementation may use specific tools, the framework concept itself is about methodology and best practices, not tool dependency.
-
Convert Requirements to Tests & Generate a Test from Requirements
-
Convert Requirements to Tests & Convert a Test from Requirements
-
Convert Requirements to Tests & Generate a Requirement from Tests
-
Convert a Test from Requirements & Generate Requirements to Tests
A
Correct answer
Explanation
The two methods are 'Convert Requirements to Tests' (batch conversion) and 'Generate a Test from Requirements' (individual test creation). Options B and D use 'Convert a Test' which is backward - you don't convert tests from requirements. Option C reverses the direction.
-
Requirements
-
Test Cases
-
Tests
-
Defects
A
Correct answer
Explanation
Within the Requirements module, traceability links are created between requirements (parent-child relationships). Test Cases, Tests, and Defects belong to other modules and are linked differently through cross-module traceability.