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

Which of the following is a quantitative measure of maintainability?

  1. Mean Time to Repair (MTTR).

  2. Mean Time Between Failures (MTBF).

  3. Availability.

  4. All of the above.

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

MTTR, MTBF, and Availability are all quantitative metrics used to assess the maintainability of a system.

Multiple choice

Which language testing technique involves presenting learners with a series of sentences and asking them to identify the sentence that is grammatically incorrect?

  1. Multiple-choice tests

  2. Cloze tests

  3. Error identification tests

  4. Dictation tests

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

Error identification tests present learners with a series of sentences and ask them to identify the sentence that contains a grammatical error, assessing their ability to recognize and correct grammatical mistakes.

Multiple choice

What are some of the common tests included in a static FCE?

  1. Range of motion measurements

  2. Muscle strength testing

  3. Endurance testing

  4. Flexibility testing

  5. All of the above

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

Common tests included in a static FCE include range of motion measurements, muscle strength testing, endurance testing, and flexibility testing.

Multiple choice

What are some of the common tests included in a dynamic FCE?

  1. Gait analysis

  2. Functional reach test

  3. Sit-to-stand test

  4. Step-up test

  5. All of the above

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

Common tests included in a dynamic FCE include gait analysis, functional reach test, sit-to-stand test, and step-up test.

Multiple choice

What are the two main types of software testing?

  1. Functional testing and non-functional testing

  2. Unit testing and integration testing

  3. White-box testing and black-box testing

  4. Static testing and dynamic testing

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

The two main types of software testing are functional testing and non-functional testing. Functional testing verifies that the software meets its functional requirements, while non-functional testing verifies that the software meets its non-functional requirements, such as performance, security, and usability.

Multiple choice

What is the difference between unit testing and integration testing?

  1. Unit testing tests individual units of code, while integration testing tests how different units of code work together.

  2. Unit testing is performed by developers, while integration testing is performed by testers.

  3. Unit testing is typically automated, while integration testing is typically manual.

  4. Unit testing is more important than integration testing.

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

Unit testing tests individual units of code, such as functions or methods, to ensure that they work as expected. Integration testing tests how different units of code work together to ensure that the overall software system works as expected.

Multiple choice

What is white-box testing?

  1. A type of testing that is based on the internal structure of the software

  2. A type of testing that is based on the external behavior of the software

  3. A type of testing that is performed by developers

  4. A type of testing that is performed by testers

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

White-box testing is a type of testing that is based on the internal structure of the software. It involves examining the code to identify potential defects or vulnerabilities.

Multiple choice

What is black-box testing?

  1. A type of testing that is based on the internal structure of the software

  2. A type of testing that is based on the external behavior of the software

  3. A type of testing that is performed by developers

  4. A type of testing that is performed by testers

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

Black-box testing is a type of testing that is based on the external behavior of the software. It involves testing the software without examining its internal structure.

Multiple choice

What is static testing?

  1. A type of testing that is performed before the software is executed

  2. A type of testing that is performed after the software is executed

  3. A type of testing that is performed by developers

  4. A type of testing that is performed by testers

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

Static testing is a type of testing that is performed before the software is executed. It involves examining the source code or other artifacts to identify potential defects or vulnerabilities.

Multiple choice

What is dynamic testing?

  1. A type of testing that is performed before the software is executed

  2. A type of testing that is performed after the software is executed

  3. A type of testing that is performed by developers

  4. A type of testing that is performed by testers

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

Dynamic testing is a type of testing that is performed after the software is executed. It involves running the software and observing its behavior to identify potential defects or vulnerabilities.

Multiple choice

What is a test case?

  1. A set of inputs, expected outputs, and preconditions for a test

  2. A set of instructions for performing a test

  3. A record of the results of a test

  4. A tool for performing a test

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

A test case is a set of inputs, expected outputs, and preconditions for a test. It defines the conditions under which a test will be performed and the expected results of the test.

Multiple choice

What is a test suite?

  1. A collection of test cases

  2. A set of instructions for performing a test

  3. A record of the results of a test

  4. A tool for performing a test

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

A test suite is a collection of test cases that are used to test a particular software system or component.

Multiple choice

What is a test plan?

  1. A document that describes the scope, objectives, and schedule of a testing project

  2. A set of instructions for performing a test

  3. A record of the results of a test

  4. A tool for performing a test

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

A test plan is a document that describes the scope, objectives, and schedule of a testing project. It also defines the resources that will be used to conduct the testing project.

Multiple choice

What is a test report?

  1. A document that summarizes the results of a testing project

  2. A set of instructions for performing a test

  3. A record of the results of a test

  4. A tool for performing a test

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

A test report is a document that summarizes the results of a testing project. It includes information about the tests that were performed, the defects that were found, and the overall status of the testing project.

Multiple choice

What is the role of a software tester?

  1. To find as many bugs as possible

  2. To ensure that the software meets its requirements

  3. To improve the software's performance

  4. To make the software more user-friendly

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

The role of a software tester is to ensure that the software meets its requirements. This involves testing the software to identify any defects or deviations from the requirements.