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:
Sharing of information
Aligning purpose, values, and goals of people and organisation
Multi-level decision making
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:
Missing the details in the statement while communicating
Listening to or reading and understanding the statement incompletely
Verbiage
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]]

Yes
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?
Code followed by test cases.
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]]

1-B, 2-C, 3-A
1-C, 2-A, 3-B
1-C, 2-B, 3-A
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?
The actual output is different from expected output but there is no error
The actual output is the same as the expected output.
The software produces an output successfully upon giving an input.
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”.
All-defs-coverage → all-du-paths-coverage → all-uses-coverage
All-defs-coverage → all-uses-coverage → all-du-paths-coverage.
All-du-paths-coverage → all-uses-coverage → all-defs-coverage
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]]

[[IMAGE:c1b1abe532f29b72_5_3]]

[[IMAGE:c1b1abe532f29b72_5_4]]

[[IMAGE:c1b1abe532f29b72_5_5]]

[[IMAGE:c1b1abe532f29b72_6_6]]

A published solution is not available for this question yet.
Question 64 MCQ · 6.0 marks
[[IMAGE:c1b1abe532f29b72_6_7]]

It accepts all the binary strings that have an odd number of 0s.
It accepts all the binary strings that have an odd number of 1s.
It accepts all the binary strings that have an odd number of 0s and an odd
number of 1s.
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]]

[[IMAGE:c1b1abe532f29b72_8_9]]

[[IMAGE:c1b1abe532f29b72_8_10]]

[[IMAGE:c1b1abe532f29b72_9_11]]

[[IMAGE:c1b1abe532f29b72_9_12]]

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?
The location of the program should be reachable by the test case given by the
tester.
The state of the program must be incorrect at that location of the program.
The final state of the program should be incorrect.
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]]

a=5, b=7
a=5, b=5
a=8, b=7
a=0, b=1
A published solution is not available for this question yet.
Question 68 MSQ · 6.0 marks
[[IMAGE:c1b1abe532f29b72_12_14]]

[[IMAGE:c1b1abe532f29b72_12_15]]

[[IMAGE:c1b1abe532f29b72_12_16]]

[[IMAGE:c1b1abe532f29b72_13_17]]

[[IMAGE:c1b1abe532f29b72_13_18]]

A published solution is not available for this question yet.
Question 69 MSQ · 6.0 marks
[[IMAGE:c1b1abe532f29b72_13_19]]

[[IMAGE:c1b1abe532f29b72_13_20]]

[[IMAGE:c1b1abe532f29b72_13_21]]

[[IMAGE:c1b1abe532f29b72_13_22]]

[[IMAGE:c1b1abe532f29b72_13_23]]

A published solution is not available for this question yet.
Question 70 NAT · 4.0 marks
[[IMAGE:c1b1abe532f29b72_14_24]]

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?

6
7
8
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?

5
6
7
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?

[[IMAGE:c1b1abe532f29b72_16_27]]

[[IMAGE:c1b1abe532f29b72_16_28]]

[[IMAGE:c1b1abe532f29b72_17_29]]

[[IMAGE:c1b1abe532f29b72_17_30]]

A published solution is not available for this question yet.
Question 74 MCQ · 6.0 marks
[[IMAGE:c1b1abe532f29b72_16_26]]
[[IMAGE:c1b1abe532f29b72_17_31]]


[[IMAGE:c1b1abe532f29b72_17_32]]

[[IMAGE:c1b1abe532f29b72_17_33]]

[[IMAGE:c1b1abe532f29b72_17_34]]

[[IMAGE:c1b1abe532f29b72_17_35]]

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?

10
11
12
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?

25
27
29
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?

8
9
10
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.