Showing posts with label Sample Paper 1. Show all posts
Showing posts with label Sample Paper 1. Show all posts

Friday, 19 February 2016

Sample Paper 7



1.  The process starting with the terminal modules is called -

a. Top-down integration

b. Bottom-up integration
c. None of the above

d. Module integration

2.  The inputs for developing a test plan are taken from

a.  Project plan     
b.  Business plan
c.  Support plan
d.  None of the above

3.  If an expected result is not specified then: 

a. We cannot run the test

b. It may be difficult to repeat the test
c. It may be difficult to determine if the test has passed or failed 
d. We cannot automate the user inputs

4.  Which of the following could be a reason for a failure

1)  Testing fault
2)  Software fault
3)  Design fault
4)  Environment Fault
5)  Documentation Fault

a.  2 is a valid reason; 1,3,4 & 5 are not
b.  1,2,3,4 are valid reasons; 5 is not
c.  1,2,3 are valid reasons; 4 & 5 are not
d.  All of them are valid reasons for failure

5. Test are prioritized so that:
a.  You shorten the time required for testing
b.  You do the best testing in the time available
c.  You do more effective testing
d.  You find more faults

6.  Which of the following is not a static testing technique

a. Error guessing

b. Walkthrough
c. Data flow analysis d. Inspections

7.  Which of the following statements about component testing is not true? 

a. Component testing should be performed by development

b. Component testing is also know as isolation or module testing
c. Component testing should have completion criteria planned
d. Component testing does not involve regression testing

8.  During which test activity could faults be found most cost effectively? 

a. Execution

b. Design 
c. Planning

d. Check Exit criteria completion

9.  Which, in general, is the least required skill of a good tester?

a.  Being diplomatic
b.  Able to write software
c.  Having good attention to detail
d.  Able to be relied on

10.  The purpose of requirement phase is 

a. To freeze requirements

b. To understand user needs
c. To define the scope of testing 
d. All of the above

11.  Verification is:

a.  Checking that we are building the right system
b.  Checking that we are building the system right
c.  Performed by an independent test team
d.  Making sure that it is what the user really wants

12. A regression test:

a.  Will always be automated
b.  Will help ensure unchanged areas of the software have not been affected
c.  Will help ensure changed areas of the software have not been affected
d.  Can only be run during user acceptance testing


13.  Function/Test matrix is a type of 

a. Interim Test report

b. Final test report
c. Project status report 
d. Management report

14.  Defect Management process does not include 

a. Defect prevention

b. Deliverable base-lining 
c. Management reporting 
d. None of the above

15.  What is the difference between testing software developed by contractor outside your country, versus testing software developed by a contractor within your country?


a.  Does not meet people needs
b.  Cultural difference
c.  Loss of control over reallocation of resources
d.  Relinquishments of control

16.  Software testing accounts to what percent of software development costs? 

a. 10-20

b. 40-50 
c. 70-80 
d. 5-10

17. A reliable system will be one that:


a.  Is unlikely to be completed on schedule
b.  Is unlikely to cause a failure
c.  Is likely to be fault-free
d.  Is likely to be liked by the users

18. How much testing is enough

a.  This question is impossible to answer
b.  The answer depends on the risks for your industry, contract and special requirements

c.  The answer depends on the maturity of your developers
d.  The answer should be standardized for the software development industry

19.  Which of the following is not a characteristic for Testability? 

a. Operability

b. Observability 
c. Simplicity

d. Robustness

20.  Cyclomatic Complexity method comes under which testing method.

a. White box


b. Black box 
c. Green box 
d. Yellow box

21.  Which of these can be successfully tested using Loop Testing methodology?

a. Simple Loops

b. Nested Loops
c. Concatenated Loops 
d. All of the above

22.  To test a function, the programmer has to write a ______, which calls the function and passes it test data.


a. Stub 
b. Driver 
c. Proxy
d. None of the above


23. Equivalence partitioning is:



a. A black box testing technique used only by developers
b.  A black box testing technique than can only be used during system testing

c.  A black box testing technique appropriate to all levels of testing
d.  A white box testing technique appropriate for component testing


24.  When a new testing tool is purchased, it should be used first by: 

