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 testing
  1. Wait – makes a wait for the specified seconds with optional milliseconds

  2. Wait – makes a wait for the specified seconds only

  3. Wait – makes a wait for the specified seconds with mandatory milliseconds

  4. None of the statements are true

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

The Wait method in QTP/UFT (inherited from VBScript) accepts seconds as a required parameter and milliseconds as an optional parameter. The syntax is Wait(seconds, milliseconds), where milliseconds can be omitted. Option B incorrectly states milliseconds are not supported, while option C incorrectly states they are mandatory.

Multiple choice technology testing
  1. GetTOProperty

  2. SetTOProperty

  3. GetROProperty

  4. None

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

GetROProperty (Run-Time Object Property) is used to retrieve the actual runtime value of an object's property, such as user input or dynamically generated values. GetTOProperty retrieves test object properties (descriptive properties), while SetTOProperty modifies test object properties but doesn't affect runtime objects.

Multiple choice technology testing
  1. define a trigger, define the recovery operations, define the post recovery operations

  2. define the recovery operations, define a trigger, define the post recovery operations

  3. can be created in any order

  4. no such wizard is available in Quick Test

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

Recovery scenarios in QTP follow a fixed sequence: first define the trigger event that detects the error, then specify recovery operations to fix it, and finally define post-recovery operations. This wizard structure ensures systematic error handling.

Multiple choice technology
  1. Test Matrix

  2. Checklist

  3. Test bed

  4. Traceablity Matrix

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

A Traceability Matrix maps requirements to test cases to ensure all requirements are covered by testing. Test Matrix and Checklist are different (broader) concepts. Test bed refers to the test environment. Only Traceability Matrix specifically validates requirement coverage.

Multiple choice technology
  1. Test Bed

  2. Checkpoint

  3. Code Walk through

  4. Checklist

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

A Test Bed (option A) is the configured environment including hardware, software, network, and data setup required to execute tests. It provides the infrastructure for running the application under test. A checkpoint is a verification point. Code walkthrough is a review technique. A checklist is a testing aid.

Multiple choice technology
  1. Severity

  2. Priority

  3. Fix ability

  4. Traceability

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

Severity (option A) measures the technical impact of a bug on the application's functionality. Priority indicates how urgently the bug needs to be fixed based on business needs. Fix ability refers to how easily it can be resolved. Traceability tracks the bug's lifecycle.

Multiple choice technology
  1. Unit Testing

  2. Integration Testing

  3. System Testing and Acceptance Testing.

  4. All the above

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

Testing levels include Unit Testing (individual components), Integration Testing (combined components), System Testing (complete system), and Acceptance Testing (user validation). Option D 'All the above' correctly captures that these are all testing levels in the hierarchy.

Multiple choice technology
  1. adHoc Testing

  2. Unit Testing

  3. Regression testing

  4. Functional testing.

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

Ad hoc Testing (option A) is informal testing done without planning, documentation, or formal test cases. It's exploratory and relies on the tester's intuition and experience. Unit testing is formal. Regression testing is planned. Functional testing follows requirements.

Multiple choice technology
  1. Usability Testing

  2. Security Testing

  3. Unit testing

  4. Block Box Testing

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

Usability testing is a non-functional testing type that evaluates how easy and intuitive a user interface is for end users. It checks if users can understand and navigate the interface effectively. Security testing focuses on vulnerabilities, unit testing tests individual code units, and black box testing examines functionality without seeing internal code.

Multiple choice technology
  1. Glass box testing

  2. Closed box testing

  3. OPen box testing

  4. Clear box testing

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

White box testing is called glass box testing, open box testing, and clear box testing because the tester can see inside the code. It is NOT called 'closed box testing' - that term would refer to black box testing where you cannot see the internal code structure. Option B is the correct answer.

Multiple choice technology
  1. Unit Testing

  2. Blackbox testing

  3. White box Testing

  4. Regression testing

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

White box testing involves examining and testing the internal code structure, logic, and implementation of a program. The tester has access to the source code and understands how the software works internally. Unit testing is a type of white box testing but more specific, black box testing doesn't look at code, and regression testing checks for unintended changes.

Multiple choice technology
  1. Block box Testing

  2. White box Testing

  3. Grey Box Testing

  4. Closed Box Testing

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

White box testing examines the program's internal structure, logic, and code to derive test cases. It ensures all statements and branches are executed at least once (statement and branch coverage). Black box testing doesn't look at code, gray box combines both approaches, and 'closed box' isn't a standard testing term (black box is the correct opposite of white box).