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. Will always be automated

  2. Will help ensure unchanged areas of the software have not been affected

  3. Will help ensure changed areas of the software have not been affected

  4. Can only be run during user acceptance testing

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

Regression testing is designed to verify that unmodified portions of the codebase continue to function correctly after updates. Distractors are incorrect because regression testing does not have to be automated, it targets unchanged (rather than changed) areas, and can be run during unit, integration, and system testing phases.

Multiple choice technology testing
  1. Error guessing

  2. Walkthrough

  3. Data flow analysis

  4. Inspections

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

To answer this question the user needs to know about the static testing techniques used in software testing. Static testing techniques are used to examine the software or code without executing it. The given question is asking about the static testing technique that is not a part of static testing.

Now, let's discuss each option to determine which one is not a static testing technique:

A. Error guessing: Error guessing is a dynamic testing technique that relies on the knowledge and experience of the tester to identify potential errors in the software.

B. Walkthrough: Walkthrough is a static testing technique where the author of the document leads the meeting to gather feedback and identify issues.

C. Data flow analysis: Data flow analysis is a static testing technique used to identify and analyze the flow of data in a software application.

D. Inspections: Inspections are a formal review process that involves a group of people examining the software or code for defects and other issues. It is a static testing technique.

Therefore, the answer is A. Error guessing is not a static testing technique.

Multiple choice technology testing
  1. Operability

  2. Observability

  3. Simplicity

  4. Robustness

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

Testability characteristics include: Operability (ease of operating the system), Observability (ease of seeing results), Simplicity (ease of understanding), and Controllability. Robustness (fault tolerance and error handling) is a desirable quality attribute but not a characteristic that specifically makes a system easier to test.

Multiple choice technology testing
  1. A black box testing technique used only by developers

  2. A black box testing technique than can only be used during system testing

  3. A black box testing technique appropriate to all levels of testing

  4. A white box testing technique appropriate for component testing

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

Equivalence partitioning is a black-box testing technique that divides input data into valid and invalid equivalence classes. It can be applied at any testing level - unit, integration, system, or acceptance testing. Options A and B incorrectly restrict its usage (not developer-only, not system-testing-only). Option D is wrong because equivalence partitioning is a black-box technique, not white-box.

Multiple choice technology web technology
  1. ListClient

  2. Client Profile

  3. Construct Profolio

  4. Admin Agent

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

A new client is created in the Client Profile page. This is the dedicated interface for entering and managing client information. The ListClient page is likely for viewing existing clients, Construct Portfolio is for building investment portfolios, and Admin Agent is for administrative agent functions.

Multiple choice technology programming languages
  1. TestAttribute

  2. TestClassAttribute

  3. TestFixtureAttribute

  4. NUnitTestClassAttribute

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

In the NUnit test framework, the TestFixtureAttribute is applied to a class to designate it as containing executable tests, allowing the NUnit GUI or runner to identify it. TestClassAttribute is used in MS Test, and TestAttribute is used on individual test methods rather than the class.

Multiple choice technology testing
  1. Resume the status of a transaction instance

  2. Resumes collecting transaction data for performance analysis

  3. Resumes collecting transaction instance data for performance analysis.

  4. None of the above

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

The function lr_resume_transaction_instance resumes the collection of transaction instance data for performance analysis after it has been paused. This is typically used in application performance monitoring tools to control when transaction data is being gathered. Option A incorrectly suggests resuming transaction status rather than data collection, while option B omits the word 'instance'.

Multiple choice technology testing
  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, ensuring all requirements are covered by at least one test case and providing tracking through the development lifecycle. Test matrices, checklists, and test beds serve different purposes.

Multiple choice technology testing
  1. Usability Testing

  2. Security Testing

  3. Unit testing

  4. Black Box Testing

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

To answer this question, the user needs to know about non-functional software testing and the different types of software testing.

Usability testing is a non-functional software testing that is performed to check if the user interface is easy to use and understand, making option A the correct answer.

Option B, Security testing, is a type of functional software testing that checks if the software system is secure from external threats and internal vulnerabilities.

Option C, Unit testing, is a type of functional software testing that checks if the individual units or components of the software system are working as intended.

Option D, Black Box testing, is a type of functional software testing that checks if the software system is working as intended by testing it without any knowledge of its internal workings.

Therefore, the correct answer is:

The Answer is: A. Usability Testing

Multiple choice technology testing
  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 the internal code structure, logic, and implementation. Testers have access to the source code and design test cases based on code coverage and internal paths, unlike black box testing which only considers inputs and outputs.

Multiple choice technology testing
  1. Beta Testing

  2. Greybox testing

  3. Test Automation

  4. White box testing

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

Acceptance testing determines if software meets business requirements and is ready for delivery. Beta testing is a type of acceptance testing conducted by end users in their environment, making them closely related concepts in software testing.

Multiple choice technology testing
  1. Regression Testing

  2. Unit Regression

  3. Regional Regression

  4. Retesting

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

Regression testing is performed to verify that recent code changes or updates have not adversely affected existing functionalities of the software application. Retesting specifically verifies a fixed bug, unit regression applies to single units, regional regression is not a standard testing term, and retesting the entire app constitutes regression testing.

Multiple choice technology testing
  1. Unit Testing

  2. Black box testing

  3. Performance Testing

  4. Regression testing

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

Performance Testing is a non-functional testing type because it tests system attributes like speed, response time, stability, and scalability under various workload conditions, rather than specific functional behaviors. Unit testing, black box testing, and regression testing primarily focus on functional requirements.