Test Your Software Testing Knowledge Quiz

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 Raghu
R
Raghu
Community Contributor
Quizzes Created: 2 | Total Attempts: 960
Questions: 20 | Attempts: 449

SettingsSettingsSettings
Test Your Software Testing Knowledge Quiz - Quiz

Mock Exam for ISTQB Foundation Level  
Visit :www. Testinggenius. Weebly. Com


Questions and Answers
  • 1. 

    An input field takes the year of birth between 1900 and 2004. The boundary values for testing this field are

    • A.

      0,1900,2004,2005

    • B.

      1900, 2004

    • C.

      1899,1900,2004,2005

    • D.

      1899, 1900, 1901,2003,2004,2005

    Correct Answer
    C. 1899,1900,2004,2005
  • 2. 

    Which one of the following are non-functional testing methods?

    • A.

      System testing

    • B.

      Usability testing

    • C.

      Performance testing

    • D.

      Both b & c

    Correct Answer
    D. Both b & c
    Explanation
    The correct answer is "Both b & c" because usability testing and performance testing are both examples of non-functional testing methods. Non-functional testing focuses on aspects such as usability, performance, security, and reliability, rather than the specific functionality of the system. Usability testing evaluates how user-friendly and intuitive the system is, while performance testing assesses how well the system performs under different conditions. Therefore, both b (usability testing) and c (performance testing) are non-functional testing methods.

    Rate this question:

  • 3. 

    Which of the following tools would be involved in the automation of regression test?

    • A.

      Data tester

    • B.

      Boundary tester

    • C.

      Capture/Playback

    • D.

      Output comparator

    Correct Answer
    C. Capture/Playback
    Explanation
    Capture/Playback is a tool that would be involved in the automation of regression tests. This tool allows testers to record user interactions with the software and then play them back during subsequent test runs. By capturing and replaying these interactions, the tool helps automate the regression testing process, ensuring that previously tested functionalities are still working correctly after any changes or updates to the software. This tool can save time and effort by eliminating the need for manual repetition of test cases.

    Rate this question:

  • 4. 

    Incorrect form of Logic coverage is

    • A.

      Statement Coverage

    • B.

      Pole Coverage

    • C.

      Condition Coverage

    • D.

      Path Coverage

    Correct Answer
    B. Pole Coverage
    Explanation
    Pole Coverage is not a valid form of logic coverage. The correct forms of logic coverage include Statement Coverage, Condition Coverage, and Path Coverage. Pole Coverage is not a recognized term or concept in the field of logic coverage.

    Rate this question:

  • 5. 

    Which of the following is not a quality characteristic listed in ISO 9126 Standard?

    • A.

      Functionality

    • B.

      Usability

    • C.

      Supportability

    • D.

      Maintainability

    Correct Answer
    C. Supportability
    Explanation
    Supportability is not listed as a quality characteristic in the ISO 9126 Standard. The ISO 9126 Standard defines six quality characteristics for software: functionality, reliability, usability, efficiency, maintainability, and portability. Supportability, which refers to the ease of providing support and maintenance for the software, is not included in this list.

    Rate this question:

  • 6. 

    To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data

    • A.

      Stub

    • B.

      Driver

    • C.

      Proxy

    • D.

      None of the above

    Correct Answer
    B. Driver
    Explanation
    A driver is a program or code that is written to test a specific function. It calls the function to be tested and passes it test data, allowing the programmer to check if the function is working correctly. The driver acts as a test harness, providing the necessary inputs to the function and verifying its output. This helps in identifying any errors or bugs in the function and ensures its proper functionality.

    Rate this question:

  • 7. 

    Boundary value testing

    • A.

      Is the same as equivalence partitioning tests

    • B.

      Test boundary conditions on, below and above the edges of input and output equivalence classes

    • C.

      Tests combinations of input circumstances

    • D.

      Is used in white box testing strategy

    Correct Answer
    B. Test boundary conditions on, below and above the edges of input and output equivalence classes
    Explanation
    Boundary value testing is a testing technique that focuses on testing the boundary conditions of input and output equivalence classes. It involves testing values that are on, below, and above the edges of these equivalence classes. This technique helps in identifying errors that occur at the boundaries of the input and output ranges, as these boundaries are often more prone to errors. Boundary value testing is not the same as equivalence partitioning tests, as it specifically targets the boundaries of the equivalence classes. It is commonly used in white box testing strategy to ensure thorough test coverage.

    Rate this question:

  • 8. 

    Pick the best definition of quality

    • A.

      Quality is job one

    • B.

      Zero defects

    • C.

      Conformance to requirements

    • D.

      Work as designed

    Correct Answer
    C. Conformance to requirements
    Explanation
    The best definition of quality is conformance to requirements. This means that a product or service meets the specified criteria and fulfills the expectations and needs of the customer. It emphasizes the importance of meeting the established standards, specifications, and guidelines to ensure that the final outcome is of high quality and satisfies the intended purpose. "Quality is job one" and "Zero defects" are slogans that emphasize the importance of quality, but they do not provide a comprehensive definition. "Work as designed" also does not encompass the full meaning of quality as it does not consider the requirements or expectations.

    Rate this question:

  • 9. 

    Fault Masking is

    • A.

      Error condition hiding another error condition

    • B.

      Creating a test case which does not reveal a fault

    • C.

      Masking a fault by developer

    • D.

      Masking a fault by a tester

    Correct Answer
    A. Error condition hiding another error condition
    Explanation
    Fault Masking refers to the situation where one error condition is hidden or masked by another error condition. This means that when an error occurs, it is not immediately apparent because it is overshadowed or concealed by another error. This can make it difficult to identify and diagnose the actual root cause of the problem. In other words, fault masking occurs when one error is camouflaged or disguised by another error, making it harder to detect and fix the underlying issue.

    Rate this question:

  • 10. 

    One Key reason why developers have difficulty testing their own work is

    • A.

      Lack of technical documentation

    • B.

      Lack of test tools on the market for developers

    • C.

      Lack of training

    • D.

      Lack of Objectivity

    Correct Answer
    D. Lack of Objectivity
    Explanation
    Developers often have difficulty testing their own work due to a lack of objectivity. When developers are personally invested in their code, they may unintentionally overlook potential errors or flaws. They may also have a biased perspective and assume that their code is functioning correctly, leading to a lack of thorough testing. Objectivity is crucial in identifying and addressing issues effectively, which is why relying solely on self-testing can be challenging for developers.

    Rate this question:

  • 11. 

    During the software development process, at what point can the test process start?

    • A.

      When the code is complete

    • B.

      When the design is complete

    • C.

      When the software requirements have been approved

    • D.

      When the first code module is ready for unit testing

    Correct Answer
    C. When the software requirements have been approved
    Explanation
    The test process can start when the software requirements have been approved because testing is an essential part of verifying that the software meets the specified requirements. By starting the test process after the requirements have been approved, it ensures that the software is being tested against the correct criteria and that any issues or discrepancies can be identified and addressed early on in the development process. This allows for a more efficient and effective testing phase, leading to a higher quality end product.

    Rate this question:

  • 12. 

    In a review meeting a moderator is a person who

    • A.

      Takes minutes of the meeting

    • B.

      Mediates between people

    • C.

      Takes telephone calls

    • D.

      Writes the documents to be reviewed

    Correct Answer
    B. Mediates between people
    Explanation
    A moderator in a review meeting is responsible for mediating between people. This means that the moderator facilitates the discussion, ensures that everyone has a chance to speak, and helps to resolve any conflicts or disagreements that may arise during the meeting. The moderator's role is to create a balanced and productive environment where all participants can express their opinions and ideas effectively. Taking minutes of the meeting, taking telephone calls, and writing the documents to be reviewed are not the primary responsibilities of a moderator in a review meeting.

    Rate this question:

  • 13. 

    Given the Following programIF X <>= ZTHEN Statement 2;ENDMcCabe’s Cyclomatic Complexity is  

    • A.

      2

    • B.

      3

    • C.

      4

    • D.

      5

    Correct Answer
    B. 3
    Explanation
    The given program has an IF statement with a comparison operator "=" which means "not equal to or greater than". This means that if the value of X is not equal to or greater than the value of Z, then Statement 2 will be executed. The program has only one decision point, which is the IF statement. Therefore, according to McCabe's Cyclomatic Complexity formula, the complexity of the program is 3.

    Rate this question:

  • 14. 

    How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : -if (Condition 1)then statement 1else statement 2if (Condition 2)then statement 3

    • A.

      2 Test Cases

    • B.

      3 Test Cases

    • C.

      4 Test Cases

    • D.

      Not achievable

    Correct Answer
    A. 2 Test Cases
    Explanation
    The correct answer is 2 Test Cases.

    In this program fragment, there are two conditions (Condition 1 and Condition 2) that determine the execution path. Each condition has two possible outcomes (true or false). Therefore, to cover all possible sequences of statements, we need to consider all combinations of outcomes for the two conditions.

    Since the conditions are independent of each other, we can multiply the number of outcomes for each condition to get the total number of test cases. In this case, 2 (outcomes for Condition 1) multiplied by 2 (outcomes for Condition 2) equals 4.

    However, since the question states that the two conditions are independent, we can assume that there is no interaction between them. Therefore, we only need to consider one outcome for each condition, resulting in a total of 2 test cases.

    Rate this question:

  • 15. 

    Acceptance test cases are based on what?

    • A.

      Requirements

    • B.

      Design

    • C.

      Code

    • D.

      Decision table

    Correct Answer
    A. Requirements
    Explanation
    Acceptance test cases are based on requirements. Acceptance testing is performed to determine whether a system meets the specified requirements and is acceptable for delivery to the end-users. Therefore, the acceptance test cases are designed based on the requirements to ensure that the system functions as intended and satisfies the needs of the stakeholders. The requirements serve as the foundation for creating test scenarios and validating the system's compliance with the desired functionality and performance criteria.

    Rate this question:

  • 16. 

    “How much testing is enough?”

    • A.

      This question is impossible to answer

    • B.

      This question is easy to answer

    • C.

      The answer depends on the risk for your industry, contract and special requirements

    • D.

      This answer depends on the maturity of your developers

    Correct Answer
    C. The answer depends on the risk for your industry, contract and special requirements
    Explanation
    The question of how much testing is enough cannot be answered definitively because it depends on various factors such as the level of risk in the industry, contractual obligations, and any special requirements that need to be met. Each industry may have different standards and regulations that dictate the necessary level of testing. Additionally, the terms of a contract may specify certain testing requirements. Finally, special requirements for a particular project may also influence the amount of testing needed. Therefore, the answer to this question is subjective and dependent on these factors.

    Rate this question:

  • 17. 

    A common test technique during component test is

    • A.

      Statement and branch testing

    • B.

      Usability testing

    • C.

      Security testing

    • D.

      Performance testing

    Correct Answer
    A. Statement and branch testing
    Explanation
    Statement and branch testing is a common test technique during component testing. It involves testing each statement and branch in the code to ensure that they are functioning correctly. This technique helps in identifying any logical errors or bugs that may exist in the code. By testing both the statements and branches, it ensures that all possible paths and conditions in the code are tested, increasing the overall test coverage and reducing the risk of potential failures.

    Rate this question:

  • 18. 

    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 testing technique that aims to ensure that all statements in a program are executed at least once. It checks whether all the statements in the code have been covered by the test cases. However, statement coverage does not specifically check for missing statements, which refers to the absence of certain statements in the code that should be present. It focuses on the execution of existing statements rather than identifying any missing ones. Therefore, missing statements are not considered in the context of statement coverage.

    Rate this question:

  • 19. 

    Independent Verification & Validation is

    • A.

      Done by the Developer

    • B.

      Done by the Test Engineers

    • C.

      Done By Management

    • D.

      Done by an Entity Outside the Project’s sphere of influence

    Correct Answer
    D. Done by an Entity Outside the Project’s spHere of influence
    Explanation
    Independent Verification & Validation (IV&V) is a process that is performed by an entity outside the project's sphere of influence. This means that it is carried out by a third-party organization or individual who is not directly involved in the development or testing of the project. The purpose of IV&V is to provide an objective assessment of the project's processes, products, and deliverables. By having an independent entity conduct the verification and validation activities, it helps to ensure that there is an unbiased evaluation of the project's compliance with requirements, standards, and best practices.

    Rate this question:

  • 20. 

    Code Coverage is used as a measure of what ?

    • A.

      Defects

    • B.

      Trends analysis

    • C.

      Test Effectiveness

    • D.

      Time Spent Testing

    Correct Answer
    C. Test Effectiveness
    Explanation
    Code coverage is used as a measure of test effectiveness. It indicates the extent to which the source code of a software application is being tested by a set of test cases. Higher code coverage implies that more parts of the code are being exercised during testing, increasing the likelihood of identifying defects or errors. Therefore, code coverage is an important metric to assess the effectiveness of testing efforts and ensure comprehensive test coverage.

    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 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Jan 04, 2017
    Quiz Created by
    Raghu

Related Topics

Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.