MauryaHub PYQ Practice

cs3002_2022T3_Q1_AN.pdf cs3002_2022T3_Q1_FN.pdf

Software Testing · Quiz 1 · Sep 2022

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

Question 56 MSQ · 1.0 marks

The Gung Ho! approach focuses on:
  1. Sharing of information
  2. Aligning purpose, values, and goals of people and organisation
  3. Multi-level decision making
  4. Celebration of successes

A published solution is not available for this question yet.

Question 57 MSQ · 1.0 marks

Communication misunderstandings can happen due to:
  1. Missing the details in the statement while communicating
  2. Listening to or reading and understanding the statement incompletely
  3. Verbiage
  4. None of these       **Sw Testing** **Section Id :** 64065324002 **Section Number :** 4 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 16 **Number of Questions to be attempted :** 16 **Section Marks :** 100 **Display Number Panel :** Yes **Group All Questions :** No **Enable Mark as Answered Mark for Review and** Yes **Clear Response :** **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Question 58 MCQ · 0.0 marks

[[IMAGE:c1b1abe532f29b72_2_0]]
Source diagram or notation
  1. Yes
  2. No

A published solution is not available for this question yet.

Question 59 MCQ · 3.0 marks

Which of the following represents the order in which artifacts are written in test driven development?
  1. Code followed by test cases.
  2. Test cases followed by code.

A published solution is not available for this question yet.

Question 60 MCQ · 3.0 marks

[[IMAGE:c1b1abe532f29b72_3_1]]
Source diagram or notation
  1. 1-B, 2-C, 3-A
  2. 1-C, 2-A, 3-B
  3. 1-C, 2-B, 3-A
  4. 1-B, 2-A, 3-C

A published solution is not available for this question yet.

Question 61 MCQ · 4.0 marks

A test case is said to have passed when which of the following holds?
  1. The actual output is different from expected output but there is no error
  2. The actual output is the same as the expected output.
  3. The software produces an output successfully upon giving an input.
  4. There is a message that there is no error from the program

A published solution is not available for this question yet.

Question 62 MCQ · 5.0 marks

Which of the following represents the correct order of subsumption amongst data-flow coverage criteria in graphs? Read the symbol → below as “subsumes”.
  1. All-defs-coverage → all-du-paths-coverage → all-uses-coverage
  2. All-defs-coverage → all-uses-coverage → all-du-paths-coverage.
  3. All-du-paths-coverage → all-uses-coverage → all-defs-coverage
  4. All-du-paths-coverage → all-defs-coverage → all-uses-coverage

A published solution is not available for this question yet.

Question 63 MCQ · 5.0 marks

