1.
Verification is:
Correct Answer
B. Checking that we are building the system right
Explanation
The given correct answer is "Checking that we are building the system right." This means that verification involves ensuring that the system is being built correctly, following the specified requirements and design. It focuses on the technical aspects of the system development process, such as code correctness, adherence to standards, and proper implementation of features. Verification is typically carried out by the development team itself, rather than an independent test team.
2.
A regression test:
Correct Answer
B. Will help ensure unchanged areas of the software have not been affected
Explanation
A regression test is a type of testing that is performed to ensure that previously developed and tested software functions properly after any changes or modifications have been made. It helps to identify any unintended side effects or issues that may have been introduced during the development process. By running a regression test, it can be ensured that the unchanged areas of the software have not been affected by the changes made. This is important to maintain the overall stability and reliability of the software.
3.
If an expected result is not specified then:
Correct Answer
C. It may be difficult to determine if the test has passed or failed
Explanation
When an expected result is not specified, it becomes challenging to determine whether the test has passed or failed. Without a clear expectation, there is no benchmark to compare the actual outcome against. This ambiguity makes it difficult to assess the success or failure of the test accurately. It also hampers the ability to make any necessary adjustments or improvements based on the test results. Consequently, it becomes crucial to have well-defined expected results to ensure effective testing and evaluation.
4.
Which of the following could be a reason for a failure1) Testing fault
2) Software fault
3) Design fault
4) Environment Fault
5) Documentation Fault
Correct Answer
D. All of them are valid reasons for failure
Explanation
All of the options listed (1, 2, 3, 4, and 5) could potentially be valid reasons for a failure. This means that any combination of these options could contribute to the failure of a system or software.
5.
Test are prioritized so that:
Correct Answer
B. You do the best testing in the time available
Explanation
This answer suggests that prioritizing tests allows for the best possible testing to be done within the given time constraints. By focusing on the most important and critical tests first, it ensures that the limited time available is used effectively and efficiently. This approach ensures that the highest quality of testing is performed within the available time frame.
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 is a technique that relies on the tester's intuition and experience to guess and identify potential errors in the software. It involves the tester imagining different scenarios and situations that could lead to errors and then testing the software based on those guesses. Unlike static testing techniques such as walkthroughs, data flow analysis, and inspections, error guessing does not involve analyzing the software's code or structure. Instead, it is a more informal and subjective approach to finding errors.
7.
Which of the following statements about component testing is not true?
Correct Answer
D. Component testing does not involve regression testing
Explanation
Component testing involves testing individual components or units of a software system in isolation. It is performed by the development team to ensure that each component functions correctly. Completion criteria should be planned for component testing to determine when testing is considered complete. However, the statement that component testing does not involve regression testing is not true. Regression testing is performed during component testing to ensure that changes or fixes made to a component do not introduce new defects or impact the functionality of other components. Therefore, the correct answer is that component testing does not involve regression testing.
8.
During which test activity could faults be found most cost effectively?
Correct Answer
C. Planning
Explanation
During the planning phase of a test, faults can be found most cost effectively. This is because planning involves identifying the objectives, scope, and resources required for the testing process. By thoroughly planning and defining the test strategy, test cases, and test environment, potential faults can be identified early on, allowing for efficient and cost-effective prevention or mitigation measures. This ensures that the testing process runs smoothly and minimizes the risk of discovering faults during the execution phase, which can be more time-consuming and costly to fix.
9.
Which, in general, is the least required skill of a good tester?
Correct Answer
B. Able to write software
Explanation
A good tester needs to have a strong attention to detail in order to effectively identify and report any bugs or issues in the software being tested. They also need to be reliable and trustworthy, as their findings and recommendations play a crucial role in the development process. However, being able to write software is not a necessary skill for a tester, as their primary focus is on testing and ensuring the quality of the software rather than developing it.
10.
The purpose of requirement phase is
Correct Answer
D. All of the above
Explanation
The purpose of the requirement phase is to freeze requirements, meaning to establish a clear and final set of requirements that will guide the development process. Additionally, the requirement phase aims to understand user needs, ensuring that the final product meets their expectations and requirements. Lastly, this phase is also used to define the scope of testing, determining what aspects of the system will be tested and how. Therefore, the correct answer is "All of the above" as all these objectives are part of the requirement phase.
11.
The process starting with the terminal modules is called -
Correct Answer
B. Bottom-up integration
Explanation
Bottom-up integration is the correct answer because it refers to the process of integrating modules starting from the lowest level or terminal modules and gradually moving upwards to integrate higher-level modules. In this approach, individual modules are tested and integrated one by one, ensuring that each module is functioning correctly before integrating them into larger subsystems or the complete system. This method allows for early detection and resolution of issues at the module level, resulting in a more efficient and reliable integration process.
12.
The inputs for developing a test plan are taken from
Correct Answer
A. Project plan
Explanation
The inputs for developing a test plan are taken from the project plan. The project plan outlines the overall objectives, scope, and timeline of the project, which are essential in defining the testing activities and requirements. It provides information about the project's deliverables, milestones, and resources, which helps in determining the test objectives, test scope, test schedule, and resource allocation for testing. By referencing the project plan, the test plan can be aligned with the project's goals and objectives, ensuring that the testing activities are integrated into the overall project management process.
13.
Function/Test matrix is a type of
Correct Answer
C. Project status report
Explanation
The correct answer is project status report because a function/test matrix is a tool used to track and report the progress of testing activities within a project. It provides a clear overview of the functions or features being tested, the corresponding test cases, and their status (e.g., pass, fail, not executed). This information is essential for project managers to assess the overall status of the project, identify any bottlenecks or issues in the testing process, and make informed decisions regarding resource allocation and project timelines. Therefore, a function/test matrix is a key component of a project status report.
14.
Defect Management process does not include
Correct Answer
B. Deliverable base-lining
Explanation
The defect management process is a systematic approach to identifying, documenting, tracking, and resolving defects in a project. It includes various activities such as defect prevention, management reporting, and tracking. However, deliverable base-lining is not a part of the defect management process. Deliverable base-lining refers to the process of establishing a stable version of a deliverable, such as a document or software, that serves as a reference point for future changes. While it is an important practice in project management, it is not directly related to defect management.
15.
What is the difference between testing software developed by
contractor outside your country, versus testing software developed by a
contractor within your country?
Correct Answer
B. Cultural difference
Explanation
The correct answer is cultural difference. When testing software developed by a contractor outside your country, cultural differences can impact the understanding and interpretation of requirements, leading to misunderstandings and potential issues in the software. On the other hand, when testing software developed by a contractor within your country, cultural similarities and shared understanding can help in effective communication and collaboration, reducing the chances of misinterpretation and improving the overall quality of the software.
16.
Software testing accounts to what percent of software development costs?
Correct Answer
B. 40-50
Explanation
Software testing accounts for 40-50% of software development costs. This means that a significant portion of the budget allocated for developing software is dedicated to testing activities. Testing is crucial in ensuring that the software functions correctly, meets the required quality standards, and is free from any defects or errors. It involves various activities such as test planning, test execution, defect tracking, and test documentation, all of which require resources and effort. Therefore, the cost of testing is a significant factor in software development budgets.
17.
A reliable system will be one that:
Correct Answer
B. Is unlikely to cause a failure
Explanation
A reliable system is one that is unlikely to cause a failure. This means that the system is designed and implemented in such a way that it minimizes the chances of errors, malfunctions, or breakdowns. It is built to perform consistently and effectively, ensuring that it meets the required standards and expectations. By being unlikely to cause a failure, the system can be trusted to perform its intended functions without major issues or disruptions, making it reliable and dependable.
18.
How much testing is enough
Correct Answer
B. The answer depends on the risks for your industry, contract and special requirements
Explanation
The amount of testing required can vary depending on the risks involved in the industry, the contract specifications, and any special requirements that need to be met. Each industry may have different levels of risk associated with their software, and the contract and special requirements may also dictate the extent of testing needed. Therefore, there is no one-size-fits-all answer and the amount of testing required should be determined based on these factors.
19.
Which of the following is not a characteristic for Testability?
Correct Answer
D. Robustness
Explanation
Robustness is not a characteristic for Testability because it refers to the ability of a system to handle errors or unexpected inputs gracefully. Testability, on the other hand, focuses on the ease of testing a system, including the ability to isolate and control different components for testing purposes. While operability, observability, and simplicity are all important characteristics for testability, robustness is not directly related to the ease of testing a system.
20.
Cyclomatic Complexity method comes under which testing method.
Correct Answer
A. White box
Explanation
The Cyclomatic Complexity method is a metric used in software testing to measure the complexity of a program's control flow. It is based on the number of independent paths through a program's source code. Since this method requires access to the internal structure and implementation details of the program, it falls under the category of white box testing. White box testing involves testing the internal logic and structure of the software, whereas black box testing focuses on the functionality and behavior of the software without considering its internal implementation. Green box and yellow box are not recognized testing methods, so they are not the correct answer.
21.
Which of these can be successfully tested using Loop Testing methodology?
Correct Answer
D. All of the above
Explanation
Loop Testing methodology can be successfully used to test all types of loops, including Simple Loops, Nested Loops, and Concatenated Loops. This methodology involves executing the loop multiple times with different sets of test data to ensure that the loop functions correctly under different conditions. By testing all types of loops, we can identify and fix any potential issues or errors that may occur within the loop structure or loop boundaries. Therefore, the correct answer is "All of the above."
22.
To test a function, the programmer has to write a ______, which calls the function and passes it test data.
Correct Answer
B. Driver
Explanation
A driver is a program or a function that is used to test another function by calling it and passing it test data. The purpose of the driver is to simulate the environment in which the function will be used and to provide the necessary input for testing. It helps in verifying the correctness and functionality of the function being tested. A driver is commonly used in software testing to ensure that the function works as expected in different scenarios and with different inputs.
23.
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 appropriate to all levels of testing. This technique involves dividing the input data into different classes or partitions, where each partition represents a specific behavior or outcome. This helps in selecting representative test cases from each partition, ensuring that all possible scenarios are covered. It is a useful technique for testing different input conditions and is applicable to all levels of testing, including unit testing, integration testing, and system testing.
24.
When a new testing tool is purchased, it should be used first by:
Correct Answer
A. A small team to establish the best way to use the tool
Explanation
When a new testing tool is purchased, it is best to start by using it first with a small team. This allows the team to explore and experiment with the tool, understand its features and functionalities, and determine the most effective and efficient ways to use it. By doing so, the team can establish best practices, identify any challenges or limitations, and develop guidelines or recommendations for the rest of the organization. This approach ensures that the tool is utilized optimally and maximizes its benefits before rolling it out to a larger audience.
25.
Inspections can find all the following except
Correct Answer
D. How much of the code has been covered
Explanation
Inspections are a systematic process of examining code and documents to identify defects and issues. They are typically used to find errors, inconsistencies, and omissions in the code and documentation. While inspections can help identify variables not defined in the code, spelling and grammar faults in the documents, and requirements that have been omitted from the design documents, they do not directly measure how much of the code has been covered. Code coverage is a separate metric that measures the extent to which the source code of a program has been tested.