Topic 5 chapter 7

14
CHAPTER-7 1) A company that created software for managing libraries won a contract to manage inventories in a large hospital pharmacy. The test manager decided that the test policy and all the procedures must be reviewed and updated to meet this new challenge. Which of the following is the best explanation for this decision? Select one: a. Different industries have different risks and quality requirements. This impacts test process. b. The size of the software for the new project is much larger than previous one .This impacts test process. c. Revising test policy and work procedures should be done at the beginning of each project. d. Large organizations mandate strict testing regime from their vendors. This impacts test process. 2) A QA manager of a start-up company needs to implement within a week a low cost incident management tool. Which of the following is the best option? Select one: a. Manage the incidents in a spreadsheet posted on the intranet b. Purchase and deploy an incident management tool c. Manage the incidents through E-mails and phone calls d. Document incidents on a large board in the lab 3) A software system checks age in order to determine which welcome screen to display Age groups are: Group I: 0-12 Group II: 13-18 Group III: Over 18 Which of the below represent boundary values?

Transcript of Topic 5 chapter 7

Page 1: Topic 5 chapter 7

CHAPTER-7

1) A company that created software for managing libraries won a contract to manage inventories

in a large hospital pharmacy.

The test manager decided that the test policy and all the procedures must be reviewed and

updated to meet this new challenge.

Which of the following is the best explanation for this decision?

Select one:

a. Different industries have different risks and quality requirements. This impacts test

process.

b. The size of the software for the new project is much larger than previous one .This impacts

test process.

c. Revising test policy and work procedures should be done at the beginning of each project.

d. Large organizations mandate strict testing regime from their vendors. This impacts test

process.

2) A QA manager of a start-up company needs to implement within a week a low cost incident

management tool. Which of the following is the best option?

Select one:

a. Manage the incidents in a spreadsheet posted on the intranet

b. Purchase and deploy an incident management tool

c. Manage the incidents through E-mails and phone calls

d. Document incidents on a large board in the lab

3) A software system checks age in order to determine which welcome screen to display

Age groups are:

Group I: 0-12

Group II: 13-18

Group III: Over 18

Which of the below represent boundary values?

Page 2: Topic 5 chapter 7

Select one:

a. (-1, 0, 12, 13, 18, 19)

b. (4, 5, 15, 20)

c. (-1, 0, 11, 12, 13, 14, 18, 19)

d. (0, 12, 13, 19)

4) A Test Manager decided to perform load testing during the system testing phase. Which of the

following statements is correct ?

Select one:

a. Load testing is a non functional testing that can be performed at all test levels

b. Load testing is a functional testing that can be performed at all test levels

c. Load testing can't be performed by the testing team

d. Load testing can be performed only in the integration testing phase

5) At what stage of the Fundamental Test Process do testers evaluate the Testability of the

test basis?

Select one:

a. Test analysis and design

b. Test control

c. Evaluating exit criteria and reporting

d. Test execution

6) During system testing phase of a word processor, a tester finds that on opening a file from

particular set of files ,which are part of critical work flow, the word processor crashes .Which of

the following is the next step the tester should take prior to recording the deviation?

Select one:

a. Perform bug isolation to find the conditions that cause the crash

b. Do a root cause analysis

c. Report the incident as is without any further actions

d. Try to identify the code fragment causing the problem

Page 3: Topic 5 chapter 7

7) For which of the following activities is a static analysis tool NOT useful ?

Select one:

a. Quantitative analysis related to tests (e.g . tests passed)

b. Enforcements of coding standards.

c. Detecting dependencies in software modules.

d. Calculation of complexity of the code.

8) Given the following requirement :

Requirement ID : 2.8

Requirement Description : Additional entrance fee

Detailed Description : An additional fee of $3 is charged during weekend but

1.Visitors aged under 7 are not charged.

2.Visitors aged 7 to 13 inclusive get a 20% discount off of additional fee.

3.Visitors aged greater than 65 get a 50% discount off of additional fee.

Age should be an integer of 0 or above

Weekend means Friday to Saturday inclusive

Which of the following statements are NOT correct?

Select one:

a. Thursday is a valid input value.

b. $3.01 is a valid output boundary value.

c. A minimum of 6 valid test cases are derived from boundary value analysis based on input

age.

d. 7 and 13 are valid boundary values for equivalence class partition including age 10.

9) Manager responsibilities in formal review includes all expect one of the following?

Select one:

a. Planning the review.

Page 4: Topic 5 chapter 7

b. Decide on the execution of reviews.

c. Determines if the review objectives have been met.

d. Allocate time for review.

10) Once a bug is fixed, it should be retested. What is the term used to define this type of testing?

Select one:

a. Confirmation Testing

b. Maintainability Testing

c. Regression Testing

d. Reliability Testing

11) ST is a software Testing organization which utilizes a testing knowledge basis. Access to ST

knowledge base can be either full or limited. Access level is determined based on ST

certification and testing experience as follows:

1. If ST certified, with less than 5 years testing experience - allow limited access

