Computer Science, asked by srijeetag95, 11 months ago


Software Engineering
Chapter:- Object-oriented analysis and design

Q1) Pick the correct statement from the following.
a. Every error causes a failure
b. Every error causes a fault
c. Every failure is caused by a fault
d. Every bug causes a failure

Q2) Which one of the following is true concerning verification:
a. Helps answer the question: “Have you built the right thing?”
b. Checks the final product against the specification.
c. Usually carried out by the test team.
d. Checks whether an artifact produced in a phase conforms to the corresponding artifact produced in a previous phase.

Q3) Which one of the following can be inferred from the pesticide paradox?
a. More number of bugs are detected towards the end of testing
b. More severe bugs are detected towards the end of testing
c. After a test methodology has been used to detect bugs, it becomes ineffective for detecting the remaining bugs
d. A set of test methodologies should be applied again and again until most bugs are eliminated

Q4) Which one of the following does not serve as a guideline in identifying entity classes from a problem description?
a. Entity classes usually appear as data stores in a DFD model
b. Entity classes usually occur as group of objects that are aggregated
c. The aggregator of the objects of an entity class corresponds to a register in the physical world
d. Users are considered as entity classes

Q5) CRC cards are usually not much useful in performing which one of the following activities?
a. Method identification
b. Responsibility assignment
c. Collaborator identification
d. Class identification

Q6) Which one of the following is not true of monkey testing?
a. Many program parts may not get tested.
b. Risky areas of a program may not get tested.
c. The tester can easily reproduce any failures
d. Easy to generate test values


Q7) Of the following, who conducts acceptance testing?
a. The development team
b. The test team
c. A set of friendly clients
d. Customer

Q8) Which one of the following is an example of a negative test case?
a. A test designed to crash the software
b. A test designed with negative integral values
c. A test case causing software failure
d. A test case with values outside the valid range of values

Answers

Answered by prassadch
1

1. c

2.d

3.d

4.d

5.a

6.c

7.d

8.d

Answered by omegads04
4

1. C is the correct option that is every failure is caused by a fault.

2. D is the correct option about verification that is checks whether an artifact produced in a phase conforms to the corresponding artifact produced in a previous phase.

3. C is the correct answer for the pesticide paradox that is after a test methodology has been used to detect bugs.

4. D is the correct answer that is users are considered as entity classes.

5. CRC cards are usually not much useful in performing method identification. Therefore, option A is the correct one.

6. The tester can easily reproduce any failures(c) which are not true of monkey testing.

7. The test team conducts acceptance testing which is option (b).

8. Among the given examples of negative test case option d is the correct answer that is a test case with values outside the valid range of values.

Similar questions