Pre-exam2 Discussion

26
1 Pre-exam2 Discussion Exam 2 Thurs, Nov 15 th 150 pts, 2 crib sheets allowed 841f07exam2preview23nov 13 1

description

Pre-exam2 Discussion. Exam 2 Thurs, Nov 15 th 150 pts, 2 crib sheets allowed. Parnas - question. - PowerPoint PPT Presentation

Transcript of Pre-exam2 Discussion

Page 1: Pre-exam2 Discussion

1

Pre-exam2 Discussion

Exam 2 Thurs, Nov 15th

150 pts, 2 crib sheets allowed

841f07exam2preview23nov13 1

Page 2: Pre-exam2 Discussion

2

Parnas - question

841f07exam2preview23nov13 2

In Parnas' Paper, the table 1- you said in the class we should be able to estimate "h“ but in the article "h" is given, so how we can estimate "h"?do you mean that you will give us "the failure probability", and we can calculate "h" based on "failure probability"? or there is another way to estimate "h"?

Yes, you could calculate h based on likelihood, but I think I said that I would not ask you to calculate anything based on thenumber of tests.

Page 3: Pre-exam2 Discussion

3

Van der Meulen

841f07exam2preview23nov13 3

What is the effectiveness of diversity in calculating failure probability E(Θ) and how does it influence in the calculation of E(Θ)?

Page 4: Pre-exam2 Discussion

4

Van der Meulen

841f07exam2preview23nov13 4

Comparison of formulae’s for E(Θ) for Frankl’s and Van der meulen article?

Page 5: Pre-exam2 Discussion

5841f07Meulen16oct18 5

How does this match Frankl’s (1)

Page 6: Pre-exam2 Discussion

6

Page 7: Pre-exam2 Discussion

7

Van der Meulen

841f07exam2preview23nov13 7

Page 8: Pre-exam2 Discussion

Hamlet

Does Hamlet create the alternatives before or after seeing the input?

8841f07exam2preview23nov13

Page 9: Pre-exam2 Discussion

9

Hamlet

841f07exam2preview23nov13 9

Can the term rewriting system be developed for any sorts of ADT specifications such as ADT specification of program in OCL, Alloy or some other formal languages?

Page 10: Pre-exam2 Discussion

10

Hamlet

841f07exam2preview23nov13 10

How does the diversity effect E(Θ) calculation in Hamlet paper?

Page 11: Pre-exam2 Discussion

11

Hamlet

841f07exam2preview23nov13 11

Hamlet (page 187second paragraph) explains that a conventional oracle is not needed to obtain the 10^-4 bound in the testing phase (first phase). He explains that in this phase he uses a BTRS to generate a test set of terms.  If the starting point of these terms were 0, main should evaluate EVERY test term to 0

Page 12: Pre-exam2 Discussion

12

Hamlet

841f07exam2preview23nov13 12

In (page 187 first paragraph), he says that if three randomly chosenterms agree, the probability if all of them are failures is less than10^-12.  Why is he always considering that all the bad case is when all of them are failures?   i.e.  page 198 second paragraph: "The effectiveness of TRM on TCASis measured as the probability that these ten randomly generated formulas will ALL take the same incorrect value.

Page 13: Pre-exam2 Discussion

13

Hamlet

841f07exam2preview23nov13 13

Equation (2) on page 193.  I'm unsure why he uses the value N/2n

Page 14: Pre-exam2 Discussion

14

Hamlet

841f07exam2preview23nov13 14

Hamlet says that a typical practical reliability is 10^-4 but what isthe typical confidence on this reliability?

Page 15: Pre-exam2 Discussion

15

All

841f07exam2preview23nov13 15

Comparison between reliability estimate E(Θ) in Hamlet paper, Frankl and Van der meulen and what is the difference between them?

Page 16: Pre-exam2 Discussion

16

Bertolino’s

841f07exam2preview23nov13 16

Does the bertolino’s dream of achieving 100% testing can be achieved using Van der meulen approach of generating equivalent terms for a program without using test oracles. Briefly explain?

Page 17: Pre-exam2 Discussion

17

Bertolino’s Diagram

841f07exam2preview23nov13 17

Where does all the methods of reliability estimates by Frankl, Hamlet and Van der meulen lie in the Bertolino’s diagram and under what goal/challenge do they fall under?

Page 18: Pre-exam2 Discussion

18841f07exam2preview23nov13 18

Page 19: Pre-exam2 Discussion

Parnas’s article 30 pts

Reliability Terms Concepts Evaluation

19841f07exam2preview23nov13

Page 20: Pre-exam2 Discussion

Van Meulen’s article 40 pts

Terms Approach/experiment Diversity Diagrams Results/conclusions

20841f07exam2preview23nov13

Page 21: Pre-exam2 Discussion

Hamlet’s article 50 pts

Terms Approach ADT, axioms Diversity Conclusions/results Evaluation

21841f07exam2preview23nov13

Page 22: Pre-exam2 Discussion

22

Bertolino’s article 30 pts

841f07exam2preview23nov13 22

Terms Practical, Effective Discussion Coonclusions Diagrams

Page 23: Pre-exam2 Discussion

Questions

What questions, if we discussed them in class would help you prepare for the exam?

Send by 5pm Sunday, Nov 11th

23841f07exam2preview23nov13

Page 24: Pre-exam2 Discussion

24

Unresolved Issues

841f07exam2preview23nov13 24

Page 25: Pre-exam2 Discussion

25

Hamlet

841f07exam2preview23nov13 25

The original ADT program is released in a modified form that evaluates a number of equivalent terms for each original term in the program. Thus in execution, every term is checked. In the example of Figure 2, if main correctly implements the stack, every equivalent term generated by the equations ofFigure 1 treated as a BTRS will evaluate to the same value.

Page 26: Pre-exam2 Discussion

26841f07exam2preview23nov13

26