Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied DATABASE INTERVIEW QUESTIONS
Showing 131 - 140 of 158 Previous | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Next
DATABASE INTERVIEW QUESTIONS
 
131Is Fast Database Retrieval Rate A Testable Requirement?
Date Posted: 07/03/2012

Ans: No. I do not think so. Since the requirement seems to be ambiguous. The SRS should clearly mention the performance or transaction requirements i.e. It should say like 'A DB retrieval rate of 5 micro sec'.

 
 
Date Posted: 07/03/2012

Ans: The SQL JOIN statement is used to combine the data contained in two relational database tables based upon a common attribute. Basically there are two types of Joins 1. Inner Join An inner join is a join that selects only those ...  

 
 
133Is A "A Fast Database Retrieval Rate" A Testable Requirement?
Date Posted: 07/03/2012

Ans: No. I do not think so. Since the requirement seems to be ambiguous. The SRS should clearly mention the performance or transaction requirements i.e. It should say like 'A DB retrieval rate of 5 micro sec'.

 
 
134How Can We Write Test Cases From Requirements? Do The Requirements Represent Exact Functionality Of AUT?
Date Posted: 07/03/2012

Ans: Yes, Requirements should represent exact functionality of AUT.

First of all you have to analyze the requirement very thoroughly in terms of functionality. Then you have to think about suitable test case design techniques (Black Box design techniques like Equivalence Partitioning, Boundary Value Analysis, Error Guessing and Cause Effect Graphing) for writing the test case.

By these concepts you should write a test case which should have the capability of finding the absence of defects.

 
 
135Write A Query To Find The Second Largest Value In A Given Column Of A Table?
Date Posted: 07/03/2012

Ans: To find the second largest salary amount from employee table

select max (salary) from employees
where pin < (select max (salary) from employees)

 
 
136What Steps Does A Tester Take In Testing Stored Procedures?
Date Posted: 07/03/2012

Ans: The tester needs to go through the requirement of the need of the stored procedure.
Checks whether the indexes, joins, deletions, update are correct in comparison with tables mentioned in stored procedure. Ensure that the stored procedure is following the standards.
Check the calling procedure name, calling parameters and expected responses for different sets of input parameters.
Run the procedure with database client programs like TOAD or Mysql or Query Analyzer etc.
Rerun the available procedures by sending different parameters, and check the results against expected values.
Concluding to the process, automate the tests with Win Runner.

 
 
137Explain How To Test Database Procedures And Triggers.
Date Posted: 07/03/2012

Ans: The following is the process to test triggers and procedures:
1. Open the database project in Solution Explorer.
2. Click on Database Schema View from View menu
3. Open the project folder from Schema View menu, which contains the objects that are needed to be tested.
4. Right click on the object that is to be tested, and Create Unit Tests is to be clicked.
A dialog box by name Create Unit Tests appears. It displays all the folders and objects in the database project and the check box for the selected object is checked.
5. Select the Create a new Language Test Project
6. Choose to either insert the unit test in an existing test class or create a new test class and click on OK
7. For the project to be configured, Project configuration dialog box appears. Using this dialog box, the test project settings can be configured.
This requires the information like database connection for executing test results, data generation plan that is to be run before unit tests are run is to be specified.
8. Configure the project and click on OK

 
 
Date Posted: 07/03/2012

Ans:         1. Perform the following while involving in data load testing:         2. Know about the data tables, columns and associated constraints, data types  &nb...  

 
 
139What Are The Different Stages Involved In Database Testing
Date Posted: 07/03/2012

Ans:
The stages of database testing are:
2. Verifying the data in the database
3. Verifying the constraints (primary and foreign keys)
4. Verifying the performance of the procedure
5. Verifying the transactions (begin, commit, rollback)
6. Verifying the triggers by executing them

 
 
140What Are Ways Of Writing Test Cases For Database Testing?
Date Posted: 07/03/2012

Ans: The following are the ways to write the test cases for database testing:
1. Understand the functional requirement of the application
2. Find out the tables used, joins used between tables, cursors used, triggers used, stored procedures used, input parameters used and output parameters used.
3. Write the test case with multiple input values for checking all paths.
Writing test cases for back end testing, one should use white box testing as opposed to functional testing.

 
Showing 131 - 140 of 158 Previous | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Next
Shadow Bottom
 
 
© 2005 -