MauryaHub PYQ Practice

Software Testing · Quiz 2 · Sep 2024

Software Testing · Quiz 2 · Sep 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 / 19 published solutions

Question 23 MCQ · 4.0 marks

Choose the correct option that specifies how the risk can be mitigated.
6406533483814.
By hiring developers with relevant experience within the company and/or outside the company, or outsource certain things to some third party vendors.
6406533483815.
By benchmarking and regular inspection to verify that the external component is up to the mark.
6406533483816.
Explore market for similar products.
6406533483817.
By communicating with clients or build prototype to collect clients feedback       **Sw Testing** **Section Id :** 64065374256 **Section Number :** 2 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 14 **Number of Questions to be attempted :** 14 **Section Marks :** 100 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** No **Clear Response :** **Section Maximum Duration :** 0 **Section Minimum Duration :** 0 **Section Time In :** Minutes **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Report a correction for Q23

Question 25 MCQ · 5.0 marks

Which of the following types of blackbox testing is most suitable for handling multiple inputs by considering different combinations of equivalence classes?
6406533483852.
Equivalence class partitioning
6406533483853.
Boundary value analysis
6406533483854.
Decision tables
6406533483855.
Random testing

A published solution is not available for this question yet.

Report a correction for Q25

Question 26 MCQ · 5.0 marks

Consider the following annotated CFG.
Source diagram or notation
6406533483856.
1-B, 2-A, 3-C
6406533483857.
1-B, 2-C, 3-A
6406533483858.
1-A, 2-B, 3-C
6406533483859.
1-A, 2-C, 3-B

A published solution is not available for this question yet.

Report a correction for Q26

Question 27 MCQ · 5.0 marks

Which of the following testing types evaluates the user interface, aesthetics, etc. of a software product?
6406533483860.
Stress testing
6406533483861.
Performance testing
6406533483862.
Usability testing
6406533483863.
Regression testing

A published solution is not available for this question yet.

Report a correction for Q27

Question 28 MCQ · 5.0 marks

Match the following from the perspective of different kinds of couplings based on the interfaces.
Source diagram or notation
6406533483864.
1-B, 2-C, 3-A, 4-D
6406533483865.
1-B, 2-C, 3-D, 4-A
6406533483866.
1-A, 2-C, 3-D, 4-B
6406533483867.
1-A, 2-D, 3-C, 4-B

A published solution is not available for this question yet.

Report a correction for Q28

Question 29 MCQ · 5.0 marks

How many test cases are required to achieve predicate coverage over a predicate with n clauses?
6406533483868.Source diagram or notation
6406533483869.Source diagram or notation
6406533483870.Source diagram or notation
6406533483871.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q29

Question 30 MCQ · 6.0 marks

Suppose we need to test a program that takes a number of integers as input. The minimum and maximum numbers of integers to be input are 5 and 10 respectively. Identify the correct set of BVA (Boundary Value Analysis) test cases from the following options.
6406533483872.
Two test cases: (1) 5 integers as input and (2) 10 integers as input
6406533483873.
Three test cases: (1) 5 integers as input, (2) 10 integers as input, and (3) 7 integers as input
6406533483874.
Five test cases: (1) 5 integers as input, (2) 10 integers as input, (3) 7 integers as input, (4) 6 integers as input, and (5) 9 integers as input
6406533483875.
Five test cases: (1) 5 integers as input, (2) 10 integers as input, (3) 7 integers as input, (4) 4 integers as input, and (5) 11 integers as input

A published solution is not available for this question yet.

Report a correction for Q30

Question 31 MCQ · 6.0 marks

Consider input space partitioning (ISP) for a program that computes the scholarship amount to be disbursed to the school students as presented in the table below, consisting of characteristics and blocks.
Source diagram or notation
Consider the base choice given below: grade = 9.6 attendance = 85% gender = Male What is the minimum number of tests (including the base choice) required to satisfy base choice coverage (BCC) criterion?
6406533483876.
3
6406533483877.
6
6406533483878.
12
6406533483879.
18

A published solution is not available for this question yet.

Report a correction for Q31

Question 32 MCQ · 6.0 marks

Source diagram or notation
6406533483880.Source diagram or notation
6406533483881.Source diagram or notation
6406533483882.Source diagram or notation
6406533483883.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q32

Question 33 MCQ · 6.0 marks

Consider the method below:
Source diagram or notation
Consider the problem of finding a set of test cases which satisfies RICC for the method compute. Which of the following statements is true? Please note that the variable t needs to be re-written in terms of inputs in the second predicate to achieve various coverage criteria. We use the predicate x < y to represent t.
6406533483884.
We get some feasible pairs when predicate p = (t || z == 0) being **true** and also when p = (t || z == 0) being **false**.
6406533483885.
We get some feasible pairs when predicate p = (t || z == 0) being **true**. But no feasible pairs when p = (t || z == 0) being false.
6406533483886.
We get some feasible pairs when predicate p = (t || z == 0) being **false**. But no feasible pairs when p = (t || z == 0) being **true**.
6406533483887.
No feasible pairs when predicate p = (t || z == 0) being **true**, and also when p = (t || z == 0) being **true**.

