MauryaHub PYQ Practice

Software Testing · Quiz 1 · Sep 2023

Software Testing · Quiz 1 · Sep 2023

← 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.

0 / 18 published solutions

Question 2 MSQ · 5.0 marks

Source diagram or notation
6406532266490.
[1, 2, 4, 5, 6]
6406532266491.
[1, 2, 3, 5, 6, 1]
6406532266492.
[1, 2, 3, 5, 2, 4, 5, 6, 1, 2, 3, 5, 6]
6406532266493.
[1, 2, 4, 5, 1, 2, 3, 5, 6]

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Identify the number of test requirements for edge-pair coverage in the given CFG.
6406532266494.
8
6406532266495.
9
6406532266496.
10
6406532266497.
11

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Identify the number of prime paths in the given CFG.
6406532266498.
8
6406532266499.
9
6406532266500.
10
6406532266501.
11

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Identify the correct set of test paths in the given CFG to satisfy prime path coverage.
6406532266502.
{[1, 2, 6], [1, 2, 3, 5, 2, 3, 4, 3, 5, 2, 6]}
6406532266503.
{[1, 2, 6], [1, 2, 3, 5, 2, 3, 5, 2, 6], [1, 2, 3, 4, 3, 4, 3, 5, 2, 6]}
6406532266504.
{[1, 2, 6], [1, 2, 3, 5, 2, 6], [1, 2, 3, 4, 3, 5, 2, 6], [1, 2, 3, 5, 2, 3, 4, 3, 5, 2, 6]}
6406532266505.
{[1, 2, 6], [1, 2, 3, 5, 2, 3, 5, 2, 6], [1, 2, 3, 4, 3, 4, 3, 5, 2, 6], [1, 2, 3, 5, 2, 3, 4, 3, 5, 2, 6]}

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
How many du-pairs are there for the variable x?
6406532266506.
8
6406532266507.
9
6406532266508.
13
6406532266509.
20

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
How many unique du-paths are there for the variable x?
6406532266510.
4
6406532266511.
5
6406532266512.
6
6406532266513.
7

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MCQ · 6.0 marks

Source diagram or notation
6406532266514.Source diagram or notation
6406532266515.Source diagram or notation
6406532266516.Source diagram or notation
6406532266517.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 6.0 marks

Source diagram or notation
6406532266526.
The FSM accepts the input, if the number of a’s are odd.
6406532266527.
The FSM accepts the input, if the number of a’s are even.
6406532266528.
The FSM accepts the input, if the number of b’s are odd.
6406532266529.
The FSM accepts the input, if the number of b’s are even.

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MCQ · 6.0 marks

Source diagram or notation
6406532266541.
1-C, 2-D, 3-A, 4-B
6406532266542.
1-C, 2-A, 3-D, 4-B
6406532266543.
1-B, 2-A, 3-D, 4-C
6406532266544.
1-B, 2-D, 3-A, 4-C

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MCQ · 5.0 marks

Which of the following approaches to integration testing does not require extra software components, known as scaffolding?
6406532266518.
Top-down
6406532266519.
Bottom-up
6406532266520.
Big bang
6406532266521.
Sandwich

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 5.0 marks

Source diagram or notation
6406532266531.
Parameter coupling
6406532266532.
Shared data coupling
6406532266533.
External device coupling
6406532266534.
Message-passing interfaces

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 5.0 marks

In which phase of Software Development Life Cycle (SDLC), developers perform extensive unit testing and debugging?
6406532266536.
Planning and requirements definition
6406532266537.
Design and architecture
6406532266538.
Development
6406532266539.
Testing
6406532266540.
Maintenance

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 5.0 marks

The total running time of BFS algorithm can be expressed as ___________ . Fill in the blank with appropriate option.
6406532266545.Source diagram or notation
6406532266546.Source diagram or notation
6406532266547.Source diagram or notation
6406532266548.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MCQ · 5.0 marks

Source diagram or notation
6406532266549.
def-clear
6406532266550.
du-path
6406532266551.
du-pair
6406532266552.
def(v)

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MSQ · 6.0 marks

Source diagram or notation
6406532266522.Source diagram or notation
6406532266523.Source diagram or notation
6406532266524.Source diagram or notation
6406532266525.Source diagram or notation
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 MSQ · 7.0 marks

Source diagram or notation
Source diagram or notation
6406532266553.
testcase1()
6406532266554.
testcase2()
6406532266555.
testcase3()
6406532266556.
testcase4()

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 NAT · 5.0 marks

Consider a CFG with a single component that has 6 nodes and 9 edges. What is the cyclomatic complexity of the given CFG? Do not write the number in words, if your answer is **6**, enter 6 but not six.

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 NAT · 5.0 marks

Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q19