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

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Static code analysis typically identifies all but one of the following problems.Which is it?

  1. Unreachable Code
  2. Undeclared Variables
  3. Faults in requirements
  4. Too few comments
Question 2 Multiple Choice (Single Answer)

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

  1. 15,19,25
  2. 17,18,20,21
  3. 18,20,22
  4. 16,26
Question 3 Multiple Choice (Single Answer)

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

  1. 0,9,19,49,50,74,75,99,100
  2. 10,50,75,100,250,1000
  3. 0,1,10,11,50,51,75,76,100,101
  4. 25,26,35,36,45,46,55,56
Question 4 Multiple Choice (Single Answer)

Which of the following encourages objective testing?

  1. Unit Testing
  2. System Testing
  3. Independant Testing
  4. Destructive Testing
Question 5 Multiple Choice (Single Answer)

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

  1. V,W or Y
  2. W, X or Y
  3. V,Y or Z
  4. W,X or Z
Question 6 Multiple Choice (Single Answer)

Which of the following are advanced scripting techniques for test execution tools?

  1. Data-driven and keyword-driven
  2. Data-driven and capture driven
  3. Capture driven and keyhole-driven
  4. Playback-driven and keyord-driven
Question 7 Multiple Choice (Single Answer)

Which of the following is an activity in the fundamental test process?

  1. Test Planning and Design
  2. Test Analysis and Control
  3. Test Planning and Control
  4. Test execution and reoprting
Question 8 Multiple Choice (Single Answer)

What is the main benefit of designing tests early in the life cycle?

  1. It is cheaper than designing tests during the test phases
  2. It helps prevent defects from being introduced into code
  3. Tests designed early are more effective than tests designed later
  4. It saves time during the testing phases when testers are busy
Question 9 Multiple Choice (Single Answer)

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?

  1. White Box Techniques
  2. Black Box Techniques
  3. Glass Box Techniques
  4. Experience Based Techniques
Question 10 Multiple Choice (Single Answer)

Reviews,static analysis and dynamic testing have the same objective

  1. Identifying defects
  2. Fixing defects
  3. Both A & B
  4. None of the above
Question 11 Multiple Choice (Single Answer)

Poor software characteristics are

  1. Only Project Risks
  2. Only Product Risks
  3. Project Risks and Product Risks
  4. Project Risks or Product Risks
Question 12 Multiple Choice (Single Answer)

Which of these is not a testing objective?

  1. Finding Defcts
  2. Gaining confidence about the level of Quality
  3. Preventing Defects
  4. Debugging Defects
Question 13 Multiple Choice (Single Answer)

Bug Life cycle order?

  1. Open,Assigned,Fixed,Closed
  2. Open,Fixed,Assigned,Closed
  3. Assigned,Open,Fixed,Closed
  4. Assigned,Open,Closed,Fixed
Question 14 Multiple Choice (Single Answer)

Which is not a Black Box Technique?

  1. Equivalence partition
  2. Decision tables
  3. Transaction Diagrams
  4. Decision Testing
Question 15 True/False

With thorough testing it is possible to remove all defects from a program prior to delivery to the customer.

  1. True
  2. False
Question 16 Multiple Choice (Single Answer)

Database Testing includes?

  1. Data validity testing.
  2. Data Integritity testing
  3. Performance related to data base.
  4. Testing of Procedure,triggers and functions.
  5. 1 & 2
  6. All the above
Question 17 Multiple Choice (Single Answer)

Database Testing Tasks includes?

  1. Database Initialization
  2. Functional Testing
  3. Data Verification
  4. All the above
Question 18 Multiple Choice (Single Answer)

What are the tools used for Database Testing?

  1. DataGenerator and TestDataGenerator
  2. Load Runner and QTP
  3. Winrunner
  4. Quality Center
Question 19 Multiple Choice (Single Answer)

What is used to check data loading during database testing?

  1. Query Tracker
  2. Query Loader
  3. Query Analyser
  4. Query Modifier
Question 20 True/False

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.

  1. True
  2. False