software testing jan 2014 (2006 scheme)

1
USN 06I581 (10 Marks) ,:,,,, (05 Marks) (06 Marks) (10 Marks) Eighth Semester B.E. Degree Examination, Dec.2013 lJan.20l4 Software Testing Time: 3 hrs. Max. Marks:100 Note: Answer FIVEfull questions, selecting atleast Tl4/O questions from euch part. PART _ A a. List all the human errors in testing. (95 Marks) $. Fxplain with a figure, errors, faults and failures in the process of programming and testing. d (J (.) L a. o C) ! ox ;n -oo I troo .= ..1 hbo Yo (Jt: -O a2 o= oO boi 26 -o ad -?o 'Ea OE aX o'' oFj 6: eE :9 >,H bo- < orJ (J= so tr> o rJ< -,,i c.i 0) o Z a b. Explain the following methods of testing : i) Walkthroughs ii) Inspections iii) Use of static code analys,is tools. (06 Marks) c. Write a'C'program to search the element in a list Or,.r*r*E binary search method and represent : i) All the basic bloClis present in the program ii) Flow graph for the above program. .. (08 Marks) figure, the differenl steps involved in the generation of tests using the category partition method. (10 Marks) b. Anapplicationtakestwo inputs x and ywheie 3 <x < 7 and5 <y<9 i) Partition the input domains using unidimensional and multidimensional partitioning Explain the different dynamic quality attributes. Explain with example, the execution history of 'C' program. ii) Give the geometric representation of equivalence classes. Write short notes on : a. Integration testing strategies b. System testing c. Regression testing d. Test case prioritization and selective execution. a. Write a procedure for generation a decision table from a cause effect graph. (10 Marks) b. Explain with examples, the predicates and Boolean expressions. (10 Marks) PART _ B .::::. Explain the followjng structural testing with the help of "C' program;yffipgnlrol flo graph z.r{Y,tst;,q, I Statement testing lg{ _*,-Jiq b. Branchtesting ,',;{ ce*s";I }L , c, Path testing \*\ rrwf.ei*' l-: i d. Pro€edure call testing. ah-r4 ct ---at'rvAGAniZ 6 a. Write a 'C' program to find the GCD of two positive integers and draw tfiE*ffi*- : i) Control flow graph of GCD ii) Data dependence graph of GCD. (10 Marks) b. Write the algorithm for reaching definition. (05 Marks) ,. c. Explain the data flow testing criteria, with suitable example. (05 Marks) 7 a. Explain the test specifications and cases, with suitable example. (10 Marks) b. Explain with a figure, the test harness with a comparison based test oracle. (06 Marks) c. Explain the capture and replay process. (04 Marks) (20 Marks) For More Question Papers Visit - www.pediawikiblog.com For More Question Papers Visit - www.pediawikiblog.com www.pediawikiblog.com

Upload: prasad-c-m

Post on 12-May-2017

217 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Software Testing Jan 2014 (2006 Scheme)

USN 06I581

(10 Marks)

,:,,,, (05 Marks)

(06 Marks)

(10 Marks)

Eighth Semester B.E. Degree Examination, Dec.2013 lJan.20l4Software Testing

Time: 3 hrs. Max. Marks:100Note: Answer FIVEfull questions, selecting

atleast Tl4/O questions from euch part.

PART _ A

a. List all the human errors in testing. (95 Marks)

$. Fxplain with a figure, errors, faults and failures in the process of programming and testing.d(J(.)

La.

oC)!

ox

;n-oo I

troo.= ..1

hboYo(Jt:-O

a2

o=

oO

boi

26-o ad

-?o'EaOE

aX

o''oFj

6:eE:9>,Hbo-< orJ

(J=sotr>o

rJ<-,,i c.i

0)

oZ

a

b. Explain the following methods of testing :

i) Walkthroughs ii) Inspections iii) Use of static code analys,is tools. (06 Marks)c. Write a'C'program to search the element in a list Or,.r*r*E binary search method and

represent :

i) All the basic bloClis present in the programii) Flow graph for the above program. .. (08 Marks)

figure, the differenl steps involved in the generation of tests using thecategory partition method. (10 Marks)

b. Anapplicationtakestwo inputs x and ywheie 3 <x < 7 and5 <y<9i) Partition the input domains using unidimensional and multidimensional partitioning

Explain the different dynamic quality attributes.

Explain with example, the execution history of 'C' program.

ii) Give the geometric representation of equivalence classes.

Write short notes on :

a. Integration testing strategiesb. System testingc. Regression testingd. Test case prioritization and selective execution.

a. Write a procedure for generation a decision table from a cause effect graph. (10 Marks)b. Explain with examples, the predicates and Boolean expressions. (10 Marks)

PART _ B .::::.

Explain the followjng structural testing with the help of "C' program;yffipgnlrol flograph z.r{Y,tst;,q,

I Statement testing lg{ _*,-Jiqb. Branchtesting ,',;{ ce*s";I }L ,c, Path testing \*\ rrwf.ei*' l-: id. Pro€edure call testing.ah-r4 ct

---at'rvAGAniZ6 a. Write a 'C' program to find the GCD of two positive integers and draw tfiE*ffi*-: i) Control flow graph of GCD ii) Data dependence graph of GCD. (10 Marks)b. Write the algorithm for reaching definition. (05 Marks)

,. c. Explain the data flow testing criteria, with suitable example. (05 Marks)

7 a. Explain the test specifications and cases, with suitable example. (10 Marks)b. Explain with a figure, the test harness with a comparison based test oracle. (06 Marks)c. Explain the capture and replay process. (04 Marks)

(20 Marks)

For More Question Papers Visit - www.pediawikiblog.com

For More Question Papers Visit - www.pediawikiblog.com

www.pediawikiblog.com