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 technology
  1. The ScanDisk utility begins to run.

  2. The video card and video memory are tested.

  3. The BIOS identification process occurs

  4. Memory chips are checked to ensure they are working properly.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. System testing

  2. Acceptance testing

  3. Functional testing

  4. White box testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. System testing

  2. Acceptance testing

  3. Functional testing

  4. White box testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Recovery testing

  2. Compatibility testing

  3. Performance testing

  4. Comparison testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Regression testing

  2. Load testing

  3. Install/Uninstall testing

  4. Sanity testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Usability testing

  2. Smoke testing

  3. Load testing

  4. Sanity testing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Contains some data inputs stored in test script’s datasheet, but not true data-driven.

  2. Test case steps are part of each Action script: high maintenance, low reusability.

  3. Scripting developed in reactionary mode to test a single issue or fix.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. This framework will yield a higher degree of modularization and add to the overall maintainability of the test scripts.

  2. This can be achieved by creating small, independent scripts that represent modules.

  3. It is heavily depended on Datasheets for each execution.

  4. Strategy is to build an abstraction layer in front of a component to hide the component from the rest of the application.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Maintainability: multiple data-files are required for each Test Case.

  2. Accessibility: Finding a perticular datasheet in a specific folder location is always pain.

  3. Extensibility: scripts are not as extensible as in other frameworks.

  4. Usablity: difficult to trace back error in unattended execution. Specially if recovery scenario is triggered during execution.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Keyword-driven tests look very similar to manual test cases.

  2. Requires more extensive training in the test tool for people who will create tests.

  3. The Detail Test Plan can be written in Spreadsheet format containing all input and verification data.

  4. The tester need only learn the "Key Words" required, and the specific format to use within the Test Plan.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Less used framework because of it's limitations.

  2. A Framework which is a combination of two or more frameworks.

  3. Has essential components of this framework are Core Data Driven Engine, the Component Functions, and the Support Libraries.

  4. Has App Map to bridges the automation framework with the application being tested.

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. True

  2. False

Reveal answer Fill a bubble to check yourself
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.

Multiple choice technology testing
  1. Convert Requirements to Tests & Generate a Test from Requirements

  2. Convert Requirements to Tests & Convert a Test from Requirements

  3. Convert Requirements to Tests & Generate a Requirement from Tests

  4. Convert a Test from Requirements & Generate Requirements to Tests

Reveal answer Fill a bubble to check yourself
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.