Tuesday 3 April 2018

                          Software Testing Methodologies








1.Bug life cycle

Select one:
a. Open, Fixed, Assigned, Closed
b. Assigned, Open, Closed, Fixed
c. Open, Assigned, Fixed, Closed
d. Assigned, Open, Fixed, Closed  Incorrect
Feedback
The correct answer is: Open, Assigned, Fixed, Closed



2.The output of product testing is:


Select one:
a. Test Data
b. Test Plan
c. Test Reports
d. Test Cases Incorrect
Feedback
The correct answer is: Test Reports




3.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. 15
b. 30
c. 60 Correct
d. 40
Feedback
The correct answer is: 60

4.Boundary Value Analysis focuses on:
Select one:
a. The boundary of the input space to identify test cases
b. The boundary of the output space to identify test cases
c. The boundary of the inner space to identify test cases
d. None Incorrect
Feedback
The correct answer is: The boundary of the input space to identify test cases



5.Number of unique test cases generated in Robust Boundary Value Analysis for a function of n variables is


Select one:
a. 7n+1
b. 6n+1
c. 4n+1
d. 7*n Incorrect
Feedback
The correct answer is: 6n+1

6.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 not divisible by 33 then number is divisible by 3 or divisible by 11.
b. If number is not divisible by 33 then number is not divisible by 3 or not divisible by 11.
c. If number is divisible by 3 and divisible by 11 then number is divisible by 33. Incorrect
d. If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33.
Feedback
The correct answer is: If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33.


7.Find the invalid equivalence class for the following test case. Draw a line up to the length of 4 inches

Select one:
a. Curve Correct
b. Line with 1 dot-width
c. line with 1 inch.
d. line with 4 inches
Feedback
The correct answer is: Curve


8.Find the Equivalence class for the following test case. Enter a number to test the validity of being accepting the numbers between 1 and 99

Select one:
a. All numbers greater than 99
b. All numbers 99
c. All numbers between 1 and 99  Correct
d. Number = 0
Feedback
The correct answer is: All numbers between 1 and 99



9.A lot consists of 10 good articles, 4 with minor defects and 2 with major defects. Two articles are chosen from the lotat random (without replacement). Find the probability that neither is good:


Select one:
a.
1/8 Correct
b.
7/8
c.
1/120
d. 3/8
Feedback
The correct answer is:
1/8


10.Number of unique test cases generated in Worst-Case Boundary Value Analysis for a function of n variables is

Select one:
a. 4n+1
b. 5^n Correct
c. 7^n
d. 6n+1
Feedback
The correct answer is: 5^n


11.Identify the invalid Set operation

Select one:
a. Addition Correct
b. Complement
c. Intersection
d. Union
Feedback
The correct answer is: Addition


12.Which one is the valid recommendation for identification of valid equivalence class?
Select one:
a. Equivalence class for invalid inputs
b. No need to look for membership in a group
c. No need to look for range in numbers
d.
None Incorrect
Feedback
The correct answer is: Equivalence class for invalid inputs


13.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 are good:
Select one:
a. 1/8
b. 3/8 Correct
c. 5/8
d. 7/8
Feedback
The correct answer is: 3/8


14.Defects are least costly to correct at what stage of the development cycle?

Select one:
a. Analysis and Design
b. Requirements  Correct
c. Testing
d. Coding
Feedback
The correct answer is: Requirements



15.Which of the following types of testing are carried out for an erroneous input by the end user?

Select one:
a. Performance testing
b. Error handling testing Correct
c. Conversion testing
d. Parallel testing
Feedback
The correct answer is: Error handling testing


16.The specification: an integer field shall contain values from and including 1 to and including 12 (number of the month) Which equivalence class partitioning is correct?

Select one:
a. Less than 1, 1 through 11, and above
b. Less than 1, 1 through 12, larger than 12 Correct
c. Less than 0, 1 through 12, larger than 12
d. Less than 1, 1 through 11, larger than 12
Feedback
The correct answer is: Less than 1, 1 through 12, larger than 12

17.What are the two important requirements of class partitioning?


Select one:
a. Disjointedness and partial-completeness
b. Completeness and Non-Redundancy Correct
c. Partial-completeness and Non-Redundancy
d. Completeness and Redundancy
Feedback
The correct answer is: Completeness and Non-Redundancy



