ISTQB- All Chapters Exam12

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Abdul Jaleel
A
Abdul Jaleel
Community Contributor
Quizzes Created: 9 | Total Attempts: 7,287
Questions: 40 | Attempts: 549

SettingsSettingsSettings
ISTQB- All Chapters Exam12 - Quiz

.


Questions and Answers
  • 1. 

    Which, in general, is the least required skill of a good tester? Select one:  

    • A.

      Being diplomatic

    • B.

      Having good attention to detail

    • C.

      Able to write software

    • D.

      Able to be relied on

    Correct Answer
    C. Able to write software
    Explanation
    A good tester does not necessarily need to be able to write software. While it can be beneficial for a tester to have some knowledge of programming, it is not a fundamental requirement for the role. The primary focus of a tester is to identify and report bugs or issues in a software application, rather than being responsible for writing the software itself. Therefore, being able to write software is the least required skill of a good tester.

    Rate this question:

  • 2. 

    One approach to component testing is to prepare and automate test cases before coding is called ? Select one:

    • A.

      Rapid application development.

    • B.

      Data-driven development.

    • C.

      Agile development.

    • D.

      Test-driven development

    Correct Answer
    D. Test-driven development
    Explanation
    Test-driven development is an approach to component testing where test cases are prepared and automated before coding. This means that developers write the tests first, then write the code to pass those tests. This approach helps to ensure that the code is functioning correctly and meets the desired requirements. By writing tests first, developers have a clear understanding of what needs to be accomplished and can focus on writing code that fulfills those requirements. This approach also promotes better code quality and reduces the likelihood of bugs or errors in the final product.

    Rate this question:

  • 3. 

    What principles do avoiding author bias and communicating problems constructively represent? Select one:  

    • A.

      Experienced-based testing and interoperability testing

    • B.

      Criticism avoidance and effective relationships.

    • C.

      Preventive testing and good interpersonal skills

    • D.

      Independent testing and good interpersonal skills.

    Correct Answer
    D. Independent testing and good interpersonal skills.
    Explanation
    Avoiding author bias and communicating problems constructively represent the principles of independent testing and good interpersonal skills. Independent testing refers to the ability to conduct unbiased testing without any personal or subjective influence. Good interpersonal skills involve effective communication and the ability to address problems in a constructive manner, promoting collaboration and teamwork.

    Rate this question:

  • 4. 

    Regression testing can be applied to which of the following: i. Functional testing ii. Non-functional iii. Structural testing Select one:  

    • A.

      I, ii and iii

    • B.

      Ii and iii only

    • C.

      I and iii only

    • D.

      I and ii only

    Correct Answer
    A. I, ii and iii
    Explanation
    Regression testing can be applied to all three types of testing mentioned in the options: functional testing, non-functional testing, and structural testing. In regression testing, previously tested functionalities, non-functional aspects, and structural components are retested to ensure that any changes or additions to the software have not introduced any new defects or caused any regression in the existing functionality. Therefore, regression testing can be applied to all three types of testing mentioned in the options.

    Rate this question:

  • 5. 

    Which statement about expected outcomes is FALSE? Select one:  

    • A.

      Expected outcomes should be predicted before a test is run

    • B.

      Expected outcomes are defined by the software's behavior

    • C.

      Expected outcomes are derived from a specification, not from the code

    • D.

      Expected outcomes may include timing constraints such as response times

    Correct Answer
    D. Expected outcomes may include timing constraints such as response times
    Explanation
    The statement that is FALSE is "expected outcomes may include timing constraints such as response times". Expected outcomes are the predicted results or outputs that are defined by the software's behavior and derived from a specification, not from the code. While expected outcomes can include various factors, such as input/output values and error conditions, timing constraints like response times are typically considered as non-functional requirements rather than expected outcomes.

    Rate this question:

  • 6. 

    Consider the following statements: i. an incident may be closed without being fixed.  ii. Incidents may not be raised against documentation.  iii. The final stage of incident tracking is fixing.  iv. The incident record does not include information on test environments Select one:  

    • A.

      Ii is true, i, iii and iv are false

    • B.

      I and ii are true, iii and iv are false

    • C.

      I is true, ii, iii and iv are false

    • D.

      I and iv are true, ii and iii are false

    Correct Answer
    C. I is true, ii, iii and iv are false
    Explanation
    Statement i is true because an incident may be closed without being fixed. This means that even if an incident is identified, it may not necessarily be resolved or fixed. Statement ii is false because incidents can be raised against documentation if there are issues or errors in the documentation. Statement iii is false because the final stage of incident tracking is not always fixing. It depends on the nature of the incident and the actions taken to address it. Statement iv is false because the incident record should include information on test environments to provide context and aid in troubleshooting.

    Rate this question:

  • 7. 

    Testing happens towards the end of project in which model? Select one:  

    • A.

      Spiral model.

    • B.

      Waterfall model.

    • C.

      Incremental model.

    • D.

      V-model.

    Correct Answer
    B. Waterfall model.
    Explanation
    Testing happens towards the end of the project in the Waterfall model. The Waterfall model follows a linear sequential approach where each phase is completed before moving on to the next one. Testing is typically conducted in the later stages of the project, after the development phase is completed. This allows for a systematic and structured approach to testing, ensuring that the product is thoroughly tested before it is delivered to the customer.

    Rate this question:

  • 8. 

    The assessment of change to layers of development documentation,test documentation and components, in order to implement a given change to specified requirements is known as? Select one:

    • A.

      Document analysis.

    • B.

      Design analysis.

    • C.

      Impact analysis.

    • D.

      Report analysis.

    Correct Answer
    C. Impact analysis.
    Explanation
    Impact analysis is the assessment of change to layers of development documentation, test documentation, and components to determine the effects and consequences of implementing a given change to specified requirements. It involves analyzing the potential impacts on various aspects such as functionality, performance, cost, and schedule. By conducting an impact analysis, organizations can evaluate the feasibility and risks associated with implementing a change and make informed decisions about whether to proceed with the change or not.

    Rate this question:

  • 9. 

    The ease with which a software product can be modified to correct defects, modified to meet new requirements, modified to make future maintenance easier, or adapted to a changed environment? Select one:  

    • A.

      System testing

    • B.

      Maintainability

    • C.

      Usability testing

    • D.

      Interoperability

    Correct Answer
    B. Maintainability
    Explanation
    Maintainability refers to the ease with which a software product can be modified or adapted. This includes correcting defects, meeting new requirements, making future maintenance easier, or adapting to a changed environment. It is an important aspect of software development as it ensures that the software can be easily updated and maintained throughout its lifecycle. This allows for efficient bug fixes, enhancements, and updates, ultimately improving the overall quality and longevity of the software product.

    Rate this question:

  • 10. 

    A measurement scale and the method used for measurement in software testing? Select one:

    • A.

      Metrics

    • B.

      Measurement

    • C.

      Scale

    • D.

      Method

    Correct Answer
    A. Metrics
    Explanation
    Metrics is the correct answer because it refers to the measurement scale and method used for measurement in software testing. Metrics in software testing are used to quantify various aspects of the testing process, such as test coverage, defect density, and test execution time. These metrics help in evaluating the effectiveness and efficiency of the testing efforts, identifying areas for improvement, and making data-driven decisions.

    Rate this question:

  • 11. 

    A sequence of events or paths in the execution through a component or system is called as? Select one:  

    • A.

      Control Flow

    • B.

      Component Flow

    • C.

      System Flow

    • D.

      Path Flow

    Correct Answer
    A. Control Flow
    Explanation
    Control flow refers to the sequence of events or paths followed during the execution of a component or system. It describes the order in which instructions or statements are executed, including any branching or looping structures. Control flow is used to understand and analyze the behavior of a program or system, and it helps in identifying the possible paths and outcomes of the execution.

    Rate this question:

  • 12. 

    Which of the following is most important to promote and maintain good relationships between developers and testers? Select one:  

    • A.

      Understanding what Managers value about testing.

    • B.

      Promoting better quality software whenever possible.

    • C.

      Identifying potential customer work-around for bugs.

    • D.

      Explaining test results in a neutral fashion.

    Correct Answer
    D. Explaining test results in a neutral fashion.
    Explanation
    Explaining test results in a neutral fashion is the most important factor to promote and maintain good relationships between developers and testers. This is because when test results are presented in a neutral manner, it helps in avoiding any bias or blame game between the two teams. It fosters a collaborative environment where developers can understand the issues highlighted by testers without feeling defensive or attacked. It also allows testers to provide constructive feedback without causing friction. By maintaining a neutral tone, both developers and testers can work together to improve the software quality effectively.

    Rate this question:

  • 13. 

    The following list contains risks that have been identified for a software product to be developed. Which of these risks is an example of a product risk? Select one:   

    • A.

      Not enough qualified testers to complete the planned tests

    • B.

      Threat to a patients life

    • C.

      Software delivery is behind schedule

    • D.

      3rd party supplier does not supply as stipulated

    Correct Answer
    B. Threat to a patients life
    Explanation
    The risk of a threat to a patient's life is an example of a product risk because it directly relates to the potential harm or danger that the software product may pose to its users. This risk is specifically concerned with the impact on the end-users of the software product.

    Rate this question:

  • 14. 

    Deciding How much testing is enough should take into account: i. Level of Risk including Technical and Business product and project risk ii. Project constraints such as time and budget iii. Size of Testing Team iv. Size of the Development Team Select one:

    • A.

      i,ii,iii are true and iv is false

    • B.

      i,ii are true and iii,iv are false

    • C.

      Ii,iii,iv are true and i is false

    • D.

      i,iii,iv are true and ii is false

    Correct Answer
    B. i,ii are true and iii,iv are false
    Explanation
    The correct answer is i,ii are true and iii,iv are false. This is because deciding how much testing is enough should indeed take into account 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 should be considered when determining how much testing is enough.

    Rate this question:

  • 15. 

    The process of testing to determine the efficiency of a software product ? Select one:  

    • A.

      Performance testing

    • B.

      Reliability testing

    • C.

      Functional testing

    • D.

      Integration testing

    Correct Answer
    A. Performance testing
    Explanation
    Performance testing is the process of evaluating the efficiency and responsiveness of a software product under various conditions. It involves measuring the system's speed, scalability, stability, and resource usage to ensure that it meets the performance requirements. By simulating real-world scenarios, performance testing helps identify any bottlenecks or issues that may affect the software's performance. This type of testing is crucial for ensuring that the software can handle the expected workload and deliver a satisfactory user experience.

    Rate this question:

  • 16. 

    A software tool that translates programs expressed in a high order language into their machine language equivalents is called as ? Select one:  

    • A.

      Static analysis tool

    • B.

      Assembler

    • C.

      Compiler

    • D.

      Interpreter

    Correct Answer
    C. Compiler
    Explanation
    A software tool that translates programs expressed in a high order language into their machine language equivalents is called a compiler. Compilers take the source code written in a high-level programming language and convert it into a lower-level language, typically machine code or assembly language, that can be directly executed by a computer's processor. This process involves various stages such as lexical analysis, syntax analysis, semantic analysis, code optimization, and code generation. The end result is an executable file that can be run on the target machine.

    Rate this question:

  • 17. 

    The selection of test cases for regression testing ? Select one:  

    • A.

      Includes the area which has undergone many/recent code changes

    • B.

      Requires knowledge on the bug fixes and how it affect the system

    • C.

      All of the options

    • D.

      Includes the area of frequent defects

    Correct Answer
    C. All of the options
    Explanation
    Regression testing is performed to ensure that changes or bug fixes in the software do not introduce new defects or cause existing functionality to break. Therefore, the selection of test cases for regression testing should include the area which has undergone many/recent code changes, as these are the areas most likely to be impacted by the changes. It also requires knowledge on the bug fixes and how they affect the system, as this helps in identifying the appropriate test cases to be executed. Additionally, including the area of frequent defects is important as it helps in verifying the stability of the system and ensuring that previously fixed issues do not reoccur. Hence, all of the given options are correct explanations for the selection of test cases for regression testing.

    Rate this question:

  • 18. 

    Which of the following could be a reason for a failure: 1. Testing fault 2. Software fault 3. Design fault 4. Environment Fault 5. Documentation Fault Select one:  

    • A.

      1,2,3,4 are valid reasons, 5 is not

    • B.

      1,2,3 are valid reasons, 4 and 5 are not

    • C.

      All of them are valid reasons for failure

    • D.

      2 is a valid reason, 1,3,4 and 5 are not

    Correct Answer
    C. All of them are valid reasons for failure
    Explanation
    All of the options listed (1, 2, 3, 4, and 5) could be valid reasons for a failure. Testing fault could refer to errors or mistakes made during the testing process. Software fault could refer to bugs or defects in the software itself. Design fault could refer to flaws or errors in the design of the software or system. Environment fault could refer to issues or problems with the environment in which the software is being used. Documentation fault could refer to errors or inaccuracies in the documentation provided for the software. Therefore, all of these options could contribute to a failure.

    Rate this question:

  • 19. 

    Which of the following statements about Quality is CORRECT ? Select one:

    • A.

      Quality is fitness for use.

    • B.

      All the options.

    • C.

      Quality is based on good manufacturing processes, and meeting defined requirements.

    • D.

      Quality is measured at looking at the attributes of the product.

    Correct Answer
    B. All the options.
    Explanation
    The correct answer is "All the options." This means that all the statements provided in the question are correct when it comes to quality. Quality can be defined as fitness for use, it is based on good manufacturing processes and meeting defined requirements, and it is measured by looking at the attributes of the product.

    Rate this question:

  • 20. 

    What are the typical test levels in a V-model placed in a sequential fashion? Select one:

    • A.

      Component testing, Integration testing, System testing, Acceptance testing

    • B.

      Component testing, Unit testing, System testing, Acceptance testing

    • C.

      Component testing, system testing, system integration testing, Module testing

    • D.

      Object testing, integration testing, acceptance testing, beta testing

    Correct Answer
    A. Component testing, Integration testing, System testing, Acceptance testing
    Explanation
    The correct answer is Component testing, Integration testing, System testing, Acceptance testing. In the V-model, the test levels are placed in a sequential fashion, starting with component testing where individual components are tested, followed by integration testing where the interaction between different components is tested. Then, system testing is performed to test the entire system as a whole. Finally, acceptance testing is conducted to ensure that the system meets the requirements and is ready for deployment.

    Rate this question:

  • 21. 

    An abstract representation of the sequence and possible changes of the state of data objects, where the state of an object is any of creation, usage, or destruction is called as ________? Select one:  

    • A.

      Data Usage

    • B.

      Data Objects

    • C.

      Data Flow

    • D.

      Data Creation

    Correct Answer
    C. Data Flow
    Explanation
    The correct answer is Data Flow. Data Flow is an abstract representation of the sequence and possible changes of the state of data objects, including their creation, usage, and destruction. It represents the movement and transformation of data within a system or process, showing how data is input, processed, and outputted. It helps in understanding and analyzing how data is used and manipulated throughout a system or process.

    Rate this question:

  • 22. 

    An important benefit of code inspections is that they? Select one:

    • A.

      Are cheap to perform

    • B.

      Can be performed by inexperienced staff

    • C.

      Can be performed by the person who wrote the code

    • D.

      Enable the code to be tested before the execution environment is ready

    Correct Answer
    D. Enable the code to be tested before the execution environment is ready
    Explanation
    Code inspections enable the code to be tested before the execution environment is ready. This means that developers can identify and fix any errors or issues in the code early on, without having to wait for the entire system to be set up and running. This helps to save time and resources as it allows for early detection of bugs and ensures that the code is of high quality before it is deployed. Additionally, code inspections can also help in improving code readability, maintainability, and overall software quality.

    Rate this question:

  • 23. 

    What does not include in the Operational acceptance testing ? Select one:

    • A.

      Configuration management

    • B.

      Maintenance tasks.

    • C.

      Security vulnerabilities.

    • D.

      Disaster recovery.

    Correct Answer
    A. Configuration management
    Explanation
    Operational acceptance testing is a process that ensures a system or software is ready for operational use. It involves testing various aspects such as performance, reliability, and functionality. Configuration management, on the other hand, refers to the process of managing and controlling changes to a system's configuration. It includes activities like version control, documentation, and change management. Therefore, configuration management is not a part of operational acceptance testing as it focuses on a different aspect of system management.

    Rate this question:

  • 24. 

    As a moderator in a typical formal review, what can be one of your responsibilities? Select one:  

    • A.

      Leading the review of the documents

    • B.

      Documenting all the issues and problems

    • C.

      Identifying and describing the findings

    • D.

      Deciding on the execution of reviews

    Correct Answer
    A. Leading the review of the documents
    Explanation
    As a moderator in a typical formal review, one of your responsibilities can be leading the review of the documents. This means that you are in charge of overseeing the entire review process, ensuring that all necessary documents are examined and discussed thoroughly. You may guide the team in analyzing the content, structure, and quality of the documents, facilitating productive discussions and ensuring that all relevant aspects are covered. Your role as a moderator is crucial in maintaining the focus and direction of the review, ultimately contributing to the overall success of the process.

    Rate this question:

  • 25. 

    Ensuring that the test design starts during the requirements definition phase is important to enable which of the following test objectives? Select one:  

    • A.

      Finishing the project on time.

    • B.

      Preventing defects in the system.

    • C.

      Finding defects through dynamic testing.

    • D.

      Gaining confidence in the system.

    Correct Answer
    B. Preventing defects in the system.
    Explanation
    Starting the test design during the requirements definition phase is important to prevent defects in the system. By identifying and addressing potential issues early on, the test design can help ensure that the system is developed and implemented correctly, minimizing the likelihood of defects. This proactive approach allows for early detection and resolution of any problems, leading to a higher quality end product.

    Rate this question:

  • 26. 

    A program validates a numeric field as follows:  values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected.  Which of the following input values cover all of the equivalence partitions? Select one:  

    • A.

      3, 10, 22

    • B.

      10, 21, 22

    • C.

      10, 11, 21

    • D.

      3, 20, 21

    Correct Answer
    A. 3, 10, 22
    Explanation
    The input values 3, 10, and 22 cover all of the equivalence partitions because they represent values that are less than 10, between 10 and 21, and greater than or equal to 22 respectively.

    Rate this question:

  • 27. 

    As a tester, what is your main objective in reviewing a requirement document? Select one:  

    • A.

      To ascertain that each requirement is uniquely identifiable

    • B.

      To ascertain that each requirement is both testable and uniquely identifiable

    • C.

      To ascertain that each requirement is traceable to a business need, testable, and uniquely identifiable

    • D.

      To ascertain that each requirement is traceable to a business need

    Correct Answer
    C. To ascertain that each requirement is traceable to a business need, testable, and uniquely identifiable
    Explanation
    The main objective of reviewing a requirement document as a tester is to ensure that each requirement is traceable to a business need, testable, and uniquely identifiable. This means that the tester needs to verify that each requirement is directly linked to a specific business objective or goal, can be effectively tested to ensure its functionality, and can be easily distinguished from other requirements in the document. By ensuring these criteria are met, the tester can help ensure that the final product meets the necessary business requirements and can be effectively tested for quality assurance.

    Rate this question:

  • 28. 

    All this statements talk about what: I. Understand the requirements better is to try to define tests to meet those requirements-Hazel II. Test requirements are things that should be tested III. Test inventory as a list of things that could be tested IV. Test objectives as broad categories of things to tested and test inventories as the actual list of things that need to be tested? Select one:

    • A.

      Test condition

    • B.

      Test cases

    • C.

      Test scripts

    • D.

      Test scenarios

    Correct Answer
    A. Test condition
    Explanation
    The given statements are discussing different aspects related to testing. Statement I suggests that understanding the requirements better can be achieved by defining tests that meet those requirements. Statement II states that test requirements are the things that should be tested. Statement III mentions test inventory as a list of things that could be tested. Statement IV explains that test objectives are broad categories of things to be tested, while test inventories are the actual list of things that need to be tested. Overall, these statements collectively talk about the concept of test conditions, which are the specific conditions or criteria that need to be tested during the testing process.

    Rate this question:

  • 29. 

    Testing without a real plan and test cases is called? Select one:

    • A.

      Monkey testing

    • B.

      Adhoc testing

    • C.

      All of the choices

    • D.

      Gorilla testing

    Correct Answer
    C. All of the choices
    Explanation
    The correct answer is "All of the choices" because testing without a real plan and test cases can refer to various types of testing, including monkey testing, adhoc testing, and gorilla testing. Monkey testing involves randomly testing the application without any specific plan or test cases. Adhoc testing refers to testing where the tester does not follow any specific test design technique or plan. Gorilla testing involves focusing on a specific module or component of the application without following a predefined test plan. Therefore, all of these choices can be considered as testing without a real plan and test cases.

    Rate this question:

  • 30. 

    Along with expected result Test case also specify? Select one:

    • A.

      Environmental needs, pre and post conditions

    • B.

      Actual result

    • C.

      Post conditions

    • D.

      Pre conditions

    Correct Answer
    A. Environmental needs, pre and post conditions
    Explanation
    The correct answer is "Environmental needs, pre and post conditions." Environmental needs refer to the specific requirements or conditions that must be present in the testing environment for the test case to be executed successfully. Pre-conditions are the initial state or set of conditions that must be met before the test case can be executed. Post-conditions are the expected state or set of conditions that should be true after the test case has been executed. Therefore, the correct answer includes all three elements: environmental needs, pre-conditions, and post-conditions.

    Rate this question:

  • 31. 

    What are the 2 major components taken into consideration with risk analysis? Select one:  

    • A.

      The probability of the negative event occurring and potential loss with the event occurring.

    • B.

      The probability the negative event will occur

    • C.

      The potential loss or impact associated with the event

    • D.

      None of the options

    Correct Answer
    A. The probability of the negative event occurring and potential loss with the event occurring.
    Explanation
    Risk analysis involves assessing the probability of a negative event occurring and the potential loss or impact associated with that event. By considering both of these components, organizations can evaluate the level of risk and make informed decisions on how to mitigate or manage it. This comprehensive approach allows for a more accurate understanding of the potential risks involved and helps prioritize resources and actions accordingly.

    Rate this question:

  • 32. 

    An e-commerce site accepts credit for processing the payment. The payment processing form has a field for the amount of money to be deducted. The minimum amount of money that can be processed 10 dollars. The credit cards have limit of 10,000.00,ten thousand dollars. Which of the following set of boundary values you will choose for efficient testing for the amount of money that can be spent? Select one:

    • A.

      10, 10,000, 10,001

    • B.

      9, 10, 10000, 10001

    • C.

      9, 10, 9990, 10000, 10001, 10010

    • D.

      9, 10, 11, 9999, 10000, 10001

    Correct Answer
    B. 9, 10, 10000, 10001
    Explanation
    The chosen set of boundary values includes the minimum amount of money that can be processed (10), the maximum credit card limit (10,000), and two values just above and below the credit card limit (10,000 and 10,001). This set of values covers the lower and upper boundaries of the amount of money that can be spent, as well as values near the upper boundary to ensure that the system handles amounts close to the credit card limit correctly.

    Rate this question:

  • 33. 

    What does the System testing Investigates ? Select one:

    • A.

      Functional and Non-Functional requirements.

    • B.

      Non-Functional requirements.

    • C.

      Functional requirements

    • D.

      Requirements.

    Correct Answer
    A. Functional and Non-Functional requirements.
    Explanation
    System testing investigates both functional and non-functional requirements. Functional requirements refer to the specific tasks and actions that the system should be able to perform, while non-functional requirements refer to the overall performance, reliability, and usability of the system. By conducting system testing, the team can verify whether the system meets both the functional and non-functional requirements, ensuring that it performs as intended and meets the needs of the users.

    Rate this question:

  • 34. 

    Build Verification Test? Select one:

    • A.

      Same as smoke test

    • B.

      Done after each build to make sure that the build does not contain major errors

    • C.

      None of the options

    • D.

      Same as smoke test & Done after each build

    Correct Answer
    D. Same as smoke test & Done after each build
    Explanation
    The build verification test is a process that is done after each build to ensure that the build does not contain any major errors. It is similar to a smoke test, which is a preliminary test to determine if the software can be further tested. The build verification test is crucial in identifying any major issues in the build before it is released for further testing or deployment.

    Rate this question:

  • 35. 

    Analyze the following highly simplified procedure: Ask: "What type of ticket do you require, single or return?" IF the customer wants 'return' Ask: "What rate, Standard or Cheap-day?" IF the customer replies 'Cheap-day' Say: "That will be $11:20" ELSE Say: "That will be $19:50" ENDIF ELSE Say: "That will be $9:75" ENDIF Now decide the minimum number of tests that are needed to ensure that all the questions have been asked, all combinations have occurred and all replies given ? Select one:  

    • A.

      6

    • B.

      3

    • C.

      4

    • D.

      5

    Correct Answer
    B. 3
  • 36. 

    One Key reason why developers have difficulty testing their own work is? Select one:

    • A.

      Lack of test tools on the market for developers

    • B.

      Lack of technical documentation

    • C.

      Lack of Objectivity

    • D.

      Lack of training

    Correct Answer
    C. Lack of Objectivity
    Explanation
    Developers often have difficulty testing their own work due to a lack of objectivity. When developers are involved in the creation of a software or application, they become emotionally attached to their work, making it difficult for them to identify potential flaws or errors objectively. They may overlook certain issues or have biases that prevent them from thoroughly testing their work. This lack of objectivity can lead to inadequate testing and ultimately result in the release of software with bugs or functionality issues.

    Rate this question:

  • 37. 

    What does V-model illustrates ? Select one:

    • A.

      How testing activities can be integrated into each phase of life cycle.

    • B.

      How security testing is done.

    • C.

      How unit testing is done.

    • D.

      How modules are integrated in integration testing.

    Correct Answer
    A. How testing activities can be integrated into each phase of life cycle.
    Explanation
    The V-model is a software development model that illustrates how testing activities can be integrated into each phase of the life cycle. It emphasizes the importance of early and continuous testing throughout the development process to ensure that defects are identified and resolved early on. The V-model also highlights the relationship between each phase of development and its corresponding testing activities, showing how testing progresses from unit testing to integration testing, system testing, and finally acceptance testing. This approach helps to ensure that the software is thoroughly tested and meets the required quality standards.

    Rate this question:

  • 38. 

    Ask: "Are you a male or a female?" IF the person says 'female' Ask: "Are you married or single?" IF the person says 'Single' Say: "Start your name with Miss" ELSE Say: "Start your name with Mrs" ENDIF ELSE Say: "Start your name with Mr." ENDIF How many tests are required to achieve full Branch Coverage? Select one:  

    • A.

      5

    • B.

      3

    • C.

      4

    • D.

      6

    Correct Answer
    B. 3
    Explanation
    To achieve full branch coverage, we need to test all possible branches in the code. In this case, there are three branches:
    1) If the person is female and single
    2) If the person is female but not single
    3) If the person is male

    Therefore, we need to conduct three tests to cover all branches and achieve full branch coverage.

    Rate this question:

  • 39. 

    Why is testing necessary? i.Because software is likely to have faults ii. To learn about the reliability of the software iii. To fill the time between delivery of the software and the release date iv. To prove that the software has no faults v. Because testing is included in the project plan vi. Because failures can be very expensive Select one:  

    • A.

      i, ii, iii, iv are true, v, vi are false

    • B.

      Iii and iv are true, i, ii, v and vi are false

    • C.

      I, ii and iii are true, iv, v and vi are false

    • D.

      i, ii, v and vi are true, iii and iv are false

    Correct Answer
    D. i, ii, v and vi are true, iii and iv are false
    Explanation
    Testing is necessary because software is likely to have faults, to learn about the reliability of the software, and because testing is included in the project plan. Additionally, failures can be very expensive, which further emphasizes the importance of testing. However, filling the time between delivery of the software and the release date and proving that the software has no faults are not valid reasons for testing.

    Rate this question:

  • 40. 

    Ask: "What type of bread do you require, white or brown?" IF the customer wants 'brown' Ask: "Which type, sliced or un-sliced?" IF the customer replies 'un-sliced' Say: "That will be 95p" ELSE Say: "That will be 65p" ENDIF ELSE Say: "That will be 75p" ENDIF How many tests are required to achieve full Branch Coverage? Select one:  

    • A.

      4

    • B.

      5

    • C.

      2

    • D.

      3

    Correct Answer
    D. 3
    Explanation
    The given code has three branches: one for the customer wanting brown bread, one for the customer wanting un-sliced bread, and one for all other cases. To achieve full branch coverage, we need to test all possible combinations of these branches. In this case, we can test the following combinations:
    1. Customer wants brown bread and un-sliced bread
    2. Customer wants brown bread and sliced bread
    3. Customer wants white bread
    Therefore, three tests are required to achieve full branch coverage.

    Rate this question:

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.