You are on page 1of 9

SE-K55-MCQ-Chapter 8

https://docs.google.com/spreadsheet/viewform?formke...

SE-K55-MCQ-Chapter 8

G4-1. Which is not the purpose of studying Software testing? understand software influences on processes; understand the stages of testing from testing, during development to acceptance testing by system customers; have been introduced to techniques that help you choose test cases that are geared to discovering program defects; understand test-first development, where you design tests before writing code and run these tests automatically;

G4-2. What is the goal of the testing process To demonstrate to the developer and the customer that the software meets its requirements to make the software free of defects To discover situations in which the behavior of the software is incorrect, unde-sirable, or does not conform to its specification Both A and C

G4-3. The ultimate goal of verification and validation processes is to establish confi-dence that the software system is fit for purpose.Which one below is not a level of required confidence? Software purpose User expectations Marketing environment Staff ability

G4-4. Which is the advantage of software inspection over testing? a single inspection session can discover many errors in a system Incomplete versions of a system can be inspected without additional costs You can look for inefficiencies, inappropriate algorithms, and poor programming style that could make the system difficult to maintain and update All above are right

G4-5. In the Cleanroom process (Prowell et al., 1999), how many percent of defects can be discovered in program inspections? 90% 60%

1 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
40% 10%

https://docs.google.com/spreadsheet/viewform?formke...

G4-6. What is practically impossible to use automated testing test systems? test systems that depend on how things look (e.g., a graphical user interface) test whether a program does not have unwanted side effects check that changes to the program have not introduced new bugs. Both A and B

G4-7. What is debugging? the process of fixing errors and problems that have been discovered by testing the process of managing changes to an evolving software system an approach to software development in which the source code of a software system is published and volunteers are invited to partici-pate in the development process None of the answers above are right

G4-8. During development, testing may be carried out at three levels of granularity. Which is not one of them? Environment testing Unit testing Component testing System testing

G6.1 The best reason for using Independent software test teams is that software developers do not need to do any testing [true]a test team will test the software more thoroughly testers do not get involved with the project until testing begins arguments between developers and testers are reduced

6.2 What is the normal order of activities in which traditional software testing is organized? a. integration testing b. system testing c. unit testing d.validation testing a, d, c, b b, d, a, c [true]c, a, d, b d, b, c, a

6.3 Which of the following strategic issues needs to be addressed in a successful software testing process?

2 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
conduct formal technical reviews prior to testing specify requirements in a quantifiable manner use independent test teams [true] both a and b

https://docs.google.com/spreadsheet/viewform?formke...

6.4 Which of the following need to be assessed during unit testing? code stability error handling execution paths [true]both b and c

6.5 Bottom-up integration testing has as it's major advantage(s) that major decision points are tested early no drivers need to be written [true]no stubs need to be written regression testing is not required

6.6 Smoke testing might best be described as bulletproofing shrink-wrapped software [true]rolling integration testing testing that hides implementation errors unit testing for small programs

6.7 The OO testing integration strategy involves testing [true]groups of classes that collaborate or communicate in some way single operations as they are added to the evolving class implementation operator programs derived from use-case scenarios none of the above

6.8 Acceptance tests are normally conducted by the developer [true] end users test team systems engineers

6.9 Which of the following is an approach to debugging?

3 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
backtracking brute force cause elimination [true]all of the above

https://docs.google.com/spreadsheet/viewform?formke...

6.10 Which of these following is true [true]Debugging is not testing, but always occurs as a consequence of testing. Performance testing is only important for real-time or embedded systems. Stress testing examines the pressures placed on the user during system use in extreme environments. Recovery testing is a system test that forces the software to fail in a variety of ways and verifies that software is able to continue execution without interruption.

6.11 Regression testing should be a normal part of integration testing because as a new module is added to the system new control logic is invoked data flow paths are established [true]both a and b none of the above

6.12 Top-down integration testing has as it's major advantage(s) that low level modules never need testing major decision points are tested early no drivers need to be written [true]both b and c

6.13 Which of the following is fail In software quality assurance work there is no difference between software verification and software validation. Class testing of object-oriented software is equivalent to unit testing for traditional software. By collecting software metrics and making use of existing software reliability models it is possible to develop meaningful guidelines for determining when software testing is finished. [true]Drivers and stubs are not needed for unit testing because the modules are tested independently of one another.

6.14 Which of the following are characteristics of testable software? observability simplicity

4 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
stability [true]all of the above

https://docs.google.com/spreadsheet/viewform?formke...

6.15 The testing technique that requires devising test cases to exercise the internal logic of a software module is called behavioral testing black-box testing grey-box testing [true]white-box testing

G4-9. What is not a part of automated test? a setup part a call part a assertion part a observability part

G4-10. Interface errors are one of the most common forms of error in complex systems Lutz, 1993). These errors fall into three classes. Which below is not one of them? Interface misuse Interface misunderstanding Timing errors Infinite loop

G4-11. Which is not true about Test-driven development? is an approach to program development in which you interleave testing and code development You dont move on to the next increment until the code that you have developed passes its test. it helps programmers clarify their ideas of what a code segment is actually supposed to do all above are wrong

G4-12. Which is not the advantage of test-driven development? Code coverage Regression testing Simplified debugging defect-free code

G4-13. In user testing, what is done in alpha testing type? users of the software work with the development team to test the software at the developers site

5 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8

https://docs.google.com/spreadsheet/viewform?formke...

a release of the software is made available to users to allow them to experiment and to raise problems that they discover with the system developers customers test a system to decide whether or not it is ready to be accepted from the system developers and deployed in the customer environment discuss with developer about the requirements

G4-14. Which is not a stage in the acceptance testing process? Define acceptance criteria Plan acceptance testing Derive acceptance tests Receive feedback

G4-15. When is alpha testing often used? when developing software products that are sold as shrink-wrapped systems is mostly used for software products that are used in many different environments When it involves a customer formally testing a system to decide whether or not it should be accepted from the system developer B and C

[g9]-1.Acceptance tests are normally conducted by the developer end users test team systems engineers

[g9]-2.The OO testing integration strategy involves testing groups of classes that collaborate or communicate in some way single operations as they are added to the evolving class implementation operator programs derived from use-case scenarios none of the above

g[9]-3.The best reason for using Independent software test teams is that software developers do not need to do any testing a test team will test the software more thoroughly testers do not get involved with the project until testing begins arguments between developers and testers are reduced

6 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
[g9]-4.Which of the following statements is TRUE ?

https://docs.google.com/spreadsheet/viewform?formke...

Testing is intended to show that a program does what it is intended to do and to discover program defects before it is put into use. When you test software, you create a program using artificial data. You check the results of the test run for errors, anomalies or information about the programs functional attributes. Can reveal the presence of errors and their absence.

[g9]-5.Which of the statements below is NOT true about test-driven development process activity ? Start by identifying the increment of functionality that is required. This should normally be implement carefully with huge amount of code lines. Write a test for this functionality and implement this as an automated test. Implement the functionality and re-run the test. Once all tests run successfully, you move on to implementing the next chunk of functionality.

[g9]-6.Which of the statements below is NOT true ? Release testing is the process of testing a particular release of a system that is intended for use inside of the development team. The primary goal of the release testing process is to convince the supplier of the system that it is good enough for use. Release testing doesnt have to show that the system delivers its specified functionality, performance and dependability, and that it does not fail during normal use. A and C

[g9]-7.To demonstrate to the developer and the customer that the software meets its requirements we use : Validation testing Defect testing. Verification. Inspections testing.

[g9]-8.To discover faults or defects in the software where its behaviour is incorrect or not in conformance with its specification w use: Validation testing Defect testing. Verification. Inspections testing.

[g9]-9.Which one concerned with analysis of the static system representation to discover

7 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
problems ? Software inspections Software testing . Inspections testing Defect testing.

https://docs.google.com/spreadsheet/viewform?formke...

[g9]-10. Which one was developed to identify system interactions can be used as a basis for system testing: Unit test. Use-case testing. Defect testing. Inspections testing

[g9]-11.Which one is unit testing Individual functions or methods within an object Object classes with several attributes and methods Composite components with defined interfaces used to access their functionality. all above

[g9]-12.What is true about component testing Software components are often composite components that are made up of several interacting objects. You access the functionality of these objects through the defined component interface. Testing composite components should therefore focus on showing that the component interface behaves according to its specification. all above

[G7] 1. Which is NOT advantages of inspections? Do not have to be concerned with interactions between errors Incomplete versions of a system can be inspected without additional costs An inspection can also consider broader quality attributes of a program Inspections can check non-functional characteristics

[G7]2. Which is NOT involved in complete test coverage of a class? Testing class security Testing all operations associated with an object Setting and interrogating all object attributes

8 of 9

06/04/2012 07:16 PM

SE-K55-MCQ-Chapter 8
Exercising the object in all possible states.

https://docs.google.com/spreadsheet/viewform?formke...

[G7]3. Which is NOT an automated test component? A setup part A call part A design part An assertion part

[G7] 4. What is the incorrect statement about Inspections ? Inspections is complementary and not opposing verification techniques. Inspections should be used during the V & V process. Inspections can check conformance with a specification but not conformance with the customers real requirements. Inspections can check non-functional characteristics such as performance, usability, etc.

[G7] 5.What is Release testing ? where the system is tested during development to discover bugs and defects. where a separate testing team test a complete version of the system after it is released to users. where users or potential users of a system test the system in their own environment. Both A , B , and C are wrong.

[G7] 6. What is the correct statement a bout Component testing ? where individual program units or object classes are tested. Component testing should focus on testing component interactions. where several individual units are integrated to create composite components. where some or all of the components in a system are integrated and the system is tested as a whole.

Gi c h tr bi Google Documents
Bo co Lm dng - iu khoan Dich vu - iu khon B sung

9 of 9

06/04/2012 07:16 PM