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. Load Testing

  2. Stress Testing

  3. Volume Testing

  4. System Testing

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

The scenario requires determining current capacity to decide between horizontal (adding servers) or vertical (upgrading servers) scaling. Load testing simulates expected user loads to measure current system capacity and identify scaling points. Stress testing (Option B) finds breaking points. Volume testing (Option C) tests with large data volumes. System testing (Option D) is functional, not performance-focused.

Multiple choice technology testing
  1. True

  2. False

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

Performance testing requires tools to accurately measure response times, throughput, and resource utilization under load. Manual testing cannot generate consistent load, capture precise timing metrics, or simulate concurrent users. Automated tools like JMeter, LoadRunner, or VSTS are essential for credible performance testing. Therefore, the answer is False - you cannot properly conduct performance testing without tools.

Multiple choice technology testing
  1. 1, 2, 3, 4

  2. 4, 2, 1, 3

  3. 3, 4, 1, 2

  4. 4, 3, 2, 1

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

Object Identification is the most critical feature because scripts cannot run without locating UI elements. Asset reusability lowers maintenance overhead, and error recovery ensures unattended test execution. Graphical verification is the least critical due to its susceptibility to minor UI changes.

Multiple choice technology testing
  1. In parallel with application development

  2. After at least one cycle of manual testing is done

  3. After the AUT is moved to production

  4. As soon as the manual testers are free

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

Starting automation after at least one manual testing cycle ensures the application is stable enough and critical functional flows are understood. Manual testing first helps identify obvious defects and validates that workflows work as expected, preventing automation scripts from breaking constantly. Automating too early leads to high maintenance costs when the UI changes frequently, while waiting until production misses opportunities for early defect detection.

Multiple choice technology testing
  1. Build Verification Test cases (BVT)

  2. Regression Test cases

  3. Usability Test cases

  4. BVT and Regression

  5. Regression and Usability

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

BVT (Build Verification Tests) and Regression test cases are ideal for automation because they are run frequently and involve stable, repeatable scenarios. BVTs verify core functionality after each build, while regression tests ensure existing features still work after code changes. Both types have predictable outcomes and high execution frequency, maximizing automation ROI. Usability testing involves subjective human judgment about user experience that cannot be automated effectively.

Multiple choice technology testing
  1. Visual Studio Coded UI Test

  2. QTP

  3. Rational Functional Tester

  4. Selenium

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

Selenium is a free, open-source automated testing framework specifically designed for web application UI automation. The other options listed (Visual Studio Coded UI Test, QTP/QuickTest Professional, and Rational Functional Tester) are all commercial tools requiring expensive licenses. Selenium's open-source nature makes it widely accessible for teams without budget constraints on testing tools.

Multiple choice technology testing
  1. The X,Y position of the control on the UI

  2. An algorithm that is not exposed to the user

  3. The identification properties from the GUI map

  4. The relative position of the control with respect to the parent window

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

Test automation tools identify controls using identification properties stored in a GUI map or object repository, which maps logical names to physical control properties like name, ID, class, or XPath. This abstraction layer separates test scripts from UI property changes, improving maintainability. X-Y coordinates are unreliable because UI elements can move, hidden algorithms would not be useful to testers, and relative positioning is less robust than property-based identification.

Multiple choice technology testing
  1. MAUI

  2. Coded UI Test

  3. QTP

  4. Both MAUI and QTP

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

MAUI (Microsoft Automation UI) is Microsoft's internal automation tool used within the company for testing purposes. Coded UI Test is a publicly available Microsoft Visual Studio feature, not internal. QTP (QuickTest Professional, now UFT) is a Micro Focus/HP product, not Microsoft. Therefore, only MAUI qualifies as a Microsoft internal tool among the options.

Multiple choice technology testing
  1. True

  2. False

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

A test automation framework itself is generally not considered intellectual property because it is typically a methodology or structure for organizing tests rather than a unique invention. Frameworks often use common design patterns (Page Object Model, Data-Driven, Keyword-Driven) that are widely shared across the industry. However, specific proprietary code implementations within a framework could be protected, but the framework concept as a testing organizational structure is not inherently IP.

Multiple choice technology testing
  1. Organizing batch execution of Automation scripts

  2. Organizing the test results

  3. Ordering of Automation scripts for execution

  4. All the above

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

A Test Harness serves multiple purposes: it organizes batch execution of automation scripts, organizes test results, and manages the ordering of script execution. All these functions are core to what a test harness does.

Multiple choice technology testing
  1. Functional Testing – Web Service Application

  2. Functional Testing – Web Service API

  3. Usability Testing

  4. User Interface Testing

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

When web services are integrated into a larger system, testing them as part of the complete application is called Functional Testing - Web Service Application. This tests the service's behavior within the system context. Testing just the API endpoints would be 'Web Service API' testing. Usability and UI testing focus on user interaction, not the service layer functionality.

Multiple choice technology testing
  1. Black-Box Testing

  2. Glass-Box Testing

  3. Grey-Box Testing

  4. White-Box Testing

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

Black-box testing validates software functionality by examining inputs and outputs without knowledge of internal code structure. Test cases are designed based on requirements and specifications to ensure each program function operates correctly from a user perspective.

Multiple choice technology testing
  1. Behavioral Errors

  2. Logic Errors

  3. Performance Errors

  4. Typographical Errors

  5. Both B and D

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

Black-box testing examines software behavior from the outside without viewing internal code, so it cannot detect logic errors in code flow or typographical mistakes within the implementation. White-box testing, which inspects the internal structure, can uncover these hidden defects that don't manifest as behavioral failures.

Multiple choice technology testing
  1. Behavioral Testing

  2. Black-Box Testing

  3. Grey-Box Testing

  4. White-Box Testing

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

White-box testing involves examining and testing the internal logic, code structure, and implementation details of a software module. Test cases are designed to cover specific code paths, branches, and conditions within the source code itself.