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
Which of the following is a quantitative measure of maintainability?
-
Mean Time to Repair (MTTR).
-
Mean Time Between Failures (MTBF).
-
Availability.
-
All of the above.
D
Correct answer
Explanation
MTTR, MTBF, and Availability are all quantitative metrics used to assess the maintainability of a system.
Which language testing technique involves presenting learners with a series of sentences and asking them to identify the sentence that is grammatically incorrect?
-
Multiple-choice tests
-
Cloze tests
-
Error identification tests
-
Dictation tests
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.
What are some of the common tests included in a static FCE?
-
Range of motion measurements
-
Muscle strength testing
-
Endurance testing
-
Flexibility testing
-
All of the above
E
Correct answer
Explanation
Common tests included in a static FCE include range of motion measurements, muscle strength testing, endurance testing, and flexibility testing.
What are some of the common tests included in a dynamic FCE?
-
Gait analysis
-
Functional reach test
-
Sit-to-stand test
-
Step-up test
-
All of the above
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.
What are the two main types of software testing?
-
Functional testing and non-functional testing
-
Unit testing and integration testing
-
White-box testing and black-box testing
-
Static testing and dynamic testing
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.
What is the difference between unit testing and integration testing?
-
Unit testing tests individual units of code, while integration testing tests how different units of code work together.
-
Unit testing is performed by developers, while integration testing is performed by testers.
-
Unit testing is typically automated, while integration testing is typically manual.
-
Unit testing is more important than integration testing.
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.
What is white-box testing?
-
A type of testing that is based on the internal structure of the software
-
A type of testing that is based on the external behavior of the software
-
A type of testing that is performed by developers
-
A type of testing that is performed by testers
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.
What is black-box testing?
-
A type of testing that is based on the internal structure of the software
-
A type of testing that is based on the external behavior of the software
-
A type of testing that is performed by developers
-
A type of testing that is performed by testers
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.
-
A type of testing that is performed before the software is executed
-
A type of testing that is performed after the software is executed
-
A type of testing that is performed by developers
-
A type of testing that is performed by testers
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.
-
A type of testing that is performed before the software is executed
-
A type of testing that is performed after the software is executed
-
A type of testing that is performed by developers
-
A type of testing that is performed by testers
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.
-
A set of inputs, expected outputs, and preconditions for a test
-
A set of instructions for performing a test
-
A record of the results of a test
-
A tool for performing a test
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.
-
A collection of test cases
-
A set of instructions for performing a test
-
A record of the results of a test
-
A tool for performing a test
A
Correct answer
Explanation
A test suite is a collection of test cases that are used to test a particular software system or component.
-
A document that describes the scope, objectives, and schedule of a testing project
-
A set of instructions for performing a test
-
A record of the results of a test
-
A tool for performing a test
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.
-
A document that summarizes the results of a testing project
-
A set of instructions for performing a test
-
A record of the results of a test
-
A tool for performing a test
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.
What is the role of a software tester?
-
To find as many bugs as possible
-
To ensure that the software meets its requirements
-
To improve the software's performance
-
To make the software more user-friendly
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.