A published solution is not available for this question yet.

Report a correction for Q33

Question 34 MCQ · 6.0 marks

Consider the CFG given below.
Source diagram or notation
From among the given options, identify the code segment that can be correctly presented by given CFG.
6406533483888.Source diagram or notation
6406533483889.Source diagram or notation
6406533483890.Source diagram or notation
6406533483891.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q34

Question 35 MCQ · 6.0 marks

Consider the following code segment.
Source diagram or notation
Based on the above data, answer the given subquestions.
At LINE-1, two instances of symbolic execution are created. Identify the path constraints applicable to those.
6406533483840.Source diagram or notation
6406533483841.Source diagram or notation
6406533483842.Source diagram or notation
6406533483843.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q35

Question 36 MCQ · 6.0 marks

Consider the following code segment.
Source diagram or notation
Based on the above data, answer the given subquestions.
Suppose the DART technique is applied for testing the code. Identify the path constraint that represents an equivalence class of input vectors containing all input values that lead to the abort statement at LINE-2.
6406533483844.Source diagram or notation
6406533483845.Source diagram or notation
6406533483846.Source diagram or notation
6406533483847.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q36

Question 37 MCQ · 6.0 marks

Consider the following code segment.
Source diagram or notation
Based on the above data, answer the given subquestions.
From among the following, identify the set of concrete test inputs that execute all the instances of symbolic execution.
6406533483848.
{(a = 1, b = 2, c = 3), (a = 3, b = 3, c = 3), (a = 1, b = 3, c = 3)}
6406533483849.
{(a = 1, b = 2, c = 3), (a = 3, b = 2, c = 1), (a = 1, b = 6, c = 3)}
6406533483850.
{(a = 3, b = 2, c = 2), (a = 3, b = 2, c = 3), (a = 1, b = 6, c = 3)}
6406533483851.
{(a = 3, b = 2, c = 2), (a = 1, b = 4, c = 3), (a = 1, b = 2, c = 3)}

A published solution is not available for this question yet.

Report a correction for Q37

Question 38 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
From among the options, identify the one that covers all the **CACC** pairs for the clause a.
6406533483820.
(1,5), (1,6), (2,5), (2,6)
6406533483821.
(3,4), (3,8), (7,4), (7,8)
6406533483822.
(1,5), (2,6)
6406533483823.
(2,4), (5,7)

A published solution is not available for this question yet.

Report a correction for Q38

Question 39 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
From among the options, identify the one that covers all the **RACC** pairs for the clause a.
6406533483824.
(1,5), (1,6), (2,5), (2,6)
6406533483825.
(3,4), (3,8), (7,4), (7,8)
6406533483826.
(1,5), (2,6)
6406533483827.
(2,4), (5,7)

A published solution is not available for this question yet.

Report a correction for Q39

Question 40 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
What are the minimum numbers of test paths required for node coverage and edge coverage of the given CFG?
6406533483828.
One test path for both node coverage and edge coverage.
6406533483829.
One test path for node coverage and two test paths for edge coverage.
6406533483830.
Two test paths for node coverage and one test path for edge coverage.
6406533483831.
Two test paths for both node coverage and edge coverage.

A published solution is not available for this question yet.

Report a correction for Q40

Question 41 MCQ · 6.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
How many prime paths are present in the given CFG?
6406533483832.
6
6406533483833.
7
6406533483834.
8
6406533483835.
9

A published solution is not available for this question yet.

Report a correction for Q41

Question 42 MCQ · 5.0 marks

Source diagram or notation
Based on the above data, answer the given subquestions.
Identify the set of test paths that provides prime path coverage.
6406533483836.
{[1,2,3,4,5,4,6], [1,3,4,5,4,5,4,6]}
6406533483837.
{[1,2,3,4,5,4,6], [1,3,6], [1,3,4,5,4,5,4,6]}
6406533483838.
{[1,2,3,4,5,4,6], [1,2,3,4,6],  [1,3,6], [1,3,4,5,4,5,4,6]}
6406533483839.
{[1,2,3,4,5,4,6], [1,2,3,4,6], [1,2,3,6], [1,3,4,6], [1,3,6], [1,3,4,5,4,5,4,6]}       **AI** **Section Id :** 64065374257 **Section Number :** 3 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 7 **Number of Questions to be attempted :** 7 **Section Marks :** 24 **Display Number Panel :** Yes **Section Negative Marks :** 0 **Group All Questions :** No **Enable Mark as Answered Mark for Review and** No **Clear Response :** **Section Maximum Duration :** 0 **Section Minimum Duration :** 0 **Section Time In :** Minutes **Maximum Instruction Time :** 0

A published solution is not available for this question yet.

Report a correction for Q42