Software Testing Methodologies Questions and Answers | STM | MCQ

Software Testing Methodologies Questions and Answers | STM | MCQ




 
Which of the following statements about functional testing is true?
1. Structural testing is more important than functional testing as it addresses the code 2. Functional testing is useful throughout the lifecycle and can be applied by business analysts, testers, developers, and users.
3. Functional testing is more powerful than static testing as you actually run the system and see what happens.
4. Inspection is a form of Functional Testing. ”
Select one:
a. 2 only –
b. 1 and 3 only
c. 2 and 4 only
d. 1 only
Code reviews is a part of
Select one:
a. None
b. Dynamic testing
c. Static and Dynamic testing
d. Static Testing –
What are the goals of Software Testing?
Select one:
a. To have “confidence” in the software system
b. To show that the software system satisfies the requirements and performs as expected
c. To find defects and ensure software quality
d. All –
Find the invalid equivalence class for the following test case. Draw a line up to the length of 4 inches
Select one:
a. Curve –
b. Line with 1 dot-width
c. line with 4 inches
d. line with 1 inch.
How much testing is enough
Select one:
a. The answer depends on the maturity of your developers
b. The answer should be standardized for the software development industry
c. This question is impossible to answer –
d. The answer depends on the risks for your industry, contract and special requirements



Weak Robust Equivalence Class Testing is defined as:
Select one:
a. The name of the form Weak Robust is counterintuitive and oxymoronic
b. Robust comes from the consideration of invalid values
c. Weak refers to the single fault assumption
d. All –



Boundary Value Analysis focuses on:
Select one:
a. None
b. The boundary of the output space to identify test cases
c. The boundary of the input space to identify test cases –
d. The boundary of the inner space to identify test cases
Boundary value testing
Select one:
a. Is the same as equivalence partitioning tests?
b. Is used in white box testing strategy
c. Tests combinations of input circumstances
d. Test boundary conditions on, below and above the edges of input and output equivalence classes –
A committe of five is to be formed from six ladies and four gentlemen.In how many ways this can be done so that the committee contains exactly two ladies:
Select one:
a. 30
b. 15
c. 40
d. 60 –
Number of unique test cases generated in Robust Boundary Value Analysis for a function of n variables is
Select one:
a. 4n+1
b. 6n+1 –
c. 7n+1
d. 7*n
In testing of the following things, where do we need to focus more on security aspects?
Select one:
a. Tea/Coffee Vending Machine
b. Automated Teller Machine –
c. Washing Machine
d. Refrigerator
Test strategy is prepared as part of
Select one:
a. Test scenarios
b. Test Plan –
c. Test Procedure
d. Test cases
Which of the following statement is correct for Strong Robust Equivalence Class Testing?
Select one:
a. Robust comes from consideration of invalid values of outputs
b. Robust comes from consideration of invalid values of inputs –
c. Strong refers to the single fault assumption
d. All
Which one of the following represents the Specification Based Testing only?
Select one:
a. D. Decision Tables, Ad-hoc, Exploratory, Control Flow
b. C. Boundary Value Analysis, Control Flow, Data Flow
c. B. Decision Tables, Boundary Value Analysis, Equivalence Partitioning –
d. A. Equivalence Partitioning, Decision Tables, Data Flow
Number of unique test cases generated in Normal Boundary Value Analysis for a function of n variables is
Select one:
a. 6n+1
b. 5n+1
c. 4n+1 –
d. 5*n
Identify the invalid Set operation
Select one:
a. Intersection
b. Addition –
c. Complement
d. Union



An input field takes the number from 10 to 50. The boundary values for testing this field are:
Select one:
a. 9,30,51
b. 10,15,50,55
c. 10,30,50
d. 9,10,50,51 –
Consider the statement, “If number is divisible by 33 then number is divisible by 3 and by 11.” Which of the following statements is equivalent to this statement?
Select one:
a. If number is divisible by 3 and divisible by 11 then number is divisible by 33.
b. If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33. –
c. If number is not divisible by 33 then number is not divisible by 3 or not divisible by 11.
d. If number is not divisible by 33 then number is divisible by 3 or divisible by 11.
A lot consists of 10 good articles, 4 with minor defects and 2 with major defects. Two articles are chosen from the lot at random (without replacement). Find the probability that both have major defects:
Select one:
a. 1/8
b. 91/120
c. 1/120
d. 3/8 –
Types of Equivalence Classes are
Select one:
a. All
b. Weak Normal, Strong Normal, Weak Robust, Normal Robust
c. Weak Normal, Robust Normal, Weak Robust, Strong Robust
d. Weak Normal, Strong Normal, Weak Robust, Strong Robust –