Download presentation
Presentation is loading. Please wait.
Published byTracy Harris Modified over 9 years ago
1
A Few Review Questions Dan Fleck Fall 2007
2
System Test Case Enter invalid username in the input box Able to enter text Enter invalid password in the input box Able to enter text Click login buttonError message displayed saying “invalid username or password” What is wrong with this system test case? (formatting is wrong, but what else is?)
3
System Test Case Run the system and at any point press “cancel” System cancels the action What is wrong with this system test case? (formatting is wrong, but what else is?)
4
Many project managers fail. What are some of the main reasons projects fail and how can you lower your risk of failure?
5
Problems? Users shall have an ATM Card The game system shall provide a way to regenerate players and provide a scoring mechanism The game system shall be fun to play The game system may be accessible for the disabled
6
What is the difference between design and analysis phase? Analysis describes WHAT the system must do, design describes HOW the system will do it. Analysis describes the problem domain, design describes the solution domain
7
What is a design principle? Good things you should try to do when creating a system. (Principles that have historically lead to successful projects.)
8
Explain the interface segregation principle Don’t make large multipurpose interfaces – instead use several small focused ones. Don’t make clients depend on interfaces they don’t use. Class should depend on each other through the smallest possible interface. Why???
9
What am I violating? How should I fix it? class Cat { public int numberOfFeet = 4; } class Owner { public Cat cat; } class Veterinarian { public void amputate(Owner o) { o.cat.numberOfFeet = 2; }
10
What am I violating? How should I fix it? Law of Demeter and poor encapsulation class Cat { public int numberOfFeet = 4; } class Veterinarian { public void amputate(Cat c) { c.NumberOfFeet(2); }
11
If I have a serial database that only allows one user to query it at a time, what pattern could I use? Singleton - limits access to a shared resource by ensuring only one object is ever created (in this case, the database connection)
12
Which gang is least-scary? Republicans Crips Democrats Gang of Four Bloods Why?
13
Define coupling (and I don’t mean the terrible show from 2000) Define cohesion Cast of Coupling (2000)
14
You and Dracula are both afraid if stakeholders get upset. Why?
15
Define critical path and tell me when I should pack for the cruise ActivityDurationPredecessor 1. Requirements collection5 2. Screen Design61 3. Report Design61 4. Database Design22,3 5. User Documentation64 6. Programming54 7. Testing36 8. Installation25, 7 9. Celebration Cruise308
16
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, SF, SS) best?
17
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?
18
Define verification Define validation Define IV&V If my software requirements say the background should be blue, but I like red better, will I fail in verification, validation or both?
19
What is dynamic verification? What is an example of static verification?
20
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 Using the older techniques, when do you stop testing?
21
My goal was to get 30 questions for the review by the time Heros starts at 9pm. It is now 8:30pm and I have 18 slides. I started at 7pm. What are some metrics I should calculate now to understand my Heros Watching Potential (HWP) ? If I decide to watch it now, and finish the slides in the morning, how much earlier do I need to wake up tomorrow?
22
What are some advantages and disadvantages of metrics based on lines of code?
23
In the software fault, error and failure model, is a software fault still present if it does not generate a failure? Yes… the failure may appear later or once new code is added, but the fault is there regardless.
24
Define white box and black box testing
25
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!!!!
26
Explain mutation testing How do I kill a mutant? 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
27
I hope you enjoyed the class. I did!
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.