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. True

  2. False

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

Apache JMeter is an open-source Java-based tool designed for load testing and performance measurement. It simulates heavy user loads on applications, servers, and networks to test performance under stress. JMeter supports various protocols including HTTP, JDBC, JMS, and SOAP, making it widely used for performance and load testing.

Multiple choice technology testing
  1. testing and functionality

  2. testing the source code

  3. testing the reliability requirements

  4. testing the portability requirements

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

White box testing inspects the internal structures, logic, and implementation details of the software's source code. In contrast, black box testing is concerned with external functional behavior, and other testing types handle non-functional requirements such as reliability and portability without directly analyzing the source code.

Multiple choice technology testing
  1. testing the functionality

  2. testing the source code

  3. testing the performance requirements

  4. testing the portability requirements

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

Black box testing focuses exclusively on verifying that the software's functional requirements meet specifications, treating the internal code as a 'black box'. It does not inspect the source code, which is the domain of white box testing, nor does it primarily target portability or reliability directly.

Multiple choice technology testing
  1. increased productivity of people

  2. less infrastructure costs

  3. high quality product

  4. all of the above

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

Automated testing tools increase tester productivity by reducing manual effort, can lower infrastructure costs through efficient resource utilization and faster execution, and contribute to higher product quality through consistent, repeatable test coverage. Since all three benefits are valid advantages of test automation, 'all of the above' is correct.

Multiple choice technology testing
  1. Low-Level Recording Mode

  2. Analog Mode

  3. Normal recording Mode

  4. All the above

  5. None of the above

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

Low-Level Recording records mouse clicks and keyboard actions using absolute screen coordinates, which is useful when QuickTest does not recognize standard objects. Analog recording tracks continuous movements like drawing, while Normal recording relies on identifying specific GUI objects. Therefore, Low-Level recording is the correct choice here.

Multiple choice technology web technology
  1. Object Repository

  2. Object Repository Manager

  3. Object Spy

  4. Object Property

  5. The Object Checker

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

Object Spy is the QTP/UFT tool specifically designed to investigate and view object properties, methods, and hierarchy. When you point Object Spy at an object in your application, it displays all the test object and runtime object properties, operations, and identification information. Object Repository and Object Repository Manager are for managing stored objects, not for ad-hoc investigation.

Multiple choice technology testing
  1. The goal / purpose of testing is to demonstrate that the program works.

  2. The purpose of testing is to demonstrate that the program is defect free.

  3. The purpose of testing is to demonstrate that the program does what it is supposed to do.

  4. Testing is executing Software for the purpose of finding defects.

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

According to classic software testing principles, testing is defined as executing code with the primary goal of finding defects. Demonstrating that a program works or is defect-free is logically impossible because testing can only prove the presence of defects, not their absence.

Multiple choice technology testing
  1. Top down

  2. Big-bang

  3. Bottom up

  4. Functional incrementation

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

Big-bang integration is not an incremental testing approach - it integrates all system components at once rather than in stages. Top-down (A) and bottom-up (C) are both incremental strategies that integrate modules gradually. Functional incrementation (D) is another incremental approach where features are added incrementally.

Multiple choice technology testing
  1. iv is correct and i,ii,iii are incorrect.

  2. i,ii,iii is correct and iv is incorrect

  3. ii is correct and i,ii,iii are incorrect

  4. iii and iv are correct and i,ii are incorrect

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

Exit criteria include thoroughness measures like coverage of code, functionality, or risk (i) - this measures how completely testing was done. They also include estimates of defect density or reliability measures (ii). Residual risks such as unfixed defects or lack of test coverage (iii) are also part of exit criteria. Verifying the test environment (iv) is typically done during test planning, not as an exit criterion. Therefore options i, ii, and iii are correct.

Multiple choice technology testing
  1. i , ii , iv are true and iii is false

  2. i , ii , iii are true and iv is false

  3. i , iii , iv are true and ii is false

  4. All of above are true

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

Test closure activities include checking which planned deliverables have been delivered (i) and finalizing and archiving testware (iii). They also involve analyzing lessons learned from the testing process (iv). Defect report analysis (ii) is typically part of test execution activities, not closure - closure focuses on completing and learning from the test process, not analyzing individual defects.

Multiple choice technology testing
  1. i & ii are true, iii, iv & v are false

  2. ii, iii & iv are true, i & v are false

  3. ii & iv are true, i, iii & v are false

  4. ii is true, i, iii, iv & v are false

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

Regression testing should be performed after the software has changed (ii) to verify existing functionality still works. It should also be done when the environment has changed (iv) since environmental changes can affect behavior. It's not required every week (i), 'as often as possible' is impractical (iii), and doing it just when the project manager says (v) without trigger-based criteria is not proper practice. Regression testing is triggered by actual changes, not arbitrary schedules.

Multiple choice technology
  1. Production

  2. Staging

  3. Development

  4. ABE

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

Development is the environment where code/config changes are initially implemented and tested. Staging is for pre-production validation, and Production is the live environment. Making changes directly in Production is against standard practices, making Development the correct answer.

Multiple choice technology testing
  1. SilkTest component that receives testing commands from the SilkTest Host and interacts with AUT (Application Under Test) directly.

  2. SilkTest Agent usually runs on the same machine where AUT is running.

  3. Agent cannot be classified.

  4. SilkTest component that receives testing commands from the SilkTest Host and interacts with AUT (Application Under Test) through DOM.

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

The SilkTest Agent is the component that resides on the target system (where the application under test runs) to execute commands received from the SilkTest Host. It interacts directly with the application, rather than wrapping interactions solely through a browser's DOM.