Software Testing Fundamentals
Comprehensive quiz covering database testing, test design techniques (black/white box, boundary value, equivalence partitioning), test processes, bug lifecycle, and testing tools
Questions
Static code analysis typically identifies all but one of the following problems.Which is it?
- Unreachable Code
- Undeclared Variables
- Faults in requirements
- Too few comments
if the temperature below 18 degrees,the heating is switched on.When the temperature reaches 21 deg,the heating is switched off.What is the minimum set of test input values to cover all valid equivalence partitions??
- 15,19,25
- 17,18,20,21
- 18,20,22
- 16,26
Assume postal rates for'light letters' are: $0.25 up to 10 grams $0.35 up to 50 grams $0.45 up to 75 grams $0.55 up to 100 grams
- 0,9,19,49,50,74,75,99,100
- 10,50,75,100,250,1000
- 0,1,10,11,50,51,75,76,100,101
- 25,26,35,36,45,46,55,56
Which of the following encourages objective testing?
- Unit Testing
- System Testing
- Independant Testing
- Destructive Testing
Which of the following could be used to assess the coverage achieved for structure-based(white-box) test techniques? V -Decision Outcomes Exercised W -Partitions Exercised X -Boundaries Exercised Y -Conditions or multiple conditions exercised Z -Statements Exercised
- V,W or Y
- W, X or Y
- V,Y or Z
- W,X or Z
Which of the following are advanced scripting techniques for test execution tools?
- Data-driven and keyword-driven
- Data-driven and capture driven
- Capture driven and keyhole-driven
- Playback-driven and keyord-driven
Which of the following is an activity in the fundamental test process?
- Test Planning and Design
- Test Analysis and Control
- Test Planning and Control
- Test execution and reoprting
What is the main benefit of designing tests early in the life cycle?
- It is cheaper than designing tests during the test phases
- It helps prevent defects from being introduced into code
- Tests designed early are more effective than tests designed later
- It saves time during the testing phases when testers are busy
Which type of test design techniques does the following statement best describe a procedure to derive test cases based on the specification of a component?
- White Box Techniques
- Black Box Techniques
- Glass Box Techniques
- Experience Based Techniques
Reviews,static analysis and dynamic testing have the same objective
- Identifying defects
- Fixing defects
- Both A & B
- None of the above
Poor software characteristics are
- Only Project Risks
- Only Product Risks
- Project Risks and Product Risks
- Project Risks or Product Risks
Which of these is not a testing objective?
- Finding Defcts
- Gaining confidence about the level of Quality
- Preventing Defects
- Debugging Defects
Bug Life cycle order?
- Open,Assigned,Fixed,Closed
- Open,Fixed,Assigned,Closed
- Assigned,Open,Fixed,Closed
- Assigned,Open,Closed,Fixed
Which is not a Black Box Technique?
- Equivalence partition
- Decision tables
- Transaction Diagrams
- Decision Testing
With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.
- True
- False
Database Testing includes?
- Data validity testing.
- Data Integritity testing
- Performance related to data base.
- Testing of Procedure,triggers and functions.
- 1 & 2
- All the above
Database Testing Tasks includes?
- Database Initialization
- Functional Testing
- Data Verification
- All the above
What are the tools used for Database Testing?
- DataGenerator and TestDataGenerator
- Load Runner and QTP
- Winrunner
- Quality Center
What is used to check data loading during database testing?
- Query Tracker
- Query Loader
- Query Analyser
- Query Modifier
Data driven test is used to test the multiple data in a data-table, using this we can easy to replace the parameters in the same time from different locations.
- True
- False