<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7250889977090476387</id><updated>2011-11-27T16:13:09.973-08:00</updated><title type='text'>RDBMS Questions And Answers</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://rdbmsqa.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://rdbmsqa.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>hiranmoybarik</name><uri>http://www.blogger.com/profile/01200167253941256519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7250889977090476387.post-3236279482002106039</id><published>2008-08-05T21:27:00.000-07:00</published><updated>2008-08-05T21:29:14.584-07:00</updated><title type='text'>RDBMS Questions And Answers</title><content type='html'>24. What is Relationship?&lt;br /&gt;It is an association among two or more entities.&lt;br /&gt;25.What is Relationship set?&lt;br /&gt;The collection (or set) of similar relationships.&lt;br /&gt;26. What is Relationship type?&lt;br /&gt;Relationship type defines a set of associations or a relationship set among a&lt;br /&gt;given set of entity types.&lt;br /&gt;27. What is degree of Relationship type?&lt;br /&gt;It is the number of entity type participating.&lt;br /&gt;25. What is DDL (Data Definition Language)?&lt;br /&gt;A data base schema is specifies by a set of definitions expressed by a special&lt;br /&gt;language called DDL.&lt;br /&gt;26. What is VDL (View Definition Language)?&lt;br /&gt;It specifies user views and their mappings to the conceptual schema.&lt;br /&gt;27. What is SDL (Storage Definition Language)?&lt;br /&gt;This language is to specify the internal schema. This language may specify the&lt;br /&gt;mapping between two schemas.&lt;br /&gt;28.What is Data Storage - Definition Language?&lt;br /&gt;The storage structures and access methods used by database system are&lt;br /&gt;specified by a set of definition in a special type of DDL called data storage-definition language.&lt;br /&gt;29. What is DML (Data Manipulation Language)?&lt;br /&gt;This language that enable user to access or manipulate data as organised by&lt;br /&gt;appropriate data model.&lt;br /&gt;Procedural DML or Low level: DML requires a user to specify what data are&lt;br /&gt;needed and how to get those data.&lt;br /&gt;Non-Procedural DML or High level: DML requires a user to specify what data&lt;br /&gt;are needed without specifying how to get those data.&lt;br /&gt;31. What is DML Compiler?&lt;br /&gt;It translates DML statements in a query language into low-level instruction&lt;br /&gt;that the query evaluation engine can understand.&lt;br /&gt;32. What is Query evaluation engine?&lt;br /&gt;It executes low-level instruction generated by compiler.&lt;br /&gt;33. What is DDL Interpreter?&lt;br /&gt;It interprets DDL statements and record them in tables containing metadata.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250889977090476387-3236279482002106039?l=rdbmsqa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rdbmsqa.blogspot.com/feeds/3236279482002106039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250889977090476387&amp;postID=3236279482002106039' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/3236279482002106039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/3236279482002106039'/><link rel='alternate' type='text/html' href='http://rdbmsqa.blogspot.com/2008/08/rdbms-questions-and-answers_4115.html' title='RDBMS Questions And Answers'/><author><name>hiranmoybarik</name><uri>http://www.blogger.com/profile/01200167253941256519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7250889977090476387.post-4501325874668763536</id><published>2008-08-05T21:25:00.000-07:00</published><updated>2008-08-05T21:27:23.791-07:00</updated><title type='text'>RDBMS Questions And Answers</title><content type='html'>13. What is Data Model?&lt;br /&gt;A collection of conceptual tools for describing data, data relationships data&lt;br /&gt;semantics and constraints.&lt;br /&gt;14.What is E-R model?&lt;br /&gt;This data model is based on real world that consists of basic objects called&lt;br /&gt;entities and of relationship among these objects. Entities are described in a database by a set of attributes.&lt;br /&gt;15.What is Object Oriented model?&lt;br /&gt;This model is based on collection of objects. An object contains values stored&lt;br /&gt;in instance variables with in the&lt;br /&gt;object. An object also contains bodies of code&lt;br /&gt;that operate on the object. These bodies of code are called methods. Objects that contain same types of values and the same methods are grouped together into classes.&lt;br /&gt;16.What is an Entity?&lt;br /&gt;It is a 'thing' in the real world with an independent existence.&lt;br /&gt;17. what is an Entity type?&lt;br /&gt;It is a collection (set) of entities that have same attributes.&lt;br /&gt;18. What is an Entity set?&lt;br /&gt;It is a collection of all entities of particular entity type in the database.&lt;br /&gt;19. What is an Extension of entity type?&lt;br /&gt;The collections of entities of a particular entity type are grouped together into&lt;br /&gt;an entity set.&lt;br /&gt;20.What is Weak Entity set?&lt;br /&gt;An entity set may not have sufficient attributes to form a primary key, and its&lt;br /&gt;primary key compromises of its partial key and primary key of its parent entity, then it is said to be Weak Entity set.&lt;br /&gt;21.What is an attribute?&lt;br /&gt;It is a particular property, which describes the entity.&lt;br /&gt;22.What is a Relation Schema and a Relation?&lt;br /&gt;A relation Schema denoted by R(A1, A2, ..., An) is made up of the relation&lt;br /&gt;name R and the list of attributes Ai that it contains. A relation is defined as a set of tuples. Let r be the relation which contains set tuples (t1, t2, t3, ..., tn). Each tuple is an ordered list of n-values t=(v1,v2, ..., vn).&lt;br /&gt;23.What is degree of a Relation?&lt;br /&gt;It is the number of attribute of its relation schema.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250889977090476387-4501325874668763536?l=rdbmsqa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rdbmsqa.blogspot.com/feeds/4501325874668763536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250889977090476387&amp;postID=4501325874668763536' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/4501325874668763536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/4501325874668763536'/><link rel='alternate' type='text/html' href='http://rdbmsqa.blogspot.com/2008/08/rdbms-questions-and-answers_5976.html' title='RDBMS Questions And Answers'/><author><name>hiranmoybarik</name><uri>http://www.blogger.com/profile/01200167253941256519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7250889977090476387.post-8895740913687237715</id><published>2008-08-05T21:24:00.000-07:00</published><updated>2008-08-05T21:34:28.491-07:00</updated><title type='text'>RDBMS Questions And Answers</title><content type='html'>8.What is extension and intension?&lt;br /&gt;Extension&lt;br /&gt;-&lt;br /&gt;It is the number of tuples present in a table at any instance. This is time&lt;br /&gt;dependent.&lt;br /&gt;Intension&lt;br /&gt;-&lt;br /&gt;It is a constant value that gives the name, structure of table and the&lt;br /&gt;constraints laid on it.&lt;br /&gt;9. What is System R? What are its two major subsystems?&lt;br /&gt;System R was designed and developed over a period of 1974-79 at IBM San&lt;br /&gt;Jose Research Center. It is a prototype and its purpose was to demonstrate that it is possible to build a Relational System that can be used in a real life environment to solve real life problems, with performance at least comparable to that of existing system.&lt;br /&gt;Its two subsystems are&lt;br /&gt;Research Storage&lt;br /&gt;System Relational Data System.&lt;br /&gt;10. How is the data structure of System R different from the relational structure?&lt;br /&gt;Unlike Relational systems in System R&lt;br /&gt;Domains are not supported&lt;br /&gt;Enforcement of candidate key uniqueness is optional&lt;br /&gt;Enforcement of entity integrity is optional&lt;br /&gt;Referential integrity is not enforced&lt;br /&gt;11. What is Data Independence?&lt;br /&gt;Data independence means that "the application is independent of the storage&lt;br /&gt;structure and access strategy of data". In other words, The ability to modify the schema definition in one level should not affect the schema definition in the next higher level.&lt;br /&gt;Two types of Data Independence:&lt;br /&gt;Physical Data Independence: Modification in physical level should not&lt;br /&gt;affect the logical level.&lt;br /&gt;Logical Data Independence: Modification in logical level should affect&lt;br /&gt;the view level.&lt;br /&gt;NOTE: Logical Data Independence is more difficult to achieve&lt;br /&gt;12. What is a view? How it is related to data independence?&lt;br /&gt;A view may be thought of as a virtual table, that is, a table that does not really&lt;br /&gt;exist in its own right but is instead derived from one or more underlying base table. In other words, there is no stored file that direct represents the view instead a definition of view is stored in data dictionary.&lt;br /&gt;Growth and restructuring of base tables is not reflected in views. Thus the&lt;br /&gt;view can insulate users from the effects of restructuring and growth in the database. Hence accounts for logical data independence.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250889977090476387-8895740913687237715?l=rdbmsqa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rdbmsqa.blogspot.com/feeds/8895740913687237715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250889977090476387&amp;postID=8895740913687237715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/8895740913687237715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/8895740913687237715'/><link rel='alternate' type='text/html' href='http://rdbmsqa.blogspot.com/2008/08/rdbms-questions-and-answers_05.html' title='RDBMS Questions And Answers'/><author><name>hiranmoybarik</name><uri>http://www.blogger.com/profile/01200167253941256519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7250889977090476387.post-4840303701433371580</id><published>2008-08-05T21:20:00.000-07:00</published><updated>2008-08-05T21:37:15.588-07:00</updated><title type='text'>RDBMS Questions And Answers</title><content type='html'>1. What is database?&lt;br /&gt;A database is a logically coherent collection of data with some inherent meaning,&lt;br /&gt;representing some aspect of real world and which is designed, built and populated&lt;br /&gt;with data for a specific purpose.&lt;br /&gt;2. What is DBMS?&lt;br /&gt;It is a collection of programs that enables user to create and maintain a&lt;br /&gt;database. In other words it is general-purpose software that provides the users with&lt;br /&gt;the processes of defining, constructing and manipulating the database for various&lt;br /&gt;applications.&lt;br /&gt;&lt;br /&gt;3. What is a Database system?&lt;br /&gt;The database and DBMS software together is called as Database system.&lt;br /&gt;&lt;br /&gt;4. Advantages of DBMS?&lt;br /&gt;Redundancy is controlled.&lt;br /&gt;Unauthorised access is restricted.&lt;br /&gt;Providing multiple user interfaces.&lt;br /&gt;Enforcing integrity constraints.&lt;br /&gt;Providing backup and recovery.&lt;br /&gt;5. Disadvantage in File Processing System?&lt;br /&gt;Data redundancy &amp;amp; inconsistency.&lt;br /&gt;Difficult in accessing data.&lt;br /&gt;Data isolation.&lt;br /&gt;Data integrity.&lt;br /&gt;Concurrent access is not possible.&lt;br /&gt;Security Problems.&lt;br /&gt;&lt;br /&gt;6. Describe the three levels of data abstraction?&lt;br /&gt;The are three levels of abstraction:&lt;br /&gt;Physical level: The lowest level of abstraction describes how data are stored.&lt;br /&gt;Logical level: The next higher level of abstraction, describes what data are stored&lt;br /&gt;in database and what relationship among those data.&lt;br /&gt;View level: The highest level of abstraction describes only part of entire database.&lt;br /&gt;7. Define the "integrity rules"&lt;br /&gt;There are two Integrity rules.&lt;br /&gt;Entity Integrity: States that "Primary key cannot have NULL value"&lt;br /&gt;Referential Integrity: States that "Foreign Key can be either a NULL&lt;br /&gt;value or should be Primary Key value of other relation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7250889977090476387-4840303701433371580?l=rdbmsqa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://rdbmsqa.blogspot.com/feeds/4840303701433371580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7250889977090476387&amp;postID=4840303701433371580' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/4840303701433371580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7250889977090476387/posts/default/4840303701433371580'/><link rel='alternate' type='text/html' href='http://rdbmsqa.blogspot.com/2008/08/rdbms-questions-and-answers.html' title='RDBMS Questions And Answers'/><author><name>hiranmoybarik</name><uri>http://www.blogger.com/profile/01200167253941256519</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
