Pre-exam2 Discussion

Preview:

DESCRIPTION

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

Citation preview

1

Pre-exam2 Discussion

Exam 2 Thurs, Nov 15th

150 pts, 2 crib sheets allowed

841f07exam2preview23nov13 1

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.

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(Θ)?

4

Van der Meulen

841f07exam2preview23nov13 4

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

5841f07Meulen16oct18 5

How does this match Frankl’s (1)

6

7

Van der Meulen

841f07exam2preview23nov13 7

Hamlet

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

8841f07exam2preview23nov13

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?

10

Hamlet

841f07exam2preview23nov13 10

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

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

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.

13

Hamlet

841f07exam2preview23nov13 13

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

14

Hamlet

841f07exam2preview23nov13 14

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

15

All

841f07exam2preview23nov13 15

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

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?

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?

18841f07exam2preview23nov13 18

Parnas’s article 30 pts

Reliability Terms Concepts Evaluation

19841f07exam2preview23nov13

Van Meulen’s article 40 pts

Terms Approach/experiment Diversity Diagrams Results/conclusions

20841f07exam2preview23nov13

Hamlet’s article 50 pts

Terms Approach ADT, axioms Diversity Conclusions/results Evaluation

21841f07exam2preview23nov13

22

Bertolino’s article 30 pts

841f07exam2preview23nov13 22

Terms Practical, Effective Discussion Coonclusions Diagrams

Questions

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

Send by 5pm Sunday, Nov 11th

23841f07exam2preview23nov13

24

Unresolved Issues

841f07exam2preview23nov13 24

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.

26841f07exam2preview23nov13

26