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. 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 performance
  1. a.HTML Mode

  2. b.URL Mode

  3. c.Both a&b

  4. d.Binary Mode

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

Vugen supports HTML Mode (records at browser level showing user actions) and URL Mode (records at protocol level showing individual requests). These are the two primary recording modes available in LoadRunner. Binary Mode is not a standard recording mode.

Multiple choice technology performance
  1. a.Sequential

  2. b.Sequential & Unique

  3. c.Sequential & Random

  4. d.Sequential, Random and Unique

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

When a block contains multiple actions, they can be executed either sequentially (in order) or randomly. Both Sequential and Random are valid execution properties. Unique applies to parameter selection, not action execution order.

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. Flat files

  2. XML Files

  3. Flat Files and XML Files

  4. None

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

Test results can be stored in multiple formats, including simple flat files (like CSV or plain text) for basic reporting, and XML files for structured, hierarchical data that can be parsed and transformed easily. Both formats are commonly used depending on complexity and integration needs. XML provides better structure for detailed results, while flat files offer simplicity for basic logging and requirements.

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.