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. Quick Test Professional

  2. SOA tool

  3. Load Runner

  4. Selenium

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

Quick Test Professional (QTP), now known as Unified Functional Testing (UFT), is designed specifically for functional and regression testing of applications. Load Runner is for performance testing, Selenium primarily for web functional automation, and SOA tool is too vague to be the standard functional regression tool.

Multiple choice technology testing
  1. System Testing

  2. Unit testing

  3. Sanity testing

  4. Load testing

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

Load testing is a non-functional testing type because it measures system performance, response times, and stability under load rather than validating functional behavior. System testing, unit testing, and sanity testing all verify that the software functions correctly according to requirements.

Multiple choice technology testing
  1. Testing the performance of a system under different loads.

  2. Testing the performance of a system with different browsers.

  3. Testing the performance of a system under very high load without providing the required resources to the system

  4. None of the above.

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

Stress testing involves evaluating a system's robustness under extreme conditions, such as high load with restricted resources, to observe how it fails. Regular load testing measures performance under normal loads.

Multiple choice technology testing
  1. Testing a defect which is ready for re-test.

  2. Testing the performance of a system under different loads.

  3. Randomly testing the GUI of an application.

  4. Testing an application to assure that a change, such as a bugfix, did not introduce new bugs.

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

Regression testing is designed to verify that recent code changes or bugfixes have not adversely affected existing, unchanged features of the software application, preventing the recurrence of old bugs.

Multiple choice technology testing
  1. Security testing

  2. Interface testing

  3. Smoke testing

  4. Sanity testing

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

Security testing is the correct answer because it explicitly validates authentication mechanisms, session management, cookie handling, and access controls. Cookie and session management are critical security features that must be tested for vulnerabilities like session hijacking, cookie tampering, and unauthorized access.

Multiple choice technology mainframe
  1. Through RC

  2. Through CODE

  3. Through COND

  4. Through RETURNCD

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

Return codes can be tested before execution of a job step through the RC parameter. COND (C) is used for conditional execution based on return codes, but RC is specifically for testing return codes themselves. CODE (B) and RETURNCD (D) are not correct parameters.

Multiple choice technology embedded technologies
  1. True

  2. False

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

In Android, test applications can run in the same process as the application under test using the android:targetProcess attribute or by not specifying a separate process. This is useful for faster testing and direct access to application components, though running in a separate process provides better isolation.

Multiple choice technology embedded technologies
  1. Eclipse with ADT

  2. Using the adb tool

  3. Using a built in ant target

  4. none of the above

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

Eclipse with ADT was the primary IDE for Android development before Android Studio, providing integrated testing capabilities. The Android Debug Bridge (adb) tool enables command-line testing, debugging, and device interaction. Ant build system includes targets for running tests and building test APKs. These are all valid approaches to Android testing.

Multiple choice technology embedded technologies
  1. Functional areas

  2. Activity life cycle events

  3. Database Operations

  4. Screen size and resolutions

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

Android test applications can verify functional correctness (business logic), Activity lifecycle behavior (onCreate, onResume, etc.), database CRUD operations, and UI behavior across different screen sizes and resolutions using instrumentation and test frameworks like Espresso or UI Automator. All listed areas are valid test targets.

Multiple choice technology embedded technologies
  1. True

  2. False

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

Android test applications extend the standard Android Application class and include a test runner in their manifest. They have access to Android APIs, can declare their own components, and are APKs like any other Android app, with the addition of test-specific manifest entries and dependencies on the app under test.

Multiple choice technology testing
  1. Script

  2. Group

  3. Scenario

  4. Analysis

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

In LoadRunner, a Scenario file defines the overall execution details of a load test, including the specific Vusers, load generators, and test goals. In contrast, Scripts contain the actions recorded for Vusers, and the Analysis tool is used to analyze results post-run.

Multiple choice technology testing
  1. Checkout only no need to do Checkin

  2. Checkin only no need to do Checkout

  3. Checkout followed by Checkin

  4. Checkin followed by Checkout

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

When load testing checkout and checkin actions, they must be performed as a sequence: checkout followed by checkin. Performing only one action would lead to dirty states or resource locks, and performing checkin first is impossible if the resource is not already checked out.

Multiple choice technology performance
  1. a.Unit Testing

  2. b.Black Box Testing

  3. c.Performance Testing

  4. d.Regression Testing

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

Performance testing evaluates system characteristics like speed, scalability, and stability, which are non-functional aspects of software. Unit, regression, and black box testing are functional testing types because they verify if the software functions correctly according to its business logic and specification requirements.

Multiple choice technology performance
  1. a.Unit Testing

  2. b.Black Box Testing

  3. c.Performance Testing

  4. d.Regression Testing

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

Non-functional testing evaluates software quality attributes rather than specific behaviors. Performance testing checks how well the system performs under various conditions, which is a non-functional requirement. Unit testing, black box testing, and regression testing can test functional or non-functional aspects.