Friday, July 4, 2008

SOFTWARE TESTING QUESTIONS

1 : With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.

a. True
b. False

ANSWER : b

2 : Which of the following are characteristics of testable software ?

a. observability
b. simplicity
c. stability
d. all of the above

ANSWER : d

3 : The testing technique that requires devising test cases to demonstrate that each program function is operational is called

a. black-box testing
b. glass-box testing
c. grey-box testing
d. white-box testing

ANSWER : a

4 : The testing technique that requires devising test cases to exercise the internal logic of a software module is called

a. behavioral testing
b. black-box testing
c. grey-box testing
d. white-box testing

ANSWER : d

5 : What types of errors are missed by black-box testing and can be uncovered by white-box testing ?

a. behavioral errors
b. logic errors
c. performance errors
d. typographical errors
e. both b and d

ANSWER : e


6 : Program flow graphs are identical to program flowcharts.

a. True
b. False

ANSWER : b

7 : The cyclomatic complexity metric provides the designer with information regarding the number of

a. cycles in the program
b. errors in the program
c. independent logic paths in the program
d. statements in the program

ANSWER : c

8 : The cyclomatic complexity of a program can be computed directly from a PDL representation of an algorithm without drawing a program flow graph.

a. True
b. False

ANSWER : a

9 : Condition testing is a control structure testing technique where the criteria used to design test cases is that they

a. rely on basis path testing
b. exercise the logical conditions in a program module
c. select test paths based on the locations and uses of variables
d. focus on testing the validity of loop constructs

ANSWER : b

10 : Data flow testing is a control structure testing technique where the criteria used to design test cases is that they

a. rely on basis path testing
b. exercise the logical conditions in a program module
c. select test paths based on the locations and uses of variables
d. focus on testing the validity of loop constructs

ANSWER : c

11 : Loop testing is a control structure testing technique where the criteria used to design test cases is that they

a. rely basis path testing
b. exercise the logical conditions in a program module
c. select test paths based on the locations and uses of variables
d. focus on testing the validity of loop constructs

ANSWER : d

12 : Black-box testing attempts to find errors in which of the following categories

a. incorrect or missing functions
b. interface errors
c. performance errors
d. all of the above
e. none of the above

ANSWER : d

13 : Graph-based testing methods can only be used for object-oriented systems

a. True
b. False

ANSWER : b

14 : Equivalence testing divides the input domain into classes of data from which test cases can be derived to reduce the total number of test cases that must be developed.

a. True
b. False

ANSWER : a

15 : Boundary value analysis can only be used to do white-box testing.

a. True
b. False

ANSWER : b


16 : Comparison testing is typically done to test two competing products as part of customer market analysis prior to product release.

a. True
b. False

ANSWER : b

17 : Orthogonal array testing enables the test designer to maximize the coverage of the test cases devised for relatively small input domains.

a. True
b. False

ANSWER : a

18 : Test case design “in the small” for OO software is driven by the algorithmic detail of
the individual operations.

a. True
b. False

ANSWER : a

19 : Encapsulation of attributes and operations inside objects makes it easy to obtain object state information during testing.

a. True
b. False

ANSWER : b


20 : Use-cases can provide useful input into the design of black-box and state-based tests of OO software.

a. True
b. False

ANSWER : a


21 : Fault-based testing is best reserved for

a. conventional software testing
b. operations and classes that are critical or suspect
c. use-case validation
d. white-box testing of operator algorithms

ANSWER : b

22 : Testing OO class operations is made more difficult by

a. encapsulation
b. inheritance
c. polymorphism
d. both b and c

ANSWER : d

23 : Scenario-based testing

a. concentrates on actor and software interaction
b. misses errors in specifications
c. misses errors in subsystem interactions
d. both a and b

ANSWER : a

24 : Deep structure testing is not designed to

a. examine object behaviors
b. exercise communication mechanisms
c. exercise object dependencies
d. exercise structure observable by the user

ANSWER : d

25 : Random order tests are conducted to exercise different class instance life histories.

a. True
b. False

ANSWER : a

26 : Which of these techniques is not useful for partition testing at the class level

a. attribute-based partitioning
b. category-based partitioning
c. equivalence class partitioning
d. state-based partitioning

ANSWER : c

27 : Multiple class testing is too complex to be tested using random test cases.

a. True
b. False

ANSWER : b

28 : Tests derived from behavioral class models should be based on the

a. data flowdiagram
b. object-relation diagram
c. state diagram
d. use-case diagram

ANSWER : c


29 : Client/server architectures cannot be properly tested because network load is highly variable.

a. True
b. False

ANSWER : b

30 : Real-time applications add a new and potentially difficult element to the testing mix

a. performance
b. reliability
c. security
d. time

ANSWER : d

1. What is the meaning of COSO ?

