Swe2 Mcq Tf Formid=3

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

SWE2_True/False

1. When testing object-oriented software it is important to test each class operation separately as part of the unit testing
process (False)
2. Graph-based testing methods can only be used for object-oriented systems (False)
3. Black-box testing technique requires devising test cases to exercise the internal logic of a software module (F)
4. Since WebnApps evolve continuously, the testing process is an on-going activity, conducted by the Web support staff
using regression tests (T)
5. Change management is concerned with the policies, processes and tools for managing changing software systems. (F)
6. Configuration management: keeping track of requests for changes, working out the costs and impact of changes, and
deciding the changes (F)
7. Version management: Keeping track of the multiple versions of system components. (T)
8. Release management: The process of assembling program components, data and libraries, then compiling these to create
an executable system (F).
9. Merging: The creation of a new codeline from a version in an existing codeline (F)
10. System Building: The creation of an executable system version by compiling and linking the appropriate versions of the
components and libraries making up the system (T)
11. Change management can be thought of as the process of managing codelines and baselines (F).
12. Codeline: A sequence of baselines representing different versions of a system. (F)
13. Baseline: A collection of component versions that make up a system (T)
14. A system release is a version of a software system that is distributed to customers (T)
15. Validation means "Are we building the product right”.(F)
16. Verification means "Are we building the right product”.(F)
17. Software Testing is Concerned with analysis of the static system representation to discover problems (static verification)
(F)
18. Software Inspections is Concerned with exercising and observing product behavior (dynamic verification) (F)
19. Inspections and testing are complementary and not opposing verification techniques. Both should be used during the V &
V process. (T)
20. Inspections can check conformance with a specification but not conformance with the customer’s real requirements. (T)
21. Inspections can check non-functional characteristics such as performance, usability, etc. (F)
22. Testing does not require execution of a system so may be used before implementation. They may be applied to any
representation of the system (requirements, design, configuration data, test data, etc.). (F)
23. During testing, errors cannot mask (hide) other errors. (F)
24. Inspection can check compliance with standards, portability and maintainability. (T)
25. Regression testing is an approach to program development in which you inter-leave testing and code development. (F)
26. Test-driven development (TDD) is testing the system to check that changes have not ‘broken’ previously working code.
(F)
27. Release testing is usually a White-box testing process where tests are only derived from the system specification. (F)
28. In software quality assurance work there is no difference between software verification and software validation (F)
29. Software validation is achieved through a series of tests performed by the user once the software is deployed in his or her
work environment. (F)
30. Configuration reviews are not needed if regression testing has been rigorously applied during software integration. (F)
31. Security testing attempts to verify that protection mechanisms built into a system protect it from improper penetration.
(T)
32. Debugging is not testing, but always occurs as a consequence of testing. (T)
33. With thorough testing it is possible to remove all defects from a program prior to delivery to the customer (F)
34. Program flow graphs are identical to program flowcharts. (F)
35. 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. (T)
36. Boundary value analysis can only be used to do white-box testing. (F)
37. Validation of object-oriented software focuses on user visible actions and outputs from the system. (T)
SWE2_MCQ
1. The OO testing integration strategy involves testing 10. Black-box testing attempts to find errors in which of the
a. groups of classes that collaborate or following categories
communicate in some way a. incorrect or missing functions
b. single operations as they are added to the evolving b. interface errors
class implementation c. performance errors
c. operator programs derived from use-case scenarios d. All of the above
d. none of the above 11. Which of the following is not one of the dimensions of
2. Acceptance tests are normally conducted by the quality used to assess a WebApp?
a. developer a. Content
b. end users b. Maintainability
c. test team c. Navigability
d. systems engineers d. Usability
3. The testing technique that requires devising test cases to 12. Which of these are valid software configuration items?
demonstrate that each program function is operational is a. case tools
called b. documentation
a. black-box testing c. executable programs
b. glass-box testing d. test data
c. grey-box testing e. a, b, c, and d
d. white-box testing 13. Which of the following is not considered one of the four
4. Which of the following is not a WebApp interface important elements that should exist when a
mechanism? configuration management system is developed?
a. Browser a. component elements
b. Cookies b. human elements
c. Forms c. process elements
d. Links d. validation elements
5. Testing OO class operations is made more difficult by 14. Which of the following tasks is not part of software
a. encapsulation configuration management?
b. inheritance a. change control
c. polymorphism b. reporting
d. both b and c c. statistical quality control
6. Which of the following need to be assessed during unit d. version control
testing? 15. When software configuration management is a formal
a. algorithmic performance activity the software configuration audit is conducted by
b. error handling the
c. execution paths a. development team
d. both b and c b. quality assurance group
7. Regression testing should be a normal part of integration c. senior managers
testing because as a new module is added to the system d. testing specialists
new 16. The primary purpose of configuration status reporting is
a. control logic is invoked to
b. data flow paths are established a. allow revision of project schedule and cost estimates
c. drivers require testing by project managers
d. both a and b b. evaluate the performance of software developers and
8. The testing technique that requires devising test cases to organizations
exercise the internal logic of a software module is called c. make sure that change information is
a. behavioral testing communicated to all affected parties
b. black-box testing d. none of the above
c. grey-box testing 17. WebApp configuration objects can be managed in much
d. white-box testing the same way as conventional software configuration
9. The cyclomatic complexity metric provides the designer objects except for:
with information regarding the number of a. content items
a. cycles in the program b. functional items
b. errors in the program c. graphic items
c. independent logic paths in the program d. user items
d. statements in the program 18. As the WebApp architecture is constructed which types
of testing are used as integration tests?
a. Component testing d. focus on testing the validity of loop constructs
b. Content testing 27. Data flow testing is a control structure testing technique
c. Navigation testing where the criteria used to design test cases is that they
d. Usability testing a. rely on basis path testing
e. both a and c b. exercise the logical conditions in a program module
19. Which test case design technique(s) are appropriate for c. select test paths based on the locations and uses of
WebApp component-level testing? variables
a. Boundary value analysis d. focus on testing the validity of loop constructs
b. Equivalence partitioning 28. Loop testing is a control structure testing technique
c. Path testing where the criteria used to design test cases is that they
d. All of the above a. rely basis path testing
20. Which of following is not one of the elements that need b. exercise the logical conditions in a program module
to be considered when constructing WebApp server-side c. select test paths based on the locations and uses of
configuration tests? variables
a. Browser compatibility d. focus on testing the validity of loop constructs
b. Database software integration 29. Test derived from behavioral class models should be
c. Operating system compatibility based on the
d. System security measures a. data flow diagram
21. Which of the following is not a testable WebApp b. object-relation diagram
security element? c. state transition diagram
a. Authentication d. use-case diagram
b. Encryption 30. Real-time applications add a new and potentially
c. Firewalls difficult element to the testing mix
d. Penetration a. performance
22. WebApp performance tests are designed to b. reliability
a. asses WebApp usability c. security
b. evaluate page loading times d. time
c. simulate real-world loading situations 31. The best reason for using independent software test
d. test network connectivity teams is that
23. Fault-based testing is best reserved for a. software developers do not need to do any testing
a) conventional software testing b. strangers will test the software mercilessly
b) operations and classes that are critical or suspect c. testers do not get involved with the project until
c) use-case validation testing begins
d) white-box testing of operator algorithms d. the conflicts of interest between developers and
24. Scenario-based testing testers is reduced
a) concentrates on actor and software interaction 32. Regression testing should be a normal part of integration
b) misses errors in specifications testing because as a new module is added to the system
c) misses errors in subsystem interactions new
d) both a and b a. control logic is invoked
25. What types of errors are missed by black-box testing and b. data flow paths are established
can be uncovered by white-box testing? c. drivers require testing
a. behavioral errors d. all of the above
b. logic errors e. both a and b
c. performance errors 33. The OO testing integration strategy involves testing
d. typographical errors a. groups of classes that collaborate or
e. both b and d communicate in some way
26. Condition testing is a control structure testing technique b. single operations as they are added to the evolving
where the criteria used to design test cases is that they class implementation
a. rely on basis path testing c. operator programs derived from use-case scenarios
b. exercise the logical conditions in a program d. none of the above
module
c. select test paths based on the locations and uses of
variables

You might also like