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
Which of the following is NOT a type of penetration test?
-
Black box testing
-
White box testing
-
Gray box testing
-
Fuzz testing
D
Correct answer
Explanation
Fuzz testing is not a type of penetration test. It is a type of security testing that involves sending invalid or unexpected data to a system to see how it responds.
Which of the following is NOT a type of usability test?
-
Moderated usability test
-
Unmoderated usability test
-
Remote usability test
-
Guerrilla usability test
D
Correct answer
Explanation
Guerrilla usability test is not a type of usability test. It is a method of conducting usability testing with a small number of participants in a public setting, such as a coffee shop or a park.
Which technique is commonly employed to identify performance bottlenecks in a game engine?
-
Profiling
-
Load Testing
-
Stress Testing
-
Unit Testing
A
Correct answer
Explanation
Profiling is a technique used to identify performance bottlenecks in a game engine by analyzing the execution time and resource usage of different components and functions.
Which of the following is a common web application testing technique?
-
Unit testing
-
Integration testing
-
Functional testing
-
All of the above
D
Correct answer
Explanation
Unit testing, integration testing, and functional testing are all common web application testing techniques used to ensure the correctness, reliability, and functionality of web applications.
What is the role of the tester in Extreme Programming?
-
To write test cases.
-
To execute test cases.
-
To report defects.
-
All of the above
D
Correct answer
Explanation
The tester plays a key role in Extreme Programming. They write test cases, execute test cases, and report defects.
What is the key principle behind XP's test-driven development approach?
-
Writing tests before writing code
-
Automating all tests
-
Running tests continuously
A
Correct answer
Explanation
XP's test-driven development approach emphasizes writing tests before writing code, ensuring that the code meets the requirements and works as expected.
Which testing technique involves executing test cases manually?
-
Unit Testing
-
Integration Testing
-
Performance Testing
-
Manual Testing
D
Correct answer
Explanation
Manual Testing is a testing technique where test cases are executed manually by a human tester, without the use of automated tools or scripts.
Which testing approach involves dividing the application into smaller, manageable modules and testing them individually?
-
Unit Testing
-
Integration Testing
-
System Testing
-
Acceptance Testing
A
Correct answer
Explanation
Unit Testing is a testing approach where individual units or modules of the application are tested in isolation, typically by the developers themselves.
Which testing technique involves simulating real-world user scenarios to evaluate the application's functionality and usability?
-
Unit Testing
-
Integration Testing
-
System Testing
-
User Acceptance Testing
D
Correct answer
Explanation
User Acceptance Testing involves simulating real-world user scenarios to evaluate the application's functionality and usability from the end-user's perspective.
Which testing approach involves testing the application against a set of predefined requirements?
-
Black-Box Testing
-
White-Box Testing
-
Gray-Box Testing
-
Exploratory Testing
A
Correct answer
Explanation
Black-Box Testing is a testing approach where the application is tested against a set of predefined requirements without considering its internal structure or implementation.
What is the primary objective of Test Planning in Application Testing?
-
To define the scope, objectives, and schedule of testing activities.
-
To identify the resources and tools required for testing.
-
To develop test cases and test scenarios.
-
All of the above.
D
Correct answer
Explanation
Test Planning involves defining the scope, objectives, and schedule of testing activities, identifying the resources and tools required for testing, and developing test cases and test scenarios.
Which testing technique involves testing the application's performance under varying loads and conditions?
-
Unit Testing
-
Integration Testing
-
Performance Testing
-
Security Testing
C
Correct answer
Explanation
Performance Testing involves testing the application's performance under varying loads and conditions to evaluate its responsiveness, scalability, and stability.
Which testing technique involves testing the application's security features and vulnerabilities?
-
Unit Testing
-
Integration Testing
-
Security Testing
-
Acceptance Testing
C
Correct answer
Explanation
Security Testing involves testing the application's security features and vulnerabilities to identify potential security risks and ensure the application's protection against unauthorized access and attacks.
What is the primary goal of Regression Testing in Application Testing?
-
To ensure that new changes or fixes do not introduce new defects.
-
To verify that the application still meets user requirements after changes.
-
To identify and fix defects that may have been introduced during development.
-
All of the above.
D
Correct answer
Explanation
Regression Testing aims to ensure that new changes or fixes do not introduce new defects, verify that the application still meets user requirements after changes, and identify and fix defects that may have been introduced during development.
Which testing approach involves testing the application's compatibility with different operating systems, browsers, and devices?
-
Compatibility Testing
-
Localization Testing
-
Internationalization Testing
-
Globalization Testing
A
Correct answer
Explanation
Compatibility Testing involves testing the application's compatibility with different operating systems, browsers, and devices to ensure that it functions correctly across various platforms and environments.