0

testing Online Quiz - 82

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

Who is the best coder in SDLC or ITT Team?

  1. Balaji R

  2. BRAM

  3. Ram Balaji

  4. All of the above

  5. 240888


Correct Option: A

When will Balaji get release from IMF account?

  1. Tomorrow

  2. Next month

  3. Next year

  4. Next Birth

  5. Anoop only Knows

  6. Anoop also dont know


Correct Option: F

Where can you find Balaji on Weekends?

  1. Office

  2. Chennai

  3. Oberon Mall

  4. Chicking

  5. My room

  6. Ernakulam Public Library


Correct Option: A,B,C,D,E

Balaji recently created a document for FACTS Maintenace Team. What is the name of the document?

  1. QC and QTP FAQ.doc

  2. QTP and QC FAQ.docx

  3. FAQ QC and QTP.doc

  4. FAQ.odt

  5. FAQ.doc

  6. FAQ.docx


Correct Option: B

When a deviation from specified or expected behaviour is visible to end-user, this is called

  1. an error

  2. a fault

  3. a failure

  4. a defect


Correct Option: C

AI Explanation

To answer this question, you need to understand the definitions of each term. Let's go through each option to understand why it is correct or incorrect:

Option A) An error - An error refers to a human mistake or incorrect action that leads to a deviation from the desired or expected behavior. It may or may not be visible to the end-user. Therefore, this option is incorrect.

Option B) A fault - A fault refers to a defect or malfunction in a system or component that causes it to deviate from its expected behavior. It is typically not visible to the end-user. Therefore, this option is incorrect.

Option C) A failure - A failure refers to a situation where a system or component does not perform its intended function or deliver the expected results. It is visible to the end-user and indicates that the system is not working correctly. Therefore, this option is correct.

Option D) A defect - A defect refers to a flaw or imperfection in a system or component that causes it to deviate from its expected behavior. It may or may not be visible to the end-user. Therefore, this option is incorrect.

The correct answer is C) a failure. This option is correct because when a deviation from specified or expected behavior is visible to the end-user, it is referred to as a failure.

Regression testing should be performed: (V) Every Week. (W) after the software has been changed. (X)as often as possible. (Y)When the environment has changed. (Z)When the project manager says.

  1. v & w are true, x – z are false

  2. w, x & y are true, v & z are false

  3. w & y are true, v, x & z are false

  4. w is true, v, x y and z are false


Correct Option: C

IEE 829 test plan documentation standard contains all of the following except:

  1. test items

  2. test deliverables

  3. test environment

  4. test specification


Correct Option: D

Testing should be stopped when:

  1. all the planned tests have been run

  2. time has run out

  3. all faults have been fixed correctly

  4. it depends on the risks for the system being tested


Correct Option: D

Order numbers on a stock control system can range between 10000 and 99999 inclusive. Which of the following inputs might be a result of designing tests for only valid equivalence classes and valid boundaries:

  1. 1000, 5000, 99999

  2. 9999, 50000, 100000

  3. 10000, 50000, 99999

  4. 10000, 99999


Correct Option: C

AI Explanation

To answer this question, we need to understand the concept of equivalence classes and boundaries in software testing.

Equivalence classes are groups of input values that are expected to produce similar results. Valid equivalence classes are the input values that fall within the valid range or satisfy certain criteria.

Boundaries represent the edges or limits of the valid range of input values. Testing at the boundaries is important because errors often occur at the edges of valid input values.

Let's go through each option to determine which one includes only valid equivalence classes and valid boundaries:

Option A) 1000, 5000, 99999

  • 1000 is outside the valid range of 10000 to 99999.
  • 5000 is outside the valid range of 10000 to 99999.
  • 99999 is within the valid range of 10000 to 99999.

Option B) 9999, 50000, 100000

  • 9999 is outside the valid range of 10000 to 99999.
  • 50000 is within the valid range of 10000 to 99999.
  • 100000 is outside the valid range of 10000 to 99999.

Option C) 10000, 50000, 99999

  • 10000 is the lower boundary of the valid range.
  • 50000 is within the valid range of 10000 to 99999.
  • 99999 is the upper boundary of the valid range.

Option D) 10000, 99999

  • 10000 is the lower boundary of the valid range.
  • 99999 is the upper boundary of the valid range.

Based on the explanations above, option C includes only valid equivalence classes and valid boundaries, making it the correct answer.

Consider the following statements about early test design: (i) early test design can prevent fault multiplication (ii) faults found during early test design are more expensive to fix (iii) early test design can find faults (iv) early test design can cause changes to the requirements (v) early test design takes more effort

  1. i, iii & iv are true. ii & v are false

  2. iii is true. i, ii, iv & v are false

  3. iii & iv are true. i, ii & v are false

  4. i & iii are true. ii, iv & v are false


Correct Option: A

AI Explanation

To answer this question, let's go through each statement and determine whether it is true or false:

(i) Early test design can prevent fault multiplication - This statement is true. Early test design helps identify and fix faults in the early stages of development, preventing them from propagating and causing further issues.

(ii) Faults found during early test design are more expensive to fix - This statement is false. Finding and fixing faults early in the development process is generally less expensive than finding and fixing them later.

(iii) Early test design can find faults - This statement is true. Early test design involves analyzing the requirements and design to identify potential faults or issues.

(iv) Early test design can cause changes to the requirements - This statement is true. During the test design phase, it is possible to identify deficiencies or inconsistencies in the requirements, leading to changes or modifications.

(v) Early test design takes more effort - This statement is false. Early test design actually saves effort and resources by identifying and addressing potential faults early on.