18.Which of the following is an example of an Error-handlingTesting?

Select one:
a. Attempted access without a proper password to the on-line data entry and display transactions (notification to the user of invalid authentication) will be tested. Incorrect
b. Testing evaluated against the performance requirements by measuring the run times of several jobs using production data volumes
c. System is stressed beyond its specifications to check how and when it fails. Performed under heavy load like putting large number beyond storage capacity, complex database queries, and continuous input to system or database load.
d. Testing to confirm that app can recover from all types of errors when they occur without terminating the application.
Feedback
The correct answer is: Testing to confirm that app can recover from all types of errors when they occur without terminating the application.


19.What are the criteria for good Test Cases?


Select one:
a. High probability of finding a defect which is yet to be discovered
b. It is not redundant
c. Neither too simple nor too complex
d. All Correct
Feedback
The correct answer is: All


20.A lock which opens with a sequence of digits is an example for

Select one:
a. Regular lock
b. Combination lock
c. Both Permutation and Combination lock Incorrect
d. Permutation lock
Feedback
The correct answer is: Permutation lock


21.A regression test

Select one:
a. Will help ensure unchanged areas of the software have not been affected Correct
b. Can only be run during user acceptance testing
c.  Will always be automated
d. Will help ensure changed areas of the software have not been affected
Feedback
The correct answer is: Will help ensure unchanged areas of the software have not been affected



22.Number of unique test cases generated in Robust Worst-Case Boundary Value Analysis for a function of n variables is
Select one:
a. 7^n
b. 5n+1
c. 7n+1
d. 5^n Incorrect
Feedback
The correct answer is: 7^n



23.Alpha Testing is:

Select one:
a. Pre- release testing by end user representatives at the developer's site Correct
b. Pre- release testing by    end user represe ntatives at   their sites
c. Post- release testing by end user representatives at the developer's site
d. The first testing that is performed
Feedback
The correct answer is: Pre- release testing by end user representatives at the developer's site



24.Equivalence partitioning examples in RL 3 discusses

Select one:
a. Finding max of 1000 numbers and max of three numbers Correct
b. Finding max of two numbers and max of three numbers
c. Finding max of 1 to 1000 numbers and max of two numbers
d. Finding max of two numbers only
Feedback
The correct answer is: Finding max of 1000 numbers and max of three numbers



25.In Equivalent Class Testing, what makes us consider them as equivalent?


Select one:
a. They involve the same input variable Incorrect
b. They result in similar operations in the program
c. They affect the same output variable
d. All
Feedback



The correct answer is: All



26.Types of Equivalence Classes are


Select one:
a. Weak Normal, Strong Normal, Weak Robust, Normal Robust
b. Weak Normal, Strong Normal, Weak Robust, Strong Robust Correct
c. Weak Normal, Robust Normal, Weak Robust, Strong Robust
d. All
Feedback
The correct answer is: Weak Normal, Strong Normal, Weak Robust, Strong Robust


27.A black-box test technique is


Select one:
a. Based on specifications Incorrect
b. Independent of implementation
c. A functional testing focuses on input and corresponding output
d. All
Feedback
The correct answer is: All

28.An input field takes the number from 10 to 50. The boundary values for testing this field are:

Select one:
a. 10,30,50 Incorrect
b. 9,30,51
c. 10,15,50,55
d.  9,10,50,51
Feedback
The correct answer is:  9,10,50,51


29.RADAR system operates in normal temp (28 degC), maximum temp at (70 degC) and minimum temp at (-30 degC) as per the specification. At which temperatures do you test the system for normal boundary value testing?


Select one:
a. 28 degC, 70 degC, -30 degC, 72 degC, -28 degC
b. 28 degC, 70 degC, -30 degC, 72 degC, -33 degC Incorrect
c.
28 degC, 70 degC, -30 degC, 69 degC, -29 degC
d. 28 degC, 70 degC, -30 degC, 68 degC, -33 degC
Feedback
The correct answer is:
28 degC, 70 degC, -30 degC, 69 degC, -29 degC



30.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 Incorrect
c. Weak refers to the single fault assumption
d. All
Feedback
The correct answer is: All

No comments:

Post a Comment