a. Common Sponsoring Organizations
b. Committee Of Sponsoring Organizations
c. Committee Of Standard Organizations
d. Common Standard Organization
e. None of the above

ANSWER : b

2. Which one is not key term used in internal control and security

a. Threat
b. Risk Control
c. Vulnerability
d. Exposure
e. None

ANSWER : c

3. Management is not responsible for an organization internal control system

a. True
b. False

ANSWER : b

4. Who is ultimate responsible for the internal control system

a. CEO
b.
Project Manager
c. Technical Manager
d. Developer
e. Tester

ANSWER : a

5. Who will provide important oversight to the internal control system

a. Board of Directors
b. Audit Committee
c. Accounting Officers
d. Financial Officers
e. both a & b
f. both c & d

ANSWER : e

6. The sole purpose of the Risk Control is to avoid risk

a. True
b. False

ANSWER : b

7. Management controls involves limiting access to computer resources

a. True
b. False

ANSWER : a

8. Software developed by contractors who are not part of the organization is referred to as in sourcing organizations

a. True
b. False

ANSWER : b

9. Which one is not tester responsibilities ?

a. Assure the process for contracting software is adequate
b. Review the adequacy of the contractors test plan
c. Perform acceptance testing on the software
d. Assure the ongoing operation and maintenance of the contracted software
e. None of the above

ANSWER : a

10. The software tester may or may not be involved in the actual acceptance testing

a. True
b. False

ANSWER : a

11. In the client systems, testing should focus on performance and compatibility

a. True
b. False

ANSWER : b

12. A database access applications typically consists of following elements except

a. User Interface code
b. Business login code
c. Data-access service code
d. Data Driven code

ANSWER : d

13. Wireless technologies represent a rapidly emerging area of growth and importance for providing ever-present access to the internet and email.

a. True
b. False

ANSWER : a

14. Acceptance testing involves procedures for identifying acceptance criteria for interim life cycle products and for accepting them.

a. True
b. False

ANSWER : a

15. Acceptance testing is designed whether or not the software is “fit” for the user to use. The concept of “fit” is important in both design and testing. There are four components of “fit”.

a. True
b. False

ANSWER : a

16. Acceptance testing occurs only at the end point of the development process; it should be an ongoing activity that test both interim and final products.

a. True
b. False

ANSWER : b

17. Acceptance requirement that a system must meet can be divided into ________ categories.

a. Two
b. Three
c. Four
d. Five

ANSWER : c

18. _______ categories of testing techniques can be used in acceptance testing.

a. Two
b. Three
c. Four
d. Five

ANSWER : a

19. _____________ define the objectives of the acceptance activities and a plan for meeting them.

a. Project Manager
b. IT Manager
c. Acceptance Manager
d. ICO

ANSWER : c

20. Software Acceptance testing is the last opportunity for the user to examine the software for functional, interface, performance, and quality features prior to the final acceptance review.

a. True
b. False

ANSWER : a

1. _________ categories of data will be collected during testing.

a. Two
b. Three
c. Four
d. Five

ANSWER : c

2. ______________ is normally a reverse of the test development process. In other words, it begins at the very lowest level and the results are rolled up to the highest levels.

a. Conducting testing
b. Resuming testing
c. Acceptance testing
d. None of the above

ANSWER : a

3. Which one is called as most common test report ?

a. Test Summary Report
b. Check List
c. Spreadsheet
d. Cause-Effect Graphing


ANSWER : c

4. Verification that the process deliverables/ phases are meeting the user’s true needs is called as

a. Inspections
b. Reviews
c. Acceptance testing
d. Acceptance criteria

ANSWER : b

5. _____________ the reporting process is very important because software tools are being upgraded, and manual supporting activities sometimes break down.

a. Analyzing
b. Monitoring
c. Both A & B
d. None of the above

ANSWER : b

6. _______________ report provides information related to a specific project component.

a. Individual Project Status Report
b. Major Project Status Report
c. Both A & B
d. None of the Above


ANSWER : b

7. ________________ report provides general information about all projects.

a. Individual Project Status Report
b. Major Project Status Report
c. Both A & B
d. None of the Above

ANSWER : d

8. The Project Status Report contains the project activities information and give a history of the project over a 16-month period.

a. True
b. False

ANSWER : a

9. The test reports are for use by the testers, the test manager, and the software development team.

a. True
b. False

ANSWER : a

10. _________ is a risk-oriented activity in which resources should be expended to minimize the major risks.

a. Testing
b. Development
c. Quality Control
d. Quality Assurance

ANSWER : a

12. _______________ measure the characteristics of the documentation and code.

a. Process metric
b. Product metric
c. Software quality metric
d. Software metric

ANSWER : b


No comments:

How to Get files from the directory - One more method

 import os import openpyxl # Specify the target folder folder_path = "C:/Your/Target/Folder"  # Replace with the actual path # Cre...