MauryaHub PYQ Practice

Software Testing · Quiz 1 · May 2024

Software Testing · Quiz 1 · May 2024

← 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 MCQ · 5.0 marks

Which type of testing is typically conducted after modifying or upgrading a software component to verify that the modified component is working correctly and other components are not damaged by the modification?
6406532786414.
Functional testing
6406532786415.
Performance testing
6406532786416.
Usability testing
6406532786417.
Regression testing

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 5.0 marks

Consider an organization whose purpose in testing is to show the software’s failures. However, looking for failures is considered a negative activity, which puts testers and developers in an adversarial relationship. Determine the organization’s process maturity level based on its test goals.
6406532786418.
Level 1
6406532786419.
Level 2
6406532786420.
Level 3
6406532786421.
Level 4

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 5.0 marks

Source diagram or notation
6406532786422.
Tree edges
6406532786423.
Back edges
6406532786424.
Forward edges
6406532786425.
Cross edges

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 5.0 marks

Source diagram or notation
6406532786426.
Parameter coupling
6406532786427.
Shared data coupling
6406532786428.
External device coupling
6406532786429.
Message-passing interfaces

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
6406532786446.
0
6406532786447.
1
6406532786448.
2
6406532786449.
3

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
6406532786430.Source diagram or notation
6406532786431.Source diagram or notation
6406532786432.Source diagram or notation
6406532786433.Source diagram or notation

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
6406532786434.
It accepts all strings that have only odd number of as.
6406532786435.
It accepts all strings that have only even number of as.
6406532786436.
It accepts all strings that have odd number of as and even number of bs.
6406532786437.
It accepts all strings that have even number of as and odd number of bs.

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MCQ · 6.0 marks

Consider the prime path [1, 2, 4, 5] and a path P = [1, 2, 3, 2, 4, 2, 3, 4, 5]. From among the given options, identify the path with a detour but not a sidetrip.
6406532786478.
[1, 2, 4, 2, 4, 5]
6406532786479.
[1, 2, 3, 2, 4, 5]
6406532786480.
[1, 2, 3, 4, 5]
6406532786481.
[1, 2, 4, 5]

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MSQ · 6.0 marks

Consider the following classes for the code base to be tested and the test class. //code base: Voter.java public class Voter { private String voter_id; private String voter_name; private String state; public Voter(String i, String n, String s) { voter_id = i; voter_name = n; state = s; i public void updateName(String name) { voter_name = name; a public void updateState(String state) { state = state; } public String toString() { return voter_id +" : " + voter_name +": " + state; }
Source diagram or notation
6406532786438.Source diagram or notation
6406532786439.Source diagram or notation
6406532786440.Source diagram or notation
6406532786441.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MSQ · 6.0 marks

Source diagram or notation
6406532786442.Source diagram or notation
6406532786443.Source diagram or notation
6406532786444.Source diagram or notation
6406532786445.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Determine the number of prime paths in the given CFG.
6406532786450.
7
6406532786451.
8
6406532786452.
9
6406532786453.
10

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Determine the minimum number of test paths required for prime path coverage of the given CFG.
6406532786454.
2
6406532786455.
3
6406532786456.
4
6406532786457.
5

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
From the following code segments identify the one that is best presented by the given CFG.
6406532786458.Source diagram or notation
6406532786459.Source diagram or notation
6406532786460.Source diagram or notation
6406532786461.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
What is the minimum number of test paths are required for node coverage for the given CFG?
6406532786462.
1
6406532786463.
2
6406532786464.
3
6406532786465.
4

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
What is the cyclomatic complexity for the given CFG?
6406532786466.
2
6406532786467.
3
6406532786468.
4
6406532786469.
5

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 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?
6406532786470.
7
6406532786471.
8
6406532786472.
9
6406532786473.
10

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 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?
6406532786474.
4
6406532786475.
5
6406532786476.
6
6406532786477.
7

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 MSQ · 5.0 marks

Source diagram or notation
6406532786482.
[1, 2, 4, 6]
6406532786483.
[1, 2, 4, 5, 6]
6406532786484.
[1, 3, 6, 1, 2, 4, 6]
6406532786485.
[1, 3, 6, 1, 2, 4, 5]       **AI** **Section Id :** 64065359425 **Section Number :** 2 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 8 **Number of Questions to be attempted :** 8 **Section Marks :** 25 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No

A published solution is not available for this question yet.

Report a correction for Q19