Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Pre-exam2 Discussion Exam 2 Thurs, Nov 15 th 150 pts, 2 crib sheets allowed 841f07exam2preview23nov13 1.

Similar presentations


Presentation on theme: "1 Pre-exam2 Discussion Exam 2 Thurs, Nov 15 th 150 pts, 2 crib sheets allowed 841f07exam2preview23nov13 1."— Presentation transcript:

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

2 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 the number of tests.

3 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 4 Van der Meulen 841f07exam2preview23nov13 4 Comparison of formulae’s for E(Θ) for Frankl’s and Van der meulen article?

5 5 841f07Meulen16oct18 5 How does this match Frankl’s (1)

6 6

7 7 Van der Meulen 841f07exam2preview23nov13 7

8 Hamlet u Does Hamlet create the alternatives before or after seeing the input? 8 841f07exam2preview23nov13

9 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 10 Hamlet 841f07exam2preview23nov13 10 How does the diversity effect E(Θ) calculation in Hamlet paper?

11 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 12 Hamlet 841f07exam2preview23nov13 12 In (page 187 first paragraph), he says that if three randomly chosen terms agree, the probability if all of them are failures is less than 10^-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 13 Hamlet 841f07exam2preview23nov13 13 Equation (2) on page 193. I'm unsure why he uses the value N/2n

14 14 Hamlet 841f07exam2preview23nov13 14 Hamlet says that a typical practical reliability is 10^-4 but what is the typical confidence on this reliability?

15 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 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 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?

18 18 841f07exam2preview23nov13 18

19 Parnas’s article 30 pts u Reliability u Terms u Concepts u Evaluation 19 841f07exam2preview23nov13

20 Van Meulen’s article 40 pts u Terms u Approach/experiment u Diversity u Diagrams u Results/conclusions 20 841f07exam2preview23nov13

21 Hamlet’s article 50 pts u Terms u Approach u ADT, axioms u Diversity u Conclusions/results u Evaluation 21 841f07exam2preview23nov13

22 22 Bertolino’s article 30 pts 841f07exam2preview23nov13 22 u Terms u Practical, Effective u Discussion u Coonclusions u Diagrams

23 Questions u What questions, if we discussed them in class would help you prepare for the exam? u Send by 5pm Sunday, Nov 11th 23 841f07exam2preview23nov13

24 24 Unresolved Issues 841f07exam2preview23nov13 24

25 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 of Figure 1 treated as a BTRS will evaluate to the same value.

26 26 841f07exam2preview2 3nov13 26


Download ppt "1 Pre-exam2 Discussion Exam 2 Thurs, Nov 15 th 150 pts, 2 crib sheets allowed 841f07exam2preview23nov13 1."

Similar presentations


Ads by Google