Quiz 7

advertisement
Quiz 7
Multiple Choice
1. In computer programming, unit testing is
a. A procedure to validate that individual units of source code are working properly
application logic
b. A procedure used to validate that function point units of code are working
properly
c. A procedure used to validate that data base units of code are working properly
d. A procedure used to validate executable units such as make files.
2. In procedural programming a unit may be an
a. Individual program
b. Function
c. sProcedure
d. Method
e. All of the above
f. None of the above
3. In object-oriented programming, the smallest unit is a.
a. Program
b. Function
c. Procedure
d. Method
e. All of the above
f. None of the above
4. Items which help to test methods and classes are
a. Mock objects
b. Test harnesses
c. Unit testing tools
d. None of the above
e. All of the above
5. Unit tests are typically done by
a. Developers
b. End users
c. Customer Testers
d. Managers
6. White box tests
a. Has knowledge needed to test all possible pathways in the actual code
b. Has no knowledge of the actual code
c. Assure that specific inputs produce specific outputs without looking at the internal
code
d. All of the above
e. None of the above
7.
System Interface testing
a. presentation logic
b. assures that data that is shared with other systems is transferred correctly
c. ?????
d. all of the above
e. None of the above
8.
White box testing is needed
a. Always
b. On code that is not understood by the users
c. On critical code and complex methods
d. On code that is written in a low level language
9. The types of System Testing include
a. Requirements testing
b. Usability testing
c. Security testing
d. Performance testing
e. All of the above
f. None of the above
10. Integration testing is a phase of software testing in which
a. Individual programs are testing
b. Individual classes are tested
c. Individual software modules are combined and tested as a group
d. None of the above
11. Integration testing
a. Follows system testing and precedes deployment testing
b. Follows functional use case testing and precedes unit testing
c. Follows unit testing and precedes system testing
d. none of the above
12. Elements of a deployment diagram include _____.
a. Nodes, artifacts, and locations of middleware components
b. Client PCs, servers, and locations of application logic modules
c. Servers, external networks, and data access logic
d. Primarily servers
e. Nodes, artifacts, and communication paths
13. The types of integration testing include
a. User Interface Testing
b. Use Case Testing
c. Interaction Testing
d. System Interface Testing
e. All of the above
f. None of the above
14. A black box test is one in which you
a. Test a code that has a decision block in it
b. Test if specific inputs yield the correct output
c. Test the internal working of the code
d. Test if all the outputs are correct
15. Requirements testing is
a. Testing each window
b. Testing each component
c. Testing the navigation of the navigation matrix
d. Testing the accuracy of the documentation
e. Testing the peak times to assure the system will operate well under stress
conditions
f. Testing back up procedures
g. Testing done by a human computer interface specialist
h. Testing the needs of the use cases using their functional test developed when
writing the use case
i. Done by traversing thru the use case assuring all navigation and functionality exist
16. Use case testing
a. Testing each window
b. Testing each component
c. Testing the navigation of the navigation matrix
d. Testing the accuracy of the documentation
e. Testing the peak times to assure the system will operate well under stress
conditions
f. Testing back up procedures
g. Testing done by a human computer interface specialist
h. Testing the needs of the use cases using their functional test developed when
writing the use case
i. Done by traversing thru the use case assuring all navigation and functionality exist
17. Usability testing is
a. Testing each window
b. Testing each component
c. Testing the navigation of the navigation matrix
d. Testing the accuracy of the documentation
e. Testing the peak times to assure the system will operate well under stress
conditions
f. Testing back up procedures
g. Testing done by a human computer interface specialist
h. Testing the needs of the use cases using their functional test developed when
writing the use case
i. Done by traversing thru the use case assuring all navigation and functionality exist
18. Security testing
a. Tests each window
b. Tests each component
c. Tests the navigation of the navigation matrix
d. Tests the accuracy of the documentation
e. Tests the peak times to assure the system will operate well under stress conditions
f. Tests back up procedures
g. Tests done by a human computer interface specialist
h. Tests the needs of the use cases using their functional test developed when writing
the use case
i. Test the traversal thru the use case assuring all navigation and functionality exist
19. Security testing
a. Tests each window
b. Tests each component
c. Tests the navigation of the navigation matrix
d. Tests the accuracy of the documentation
e. Tests the peak times to assure the system will operate well under stress conditions
f. Tests recovery procedures
g. Tests done by a human computer interface specialist
h. Tests the needs of the use cases using their functional test developed when writing
the use case
i. Test the traversal thru the use case assuring all navigation and functionality exist
20. Performance testing is
a. Testing each window
b. Testing each component
c. Testing the navigation of the navigation matrix
d. Testing the accuracy of the documentation
e. Testing the peak times to assure the system will operate well under stress
conditions
f. Testing back up procedures
g. Testing done by a human computer interface specialist
h. Testing the needs of the use cases using their functional test developed when
writing the use case
i. Done by traversing thru the use case assuring all navigation and functionality exist
j. Testing to assure that no unauthorized accesses are possible
21. Documentation testing is
a. Testing each window
b. Testing each component
c. Testing the navigation of the navigation matrix
d. Testing the accuracy of the documentation
e. Testing the peak times to assure the system will operate well under stress
conditions
f. Testing back up procedures
g. Testing done by a human computer interface specialist
h. Testing the needs of the use cases using their functional test developed when
writing the use case
i. Done by traversing thru the use case assuring all navigation and functionality exist
j. Testing to assure that no unauthorized accesses are possible
22. User Interface Application Testing includes
a. Testing each window
b. Testing the accuracy of the documentation
c. Testing the peak times to assure the system will operate well under stress
conditions
d. Testing back up procedures
e. Testing done by a human computer interface specialist
f. Testing the needs of the use cases using their functional test developed when
writing the use case
g. Done by traversing thru the use case assuring all navigation and functionality exist
h. Testing to assure that no unauthorized accesses are possible
23. Security testing includes
a. Testing each window
b. Testing each component
c. Testing the navigation of the navigation matrix
d. Testing the accuracy of the documentation
e. Testing the peak times to assure the system will operate well under stress
conditions
f. Testing done by a human computer interface specialist
g. Testing the needs of the use cases using their functional test developed when
writing the use case
h. Done by traversing thru the use case assuring all navigation and functionality exist
i. Testing to assure that no unauthorized accesses are possible
24. In order to prepare computer systems for global communication, _____ are designed to
handle multiple languages simultaneously.
a. concurrent multilingual systems
b. discrete multilingual systems
c. functional multilingual systems
d. cyrillic multilingual systems
e. non-English systems
25. The purpose of the testing workflow is
a. Verify the result from implementation by testing each build
b. Providing test cases that specify what to test
c. Execute test components to automate tests
d. All of the above
e. None of the above
26. Initial test planning and prototype testing is done in which phase
a. Inception Phase
b. Elaboration phase
c. Construction phase
d. Transition phase
27. Significant testing in each build is done in which phase
a. Inception Phase
b. Elaboration phase
c. Construction phase
d. Transition phase
28. Testing architectural baselines is done in which phase
a. Inception Phase
b. Elaboration phase
c. Construction phase
d. Transition phase
29. Which of the following are test model artifacts
a. Test cases
b. Test procedures
c. Test components
d. Test plan
e. None of the above
f. All of the above
30. The role responsible for integrity of the test model is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
31. The role responsible for planning test with testing goals and schedules is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
32. The role responsible for selecting and defining test cases and procedures is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
33. The role responsible for development of test components that automate some test
procedures is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
34. The role responsible for performing integration tests is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
35. The role responsible for performing system tests is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
36. The role responsible for evaluating test results is the
a. Test designer
b. Component engineer
c. Integration tester
d. System tester
True False
1. A unit is the smallest testable part of an application.
2. In Black Box Unit testing, error handling is ALWAYS considered
3. One test procedure covers one and only one test case
4. One test case may require several test procedures
5. One test case may require several test procedures
6. N-Unit testing is done with a Java environment.
Download