Types Of Testing And Testing Basics

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 Apteantraining2
A
Apteantraining2
Community Contributor
Quizzes Created: 10 | Total Attempts: 4,936
Questions: 20 | Attempts: 161

SettingsSettingsSettings
Types Of Testing And Testing Basics - Quiz

This assessment is intended to assess your knowledge on Types of Testing and Testing Basics.


Questions and Answers
  • 1. 

    Which is NOT true -  The black box tester:

    • A.

      Should be able to understand a functional specification or requirements document.

    • B.

      Should be able to understand the source code.

    • C.

      Is highly motivated to find faults.

    • D.

      Is creative to find the system’s weaknesses.

    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.

    Rate this question:

  • 2. 

    Which of the following is NOT part of performance testing?

    • A.

      Measuring response time

    • B.

      Measuring transaction rates

    • C.

      Recovery testing

    • D.

      Simulating many users

    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.

    Rate this question:

  • 3. 

    Determine the statement which holds true in case of Exploratory Testing:

    • A.

      It starts the execution only when the design gets finalized.

    • B.

      It involves simultaneous design of the test and execution.

    • C.

      It starts the execution only when the design gets renewed.

    • D.

      It starts the execution only when the design gets amended.

    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.

    Rate this question:

  • 4. 

    Equivalence partitioning is:

    • A.

      A black box testing technique used only by developers.

    • B.

      A black box testing technique than can only be used during system testing.

    • C.

      A black box testing technique appropriate to all levels of testing.

    • D.

      A white box testing technique appropriate for component testing.

    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.

    Rate this question:

  • 5. 

    Statement Coverage will NOT check for the following:

    • A.

      Missing Statements

    • B.

      Unused Branches

    • C.

      Dead Code

    • D.

      Unused Statement

    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%.

    Rate this question:

  • 6. 

    Which of the following is NOT a static testing technique?

    • A.

      Error guessing

    • B.

      Walkthrough

    • C.

      Data flow analysis

    • D.

      Inspections

    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.

    Rate this question:

  • 7. 

    Impact Analysis helps to decide:

    • A.

      Different Tools to perform Regression Testing.

    • B.

      Exit Criteria.

    • C.

      How many more test cases need to be written

    • D.

      How much regression testing should be done

    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.

    Rate this question:

  • 8. 

    A test harness is a:

    • A.

      A high level document describing the principles, approach and major objectives of the organization regarding testing.

    • B.

      A distance set of test activities collected into a manageable phase of a project.

    • C.

      A test environment comprised of stubs and drives needed to conduct a test.

    • D.

      A set of several test cases for a component or system under test.

    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.

    Rate this question:

  • 9. 

    What is the purpose of test completion criteria in a test plan:

    • A.

      To know when a specific test has finished its execution.

    • B.

      To ensure that the test case specification is complete.

    • C.

      To know when test planning is complete.

    • D.

      To plan when to stop testing.

    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.

    Rate this question:

  • 10. 

    Verification is:

    • A.

      Checking that we are building the right system.

    • B.

      Checking that we are building the system right.

    • C.

      Performed by an independent test team.

    • D.

      Making sure that it is what the user really wants.

    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.

    Rate this question:

  • 11. 

    Which of the following would be a valid measure of test progress?

    • A.

      Number of undetected defects

    • B.

      Number of test cases not yet executed

    • C.

      Total number of defects in the product

    • D.

      Effort required to fix all defects

    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.

    Rate this question:

  • 12. 

    Which testing phase tests individual software modules combined together as a group?

    • A.

      Module testing

    • B.

      Integration testing

    • C.

      White Box testing

    • D.

      Software testing

    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.

    Rate this question:

  • 13. 

    Which of the following is a major task of test planning?

    • A.

      Determining the test approach

    • B.

      Preparing test specifications

    • C.

      Evaluating exit criteria and reporting

    • D.

      Measuring and analyzing results

    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.

    Rate this question:

  • 14. 

    Beta testing is:

    • A.

      Performed by customers at their own site.

    • B.

      Performed by customers at their software developer’s site.

    • C.

      Performed by an independent test team.

    • D.

      Useful to test bespoke software.

    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.

    Rate this question:

  • 15. 

    The main focus of acceptance testing is __________

    • A.

      Finding faults in the system.

    • B.

      Ensuring that the system is acceptable to all users.

    • C.

      Testing the system with other systems.

    • D.

      Testing for a business perspective

    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.

    Rate this question:

  • 16. 

    Which of the following is NOT a black box technique?

    • A.

      Equivalence partitioning.

    • B.

      State transition testing.

    • C.

      Linear code sequence and jump.

    • D.

      Syntax testing.

    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.

    Rate this question:

  • 17. 

    The difference between re-testing and regression testing is ________________

    • A.

      Re-testing is running a test again; regression testing looks for unexpected side effects.

    • B.

      Re-testing looks for unexpected side effects; regression testing is repeating those tests.

    • C.

      Re-testing is done after faults are fixed; regression testing is done earlier.

    • D.

      Re-testing uses different environments, regression testing uses the same environment.

    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.

    Rate this question:

  • 18. 

    Before launching a software which testing is to be done in-house?

    • A.

      Beta

    • B.

      Gamma

    • C.

      Alpha

    • D.

      None of the above

    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.

    Rate this question:

  • 19. 

    In which activity of the Fundamental Test Process is the test environment set up?

    • A.

      Test implementation and execution.

    • B.

      Test planning and control.

    • C.

      Test analysis and design.

    • D.

      Evaluating exit criteria and reporting.

    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.

    Rate this question:

  • 20. 

    Unreachable code would best be found using:

    • A.

      Code reviews.

    • B.

      Code inspections.

    • C.

      A coverage tool.

    • D.

      A static analysis tool.

    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.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 20, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 28, 2014
    Quiz Created by
    Apteantraining2

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.