2. If ST certified, 5 - 10 years of testing experience - allow full access

3. If not ST certified with 5 - 10 years of testing experience - allow limited access

What would be the results for :

A - ST certified, 12 years of testing experience

B - Not ST certified, 7 years of testing experience

C - Not ST certified, 3 years of testing experience

Select one:

a. A-unknown B-limited access C-unknown

b. A-Full access B-Limited access C-unknown

c. A-unknown B-Full access C-unknown

d. A-Full access B-limited access C-limited access

12) The testers in company A, were part of the development team. Due to an organizational

change they moved to be part of the support team. What are the advantages and the

disadvantages of this change ?

Page 5: Topic 5 chapter 7

Select one:

a. Advantage: More independence in deciding what and how to test, Disadvantage:

Isolation from the development team knowledge

b. Advantage: being closer to customer perspective, Disadvantage: less independence in

perspectives

c. Advantage: Pulled to support tasks and having less time for testing, Disadvantage: less

chances to move a tester to development

d. Advantage: increased changes to move a tester to development, Disadvantage: pulled to

support tasks and having less time for testing

13) Which of following statements contradicts the general principles of testing?

Select one:

a. If new defects are to be found, we should run the same test set more often

b. Testing is better if it starts at the beginning of a project.

c. How testing is done, is based on situation in a particular project.

d. More defects are found in a small subset of a systems module.

14) Which of the following activities includes identifying deviations from the plan?

Select one:

a. Test control

b. Test Planning

c. Test execution

d. Test report

15) Which of the following alternatives contains only non functional testing types?

Select one:

a. Stress testing, Usability testing, Portability testing and Maintainability testing.

b. Load testing, Stress testing, Maintainability testing and Structural testing.

c. Performance testing, equivalence class testing Reliability testing and Load testing.

d. System Integration testing, Load testing, Stress testing, and Performance testing.

Page 6: Topic 5 chapter 7

16) Which of the following are correct steps in executing testing based on use cases,

A. Identify possible sequences of interactions between the system and the actor

B. For each input data element identify the equivalence classes

C. Consider which of the normal and alternative flows should be covered in the test cases

D. Identify test data based on error guessing

E. Cover every combination of flows in the test cases?

Select one:

a. I, II,III

b. II, III, V

c. I, II, IV

d. I, IV, V

17) Which of the following are typical tasks of test manager?

I. Selecting tools to support testing.

II. Deciding about the implementation of test environment.

III. Monitoring test results.

IV. Coordinating test strategy.

V. Acquiring test resources.

Select one:

a. All the statements are true.

b. I, II, IV

c. II, III, IV

d. I, II, IV, V

18) Which of the following defect types are LEAST likely to be discovered when using static

analysis tools ?

Select one:

Page 7: Topic 5 chapter 7

a. Memory leaks Correct

b. Uncalled functions and procedures

c. Variables that are never used

d. Coding standard violations

19) Which of the following is an example of component integration testing approaches?

Select one:

a. Top-down

b. Continuous integration

c. Compatibility

d. System integration

20) Which of the following is NOT a key characteristic of an inspection ?

Select one:

a. Open-ended sessions

b. Usually peer examination

c. Pre-meeting preparation

d. Inspection report

21) Which of the following is NOT a major responsibility of a tester?

Select one:

a. Finding root cause of a defect

b. Reporting and tracking bugs

c. Writing test specifications

d. Producing interim test report

22) Which of the following is true regarding structural based testing?

Select one:

a. May include level of coverage that is stronger than decision coverage.

Page 8: Topic 5 chapter 7

b. Can be applied only at system level testing.

c. Cannot be applied by using tool support.

d. Will include only path coverage.

23) Which of the following lists factors that contribute to PROJECT risks ?

Select one:

a. Skill and staff shortages; software does not perform its intended functions; problems in

defining the right requirements

b. Skill and staff shortages; problems in defining the right requirements; contractual

issues

c. Problems in defining the right requirements; contractual issues; poor softwae quality

characteristics.

d. Poor software quality characteristics; software does not perform its intended functions

24) Which of the following metrics are useful for monitoring the test progress?

Select one:

a. Percentage of work done in test environment preparation

b. The number of features implemented in the code

c. The number of changes done to the product's requirements

d. Percentage of work done on the user's manuals

25) Which of the following provides the weakest level of structural coverage?

Select one:

a. Statement coverage

b. Multiple condition coverage

c. Decision coverage

d. Condition coverage

26) Which of the following sentences describes best what "Functional Testing" is?

Select one:

Page 9: Topic 5 chapter 7

a. A test focused on the efficient interactions among different parts of the system.

b. A test in which the test cases and test data are based on the program structure of the test

object

c. A static comparison of test and requirements specification of a test object

d. A dynamic test which is based on the specification of the test object

27) Which of the following statements about reviews are TRUE ?

I. In walkthroughs the review meeting is typically led by author.

II. Inspection is characterized by an open-ended review meeting.

III. Preparation before the review meeting is part of informal reviews.

