1.
Which of the following is correct:Debugging is:
Correct Answer
A. Identifying the cause of a defect, repairing the code and checking the fix is correct.
Explanation
Debugging is the process of identifying the cause of a defect in the code, making necessary repairs to the code, and then verifying that the fix has resolved the issue. It involves analyzing the code, locating the specific error or bug, and implementing the necessary changes to eliminate the problem. Once the code has been modified, it is essential to test and verify that the fix has been successful and that the software now performs correctly without any unintended consequences.
2.
Deciding How much testing is enough should take into account : -i. Level of Risk including Technical and Business product and project riskii.Project constraints such as time and budgetiii.Size of Testing Teamiv.Size of the Development Team
Correct Answer
A. I,ii are true and iii,iv are false
Explanation
The correct answer is i,ii are true and iii,iv are false. This means that when deciding how much testing is enough, one should consider the level of risk (including technical and business product and project risk) as well as project constraints such as time and budget. However, the size of the testing team and the size of the development team are not factors that need to be taken into account.
3.
A test team consistently finds between 90% and 95% of the defects present in the system under test. While the test manager understands that this is a good defect-detection percentage for her test team and industry, senior management and executives remain disappointed in the test group, saying that the test team misses too many bugs. Given that the users are generally happy with the system and that the failures which have occurred have generally been low impact, which of the following testing principles is most likely to help the test manager explain to these managers and executives why some defects are likely to be missed
Correct Answer
A. Exhaustive testing is impossible
Explanation
The test manager can explain to the managers and executives that exhaustive testing is impossible, which means that it is not feasible to test every possible combination and scenario in the system. Despite the test team's high defect-detection percentage, it is inevitable that some defects will be missed due to the complexity and vastness of the system. This principle helps to manage expectations and understand that finding every single defect is not realistic or necessary, especially when the users are generally satisfied with the system and the impact of the failures is low.
4.
Software testing activities should start:
Correct Answer
A. As soon as possible in the development life cycle.
Explanation
Software testing activities should start as soon as possible in the development life cycle because early testing helps to identify and fix defects at an early stage, reducing the cost and effort required for fixing them later. By starting testing early, it is possible to ensure that the software meets the specified requirements and functions correctly. This also helps in improving the overall quality of the software and reducing the risk of critical issues arising during later stages of development or after deployment.
5.
According to the ISTQB Glossary, the word "bug" is synonymous with which of the following words?
Correct Answer
A. Defect
Explanation
According to the ISTQB Glossary, the word "bug" is synonymous with the word "defect". In software testing, a defect refers to any flaw or imperfection in the software that causes it to behave in an unintended or incorrect way. The term "bug" is often used interchangeably with "defect" to describe these issues.
6.
A company recently purchased a commercial off-the-shelf application to automate their bill-paying process. They now plan to run an acceptance test again the package prior to putting it into production. Which of the following is their most likely reason for testing?
Correct Answer
A. To build confidence in the application.
Explanation
The most likely reason for the company to run an acceptance test is to build confidence in the application. This means that they want to ensure that the application functions correctly and meets their requirements before putting it into production. By conducting the acceptance test, they can verify that the application performs as expected and gain assurance that it will effectively automate their bill-paying process. This helps to reduce any uncertainties or doubts about the application's reliability and functionality, ultimately building confidence in its performance.
7.
The following statements relate to activities that are part of the fundamental test process. (i) Evaluating the testability of requirements.(ii) Repeating testing activities after changes.(iii) Designing the test environment set up.(iv) Developing and prioritizing test cases.(v) Verifying the environment is set up correctly. Which statement below is TRUE?
Correct Answer
A. (i) and (iii) are part of analysis and design, (ii), (iv) and (v) are part of test implementation and execution.
Explanation
The correct answer is (i) and (iii) are part of analysis and design, (ii), (iv) and (v) are part of test implementation and execution. This is because evaluating the testability of requirements and designing the test environment set up are activities that are typically performed during the analysis and design phase of the test process. On the other hand, repeating testing activities after changes, developing and prioritizing test cases, and verifying the environment is set up correctly are activities that are typically performed during the test implementation and execution phase.
8.
Which list of levels of tester independence is in the correct order, starting with the most independent first?
Correct Answer
A. Tests designed by someone from a different company; tests designed by someone from a different department within the company; tests designed by another member of the development team.
Explanation
The correct answer is in the order of increasing tester independence. Tests designed by someone from a different company are the most independent as they are not influenced by the internal workings of the organization. Tests designed by someone from a different department within the company are less independent as they may be influenced by the company's culture and processes. Finally, tests designed by another member of the development team are the least independent as they are likely to be influenced by the same factors as the author.
9.
Which of the following are aids to good communication and which hinder it? (i) Try to understand how the other person feels. (ii) Communicate personal feelings, concentrating upon individuals. (iii) Confirm the other person has understood what you have said and vice versa. (iv) Emphasize the common goal of better quality. (v) Each discussion is a battle to be won.
Correct Answer
A. (i), (iii) and (iv) aid, (ii) and (v) hinder.
Explanation
The correct answer is (i), (iii) and (iv) aid, (ii) and (v) hinder. This is because trying to understand how the other person feels, confirming mutual understanding, and emphasizing a common goal all contribute to effective communication. On the other hand, communicating personal feelings and treating discussions as battles to be won can hinder communication by creating a confrontational atmosphere and focusing on individual perspectives rather than finding common ground.
10.
According to the ISTQB Glossary, a risk relates to which of the following?
Correct Answer
A. Negative consequences that could occur.
Explanation
According to the ISTQB Glossary, a risk relates to negative consequences that could occur. This means that a risk refers to potential negative outcomes or events that may happen in the future. It does not imply that these consequences will definitely occur, but rather highlights the possibility of their occurrence.
11.
Which of the following is a fundamental test activity?
Correct Answer
A. Test Implementation and Execution
Explanation
Test implementation and execution is a fundamental test activity because it involves the actual execution of test cases and the verification of the system under test. This activity includes preparing the test environment, executing test cases, capturing and analyzing test results, and reporting any defects found during testing. It is a crucial step in the overall testing process as it helps in identifying and fixing any issues or bugs in the software before it is released to the end users.
12.
Which of the following is correct:Debugging is:
Correct Answer
A. Identifying the cause of a defect, repairing the code and checking the fix is correct.
Explanation
Debugging is the process of identifying the cause of a defect in the code, making necessary repairs to the code, and then verifying that the fix has resolved the issue correctly. It involves analyzing the code, locating the source of the problem, and making the necessary changes to eliminate the defect. After the code is repaired, it is important to check the fix to ensure that it has resolved the issue and that no unintended consequences have occurred as a result of the fix.
13.
What is a test condition?
Correct Answer
A. An item or event of a component or system that could be verified by one or more test cases
Explanation
A test condition refers to an item or event of a component or system that can be verified through one or more test cases. In other words, it is a specific aspect or characteristic of the component or system that needs to be tested to ensure its functionality and compliance with requirements. Test conditions help in identifying what needs to be tested and guide the creation of test cases to verify these conditions.
14.
When is testing complete?
Correct Answer
A. When there is enough information for sponsors to make an informed decision about release.
Explanation
Testing is considered complete when there is enough information for sponsors to make an informed decision about release. This means that all necessary tests have been conducted and the results have provided sufficient data for sponsors to determine whether the product is ready for release. It does not necessarily mean that all defects have been fixed or that every possible data combination has been tested. The focus is on providing the necessary information for a decision to be made, rather than exhaustively testing every aspect of the product.
15.
The quality and effectiveness of software testing are primarily determined by the quality of the test processes used is stated in:
Correct Answer
A. Ed Kit principle
Explanation
The Ed Kit principle states that the quality and effectiveness of software testing are primarily determined by the quality of the test processes used. This means that the success of testing relies on having well-defined and efficient test processes in place. Without proper processes, testing may be ineffective and fail to identify critical issues in the software. Therefore, the Ed Kit principle emphasizes the importance of establishing and maintaining high-quality test processes to ensure successful software testing.
16.
A programmer is working on code which is very complex. Which of the following is a general testing principle that may affect his work?
Correct Answer
A. Defect clustering
Explanation
Defect clustering is a general testing principle that suggests that a small number of modules or components in a software system are responsible for the majority of defects. This means that there tends to be a concentration of defects in certain areas of the code, making it more likely for the programmer to encounter issues while working on complex code. By understanding this principle, the programmer can focus their testing efforts on these specific areas to ensure thorough testing and identify and fix any defects present.
17.
Evaluating testability of the requirements and system are a part of which phase:-
Correct Answer
A. Test Analysis and Design
Explanation
Evaluating testability of the requirements and system is a part of the Test Analysis and Design phase. This phase involves analyzing the requirements and system to determine the test objectives, test conditions, and test cases. Evaluating testability ensures that the requirements and system can be effectively tested and that the necessary test cases can be designed. It helps in identifying any potential issues or limitations in the requirements or system that may affect the testing process. Therefore, the correct answer is Test Analysis and Design.
18.
A phone ringing in an adjacent cubicle momentarily distracts a programmer, causing him to improperly program the logic that checks the upper boundary of an input variable. Later, during system testing, a tester notices that this variable accepts input values. The improperly coded logic for the upper boundary check is:
Correct Answer
C. The defect
Explanation
In the context provided, the improperly coded logic for the upper boundary check is the defect, which is the direct issue within the software or code. This defect can lead to failures during testing or in the functioning of the software, making it the most accurate term to describe the coding problem.
19.
Which of the following is not a quality characteristic listed in ISO 9126 Standard?
Correct Answer
A. Supportability
Explanation
The correct answer is "Supportability." In ISO 9126 Standard, the quality characteristics listed are Maintainability, Usability, and Functionality. Supportability, on the other hand, is not mentioned as a quality characteristic in this standard.
20.
Which of the following is not decided in the test-planning phase?
Correct Answer
A. Types of test cases
Explanation
The test-planning phase involves determining the approach, scope, objectives, and resources required for testing. It includes activities such as defining test objectives, identifying test deliverables, setting schedules, and establishing entry and exit criteria. However, the types of test cases to be executed are typically decided during the test design phase, where testers analyze the requirements and design test cases to validate the system's functionality or performance. Therefore, the types of test cases are not decided in the test-planning phase.
21.
The success of testing is not influenced by the Psychological factor:
Correct Answer
A. Gaining confidence about the level of quality and providing information
Explanation
The success of testing is not influenced by the psychological factor of gaining confidence about the level of quality and providing information. This means that regardless of how confident the tester feels about the quality of the product or how much information they provide, it does not directly impact the success of the testing process. Other factors such as clear test objectives, blindness to one's own errors, and courteous communication and feedback on defects play a more significant role in determining the effectiveness of testers.