[[IMAGE:c1b1abe532f29b72_5_2]]
Source diagram or notation
  1. [[IMAGE:c1b1abe532f29b72_5_3]]
    Source diagram or notation
  2. [[IMAGE:c1b1abe532f29b72_5_4]]
    Source diagram or notation
  3. [[IMAGE:c1b1abe532f29b72_5_5]]
    Source diagram or notation
  4. [[IMAGE:c1b1abe532f29b72_6_6]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 64 MCQ · 6.0 marks

[[IMAGE:c1b1abe532f29b72_6_7]]
Source diagram or notation
  1. It accepts all the binary strings that have an odd number of 0s.
  2. It accepts all the binary strings that have an odd number of 1s.
  3. It accepts all the binary strings that have an odd number of 0s and an odd number of 1s.
  4. It accepts all the binary strings that have an even number of 0s and an even number of 1s.

A published solution is not available for this question yet.

Question 65 MCQ · 8.0 marks

[[IMAGE:c1b1abe532f29b72_7_8]]
Source diagram or notation
  1. [[IMAGE:c1b1abe532f29b72_8_9]]
    Source diagram or notation
  2. [[IMAGE:c1b1abe532f29b72_8_10]]
    Source diagram or notation
  3. [[IMAGE:c1b1abe532f29b72_9_11]]
    Source diagram or notation
  4. [[IMAGE:c1b1abe532f29b72_9_12]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 66 MSQ · 5.0 marks

For a tester to observe an error or a fault in a particular location of a program, which of the following should be true together?
  1. The location of the program should be reachable by the test case given by the tester.
  2. The state of the program must be incorrect at that location of the program.
  3. The final state of the program should be incorrect.
  4. The tester should see the error in the program.

A published solution is not available for this question yet.

Question 67 MSQ · 5.0 marks

[[IMAGE:c1b1abe532f29b72_10_13]]
Source diagram or notation
  1. a=5, b=7
  2. a=5, b=5
  3. a=8, b=7
  4. a=0, b=1

A published solution is not available for this question yet.

Question 68 MSQ · 6.0 marks

[[IMAGE:c1b1abe532f29b72_12_14]]
Source diagram or notation
  1. [[IMAGE:c1b1abe532f29b72_12_15]]
    Source diagram or notation
  2. [[IMAGE:c1b1abe532f29b72_12_16]]
    Source diagram or notation
  3. [[IMAGE:c1b1abe532f29b72_13_17]]
    Source diagram or notation
  4. [[IMAGE:c1b1abe532f29b72_13_18]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 69 MSQ · 6.0 marks

[[IMAGE:c1b1abe532f29b72_13_19]]
Source diagram or notation
  1. [[IMAGE:c1b1abe532f29b72_13_20]]
    Source diagram or notation
  2. [[IMAGE:c1b1abe532f29b72_13_21]]
    Source diagram or notation
  3. [[IMAGE:c1b1abe532f29b72_13_22]]
    Source diagram or notation
  4. [[IMAGE:c1b1abe532f29b72_13_23]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 70 NAT · 4.0 marks

[[IMAGE:c1b1abe532f29b72_14_24]]
Source diagram or notation

    A published solution is not available for this question yet.

    Question 71 MCQ · 6.0 marks

    Consider the annotated CFG (for dataflow coverage) given below and answer the given subquestions. [[IMAGE:c1b1abe532f29b72_15_25]]
    How many du-pairs are there for the variable n?
    Source diagram or notation
    1. 6
    2. 7
    3. 8
    4. 9

    A published solution is not available for this question yet.

    Question 72 MCQ · 6.0 marks

    Consider the annotated CFG (for dataflow coverage) given below and answer the given subquestions. [[IMAGE:c1b1abe532f29b72_15_25]]
    How many unique du-paths are there for the variable n?
    Source diagram or notation
    1. 5
    2. 6
    3. 7
    4. 8

    A published solution is not available for this question yet.

    Question 73 MSQ · 6.0 marks

    [[IMAGE:c1b1abe532f29b72_16_26]]
    Which of the following paths are test paths?
    Source diagram or notation
    1. [[IMAGE:c1b1abe532f29b72_16_27]]
      Source diagram or notation
    2. [[IMAGE:c1b1abe532f29b72_16_28]]
      Source diagram or notation
    3. [[IMAGE:c1b1abe532f29b72_17_29]]
      Source diagram or notation
    4. [[IMAGE:c1b1abe532f29b72_17_30]]
      Source diagram or notation

    A published solution is not available for this question yet.

    Question 74 MCQ · 6.0 marks

    [[IMAGE:c1b1abe532f29b72_16_26]]
    [[IMAGE:c1b1abe532f29b72_17_31]]
    Source diagram or notationSource diagram or notation
    1. [[IMAGE:c1b1abe532f29b72_17_32]]
      Source diagram or notation
    2. [[IMAGE:c1b1abe532f29b72_17_33]]
      Source diagram or notation
    3. [[IMAGE:c1b1abe532f29b72_17_34]]
      Source diagram or notation
    4. [[IMAGE:c1b1abe532f29b72_17_35]]
      Source diagram or notation

    A published solution is not available for this question yet.

    Question 75 MCQ · 5.0 marks

    Consider the CFG given below and answer the given subquestions. [[IMAGE:c1b1abe532f29b72_18_36]]
    How many test requirements are there for edge-pair coverage?
    Source diagram or notation
    1. 10
    2. 11
    3. 12
    4. 13

    A published solution is not available for this question yet.

    Question 76 MCQ · 6.0 marks

    Consider the CFG given below and answer the given subquestions. [[IMAGE:c1b1abe532f29b72_18_36]]
    How many simple paths are present in the given CFG?
    Source diagram or notation
    1. 25
    2. 27
    3. 29
    4. 31

    A published solution is not available for this question yet.

    Question 77 MCQ · 5.0 marks

    Consider the CFG given below and answer the given subquestions. [[IMAGE:c1b1abe532f29b72_18_36]]
    How many test requirements are there for prime path coverage?
    Source diagram or notation
    1. 8
    2. 9
    3. 10
    4. 11       **Sw Engg** **Section Id :** 64065324003 **Section Number :** 5 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 1 **Number of Questions to be attempted :** 1 **Section Marks :** 0

    A published solution is not available for this question yet.