






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Various aspects of software testing, including test scripts, test objectives, test activities, test types, test levels, confirmation testing, regression testing, impact analysis, static testing, review types, exploratory testing, test techniques, test coverage, and independent testing. It provides a comprehensive overview of key software testing concepts and practices, addressing topics such as test design, test execution, and test management. Likely to be useful for university students studying software engineering, computer science, or information technology, as it covers fundamental principles and techniques that are essential for understanding and applying effective software testing methodologies.
Typology: Exams
1 / 11
This page cannot be seen from the preview
Don't miss anything!







Which of the following provides the BEST description of a test case? a) A document specifying a sequence of actions for the execution of a test. Also known as test script or manual test script. b) A set of input values and expected results, with execution preconditions and execution postconditions, developed for a particular test condition. c) An attribute of a system specified by requirements documentation (for example reliability, usability or design constraints) that is executed in a test. d) An item or event of a system that could be verified by one or more test conditions, e.g., a function, transaction, feature, quality attribute, or structural element. - Answers -b Which of the following is a major objective of testing? a) To prevent defects. b) To validate the project plan works as required. c) To gain confidence in the development team. d) To make release decisions for the system under test. - Answers -a Which of the following is an example of a failure in a car cruise control system? a) The developer of the system forgot to rename variables after a cut-and-paste operation. b) Unnecessary code that sounds an alarm when reversing was included in the system. c) The system stops maintaining a set speed when the radio volume is increased or decreased. d) The design specification for the system wrongly states speeds in km/h. - Answers -c Which of the following is a defect rather than a root cause in a fitness tracker? a) Because he was unfamiliar with the domain of fitness training, the author of the requirements wrongly assumed that users wanted heartbeat in beats per hour.
b) The tester of the smartphone interface had not been trained in state transition testing, so missed a major defect. c) An incorrect configuration variable implemented for the GPS function could cause location problems during daylight saving times. d) Because she had never worked on wearable devices before, the designer of the user interface misunderstood the effects of reflected sunlight. - Answers -c Which of the following qualities is MORE likely to be found in a tester's mindset rather than in a developer's? a) Experience on which to base their efforts. b) Ability to see what might go wrong. c) Good communication with team members. d) Attention to detail. - Answers -b Given the following statements about the relationships between software development activities and test activities in the software development lifecycle:
c) A-3, B-2, C-4, D- d) A-3, B-2, C-1, D-4 - Answers -a Which of the following BEST describes how value is added by maintaining traceability between the test basis and test artifacts? a) Maintenance testing can be fully automated based on changes to the initial requirements. b) It is possible to determine if a new test case has increased coverage of the requirements. c) Test managers can identify which testers found the highest severity defects. d) Areas that may be impacted by side-effects of a change can be targeted by confirmation testing. - Answers –b Which of the following statements CORRECTLY reflects the value of static testing? a) By introducing reviews, we have found that both the quality of specifications and the time required for development and testing have increased. b) Using static testing means we have better control and cheaper defect management due to the ease of removing defects later in the lifecycle. c) Now that we require the use of static analysis, missed requirements have decreased and communication between testers and developers has improved. d) Since we started using static analysis, we -find coding defects that might have not been found by performing only dynamic testing. - Answers -d Which of the following sequences BEST shows the main activities of the work product review process? a) Initiate review - Reviewer selection - Individual review - Issue communication and analysis - Rework b) Planning & preparation - Overview meeting - Individual review - Fix- Report c) Preparation - Issue Detection - Issue communication and analysis - Rework - Report d) Plan - Initiate review - Individual review - Issue communication and analysis - Fix defects & report - Answers -d Which of the following CORRECTLY matches the roles and responsibilities in a formal review? a) Manager - Decides on the execution of reviews b) Review Leader - Ensures effective running of review meetings c) Scribe - Fixes defects in the work product under review d) Moderator - Monitors ongoing cost-effectiveness - Answers -a The reviews being used in your organization have the following attributes: There is a role of a scribe The purpose is to detect potential defects The review meeting is led by the author Reviewers find potential defects by individual review A review report is produced Which of the following review types is MOST likely being used?
a) Informal Review b) Walkthrough c) Technical Review d) Inspection - Answers -b You have been asked to take part in a checklist-based review of the following excerpt from the requirements specification for a library system: Librarians can:
b) 9°C, 15°C, 19°C, 23°C, 100°C c) 10°C, 16°C, 19°C, 22°C, 23°C d) 14°C, 15°C, 18°C, 19°C, 21°C, 22°C - Answers -c Decision table testing is being performed on a speeding fine system. Two test cases have already been generated for rules 1 and 4, which are shown below: (SEE TABLE) Which two of the additional test cases would achieve full coverage of the complete decision table (when combined with the test cases that have already been generated for rules 1 and 4)? a) DT1, DT b) DT2, DT c) DT2, DT d) DT3, DT4 - Answers -c Given the following state model of a battery charger software: (SEE MODEL) Which of the following sequences of transitions provides the highest level of transition coverage for the model? a) OFF → WAIT → OFF → WAIT → TRICKLE → CHARGE → HIGH → CHARGE → LOW b) WAIT → TRICKLE → WAIT → OFF → WAIT → TRICKLE → CHARGE → LOW → CHARGE c) HIGH → CHARGE → LOW → CHARGE → TRICKLE → WAIT → TRICKLE → WAIT → TRICKLE d) WAIT → TRICKLE → CHARGE → HIGH → CHARGE → TRICKLE → WAIT → OFF → WAIT - Answers -d Which of the following statements BEST describes how test cases are derived from a use case? a) Test cases are created to exercise defined basic, exceptional and error behaviors performed by the system under test in collaboration with actors. b) Test cases are derived by identifying the components included in the use case and creating integration tests that exercise the interactions of these components. c) Test cases are generated by analyzing the interactions of the actors with the system to ensure the user interfaces are easy to use. d) Test cases are derived to exercise each of the decision points in the business process flows of the use case, to achieve 100% decision coverage of these flows. - Answers -a Which of the following descriptions of statement coverage is CORRECT? a) Statement coverage is a measure of the number of lines of source code (minus comments) exercised by tests. b) Statement coverage is a measure of the proportion of executable statements in the source code exercised by tests.
c) Statement coverage is a measure of the percentage of lines of source code exercised by tests. d) Statement coverage is a measure of the number of executable statements in the source code exercised by tests. - Answers -b Which of the following descriptions of decision coverage is CORRECT? a) Decision coverage is a measure of the percentage of possible paths through the source code exercised by tests. b) Decision coverage is a measure of the percentage of business flows through the component exercised by tests. c) Decision coverage is a measure of the 'if' statements in the code that are exercised with both the true and false outcomes. d) Decision coverage is a measure of the proportion of decision outcomes in the source code exercised by tests. - Answers -d Which of the following BEST describes the concept behind error guessing? a) Error guessing requires you to imagine you are the user of the test object and guess mistakes the user could make interacting with it. b) Error guessing involves using your personal experience of development and the mistakes you made as a developer. c) Error guessing involves using your knowledge and experience of defects found in the past and typical mistakes made by developers. d) Error guessing requires you to rapidly duplicate the development task to identify the sort of mistakes a developer might make. - Answers -c Which of the following BEST explains a benefit of independent testing? a) The use of an independent test team allows project management to assign responsibility for the quality of the final deliverable to the test team, so ensuring everyone is aware that quality is the test team's overall responsibility. b) If a test team external to the organization can be afforded, then there are distinct benefits in terms of this external team not being so easily swayed by the delivery concerns of project management and the need to meet strict delivery deadlines. c) An independent test team can work totally separately from the developers, need not be distracted with changing project requirements, and can restrict communication with the developers to defect reporting through the defect management system. d) When specifications contain ambiguities and inconsistencies, assumptions are made on their interpretation, and an inde - Answers -d Which of the following tasks is MOST LIKELY to be performed by the test manager? a) Write test summary reports based on the information gathered during testing. b) Review tests developed by others. c) Create the detailed test execution schedule.
a) The expected security features may not be supported by the system architecture. b) The developers may not have time to fix all the defects found by the test team. c) The test cases may not provide full coverage of the specified requirements. d) The performance test environment may not be ready before the system is due for delivery. - Answers -a Which of the following is LEAST likely to be an example of product risk analysis CORRECTLY influencing the testing? a) The potential impact of security flaws has been identified as being particularly high, so security testing has been prioritized ahead of some other testing activities. b) Testing has found the quality of the network module to be higher than expected, so additional testing will now be performed in that area. c) The users had problems with the user interface of the previous system, so additional usability testing is planned for the replacement system. d) The time needed to load web pages is crucial to the success of the new website, so an expert in performance testing has been employed for this project. - Answers -b You are performing system testing of a train booking system and have found that occasionally the system reports that there are no available trains when you believe that there should be, based on the test cases you have run. You have provided the development manager with a summary of the defect and the version of the system you are testing. The developers recognize the urgency of the defect and are now waiting for you to provide more details so that they can fix it. Given the following pieces of information:
a) 1 - B, 2 - C, 3 - D, 4 - A b) 1 - B, 2 - A, 3 - C, 4 - D c) 1 - B, 2 - A, 3 - D, 4 - C d) 1 - A, 2 - B, 3 - D, 4 - C - Answers -c Which of the following is MOST likely to be used as a reason for using a pilot project to introduce a tool into an organization? a) The need to evaluate how the tool fits with existing processes and practices and determining what would need to change. b) The need to evaluate the test automation skills and training, mentoring and coaching needs of the testers who will use the tool. c) The need to evaluate whether the tool provides the required functionality and does not duplicate existing test tools. d) The need to evaluate the tool vendor in terms of the training and other support they provide. - Answers -a