CSQA Testing objective questions

Primary tabs

I have consolidated some of the testing objective questions.
I have marked my answers below the question. Requrie your inputs on
same and let me know if they are correct.
The one which I have left blank, for which I don't have any clue.

1. Testing of the system to demonstrate system compliance with
user requirements is
a. Black box testing
b. System testing
c. Independent testing
d. Acceptance Testing
ANS: d

2. A complete validation of a program can be obtained only by
testing for every element of the domain.
a. True b. False
ANS: a

3. For locating errors which span modules it is more effective
to do?
a. Reviews
b. Testing

ANS: b

4. To divide & conquer while testing requires
a. Stubs
b. Manual simulation
c. Instrumentation
d. Coverage metrics
e. All of the above
f. None of the above

ANS: b

5. It is advisable to have a separate department for reviews &
testing.
a. Yes b. No

ANS: a

6. Which is not an objective of testing
a. Determine whether system meets specifications
b. Determine whether system meets needs
c. Provide insight into SDP
d. Aid in appraisal of developing TMs

ANS: I DONT KNOW

7. ___________ Testing focuses on evaluating the interaction
among units.
a. Unit testing
b. Integration testing
c. Functional testing
d. System testing
e. Acceptance testing

ANS: b

8. A step-by-step procedure on the action in testing &
verifying of results is called a
a. Test case
b. Test script
c. Test condition
d. Testing tool
e. Test log

ANS: a

9. "Testing will exercise 90% of the code". Is it a
a. Vision
b. Standard
c. Policy
d. Goal

ANS: I DONT KNOW

10. The activity which includes confirming understanding,
brainstorming and testing ideas is a
a. Code walkthrough
b. Inspection
c. Review
d. Structured walkthrough

ANS: I DONT KNOW

11. Which of the following are true
a. Testing precedes debugging
b. Debugging is only done along with testing
c. Testing is not required if a program is debugged
d. Debugging precedes testing

ANS: a

12. ___________ testing is done without executing the code.

a)       Regression

b)       Unit

c)       System

d)       Static

 

13.  Which of the folowing is not a white box testing technique

a)       Statement coverage

b)       Equivalence partitioning

c)       decision/condition coverage

d)       multiple condition coverage

Also if there is some material available on testing do let me know.


Regards,

Parag Gadhia...

 

admin's picture

2. It is false, note the use of the word "Every"

6.... d

9.... Standard. It sounds like it 

 10.....d  need to check though

 

Others look correct. Maybe someone else here can double check 

paraggadhia's picture

Thanks for the response.

Can you pls. clarify why 2 is false. I am still not much convince.

For 6, I would appreciate if you cna provide some information on SDP and TMS. What this terms means.

Regards,

Parag Gadhia

 

admin's picture

I dont think you can test every element , you can test most elements of a given domain

 

SDP - I assumed as Software dev. process.

 TMs - I assumed Test matrix but I know test objective will not aid in appraisal of something.

 

Also dont expect questions in exam where the abbreviations are not spelled out. 

paraggadhia's picture

Following are my additional Testing Questions..

Proivde your inputs on same.

My answers are in bold.

14.  ____________ is the way of Incremental testing which begins testing from top of the module hierarchy and works down to the bottom using interim stubs to simulate lower interfacing modules or programs.

a)       Bottom-up

b)       Top-down

c)       Lateral

d)       Block-by-block

 

15. To reduce risk associated with introducing changes to an application, ________ testing should be conducted during all stages of testing after a functional improvement or repair has been made.

a)       Unit

b)       System

c)       Regression

d)       Thread

 

16. Branch testing determines if all logical paths through the program, which may involve repeated execution of various segments, have been executed at least once.

True

False

 17. Data gathering while testing helps ______________A) data analysis B) to determine test cases C) for conducting testsD) input for testing  18. Which test plan should be completed at requirements stage: A) system testingB) integration testing C) acceptance testingD)   < I DON't KNOW> 19.  Testing done to ascertain that current changes have not affected the previous is called asA) regression testingB) acceptance testingC) system testing

 20. In which of the following testing user is involved A) Unit testingB) System testingC) Acceptance testingD) Integrity testing  22. Testing of the system to demonstrate system compliance with user requirements is A.      Black box testingB.       System testingC.       Independent testingD.      Acceptance Testing 

Regards,

Parag Gadhia

admin's picture

18. would be acceptance testing. 

 

Others look correct 

paraggadhia's picture

HI,

 

Intergration Test Plan and System Test Plan needs to be compelted before Acceptance test plan.

SO I think it should be either Integration Test Plan or System Test Plan.

Can you pls. provide the explanation for your answer.

Regards,

Parag Gadhia 

 

 

 

csqa's picture

Assuming you are following the V model  of software development requirements would map to acceptance testing,

 

System or tech requirements  >>> System testing

Design >> integration and system testing

Coding >>> Unit testing.

 if you are using waterfall model then it would be after integration and system testing. The question does not say what methodology is being used for development.

 

Sanjna Razdan's picture

12........ans is d, coz in dynamic testing we execute the code

not in static

9........... i think answer should be...... a.