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 testing
  1. A group of test activities that are organized together

  2. one or more test design specification documents

  3. A test type

  4. None of the above

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

A test level is a group of test activities organized and managed together. The standard test levels are component testing, integration testing, system testing, and acceptance testing. Each level has specific objectives, like unit testing for individual components, integration testing for interfaces, system testing for the whole system, and acceptance testing for user requirements.

Multiple choice technology testing
  1. manages a collection of test leaders

  2. is the leader of a test team or teams

  3. gets paid more than a test leader

  4. reports to a test leader

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

A test manager is defined as the leader of a test team or teams, responsible for planning, monitoring, and controlling test activities. This role is distinct from a test leader (who might manage a specific project or subset of tests), and involves managing people, resources, and the overall test strategy rather than just executing tests.

Multiple choice technology testing
  1. me

  2. customers

  3. Developers

  4. Testers

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

Static analysis tools examine code without executing it, looking for defects like coding standard violations, security vulnerabilities, unreachable code, and potential bugs. These tools are most useful to developers during coding and unit testing, as they provide immediate feedback on code quality and can prevent defects before dynamic testing begins.

Multiple choice technology testing
  1. Part of fundamental testing process

  2. Includes repair of cause of a failure

  3. involves intentionally adding known defects

  4. follows the steps of a test procedure

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

Debugging is the process of investigating, locating, and repairing the cause of a software defect after it has been identified (usually through testing). It includes activities like reproducing the defect, analyzing the root cause, implementing a fix, and verifying the correction. Debugging is a development activity, NOT part of the fundamental testing process (which includes planning, specification, execution, and completion).

Multiple choice technology testing
  1. process of anticipating or guessing where defects might occur

  2. systematic approach to identify specific equivalent classes of input

  3. testing carried out by a chartered engineer

  4. concurrent test design,test execution,test logging and learning

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

Exploratory testing is an approach where test design, test execution, and learning happen simultaneously. The tester actively explores the system, learns about its behavior, and designs and executes tests based on what they discover. It's concurrent and interactive, unlike scripted testing where tests are designed before execution. Key elements are concurrent test design, execution, logging, and continuous learning about the system.

Multiple choice technology testing
  1. An input,expected outcome,precondition and post condition

  2. steps to be taken to get the system to a given point

  3. something that can be tested

  4. specific state of software

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

Under standard testing definitions (such as ISTQB), a test condition is defined as any item, element, or event of a component or system that can be verified by one or more test cases; hence, 'something that can be tested'. An input and expected outcome define a test case instead.

Multiple choice technology testing
  1. Test management and control

  2. Test specification and design

  3. Test execution and logging

  4. Performance and monitoring

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

Test data preparation tools help generate, manage, and manipulate test data needed for testing. These tools support the test specification and design phase by allowing testers to create subsets of production data, generate synthetic data, or anonymize sensitive data. This ensures that appropriate test data is available when designing test cases, rather than during execution or management phases.

Multiple choice technology testing
  1. Contol testing

  2. Configuration testing

  3. Data flow

  4. Control flow

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

Control flow refers to the sequence of events or execution path through a component or system. It describes the order in which statements or instructions are executed, including branches, loops, and decision points. Control flow analysis is important for white-box testing, coverage measurement, and understanding how different inputs affect the execution path through the code.

Multiple choice technology testing
  1. code coverage

  2. statement coverage

  3. decision tables

  4. decision coverage

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

Structure-based (white-box) testing techniques analyze the internal code path structure, which includes statement, decision, and general code coverage. Decision tables are a black-box, specification-based technique that focuses on system inputs and outputs.

Multiple choice technology testing
  1. developers

  2. testers

  3. analysists

  4. test lead

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

Debugging involves locating, analyzing, and fixing code defects - this is a developer responsibility. Testers identify and report bugs during testing, but developers perform the actual debugging and code fixes. Analysts gather requirements, and test leads manage testing activities.

Multiple choice technology testing
  1. test cases

  2. Specifications

  3. test data

  4. test design

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

To answer this question, the user needs to understand the different terms in software testing.

Test conditions are derived from specifications. Specifications are documents that describe the requirements for the software being developed. Test conditions are based on the requirements found in the specifications.

Option A, test cases, are derived from test conditions. Test cases are specific scenarios or steps that are carried out to verify that the software meets the test conditions.

Option C, test data, is the data used to execute the test cases and verify the expected results.

Option D, test design, is the process of creating the test cases and test data needed to verify that the software meets the requirements specified in the specifications.

Therefore, the correct answer is:

The Answer is: B. Specifications

Multiple choice technology testing
  1. Boundary value analysis

  2. usecase testing

  3. equivalence partioning

  4. decision table

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

Equivalence partitioning divides input domains into groups where all values in a group are expected to produce similar outputs. This technique ensures coverage of input/output ranges efficiently by testing one representative from each partition. Boundary value analysis focuses on edge cases, not overall coverage.

Multiple choice technology testing
  1. True

  2. False

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

Software testing management tools (like HP ALM, JIRA, or TestRail) provide structure to testing processes by enabling test case organization, execution tracking, defect management, and reporting. This promotes a process-oriented approach where testing is standardized, documented, and measurable rather than ad-hoc.

Multiple choice technology testing
  1. True

  2. False

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

Test engineers MUST test applications against specifications. Specifications define expected behavior, and testing validates whether the application meets those requirements. Testing against specifications ensures the software delivers what was agreed upon and helps identify gaps between requirements and implementation.

Multiple choice technology testing
  1. True

  2. False

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

4Test is indeed the proprietary scripting language used in SilkTest (formerly Segue SilkTest, now Borland SilkTest), a functional testing tool. 4Test is an object-oriented language designed specifically for test automation, with features for GUI testing and test case management.