1.
Which is NOT true - The black box tester:
Correct Answer
B. Should be able to understand the source code.
Explanation
The black box tester should be able to understand a functional specification or requirements document because it helps them understand the intended behavior of the system. They should also be highly motivated to find faults in order to ensure the system's quality. Additionally, they should be creative in finding the system's weaknesses by thinking outside the box. However, understanding the source code is not a requirement for a black box tester as their focus is on testing the system's functionality from an external perspective without knowledge of its internal implementation.
2.
Which of the following is NOT part of performance testing?
Correct Answer
C. Recovery testing
Explanation
Recovery testing is not part of performance testing because it focuses on the system's ability to recover from failures or crashes, rather than measuring its performance under normal conditions. Performance testing, on the other hand, involves measuring response time, transaction rates, and simulating many users to evaluate the system's speed, scalability, and stability.
3.
Determine the statement which holds true in case of Exploratory Testing:
Correct Answer
B. It involves simultaneous design of the test and execution.
Explanation
Exploratory testing is a testing approach where the tester simultaneously designs and executes tests. Unlike traditional testing methods that require a finalized design before execution, exploratory testing allows for flexibility and adaptability during the testing process. Testers can explore the software, make observations, and design and execute tests on the fly based on their findings. This approach is particularly useful in situations where requirements are unclear or constantly changing, as it allows for quick feedback and identification of issues. Therefore, the statement "It involves simultaneous design of the test and execution" holds true for exploratory testing.
4.
Equivalence partitioning is:
Correct Answer
C. A black box testing technique appropriate to all levels of testing.
Explanation
Equivalence partitioning is a black box testing technique that is suitable for all levels of testing. It involves dividing the input data into different groups or partitions, where each partition represents a specific behavior or characteristic of the system. By selecting representative test cases from each partition, it ensures that the system is tested comprehensively and efficiently. This technique is independent of the development phase and can be used by testers at any level of testing to identify defects and ensure the system's functionality.
5.
Statement Coverage will NOT check for the following:
Correct Answer
A. Missing Statements
Explanation
Statement coverage is a code coverage metric that measures the percentage of statements in a program that have been executed during testing. It ensures that all statements in the code have been tested at least once. However, statement coverage does not check for missing statements, which means it does not guarantee that all statements in the code have been implemented. It only verifies that the executed statements have been covered. Therefore, missing statements may still exist in the code even if statement coverage is 100%.
6.
Which of the following is NOT a static testing technique?
Correct Answer
A. Error guessing
Explanation
Error guessing is not a static testing technique because it involves a tester using their experience and intuition to guess potential errors in the software without any structured approach or predefined set of test cases. Unlike other static testing techniques such as walkthroughs, data flow analysis, and inspections, error guessing does not involve a systematic examination of the software artifacts to identify defects. Instead, it relies on the tester's ability to anticipate and uncover errors based on their knowledge and past experience.
7.
Impact Analysis helps to decide:
Correct Answer
D. How much regression testing should be done
Explanation
Impact analysis helps to determine the extent of regression testing that should be performed. It helps in assessing the potential impact of changes made to a system or software and identifies the areas that are most likely to be affected. Based on this analysis, the decision on how much regression testing should be done can be made. This ensures that the right amount of testing is carried out to minimize the risk of introducing new defects while still ensuring that the system is thoroughly tested.
8.
A test harness is a:
Correct Answer
C. A test environment comprised of stubs and drives needed to conduct a test.
Explanation
The correct answer is "A test environment comprised of stubs and drivers needed to conduct a test." This option best describes a test harness, which is a combination of software and hardware tools used to automate and support the testing process. A test harness includes stubs, which are simplified versions of software components, and drivers, which are software components that simulate the behavior of other components. These stubs and drivers are necessary to create a controlled and isolated testing environment for the component or system under test.
9.
What is the purpose of test completion criteria in a test plan:
Correct Answer
D. To plan when to stop testing.
Explanation
The purpose of test completion criteria in a test plan is to determine when to stop testing. This is important because testing cannot go on indefinitely, as it requires time, resources, and effort. By setting specific criteria, such as achieving a certain level of coverage or meeting predetermined quality goals, the testing team can determine when the testing process has fulfilled its objectives and can be considered complete. This helps in effectively managing the testing process and ensuring that testing activities are not prolonged unnecessarily.
10.
Verification is:
Correct Answer
B. Checking that we are building the system right.
Explanation
The correct answer is "Checking that we are building the system right." This answer aligns with the definition of verification, which is the process of evaluating a system to ensure that it meets the specified requirements and is functioning correctly. It focuses on confirming that the system is being built correctly, rather than checking if it is the right system or meeting user expectations. Additionally, the answer does not mention an independent test team, which is not necessarily involved in the verification process.
11.
Which of the following would be a valid measure of test progress?
Correct Answer
B. Number of test cases not yet executed
Explanation
A valid measure of test progress can be determined by the number of test cases that have not yet been executed. This measure provides insight into the amount of testing that still needs to be completed, allowing for tracking and monitoring of the overall progress of the testing process. By keeping track of the number of test cases that are yet to be executed, it becomes easier to estimate the remaining effort and time required to complete the testing phase.
12.
Which testing phase tests individual software modules combined together as a group?
Correct Answer
B. Integration testing
Explanation
Integration testing is the testing phase that tests individual software modules combined together as a group. During integration testing, the purpose is to identify any issues or defects that may arise when the modules interact with each other. This phase ensures that the modules work together seamlessly and that the system functions as intended. Integration testing helps to uncover any integration issues early in the development process, allowing for timely resolution and ensuring the overall quality and reliability of the software.
13.
Which of the following is a major task of test planning?
Correct Answer
A. Determining the test approach
Explanation
Determining the test approach is a major task of test planning because it involves deciding on the overall strategy and methods that will be used to conduct the testing. This includes identifying the scope of the testing, selecting the appropriate test techniques and tools, and defining the test objectives and priorities. By determining the test approach, the testing team can ensure that they have a clear plan in place for how the testing will be conducted, which will help to ensure that the testing is effective and efficient.
14.
Beta testing is:
Correct Answer
B. Performed by customers at their software developer’s site.
Explanation
Beta testing is performed by customers at their software developer's site. This means that the customers are given access to the software before its official release and are encouraged to test it in a real-world environment. By doing so, they can provide valuable feedback to the software developer regarding any issues or improvements that need to be addressed. This type of testing allows the developer to gather user insights and make necessary adjustments before the software is launched to the wider market.
15.
The main focus of acceptance testing is __________
Correct Answer
D. Testing for a business perspective
Explanation
Acceptance testing is a type of testing that is conducted to determine whether a system meets the business requirements and is acceptable for delivery to the end users. It focuses on testing the system from a business perspective, ensuring that it aligns with the business objectives and functions as intended. This type of testing helps to identify any gaps or discrepancies between the system and the business requirements, allowing for necessary adjustments and improvements to be made before the system is deployed.
16.
Which of the following is NOT a black box technique?
Correct Answer
C. Linear code sequence and jump.
Explanation
Linear code sequence and jump is not a black box technique because it involves analyzing the internal structure of the code and making decisions based on the code's logic and flow. Black box techniques, on the other hand, focus on testing the functionality of a system without considering its internal workings. Equivalence partitioning, state transition testing, and syntax testing are all examples of black box techniques as they test the system based on its inputs and outputs without considering the internal code implementation.
17.
The difference between re-testing and regression testing is ________________
Correct Answer
A. Re-testing is running a test again; regression testing looks for unexpected side effects.
Explanation
Re-testing refers to running a test again to ensure that a previously identified fault has been fixed. On the other hand, regression testing aims to identify any unexpected side effects that might have been introduced as a result of fixing the fault. Therefore, the difference between re-testing and regression testing is that re-testing focuses on running the test again, while regression testing focuses on identifying unexpected side effects.
18.
Before launching a software which testing is to be done in-house?
Correct Answer
C. AlpHa
Explanation
The correct answer is Alpha because alpha testing is done in-house before launching a software. Alpha testing is the initial phase of testing where the software is tested by the developers themselves in a controlled environment. It helps to identify any bugs or issues before releasing the software to external users. Beta testing, on the other hand, is done by a group of external users and gamma testing is a type of testing performed by a third-party testing team. None of the above is not the correct answer as alpha testing is the appropriate choice for testing in-house.
19.
In which activity of the Fundamental Test Process is the test environment set up?
Correct Answer
A. Test implementation and execution.
Explanation
The test environment is set up during the activity of test implementation and execution. This involves preparing the necessary hardware, software, and other resources required for conducting the tests. It includes configuring the test environment, installing the necessary tools and applications, and ensuring that it is ready for executing the planned tests. This activity is crucial as it ensures that the test environment is properly set up and ready for executing the tests effectively.
20.
Unreachable code would best be found using:
Correct Answer
A. Code reviews.
Explanation
Code reviews are a process where other developers review the code written by a developer to identify any issues or potential problems. Unreachable code refers to code that can never be executed during the program's execution. This type of issue is best found through code reviews because other developers can analyze the code and identify any sections that may be unreachable. Code inspections, coverage tools, and static analysis tools may also help in identifying issues, but they may not be as effective as code reviews in detecting unreachable code.