Tag: testing

Questions Related to testing

  1. Yes

  2. No

  3. For Some Environment

  4. For Some Objects


Correct Option: B

The later in the development life cycle a fault is discovered, the more expensive it is to fix. why?

  1. the documentation is poor, so it takes longer to find out what the software is doing.

  2. wages are rising

  3. the fault has been built into more documentation,code,tests, etc

  4. none of the above


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of the development life cycle and the implications of discovering faults at different stages.

Option A) The documentation is poor, so it takes longer to find out what the software is doing. This option is incorrect because the quality of documentation does not directly affect the cost of fixing a fault. While poor documentation may make it more challenging to understand the software, it does not directly contribute to the increased cost of fixing faults later in the development life cycle.

Option B) Wages are rising. This option is incorrect because the cost of fixing a fault is not directly related to rising wages. While wage increases may contribute to overall project costs, they do not specifically drive up the cost of fixing faults.

Option C) The fault has been built into more documentation, code, tests, etc. This option is correct because as the development life cycle progresses, the fault becomes embedded in various aspects of the software, such as the documentation, code, tests, etc. Fixing the fault at this stage requires identifying and correcting all the affected components, which can be time-consuming and complex. Additionally, fixing a fault later in the development life cycle may require retesting and revalidating various aspects of the software, further adding to the cost.

Option D) None of the above. This option is incorrect because option C correctly explains why discovering faults later in the development life cycle is more expensive.

Therefore, the correct answer is C) The fault has been built into more documentation, code, tests, etc. This option is correct because as the fault becomes embedded in various aspects of the software, fixing it later in the development life cycle requires addressing and correcting multiple components, leading to increased costs.

  1. should be able to understand a functional specification or requirements document

  2. should be able to understand the source code.

  3. is highly motivated to find faults

  4. is creative to find the system’s weaknesses


Correct Option: B

Testware(test cases, test dataset)

  1. needs configuration management just like requirements, design and code

  2. should be newly constructed for each new version of the software

  3. is needed only until the software is released into production or use

  4. does not need to be documented and commented, as it does not form part of the released


Correct Option: A
Explanation:

To answer this question, the user needs to have knowledge about testware, which refers to the artifacts developed during the testing process, including test cases and test datasets.

Now, let's go through each option and explain why it is right or wrong:

A. needs configuration management just like requirements, design and code: This option is correct. Testware, just like other software artifacts, should be managed through configuration management to keep track of changes, versions, and releases.

B. should be newly constructed for each new version of the software: This option is incorrect. Testware should be reused as much as possible to save time and resources. However, it should be updated and modified as necessary for each new version of the software.

C. is needed only until the software is released into production or use: This option is incorrect. Testware is needed throughout the software development lifecycle, including after the software is released, for maintenance and future updates.

D. does not need to be documented and commented, as it does not form part of the released: This option is incorrect. Testware, like any other software artifact, should be documented and commented to explain its purpose, functionality, and usage.

Therefore, the correct answer is:

The Answer is: A

  1. only records defects

  2. is of limited value

  3. is a valuable source of project information during testing if it contains all incidents

  4. should be used only by the test team.


Correct Option: C
Explanation:

To understand this question, the user needs to know what an incident logging system is and its purpose. An incident logging system is a tool used to record and track defects or issues that occur during the software development lifecycle. It provides a centralized location to manage and resolve incidents, allowing teams to identify and address problems more efficiently.

Now, let's go through each option and explain why it is right or wrong:

A) only records defects: This option is incorrect. While an incident logging system is primarily used to record and track defects, it can also be used to capture other issues, such as requirements gaps, design flaws, and usability problems.

B) is of limited value: This option is incorrect. An incident logging system is a critical tool for managing defects and issues during the software development lifecycle. It provides value by allowing teams to capture, track, and resolve incidents more effectively, which can improve software quality and reduce development costs.

C) is a valuable source of project information during testing if it contains all incidents: This option is correct. An incident logging system that captures all incidents can provide valuable insights into the quality of the software being tested. By analyzing the types and frequency of incidents, teams can identify trends and areas that require further attention. This information can be used to improve the testing process, highlight areas for improvement, and make informed decisions about the software's readiness for release.

D) should be used only by the test team: This option is incorrect. While the test team is responsible for managing the incident logging system, other stakeholders, such as developers, project managers, and business analysts, can benefit from the information it provides. By sharing incident reports and metrics, teams can collaborate more effectively and make informed decisions about the software's quality and readiness for release.

The Answer is: C

  1. the higher the risk, the earlier the test coverage

  2. the lower the risk, the earlier the test coverage

  3. Both the above

  4. None of the above


Correct Option: A