a. A small team to establish the best way to use the tool

b. Everyone who may eventually have some use for the tool 
c. The independent testing team

d. The vendor contractor to write the initial scripts

25.  Inspections can find all the following except

a.  Variables not defined in the code
b.  Spelling and grammar faults in the documents
c.  Requirements that have been omitted from the design documents
d.  How much of the code has been covered

Sample Paper 1

 ISTQB Question Paper





1. An input field takes the year of birth between 1900 and 2004 The boundary values for testing this field are

a. 0,1900,2004,2005 
b. 1900, 2004

c. 1899,1900,2004,2005

d. 1899, 1900, 1901,2003,2004,2005

Ans: C



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

a. System testing

b. Usability testing

c. Performance testing
 d. Both b & c
Ans: D



3.  Which of the following tools would be involved in the automation of regression test?

a.  Data tester

b.  Boundary tester

c.  Capture/Playback

d.  Output comparator.

Ans: C



4. Incorrect form of Logic coverage is: 
a. Statement Coverage


b.  Pole Coverage

c.  Condition Coverage

d.  Path Coverage

Ans: B



5.  Which of the following is not a quality characteristic listed in ISO 9126 Standard? a. Functionality

b. Usability

c.Supportability 
d. Maintainability
Ans: C


6.  To test a function, the programmer has to write a _________, which calls the function to be tested and passes it test data.

a.  Stub

b.  Driver

c.  Proxy

d.  None of the above


Ans: B


7. Boundary value testing

a.  Is the same as equivalence partitioning tests

b.  Test boundary conditions on, below and above the edges of input and output equivalence classes

c.  Tests combinations of input circumstances

d.  Is used in white box testing strategy


Ans: B


8. Pick the best definition of quality





a.  Quality is job one

b.  Zero defects

c.  Conformance to requirements

d.  Work as designed

Ans: C



9. Fault Masking is

a.  Error condition hiding another error condition

b.  Creating a test case which does not reveal a fault

c.  Masking a fault by developer

d.  Masking a fault by a tester

Ans: A



10.  One Key reason why developers have difficulty testing their own work is : a. Lack of technical documentation

b. Lack of test tools on the market for developers c. Lack of training

d. Lack of Objectivity

Ans: D



11.  During the software development process, at what point can the test process start?

a.  When the code is complete.

b.  When the design is complete.

c.  When the software requirements have been approved.

d.  When the first code module is ready for unit testing

Ans: C



12. In a review meeting a moderator is a person who

a.  Takes minutes of the meeting

b.  Mediates between people

c.  Takes telephone calls

d.  Writes the documents to be reviewed

Ans: B



13. Given the Following program

IF X <>= Z

THEN Statement 2;

END




McCabe’s Cyclomatic Complexity is :

a.  2

b.  3

c.  4

d.  5

Ans: B



14. How many test cases are necessary to cover all the possible sequences of statements (paths) for the following program fragment? Assume that the two conditions are independent of each other : -

…………

if (Condition 1)

then statement 1

else statement 2

fi

if (Condition 2)







then statement 3 fi

…………

a.  2 Test Cases

b.  3 Test Cases

c.  4 Test Cases

d.  Not achievable

Ans: a



15.  Acceptance test cases are based on what? a. Requirements

b. Design c. Code

d. Decision table

Ans: A



16.  “How much testing is enough?”

a.  This question is impossible to answer

b.  This question is easy to answer

c.  The answer depends on the risk for your industry, contract and special requirements

d.  This answer depends on the maturity of your developers

Ans: C



17. A common test technique during component test is

a.  Statement and branch testing

b.  Usability testing


c.  Security testing

d.  Performance testing




18.  Statement Coverage will not check for the following. a. Missing Statements

b. Unused Branches c. Dead Code

d. Unused Statement


Ans: A


19.  Independent Verification & Validation is

a.  Done by the Developer

b.  Done by the Test Engineers

c.  Done By Management

d.  Done by an Entity Outside the Project’s sphere of influence

Ans: D


20. Code Coverage is used as a measure of what ?

a.  Defects

b.  Trends analysis

c.  Test Effectiveness

d.  Time Spent Testing





Ans: C