Computer Knowledge

Software Testing and Quality Control

2,598 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 packaged enterprise solutions
  1. all nodes resides on the same IP subnet

  2. a Quorum server for cluster reconfiguration

  3. a heart beat for the cluster

  4. each node runs its own operationg system

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

A Quorum server is optional but recommended for Serviceguard clusters to prevent split-brain scenarios during network partitions. The other options are required: nodes must be on the same IP subnet for heartbeat communication, heartbeats are mandatory for cluster operation, and each node must run its own OS instance (which is standard, not optional).

Multiple choice technology packaged enterprise solutions
  1. on only on node

  2. all nodes

  3. on atleast two nodes

  4. optinal for cluster less than four nodes

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

The cmcld (cluster membership daemon) must run on all nodes in a Serviceguard cluster. It monitors node status, communicates membership changes, and ensures all nodes agree on cluster composition. Running it only on some nodes would break cluster integrity and communication.

Multiple choice technology testing
  1. System testing

  2. Usability testing

  3. Performance testing

  4. Both b & c

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

Non-functional testing validates quality attributes rather than specific behaviors. Performance testing checks speed, scalability, and stability under load, while usability testing evaluates user experience and interface quality. System testing is functional as it verifies the system meets specified requirements.

Multiple choice technology testing
  1. Data Tester

  2. Boundary Tester

  3. Capture/Playback

  4. Outut Comparator

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

Capture/playback tools record manual test interactions and replay them automatically, making them ideal for regression testing. They allow tests to be executed repeatedly without manual intervention, ensuring that recent changes haven't broken existing functionality. The other options are either not standard tools or not primarily used for regression automation.

Multiple choice technology testing
  1. Stub

  2. Driver

  3. Proxy

  4. None of the above

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

To solve this question, the user needs to know about software testing techniques, specifically unit testing. The user must identify the correct term for a program that calls a function with test data to test its functionality.

Now, let's go through each option and explain why it is right or wrong:

A. Stub: A stub is a piece of code that simulates the behavior of a function or module. It is used in place of the actual function or module during testing. While a stub can be used in testing, it is not the correct term for a program that calls a function with test data to test its functionality.

B. Driver: A driver is a program that calls a function with test data to test its functionality. It is used to test functions that rely on input from other functions or modules. This option is correct.

C. Proxy: A proxy is an intermediary between two systems that allows them to communicate with each other. It is not the correct term for a program that calls a function with test data to test its functionality.

D. None of the above: This option is incorrect because option B, Driver, is the correct answer.

The Answer is: B

Multiple choice technology testing
  1. Is the same as equivalence partitioning tests

  2. Test boundary conditions on, below and above the edges of input and output equivalence classes

  3. Tests combinations of input circumstances

  4. Is used in white box testing strategy

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

Boundary value testing focuses on testing at and around the boundaries of equivalence classes because errors often occur at edges. It tests values below, at, and above the boundaries of input and output ranges. It is distinct from equivalence partitioning (which divides inputs into classes) and is a black-box technique, not white-box. Combinatorial testing is a separate method.

Multiple choice technology testing
  1. Error condition hiding another error condition

  2. Creating a test case which does not reveal a fault

  3. Masking a Fault by Developer

  4. Masking a Fault by tester

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

Fault masking occurs when one defect or error condition prevents another defect from being observed or activated during software execution.

Multiple choice technology web technology
  1. Validation of all negative scenarios like handling of incorrect data type

  2. Testing the boundaries of each field to find any limitations

  3. Job not to be aborted at any cause - all abort scenarios must be handled in the code

  4. Cleansing of obvious data for any anomalies (even if its not specified in requirements)

  5. None of the above

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

ETL job unit testing MUST include negative scenario validation (A) - handling wrong data types, nulls, malformed data. Boundary testing (B) - field length limits, min/max values - is also essential. Option C is incorrect because jobs SHOULD abort for unrecoverable errors. Option D (unsolicited cleansing) is typically out of scope for unit testing.

Multiple choice technology testing
  1. Record and Run test on any open Windows-based application.

  2. Record and Run on these applications

  3. Record and Run on applications opened via the desktop

  4. None of the above

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

When a Windows application is already running before a test starts, configuring the tool to 'Record and Run test on any open Windows-based application' allows it to attach to and interact with the active process instead of attempting to launch a new instance.

Multiple choice technology testing
  1. Oracle, VB, and Java

  2. ActiveX, VB, Java

  3. ActiveX, Web, Oracle

  4. ActiveX, Web, VB

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

The default add-ins loaded with QTP are ActiveX, Web, and Visual Basic (VB). These three add-ins provide foundational support for the most commonly used application technologies in automated testing.

Multiple choice technology testing
  1. Database

  2. Host systems

  3. Input/Output data

  4. All of the above

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

Testers and the testing process require comprehensive access to all system resources: the database for test data and verification, host systems where the application runs, and input/output data files needed for testing. All these permissions are necessary for thorough test execution.

Multiple choice technology testing
  1. Load the appropriate add-in

  2. Have all required applications running on the desktop

  3. Set initial and end conditions as part of the test

  4. None of the above

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

Setting initial and end conditions establishes a clear starting state and expected completion state for the test. This allows the same test to be executed multiple times with predictable behavior. Without defined conditions, tests may produce inconsistent results across iterations.