Q) What you mean by Object Relational DBMS?
Ans: An object-relational database (ORD), or object-relational database managementsystem (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritanceare directly supported in database schemas and in the query language. In addition, just as with proper relational systems, it supports extension of the data model with custom data-types and methods.
Ans: An object-relational database (ORD), or object-relational database managementsystem (ORDBMS), is a database management system (DBMS) similar to a relational database, but with an object-oriented database model: objects, classes and inheritanceare directly supported in database schemas and in the query language. In addition, just as with proper relational systems, it supports extension of the data model with custom data-types and methods.
Q) what is database Schema?
Ans: The formal definition of database schema is a set of formulas (sentences) called integrity constraints imposed on a database.
Ans: The formal definition of database schema is a set of formulas (sentences) called integrity constraints imposed on a database.
Q) what are the different levels of database schema?
Ans: Conceptual schema- a map of concepts and their relationships.
Ans: Conceptual schema- a map of concepts and their relationships.
Logical schema- a map of entities and their attributes and relations
Physical schema- a particular implementation of a logical schema
Schema object- Oracle database object
Q)what is difference between foreign key and reference key ?
Ans: Reference Key is the primary key that is referenced in the other table (linked via the other tables Foreign Key). Foreign Key is how you link the second table to the primary tables Primary Key (or Reference Key).
Ans: Reference Key is the primary key that is referenced in the other table (linked via the other tables Foreign Key). Foreign Key is how you link the second table to the primary tables Primary Key (or Reference Key).
Q) Tell me about DSN?
Ans: A Data Source Name (DSN) is the logical name that is used by Open Database Connectivity (ODBC) to refer to the drive and other information that is required to access data. The name is used by Internet Information Services (IIS) for a connection to an ODBC data source, such as a Microsoft SQL Server database. To set this name, use the ODBC tool inControl Panel.
Ans: A Data Source Name (DSN) is the logical name that is used by Open Database Connectivity (ODBC) to refer to the drive and other information that is required to access data. The name is used by Internet Information Services (IIS) for a connection to an ODBC data source, such as a Microsoft SQL Server database. To set this name, use the ODBC tool inControl Panel.
click->start in control panel->double click Administative Tool->click ODBC data source->click System DSN tab->click Add
Q) Difference between Clustered index and non clustered index ?
Ans: Clustered Index,Only one per table
Ans: Clustered Index,Only one per table
Faster to read than non clustered as data is physically stored in index order
Non Clustered Index
Can be used many times per table
Quicker for insert and update operations than a clustered index
Q) What is the difference between an EXE and a DLL?
Ans: The term EXE is a shortened version of the word executable as it identifies the file as a program. On the other hand, DLL stands for Dynamic Link Library, which commonly contains functions and procedures that can be used by other programs.
Ans: The term EXE is a shortened version of the word executable as it identifies the file as a program. On the other hand, DLL stands for Dynamic Link Library, which commonly contains functions and procedures that can be used by other programs.
Q) Tell how to check whether a linked list is circular.
Ans: Create two pointers, each set to the start of the list. Update each as follows:
Ans: Create two pointers, each set to the start of the list. Update each as follows:
while (pointer1) {
pointer1 = pointer1->next;
pointer2 = pointer2->next; if (pointer2) pointer2=pointer2->next;
if (pointer1 == pointer2) {
print (“circular\n”);
}
}