0

testing Online Quiz - 80

Description: testing Online Quiz - 80
Number of Questions: 20
Created by:
Tags: testing
Attempted 0/20 Correct 0 Score 0

Which of the following is NOT included in the Test Plan document of the Test Documentation Standard:

  1. What is not to be tested

  2. Test environments

  3. Quality plans

  4. Schedules and deadlines


Correct Option: C

AI Explanation

To answer this question, we need to understand the Test Documentation Standard and the contents of a Test Plan document.

The Test Documentation Standard provides guidelines for creating test documentation, including the Test Plan document. The Test Plan document outlines the approach, scope, objectives, and resources for a testing project. It typically includes the following information:

A. What is not to be tested - This is commonly included in the Test Plan document. It specifies the areas or functionalities that will not be tested during the project.

B. Test environments - This is commonly included in the Test Plan document. It describes the hardware, software, and network configurations required for testing.

C. Quality plans - This option is the correct answer. Quality plans are not typically included in the Test Plan document. Quality plans outline the overall quality goals, processes, and strategies for a project, but they are not specific to testing.

D. Schedules and deadlines - This is commonly included in the Test Plan document. It provides a timeline for the testing activities, including milestones, deadlines, and resource allocation.

Based on the information above, the correct answer is C) Quality plans. This option is not typically included in the Test Plan document.

Could reviews or inspections be considered part of testing:

  1. No, because they are normally applied before testing

  2. No, because they do not apply to the test documentation

  3. Yes, because both help detect faults and improve quality

  4. Yes, because testing includes all non-constructive activities


Correct Option: C

Which of the following is not part of performance testing:

  1. Measuring response time

  2. Measuring transaction rates

  3. Recovery testing

  4. Simulating many users


Correct Option: C

AI Explanation

To answer this question, you need to understand the concept of performance testing. Performance testing is a type of testing that is conducted to evaluate the performance and characteristics of a system under specific conditions. It involves measuring and assessing various aspects of the system's performance, such as response time, transaction rates, and user load.

Let's go through each option to understand why it is correct or incorrect:

Option A) Measuring response time - This option is part of performance testing. Measuring response time helps in evaluating the speed and efficiency of the system's response to user actions.

Option B) Measuring transaction rates - This option is also part of performance testing. Measuring transaction rates helps in assessing the system's ability to handle a certain number of transactions within a given time frame.

Option C) Recovery testing - This option is not part of performance testing. Recovery testing is a type of testing that focuses on testing the system's ability to recover from failures, such as crashes or hardware malfunctions.

Option D) Simulating many users - This option is part of performance testing. Simulating many users helps in evaluating the system's performance under heavy user loads and determines how well it can handle concurrent user interactions.

The correct answer is C) Recovery testing. This option is not part of performance testing as it focuses on a different aspect of system testing. Performance testing primarily involves measuring response time, transaction rates, and simulating many users.

Error guessing is best used

  1. After more formal techniques have been applied

  2. By inexperienced testers

  3. After the system has gone live

  4. Only by end users


Correct Option: A

What is failure?

  1. Deviation from expected result to actual result

  2. Defect in the software.

  3. Error in the program code.

  4. Fault in the system.


Correct Option: A

People who don’t participate in technical reviews

  1. Analysts

  2. Management

  3. Developers

  4. Testers


Correct Option: B

What type of testing is done to supplement the rigorous testing?

  1. Regression testing.

  2. Integration testing.

  3. Error Guessing.

  4. System testing.


Correct Option: C

AI Explanation

To answer this question, you need to understand different types of testing and their purposes.

Option A) Regression testing - Regression testing is performed to ensure that changes or updates to the software do not introduce new defects or impact existing functionality. It is not directly related to supplementing rigorous testing.

Option B) Integration testing - Integration testing is done to test the interaction between different components or modules of the software. It focuses on identifying defects that arise due to the integration of these components. It is not specifically done to supplement rigorous testing.

Option C) Error Guessing - Error guessing is a technique where testers use their experience and intuition to identify potential defects without specific test cases. It is a type of black-box testing and can be used to supplement rigorous testing by exploring areas that may not have been covered in the planned test cases.

Option D) System testing - System testing is performed to evaluate the complete and integrated system against the specified requirements. It is not specifically done to supplement rigorous testing.

The correct answer is option C) Error Guessing. This option is correct because error guessing can be used as an additional technique to supplement rigorous testing by allowing testers to use their experience and intuition to identify potential defects.

Capture and replay facilities are least likely to be used to ….

  1. Performance testing

  2. Recovery testing

  3. GUI testing

  4. User requirements.


Correct Option: D
Explanation:

To solve this question, the user needs to understand the purpose of capture and replay facilities in software testing and the types of testing methods that can utilize them.

Capture and replay facilities are typically used to record interactions with a software application and then replay them at a later time. This can be useful for automating certain types of testing, as it allows testers to quickly and easily repeat a set of actions without having to manually perform them each time.

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

A. Performance testing: This option is incorrect. Capture and replay facilities can be very useful for performance testing, as they allow testers to simulate large numbers of user interactions and monitor how the application responds. This can help identify performance bottlenecks and other issues.

B. Recovery testing: This option is incorrect. Capture and replay facilities can also be useful for recovery testing, as they allow testers to simulate various error conditions and test how the application responds to them.

C. GUI testing: This option is incorrect. Capture and replay facilities can be very useful for GUI testing, as they allow testers to automate repetitive tasks such as clicking buttons or filling out forms.

