DBMS Interview Questions & Answers

Labels: , , , , , |

13. What is "transparent DBMS"?
Ans. It is one, which keeps its Physical Structure hidden from user.

14. Brief theory of Network, Hierarchical schemas and their properties
Ans. Network schema uses a graph data structure to organize records example for such a database management system is CTCG while a hierarchical schema uses a tree data structure example for such a system is IMS.

15. What is a query?
Ans. A query with respect to DBMS relates to user commands that are used to interact with a data base. The query language can be classified into data definition language and data manipulation language.

16. What do you mean by Correlated subquery?
Ans. Subqueries, or nested queries, are used to bring back a set of rows to be used by the parent query. Depending on how the subquery is written, it can be executed once for the parent query or it can be executed once for each row returned by the parent query. If the subquery is executed for each row of the parent, this is called a correlated subquery.
A correlated subquery can be easily identified if it contains any references to the parent subquery columns in its WHERE clause. Columns from the subquery cannot be referenced anywhere else in the parent query. The following example demonstrates a non-correlated subquery.
E.g. Select * From CUST Where '10/03/1990' IN (Select ODATE From ORDER Where CUST.CNUM = ORDER.CNUM)

17. What are the primitive operations common to all record management systems?
Ans. Addition, deletion and modification.

18. Name the buffer in which all the commands that are typed in are stored
Ans. ‘Edit’ Buffer

19. What are the unary operations in Relational Algebra?
Ans. PROJECTION and SELECTION.

20. Are the resulting relations of PRODUCT and JOIN operation the same?
Ans. No.
PRODUCT: Concatenation of every row in one relation with every row in another.
JOIN: Concatenation of rows from one relation and related rows from another.

21. What is RDBMS KERNEL?
Ans. Two important pieces of RDBMS architecture are the kernel, which is the software, and the data dictionary, which consists of the system-level data structures used by the kernel to manage the database
You might think of an RDBMS as an operating system (or set of subsystems), designed specifically for controlling data access; its primary functions are storing, retrieving, and securing data. An RDBMS maintains its own list of authorized users and their associated privileges; manages memory caches and paging; controls locking for concurrent resource usage; dispatches and schedules user requests; and manages space usage within its table-space structures.

22. Name the sub-systems of a RDBMS
Ans. I/O, Security, Language Processing, Process Control, Storage Management, Logging and Recovery, Distribution Control, Transaction Control, Memory Management, Lock Management

23. Which part of the RDBMS takes care of the data dictionary? How
Ans. Data dictionary is a set of tables and database objects that is stored in a special area of the database and maintained exclusively by the kernel.

24. What is the job of the information stored in data-dictionary?
Ans. The information in the data dictionary validates the existence of the objects, provides access to them, and maps the actual physical storage location.

25. How do you communicate with an RDBMS?
Ans. You communicate with an RDBMS using Structured Query Language (SQL)

0 comments: