Sunteți pe pagina 1din 8

To test a function, the programmer has to write a _________, which calls the

function to be tested and passes it test data.

o Stub
o Driver
o Proxy
o None of the above

Which of the following is a requirement of an effective software environment?

I. Ease of use
II. Capacity for incremental implementation
III. Capability of evolving with the needs of a project
IV. Inclusion of advanced tools

o I, II &III
o I, II &IV
o II, III &IV
o I, III &IV

We split testing into distinct stages primarily because:

o Each test stage has a different purpose.


o It is easier to manage testing in stages.
o We can run different tests in different environments.
o The more stages we have, the better the testing.

From the below given choices, which one is the Confidence testing

o Sanity testing
o System testing
o Smoke testing
o Regression testing

Pick the best definition of quality

o Quality is job one


o Zero defects
o Conformance to requirements
o Work as designed
2. 6. Question
which of the following statements is not true

o performance testing can be done during unit testing as well as during the testing of whole
system
o The acceptance test does not necessarily include a regression test
o Verification activities should not involve testers (reviews, inspections etc)
o Test environments should be as similar to production environments as possible

Which of the following is true of the V-model?

o It states that modules are tested against user requirements


o It only models the testing phase
o It specifies the test techniques to be used
o It includes the verification of designs

Which of the following should NOT normally be an objective for a test?

o To find faults in the software


o To assess whether the software is ready for release
o To demonstrate that the software doesn't work
o To prove that the software is correct

The difference between re-testing and regression testing is:

o re-testing is running a test again; regression testing looks for unexpected side effects
o re-testing looks for unexpected side effects; regression testing is repeating those tests
o re-testing is done after faults are fixed; regression testing is done earlier
o re-testing uses different environments, regression testing uses the same environment

Which of the following functions is typically supported by a software quality


information system?

I. Record keeping
II. System design
III. Evaluation scheduling
IV. Error reporting

o I, II &III
o II, III &IV
o I, III &IV
o I, II & IV
The oracle assumption:

o is that there is some existing system against which test output may be checked
o is that the tester can routinely identify the correct outcome of a test
o is that the tester knows everything about the software under test
o is that the tests are reviewed by experienced testers

A test harness is a

o A high level document describing the principles, approach and major objectives of the
organization regarding testing
o A distance set of test activities collected into a manageable phase of a project
o A test environment comprised of stubs and drives needed to conduct a test
o A set of several test cases for a component or system under test

One Key reason why developers have difficulty testing their own work is :

o Lack of technical documentation


o Lack of test tools on the market for developers
o Lack of training
o Lack of objectivity

What is the main reason for testing software before releasing it?

o to show that system will work after release


o to decide when the software is of sufficient quality to release
o to find as many bugs as possible before release
o to give information for a risk based decision about release

In which order should tests be run?

o the most important tests first


o the most difficult tests first(to allow maximum time for fixing)
o the easiest tests first(to give initial confidence)
o the order they are thought of

Error guessing is best used:

o As the first approach to deriving test cases


o After more formal techniques have been applied
o By inexperienced testers
o After the system has gone live
o Only by end users

How much testing is enough?

o This question is impossible to answer


o This question is easy to answer
o The answer depends on the risk for your industry, contract and special requirements
o This answer depends on the maturity of your developers

Independent Verification & Validation is

o Done by the Developer


o Done by the Test Engineers
o Done By Management
o Done by an Entity Outside the Project's sphere of influence .

In practice, which Life Cycle model may have more, fewer or different levels of development and
testing, depending on the project and the software product.
For example, there may be component integration testing after component testing, and system
integration testing after system testing.

o Waterfall Model
o V-Model
o Spiral Model
o RAD Model

When should we stop testing?

o 1 - all the planned tests have been run


o 2 - time has run out
o all faults have been fixed correctly
o it depends on the risks for the system being tested
o both 1 and 2

A test design technique is

o a process for selecting test cases


o a process for determining expected outputs
o a way to measure the quality of software
o a way to measure in a test plan what has to be done

Which is not a test Oracle

o The existing system (For a bench mark)


o The code
o Individual's knowledge
o User manual

Which is not a testing principle

o Early testing
o Defect clustering
o Pesticide paradox
o Exhaustive testing

Which is not the fundamental test process

o Planning and control


o Test closure activities
o Analysis and design
o None

Which of the following requirements is testable?

o The system shall be user friendly


o The safety-critical parts of the system shall contain 0 faults
o The response time shall be less than one second for the specified design load
o The system shall be built to be portable

Poor software characteristics are

o Only Project risks


o Only Product risks
o Project risks and Product risks
o None

When should we run regression tests? Choose TWO Answers.


o every week
o after the software has changed
o as often as possible
o when the environment has changed
o when the project manager says

Correct

3. 28. Question

The cost of fixing a fault:

o Is not important
o Increases as we move the product towards live use
o Decreases as we move the product towards live use
o Is more expensive if found in requirements than functional design
o Can never be determined

When what is visible to end-users is a deviation from the specific or expected behavior, this is
called:

o an error
o a fault
o a failure
o a defect
o a mistake

Expected results are:

o only important in system testing


o only used in component testing
o never specified in advance
o most useful when specified in advance
o derived from the code

What statement about expected outcomes is FALSE:

o expected outcomes are defined by the softwares behaviour


o expected outcomes are derived from a specification, not from the code
o expected outcomes include outputs to a screen and changes to files and databases
o expected outcomes should be predicted before a test is run
o expected outcomes may include timing constraints such as response times

Test cases are designed during:

o test recording
o test planning
o test configuration
o test specification

Enough testing has been performed when:

o time runs out


o the required level of confidence has been achieved
o no more faults are found
o the users won't find any serious faults

Consider the following statements about early test design:

i. early test design can prevent fault multiplication


ii. faults found during early test design are more expensive to fix
iii. early test design can find faults
iv. early test design can cause changes to the requirements
v. early test design takes more effort

o i, iii & iv are true. Ii & v are false


o iii is true, I, ii, iv & v are false
o iii & iv are true. i, ii & v are false
o i, iii, iv & v are true, ii us false
o i & iii are true, ii, iv & v are false

Incorrect

4. 35. Question

Non-functional system testing includes:

o testing to see where the system does not function properly


o testing quality attributes of the system including performance and usability
o testing a system feature using only the software required for that action
o testing a system feature using only the software required for that function
o testing for functions that should not exist

The most important thing about early test design is that it:

o makes test preparation easier


o means inspections are not required
o can prevent fault multiplication
o will find all faults

Which one of the following are non-functional testing methods?

o System testing
o Usability testing
o Performance testing
o Both b & c

Which one of the following describes the major benefit of verification early in the life cycle?

o It allows the identification of changes in user requirements


o It facilitates timely set up of the test environment
o It reduces defect multiplication
o It allows testers to become involved early in the project

A failure is:

o found in the software; the result of an error


o deviation from specified behaviour
o an incorrect step, process or data definition in a computer program
o a human action that produces an incorrect result

Which of these activities provides the biggest potential cost saving from the use of CAST?

o Test management
o Test design
o Test execution
o Test planning

S-ar putea să vă placă și