D. User requirements: This option is correct. While capture and replay facilities can be used to test user requirements, they are not typically the best choice for this type of testing. User requirements testing typically involves validating that the software meets specific user needs or business requirements, which may require more complex testing methods.

Therefore, the correct answer is:

The Answer is: D. User requirements.

What is the smallest number of test cases required to Provide 100% branch coverage? If(x>y) x=x+1; else y=y+1; while(x>y) { y=x*y; x=x+1; }

  1. 1

  2. 2

  3. 3

  4. 4


Correct Option: B

AI Explanation

To determine the smallest number of test cases required to provide 100% branch coverage, we need to analyze the given code and identify the different branches or decision points.

In the given code, there are two decision points:

  1. The if statement: if (x > y)
  2. The while loop condition: while (x > y)

To achieve 100% branch coverage, we need to test all possible outcomes of these decision points.

Let's analyze the code and identify the possible outcomes:

  1. The if statement:

    • If (x > y) is true: x = x + 1
    • If (x > y) is false: y = y + 1
  2. The while loop condition:

    • If (x > y) is true: continue looping and execute the statements within the loop
    • If (x > y) is false: exit the loop

Based on the above analysis, we can determine the minimum number of test cases required:

  • Test case 1: x > y is true, and x > y is true in the while loop condition (execute the statements within the loop)
  • Test case 2: x > y is false, and x > y is true in the while loop condition (exit the loop)

Therefore, the smallest number of test cases required to provide 100% branch coverage is 2.

Let's go through each option to understand why it is correct or incorrect:

Option A) 1 - This option is incorrect because we need to test both outcomes of the if statement and the while loop condition. Option B) 2 - This option is correct because it covers both outcomes of the if statement and the while loop condition. Option C) 3 - This option is incorrect because we do not need to test three different cases. Option D) 4 - This option is incorrect because we do not need to test four different cases.

The correct answer is B) 2. This option is correct because it covers all possible outcomes of the decision points in the code.

  1. number of independent paths in the basis set of a program

  2. number of binary decisions + 1

  3. upper bound for the number of tests that must be conducted to ensure that all statements have been executed at least once

  4. number of branches and decisions


Correct Option: B

If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction, what is equivalence class.

  1. 23, 24, 25

  2. 0, 12, 25

  3. 30, 36, 39

  4. 32,37,40


Correct Option: D

AI Explanation

To determine the equivalence class, we need to consider the passing marks and the criteria for distinction.

Given that the passing marks are 25 (or 61% of the total marks), any score below 25 will result in a failing grade. Therefore, we can eliminate options A and B since they include values below 25.

For distinction, a candidate should score 80% or above. Considering that the total number of questions is 40, we can calculate the minimum number of correct answers required for distinction:

Minimum number of correct answers for distinction = 80% of 40 = 0.8 * 40 = 32

Therefore, any score less than 32 will not meet the criteria for distinction. Based on this, we can eliminate option C.

Now, we are left with option D, which includes values 32, 37, and 40. These values fall within the range of passing marks and also meet the criteria for distinction. Hence, the correct answer is option D.

  1. Random testing

  2. Data Flow testing.

  3. Statement testing.

  4. Syntax testing.


Correct Option: D
  1. Ensure the test item is adequately tested.

  2. Make the need for black-box testing redundant.

  3. Run the risk that the requirements are not satisfied.

  4. Suffices for the unit testing phase.


Correct Option: C

Match the following: (1.) Configuration identification (2.) Configuration control (3.) Status reporting (4.) Configuration auditing (a.) Maintains of CI’s in a library (b.) Checks on the contents of the library (c.) Function recording and tracking problems. (d.) Requires the all CI’s and their versions in the system are known

  1. 1-d, 2-c, 3-d, 4-a.

  2. 1-d, 2-a, 3-c, 4-b.

  3. 1-a, 2-b, 3-d, 4-c.

  4. 1-c, 2-b, 3-a, 4-d.


Correct Option: B

Cost of the reviews will not include.

  1. Review process itself

  2. Metrics analysis

  3. Tool support.

  4. Process improvement.


Correct Option: C
Explanation:

To answer this question, the user needs to understand the items that are included in the cost of reviews and the items that are excluded.

The statement says that the cost of reviews will NOT include. This means that the correct option will be an item that is typically included in the cost of reviews, but in this case, will be excluded.

A. Review process itself: This option is typically included in the cost of reviews, so it is not the correct answer.

B. Metrics analysis: This option is typically included in the cost of reviews, so it is not the correct answer.

C. Tool support: This option is typically included in the cost of reviews, but the statement says that the cost of reviews will not include it. Therefore, option C is the correct answer.

D. Process improvement: This option is typically included in the cost of reviews, so it is not the correct answer.

The Answer is: C. Tool support.

  1. System integration

  2. Functional testing

  3. Non-functional testing.

  4. Requirements testing


Correct Option: C
  1. Dynamic analysis tool

  2. Static Analysis tool

  3. Maintenance tool

  4. Configuration tool


Correct Option: A
  1. Dynamic analysis tool

  2. Static Analysis tool

  3. Maintenance tool

  4. Configuration tool


Correct Option: A

Which of the following is not included in Test Plan.

  1. Features to be tested.

  2. Environmental needs.

  3. Suspension criteria.

  4. Expected results.


Correct Option: D
- Hide questions