Based on the evaluation of each statement, we can conclude that options A, B, C, and D are incorrect.

The correct answer is option A. This option correctly identifies statements (i), (iii), and (iv) as true, while statements (ii) and (v) are false.

Non-functional system testing includes:

  1. testing to see where the system does not function properly

  2. testing quality attributes of the system including performance and usability

  3. testing a system feature using only the software required for that action

  4. testing a system feature using only the software required for that function


Correct Option: B

Which of the following is NOT part of configuration management:

  1. status accounting of configuration items

  2. auditing conformance to ISO9001

  3. identification of test versions

  4. record of changes to documentation over time


Correct Option: B

Which of the following is the main purpose of the integration strategy for integration testing in the small?

  1. to ensure that all of the small modules are tested adequately

  2. to ensure that the system interfaces to other systems and networks

  3. to specify which modules to combine when and how many at once

  4. to ensure that the integration testing can be performed by a small team


Correct Option: C

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

  1. to know when a specific test has finished its execution

  2. to plan when to stop testing

  3. to ensure that the test case specification is complete

  4. to set the criteria used in generating test inputs


Correct Option: B

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 (v) incidents should be raised when someone other than the author of the software performs the test

  1. ii and v are true, I, iii and iv are false

  2. i and v are true, ii, iii and iv are false

  3. i, iv and v are true, ii and iii are false

  4. i and ii are true, iii, iv and v are false


Correct Option: B

AI Explanation

To answer this question, let's go through each statement to understand why it is correct or incorrect:

Statement (i) - "An incident may be closed without being fixed." - This statement is true. Sometimes, an incident may be closed without actually fixing the problem. This could happen if the incident is determined to be a duplicate, if it is not reproducible, or if it is deemed to be a low priority issue.

Statement (ii) - "Incidents may not be raised against documentation." - This statement is false. Incidents can be raised against documentation if there are errors, omissions, or ambiguities in the documentation that need to be addressed.

Statement (iii) - "The final stage of incident tracking is fixing." - This statement is false. The final stage of incident tracking is not necessarily fixing the issue. The final stage typically involves verifying the fix, closing the incident, and documenting the resolution.

Statement (iv) - "The incident record does not include information on test environments." - This statement is true. The incident record typically includes information about the incident itself (description, steps to reproduce, etc.), but it may not include specific details about the test environment in which the incident occurred.

Statement (v) - "Incidents should be raised when someone other than the author of the software performs the test." - This statement is true. It is often beneficial to have different individuals involved in testing the software to identify potential issues and provide different perspectives.

Based on the above analysis, we can determine that statements (i) and (v) are true, while statements (ii), (iii), and (iv) are false.

Therefore, the correct answer is B.

Given the following code, which is true about the minimum number of test cases required for full statement and branch coverage: Read P Read Q IF P+Q > 100 THEN Print “Large” ENDIF If P > 50 THEN Print “P Large” ENDIF

  1. 1 test for statement coverage, 3 for branch coverage

  2. 1 test for statement coverage, 2 for branch coverage

  3. 1 test for statement coverage, 1 for branch coverage

  4. 2 tests for statement coverage, 2 for branch coverage


Correct Option: B

Given the following: Switch PC on Start “outlook” IF outlook appears THEN Send an email Close outlook

  1. 1 test for statement coverage, 1 for branch coverage

  2. 1 test for statement coverage, 2 for branch coverage

  3. 1 test for statement coverage. 3 for branch coverage

  4. 2 tests for statement coverage, 2 for branch coverage


Correct Option: B

Given the following code, which is true: IF A > B THEN C = A – B ELSE C = A + B ENDIF Read D IF C = D Then Print “Error” ENDIF

  1. 1 test for statement coverage, 3 for branch coverage

  2. 2 tests for statement coverage, 2 for branch coverage

  3. 2 tests for statement coverage. 3 for branch coverage

  4. 3 tests for statement coverage, 2 for branch coverage


Correct Option: B

AI Explanation

To determine the number of tests required for statement coverage and branch coverage, we need to consider the different paths or branches in the code.

Let's analyze the given code:

IF A > B THEN C = A – B ELSE C = A + B ENDIF

Read D

IF C = D Then Print “Error” ENDIF

For statement coverage, we need to ensure that each statement in the code is executed at least once. In this case, we have the following statements:

  1. IF A > B THEN
  2. C = A – B
  3. ELSE
  4. C = A + B
  5. Read D
  6. IF C = D Then
  7. Print “Error”

To cover all the statements, we need to execute the code at least twice: once when A > B and once when A <= B. Therefore, we need 2 tests for statement coverage.

Now let's consider branch coverage. Branch coverage requires that each possible branch or decision point in the code is taken at least once. In this case, we have the following branches:

  1. A > B (True branch) or A <= B (False branch)
  2. C = D (True branch) or C != D (False branch)

To cover all the branches, we need to take both branches for the A > B decision (True and False branches) and both branches for the C = D decision (True and False branches). Therefore, we need 2 tests for branch coverage.

Therefore, the correct answer is B) 2 tests for statement coverage, 2 for branch coverage.

Consider the following: Pick up and read the newspaper Look at what is on television If there is a program that you are interested in watching then switch the the television on and watch the program Otherwise Continue reading the newspaper If there is a crossword in the newspaper then try and complete the crossword

  1. Statement Coverage (SC) = 1 and Decesion Coverage (DC) = 1

  2. SC = 1 and DC = 2

  3. SC = 1 and DC = 3

  4. SC = 2 and DC = 3


Correct Option: D
- Hide questions