Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : SOFTWARE TESTING (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Suppose a mobile application for hotel room booking has a requirement that the language interface be available in all prominent Indian languages. Identify the correct type of the requirement.
Solution
Consider a banking web application that determines the annual interest rate applied to a housing loan (only) based on the tenure (number of years to repay the loan). The annual interest rate is calculated as follows:
- The tenure can be 1 to 20 years.
- If the tenure is between 1 and 5 years, then the rate is 11%.
- If the tenure is between 6 and 10 years, then the rate is 10%.
- If the tenure is between 11 and 15 years, then the rate is 9%.
- If the tenure is between 16 and 20 years, then the rate is 8.5%
What is the minimum number of test cases to be prepared for testing the application using the equivalence class partitioning technique?
- The tenure can be 1 to 20 years.
- If the tenure is between 1 and 5 years, then the rate is 11%.
- If the tenure is between 6 and 10 years, then the rate is 10%.
- If the tenure is between 11 and 15 years, then the rate is 9%.
- If the tenure is between 16 and 20 years, then the rate is 8.5%
What is the minimum number of test cases to be prepared for testing the application using the equivalence class partitioning technique?
Solution
For a predicate p with n clauses, how many test cases need to be prepared for all combinations coverage?
Solution
In an FSM (Finite State Machine), which of the following is represented as preconditions?
Solution
Modules interact with each other using well-defined interfaces. Which of the following interfaces allows data and control both to be passed in both directions between two modules?
Solution
Suppose we need to test a program that takes an integer as input. The input domain can be partitioned into 2 equivalence classes: an input x is valid if 10 < x < 100, and the rest are invalid inputs. Identify the correct set(s) of BVA (Boundary Value Analysis) test cases for the valid partition from the following options.
Solution
Consider the annotated control flow graph (CFG) given below.

Which of the following test case inputs will result in test path(s) that visit(s) the edge (4, 6) ?
Which of the following test case inputs will result in test path(s) that visit(s) the edge (4, 6) ?
Solution
Consider input space partitioning (ISP) for a program that computes the annual interest rate of a fixed deposit scheme presented in the table below, consisting of characteristics and blocks.

What is the minimum number of tests (including the base choice) required to satisfy base choice coverage (BCC) criterion?
What is the minimum number of tests (including the base choice) required to satisfy base choice coverage (BCC) criterion?
Solution
Consider the following truth table for predicate p.

With reference to the truth table row numbers (Row#) above, identify the GACC pairs for clause a from the following options?
With reference to the truth table row numbers (Row#) above, identify the GACC pairs for clause a from the following options?
Solution
Solution
Solution
Consider the annotated CFG given below.

Which of the following criteria does the set of paths below satisfy?
{[1, 2, 4, 5, 6, 8], [1, 2, 4, 5, 7, 8], [1, 2, 3, 5, 6, 8]}
Which of the following criteria does the set of paths below satisfy?
{[1, 2, 4, 5, 6, 8], [1, 2, 4, 5, 7, 8], [1, 2, 3, 5, 6, 8]}
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which of the following represents pa, the conditions under which the clause a determines p?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
From the given options, identify all pairs of test requirements to satisfy restricted active clause coverage (RACC) for clause a.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which of the following test paths achieves node coverage, but not edge coverage?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Identify the total number of test requirements in prime path coverage.
Solution
Shape
Thickness [ / ]
3
All colors