IV. Management rarely participates in technical review meetings.

Select one:

a. I,IV

b. I,II

c. II,III

d. III,IV

28) Which of the following statements about test execution effort is true?

Select one:

a. Test case execution effort is dependent on the build quality.

b. An increasing number of testers always reduce testing time.

c. A large number of test repetitions mean less test execution effort.

d. Test case execution effort is independent of the number of test environments.

29) Which of the following statements correctly reflect the relationship between testing and

debugging

I. Debugging identifies the location of a defect in the code.

II. Testing can identify the failures caused by the defects

III. Debugging finds the failure in the system behavior

Page 10: Topic 5 chapter 7

IV. Testing phase replaces debugging

Select one:

a. I, II

b. I, III

c. III,IV

d. II , IV

30) Which of the following statements is true about the minimum number of test cases required

to reach 100% statement coverage and 100% branch coverage of the piece of the program given

below

Read A

Read B

IF(A>B) THEN

C=A-B

ELSE

C=A+B

ENDIF

IF(B=D)THEN

PRINT "equal"

ENDIF

Select one:

a. 2 test case for statement coverage , 2 test case for branch coverage.

b. 3 test case for statement coverage , 3 test case for branch coverage.

c. 2 test case for statement coverage , 3 test case for branch coverage.

d. 1 test case for statement coverage , 3 test case for branch coverage.

31) Which of the following statements is true?

Select one:

Page 11: Topic 5 chapter 7

a. Independence of testing does NOT mean that developers should not test their own

code.

b. Developers not needing testers is high level of independence.

c. Independence of testers results in efficient finding of bugs during unit testing.

d. Developers should not test their own code because they are NOT objective towards their

own code.

32) Which of the following statements represents potential benefits of the usage of testing tools?

Select one:

a. Testing tools ensure greater consistency and minimize project risks.

b. Testing tools reduce repetitive work and provide easier access to information on tests

c. Testing tools support a more precise evaluation of the objectives and reduce the training

needs for the staff

d. Testing tools allow automation of the entire testing process.

e. eleminating the largest part of process-related problems

33) Which of the following test execution outcomes are likely to increase the overall quality of

the software

I. Re-writing a code segment in which lot of bugs were found.

II. A test case fails ,defects get logged which subsequently fails.

III. Some tests are deferred because test environment is not available.

IV. A bug is found.

Select one:

a. I,II

b. I,II,III

c. I,IV

d. I,II,IV

34) Which of the following test techniques is structure-based?

Select one:

Page 12: Topic 5 chapter 7

a. Control flow testing

b. State transition testing

c. Use case testing

d. Decision table testing

35) which of the following tools can be used for the storage of test results and the generation of

test progress reports?

Select one:

a. Test management tool

b. Coverage management tool

c. Test Data preparation tool

d. Review management tool

36) Which one of the following statements about acceptance testing is NOT correct?

Select one:

a. Testing of disaster recovery and backup/restore is usually NOT part of acceptance

testing.

b. Acceptance testing is the last level of testing performed prior to system release.

c. The customers or system users are often responsible for the acceptance testing.

d. The main goal of acceptance testing is to build confidence in the system,not to find

defects.

37) Which type of testing would be MORE likely to include code coverage?

Select one:

a. Structural testing

b. Functional testing

c. NON-Functional testing

d. Exploratory testing

38) Who of the following has the best knowledge to decide what tests in a test project should be

automated?

Page 13: Topic 5 chapter 7

Select one:

a. The test leader.

b. The customer.

c. The developer manager.

d. The developer.

39) Why should you choose a test technique?

Select one:

a. Because of the time constraints that usually accompany a test project.

b. Because this way you cover the full scope of the products functionality.

c. Because choosing a test technique is a common practice in software testing.

d. Because you need to match the way you test to the content of the product under test.

40) You are testing a room upgrade system for a hotel. The system accepts three different types

of rooms (in increasing order of luxury): Platinum, Silver and Gold Luxury. ONLY a preferred

Guest Card holder is eligible for an upgrade. Below you can find the decision table defining the

upgrade eligibility:

Conditons

---------------------------------------

Preferred Guest Card holder YES YES NO NO

Room Type Silver Platinum Silver Platinum

Actions

----------------------------------------

Offer upgrade to Gold Luxury YES NO NO NO

Offer upgrade to Silver N/A YES N/A NO

What is the expected result for each of the following test cases

Customer A: Preferred Guest Card holder, holding a silver room

Customer B: Non Preferred Guest Card holder, holding a Platinum room?

Page 14: Topic 5 chapter 7

Select one:

a. Customer A: offers upgrade to Gold Luxury room, Customer B: doesn't offer any

upgrade

b. Cusotmer A: doesn't offer any upgrade, Customer B: offers upgrade to Gold Luxury room

c. Customer A: doesn't offer any upgrade, Customer B: doesn't offer any upgrade

d. Customer A: offers upgrade to Silver room, Customer B: offers upgrade to Silver room

© TalentSprint 2011