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. testing to see where the system does not function properly

  2. testing quality attributes of the system including performance and usability

  3. testing a system feature using only the software required for that action

  4. testing a system feature using only the software required for that function

  5. testing for functions that should not exist

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

Non-functional testing focuses on verifying quality attributes of the system such as performance, usability, reliability, scalability, and security. It does not test functional behavior or individual features. Options A, C, D, and E describe functional testing scenarios (where functions work or don't work), which is incorrect.

Multiple choice technology testing
  1. A small team to establish the best way to use the tool

  2. Everyone who may eventually have some use for the tool

  3. The independent testing team

  4. The managers to see what projects it should be used in

  5. The vendor contractor to write the initial scripts

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

Introducing a testing tool through a small pilot team allows for learning best practices, identifying potential issues, and creating effective usage guidelines before broader organizational deployment. This phased approach maximizes tool adoption and minimizes disruption.

Multiple choice technology testing
  1. Equivalence partitioning

  2. State transition testing

  3. LCSAJ

  4. Syntax testing

  5. Boundary value analysis

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

Black-box testing techniques focus on inputs and outputs without knowledge of internal code structure. LCSAJ requires analyzing code paths and statements, making it fundamentally a white-box technique that examines internal logic and execution flow.

Multiple choice technology testing
  1. Performed by customers at their own site

  2. Performed by customers at their software developer’s site

  3. Performed by an independent test team

  4. Useful to test bespoke software

  5. Performed as early as possible in the lifecycle

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

To answer this question, the user needs to know the definition and purpose of beta testing.

Beta testing is a type of software testing that involves allowing real users to test a product before it is released.

Now, let's go through each option and explain why it is right or wrong:

A. Performed by customers at their own site: This option is correct. Beta testing is often performed by customers at their own site, as they are the ones who will be using the software in the real world and can provide valuable feedback to the developers.

B. Performed by customers at their software developer’s site: This option is incorrect. While customers may be invited to the software developer's site for testing, beta testing is generally performed at the customer's own site.

C. Performed by an independent test team: This option is incorrect. Beta testing is usually performed by real users, not an independent test team.

D. Useful to test bespoke software: This option is correct. Beta testing can be useful for testing bespoke software, as it allows the developers to get feedback from real users before releasing the product.

E. Performed as early as possible in the lifecycle: This option is incorrect. Beta testing is usually performed after the software has gone through alpha testing and is close to release.

Therefore, the correct answer is: A. Performed by customers at their own site.

Multiple choice technology testing
  1. finding faults in the system

  2. ensuring that the system is acceptable to all users

  3. testing the system with other systems

  4. testing for a business perspective

  5. testing by an independent test team

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

To solve the question, the user needs to understand the concept of acceptance testing, which is a type of testing that evaluates whether or not a system meets its business requirements and is acceptable for delivery to the end-users.

Now, let's go through each option and explain why it is right or wrong:

A. finding faults in the system: This option is incorrect because the main focus of acceptance testing is not to find faults in the system. Although, acceptance testing may uncover faults, but the primary objective is to ensure that the system meets the business requirements and is acceptable for delivery.

B. ensuring that the system is acceptable to all users: This option is partially correct because the main focus of acceptance testing is to ensure that the system is acceptable to the end-users, but not necessarily to all users. Acceptance testing is done to ensure that the system meets the business requirements and is acceptable to the stakeholders who will be using it.

C. testing the system with other systems: This option is incorrect because acceptance testing is not focused on testing the system with other systems. Acceptance testing is done to ensure that the system meets the business requirements and is acceptable for delivery to the end-users.

D. testing for a business perspective: This option is correct. Acceptance testing is performed to verify that the system meets the business requirements and is acceptable to the stakeholders who will be using it. The testing team evaluates the system from a business perspective to ensure that it meets all the necessary criteria.

E. testing by an independent test team: This option is incorrect because although acceptance testing may be performed by an independent test team, this is not the main focus of acceptance testing.

The Answer is: D

Multiple choice technology testing
  1. report on deviations from the project plan

  2. sign the system off for release

  3. re-allocate resource to meet original plans

  4. raise incidents on faults that they have found

  5. provide information for risk analysis and quality improvement

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

Effective test management requires adapting to changing circumstances rather than rigidly adhering to original plans. Reallocating resources solely to meet original plans when conditions have changed can compromise test quality and effectiveness.

Multiple choice technology testing
  1. code reviews

  2. code inspections

  3. a coverage tool

  4. a test management tool

  5. a static analysis tool

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

Static analysis tools examine code structure without executing it, analyzing control flow and data paths to identify code that can never be reached under any input conditions. While reviews and coverage tools can help, static analysis systematically detects unreachable code most efficiently.

Multiple choice technology testing
  1. Ordinal Identifier

  2. Index Identifier

  3. Smart Identification

  4. Assistive Identification

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

To solve this question, the user needs to have knowledge of basic concepts of QTP.

The answer is:

C. Smart Identification

When QTP cannot find any object that matches the description or finds more than one object that matches, it uses Smart Identification mechanism to identify the object. Smart Identification is a powerful test object recognition mechanism provided by QTP, which uses properties that are not usually used by QTP to identify the object. It defines two types of properties, Base Filter Properties and Optional Filter Properties, to identify an object. If an object is not identified using the mandatory properties, it uses the optional properties to identify the object. If the object is still not identified, it uses the smart identification mechanism to identify the object.

Options A and B are incorrect as there is no such mechanism in QTP as Ordinal and Index Identifier.

Option D is incorrect as Assistive Identification is not a mechanism provided by QTP.

Multiple choice technology testing
  1. Run-Time Object

  2. Test Object

  3. Smart Identification Object

  4. Assistive Object

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

The Test Object property set is maintained by QuickTest and represents the expected object definition used during test creation and playback. Run-Time Objects are actual objects from the application, Smart Identification is a fallback mechanism, and Assistive properties are just one property type.