Worksheets[SE] 8. Software Testing
Total questions: 16
Worksheet time: 16mins
What is the main difference between Verification and Validation?
Verification is done by testers, while Validation is done by developers.
Verification is to ensure the product is built correctly, while Validation ensures the correct product is built.
Verification involves automated tests only, while Validation involves manual testing.
There is no significant difference; they are interchangeable terms.
How do software inspections differ from software testing?
Inspections are more formal and are always conducted after testing.
Inspections focus on preventing defects, while testing focuses on detecting defects.
Testing is a manual process, while inspections are automated.
Inspections can only be performed on source code, while testing can be performed on any artifact.
Which of the following is NOT typically inspected in a software inspection process?
Source code
User documentation
Project plan
Customer feedback
At what stage of the software development process can inspections occur?
Only after the testing phase
At any stage of development
Only during the requirements and design phases
Only at the end of the project
What is an inspection checklist?
A list of completed tasks in the project
A list of common defects and issues
A schedule for project meetings
A list of software requirements
Which of the following best describes the role of a Moderator in a software inspection?
Writes the code to be inspected
Leads the inspection meeting
Provides financial support for the inspection process
Acts as a customer representative
What is the main purpose of software testing?
To prove that software has no defects.
To improve the performance of software.
To identify defects and ensure the software meets the requirements.
To increase software development speed.
What is the primary goal of system testing?
To test the functionality of individual units or components.
To test the interactions between integrated units.
To verify the system meets specified requirements as a whole.
To validate the software with the end-users.
Which level of testing often involves testing with mock objects or stubs?
Unit Testing
Integration Testing
System Testing
Acceptance Testing
Who typically performs acceptance testing?
Developers
Test Engineers
End-Users or Client Representatives
System Administrators
What type of issues is integration testing specifically designed to uncover?
Syntax errors in the code
Functionality issues in single units
Data format issues between integrated components
Usability issues from the end-user perspective
In which type of testing do testers focus on the software's specific functionalities without considering the internal code structure?
White-box Testing
Black-box Testing
Grey-box Testing
Red-box Testing
Which of the following best describes white-box testing?
Testing based on coverage of code statements, branches, paths, and conditions.
Testing without any knowledge of the internal workings of the application.
Testing conducted by real users in a live environment.
Testing the application's performance at the client's site.
What is regression testing?
Testing the system's performance under a high load.
Re-testing after fixes or modifications to check for new defects.
Checking the compatibility of new software with older versions.
Testing the application's interface and user interactions.
Which of the following is NOT a typical component of a test case?
Test case ID
Source code
Expected result
Steps to execute
Which of the following best describes the significance of the "expected result" in a test case?
It describes the current functionality of the application.
It is used to document the steps needed to execute the test.
It provides a benchmark to determine whether the test has passed or failed based on the software's actual response.
It outlines the prerequisites for the test.
