A Few Review Questions Dan Fleck Fall 2009

  • Slides: 23
Download presentation
A Few Review Questions Dan Fleck Fall 2009

A Few Review Questions Dan Fleck Fall 2009

n NOTE: These slides have NOT been updated for Spring 2010 – use the

n NOTE: These slides have NOT been updated for Spring 2010 – use the HTML based review instead of these. These are not complete! n Although some are funny.

System Test Case Enter invalid username in the input box Able to enter text

System Test Case Enter invalid username in the input box Able to enter text Enter invalid password in Able to enter text the input box Click login button Error message displayed saying “invalid username or password” What is wrong with this system test case? (formatting is wrong, but what else is? )

System Test Case Run the system and at System cancels the any point press

System Test Case Run the system and at System cancels the any point press “cancel” action What is wrong with this system test case? (formatting is wrong, but what else is? )

Many project managers fail. What are some of the main reasons projects fail and

Many project managers fail. What are some of the main reasons projects fail and how can you lower your risk of failure?

Problems with these requirements? Users shall have an ATM Card n The game system

Problems with these requirements? Users shall have an ATM Card n The game system shall provide a way to regenerate players and provide a scoring mechanism n The game system shall be fun to play n The game system may be accessible for the disabled n

What is the difference between design and analysis phase? Analysis describes WHAT the system

What is the difference between design and analysis phase? Analysis describes WHAT the system must do, design describes HOW the system will do it. n Analysis describes the problem domain, design describes the solution domain n

Define coupling (and I don’t mean the terrible show from 2000) n Define cohesion

Define coupling (and I don’t mean the terrible show from 2000) n Define cohesion n Cast of Coupling (2000)

n You and Dracula are both afraid if stakeholders get upset. Why?

n You and Dracula are both afraid if stakeholders get upset. Why?

Define critical path and tell me when I should pack for the cruise Activity

Define critical path and tell me when I should pack for the cruise Activity Duration Predecessor 1. Requirements collection 5 2. Screen Design 6 1 3. Report Design 6 1 4. Database Design 2 2, 3 5. User Documentation 6 4 6. Programming 5 4 7. Testing 3 6 8. Installation 2 5, 7 9. Celebration Cruise 30 8

n Carl and Bob are racing, but are friends and want to finish in

n Carl and Bob are racing, but are friends and want to finish in a tie (at the same time), what is the schedule dependency that describes this (FS, FF, SS) best?

Why is it necessary to quantify your plans? What is expectation management? Why is

Why is it necessary to quantify your plans? What is expectation management? Why is it important? Give an example from your life where it was not done and the results?

Define verification n Define validation n Define IV&V n If my software requirements say

Define verification n Define validation n Define IV&V n If my software requirements say the background should be blue, but I like red better, will I fail in verification, validation or both? n

n What is dynamic verification? n What is an example of static verification? n

n What is dynamic verification? n What is an example of static verification? n Which is Find. Bugs?

What is a stopping rule for testing? Or what do I mean by that?

What is a stopping rule for testing? Or what do I mean by that? A stopping rule is a rule to determine when you can “stop” testing. Older testing techniques provided no quantifiable stopping rule. Newer techniques using coverage criteria do provide a stopping rule n Using the older techniques, when do you stop testing? n

My goal was to get 30 questions for the review by the time Heros

My goal was to get 30 questions for the review by the time Heros starts at 9 pm. It is now 8: 30 pm and I have 18 slides. I started at 7 pm. n What are some metrics I should calculate now to understand my Heros Watching Potential (HWP) ? n If I decide to watch it now, and finish the slides in the morning, how much earlier do I need to wake up tomorrow? n

What are some advantages and disadvantages of metrics based on lines of code?

What are some advantages and disadvantages of metrics based on lines of code?

n In the software fault, error and failure model, is a software fault still

n In the software fault, error and failure model, is a software fault still present if it does not generate a failure? n Yes… the failure may appear later or once new code is added, but the fault is there regardless.

n Define white box and black box testing

n Define white box and black box testing

n Don’t forget… just knowing the answers to these questions is NOT enough. Look

n Don’t forget… just knowing the answers to these questions is NOT enough. Look at the review guide online for the full list of things to know!!!!

Explain the steps in mutation testing n How do I kill a mutant? n

Explain the steps in mutation testing n How do I kill a mutant? n 1. 2. 3. 4. Create a set of test cases that all pass Induce small changes to the program: mutants Find tests that cause the mutant programs to fail: killing mutants Failure is defined as different output from the original program A mutant is a variation of my software created by changing lines of code. By introducing changes to the source code, I can detect if the testing done is thorough or not. I kill a mutant by writing a test case that fails for the mutant code, but not for the original code

Diagrams n Still know how to draw these diagrams? I would. Use case diagram

Diagrams n Still know how to draw these diagrams? I would. Use case diagram n Class diagram n Sequence diagram n Level 0 Context diagram n Activity diagram (with/without swimlanes) n

I hope you enjoyed the class. I did!

I hope you enjoyed the class. I did!