SlideShare uma empresa Scribd logo
1 de 52
Baixar para ler offline
Interview questions
1. What is Database ?
A database is a collection of information that is organized. So that it can
easily be accessed, managed and updated.
DBMS INTERVIEW QUESTIONS WITH ANSWER
2. What is DBMS ?
DBMS stands for Database Management System. It is a collection of
programs that enables user to create and maintain a database.
DBMS INTERVIEW QUESTIONS WITH ANSWER
3. What is a Database system ?
The database and DBMS software together is called as Database system.
DBMS INTERVIEW QUESTIONS WITH ANSWER
4. What are the advantages of DBMS ?
1. Redundancy is controlled.
2. Providing multiple user interfaces.
3. Providing backup and recovery.
4. Unauthorized access is restricted.
5. Enforcing integrity constraints.
DBMS INTERVIEW QUESTIONS WITH ANSWER
5. What is normalization ?
It is a process of analysing the given relation schemas based on their
Functional Dependencies(FDs) and primary key to achieve the properties
1. Minimizing redundancy
2. Minimizing insertion, deletion and update anomalies.
1. as
DBMS INTERVIEW QUESTIONS WITH ANSWER
6. What is Data Model ?
A collection of conceptual tools for describing data, data relationships data
semantics and constraints.
DBMS INTERVIEW QUESTIONS WITH ANSWER
7. What is E-R model ?
This data model is based on real world that consists of basic objects
called entities and of the relationship among these objects. Entities are
described in a database by a asset of attributes.
DBMS INTERVIEW QUESTIONS WITH ANSWER
8. What is Object Oriented model ?
This model is based on collection of objects. An object contains values
stored in instance variables with in the object. An object also contains
bodies of code 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.
DBMS INTERVIEW QUESTIONS WITH ANSWER
9. What is an Entity ?
An entity is a thing or object of importance about which data must be
captured.
DBMS INTERVIEW QUESTIONS WITH ANSWER
10. What is DDL ?
Data Definition Language.
A data base schema is specifies by a set of definitions expressed by a
special language called DDL.
DBMS INTERVIEW QUESTIONS WITH ANSWER
11. What is DML ?
Data Manipulation Language
This language that enable user to access or manipulate data as organised by
appropriate data model.
Procedural DML or Low level: DML requires a user to specify what data are
needed and how to ger those data.
Non-Procedural DML or High level: DML requires a user to specify what data
are needed without specifying how to ger those data.
DBMS INTERVIEW QUESTIONS WITH ANSWER
12. What is DML Compiler ?
It translate DML statements in a query language into low-level instruction
that the query evaluation engine can understand.
DBMS INTERVIEW QUESTIONS WITH ANSWER
13. What is Query evaluation engine ?
It executes low-level instruction generated by compiler.
DBMS INTERVIEW QUESTIONS WITH ANSWER
14. What is Functional Dependency ?
FD is the starting point of normalization. FD exists when a relation
between two attributes allows you to uniquely determine the
corresponding attribute’s value.
DBMS INTERVIEW QUESTIONS WITH ANSWER
15. What is 1 NF (Normal Form) ?
The first normal form or 1NF is the first and the simplest type of
normalization that can be implemented in a database. The main aims of
1NF are to:
1. Eliminate duplicative columns from the same table.
2. Create separate tables for each group of related data and identify
each row with a unique column (the primary key).
DBMS INTERVIEW QUESTIONS WITH ANSWER
16. What is Fully functional dependency ?
A functional dependency X Y is full functional dependency if removal of
any attribute A from x means that the dependency does not hold any
more.
DBMS INTERVIEW QUESTIONS WITH ANSWER
17. What is 2NF ?
A relation schema R is in 2 NF if it is in 1NF.
Every non-prime attribute A in R is fully functionally dependent on primary
key.
DBMS INTERVIEW QUESTIONS WITH ANSWER
18. What is 3NF ?
A relation is in third normal form if it is in second normal form and there
are no functional (transitive) dependencies between two or more non-
prime key attributes.
DBMS INTERVIEW QUESTIONS WITH ANSWER
19. What is BCNF ?
Boyce-Codd Normal Form
A table is in BCNF if and only if it is in 3NF and every determinant is a
candidate key.
DBMS INTERVIEW QUESTIONS WITH ANSWER
20. What is 4NF ?
Fourth normal form requires that a table be BCNF and contain no multi-
valued dependencies.
DBMS INTERVIEW QUESTIONS WITH ANSWER
21. What is 5NF ?
A table is in 5NF or Project-Join Normal Form (PJNF) if it is in 4NF and it
cannot have a lossless decomposition into any number of smaller tables.
DBMS INTERVIEW QUESTIONS WITH ANSWER
22. What is a query ?
A query with respect to DBMS relates to user commands that are used to
interact with a data base.
DBMS INTERVIEW QUESTIONS WITH ANSWER
23. What is meant by query optimization ?
The phase that identifies an efficient execution plan for evaluating a query
that has the least estimated cost is referred to as query optimization.
DBMS INTERVIEW QUESTIONS WITH ANSWER
24. What is an attribute ?
It is a particular property, which describes the entity.
DBMS INTERVIEW QUESTIONS WITH ANSWER
25. What is RDBMS ?
Relational Data Base Management System.
It is DBMS that maintain data records and indices in tables.
DBMS INTERVIEW QUESTIONS WITH ANSWER
26. What’s different between DBMS, RDBMS ?
DBMS provides systematic and organized way of storing, managing and
retrieving from collection of logically related information.
RDBMS also provides what DBMS provides but above that it provides
relationship integrity.
DBMS INTERVIEW QUESTIONS WITH ANSWER
27. What is SQL ?
Structured Query Language.
SQL is an ANSI (American National Standards Institute) standard
computer language for accessing and manipulating database systems.
SQL statements are used to retrieve and update data in a database.
DBMS INTERVIEW QUESTIONS WITH ANSWER
28. What is Stored Procedure ?
A stored procedure is a named group of SQL statement that have been
previously created and stored in the server database.
DBMS INTERVIEW QUESTIONS WITH ANSWER
29. What is a view ?
A view may be a subset of the database or it may contain virtual data that
is derived from the database files but is not explicitly stored.
DBMS INTERVIEW QUESTIONS WITH ANSWER
30. What is Trigger ?
A trigger is a SQL procedure that initiates an action when an event
(INSERT, DELETE or UPDATE) occurs.
DBMS INTERVIEW QUESTIONS WITH ANSWER
31. What is Index ?
An index is a physical structure containing pointers to the data.
DBMS INTERVIEW QUESTIONS WITH ANSWER
32. What is extension and intension ?
Extension : it is the number of tuples present in a table at any instance.
This is time dependent.
Intension: it is a constant value that gives the name, structure of table and
the constraints laid on it.
DBMS INTERVIEW QUESTIONS WITH ANSWER
33. What do you mean by atomicity and
aggregation ?
Atomicity: this states that database modifications must follow an “all or
nothing” rule. Each transaction is said to be “atomic”. If one part of the
transaction fail, the entire transaction fails.
Aggregation: a feature of the entity relationship model that allows a
relationship set to participate in another relationship set. This is indicated
on an ER diagram by drawing a dashed box around the aggregation.
DBMS INTERVIEW QUESTIONS WITH ANSWER
34. What is RDBMS KERNAL ?
Two important pieces of RDBMS architecture are the kernel, which is the
software, and the data dictionary, which consists of the system-level data
structure used by the kernel to manage the database.
DBMS INTERVIEW QUESTIONS WITH ANSWER
35. Name the sub-system of a RDBMS ?
I/O, Security, Language Processing, Process Control, Storage
Management, Logging and Recovery, Distribution Control, Transaction
Control, Memory Management, Lock Management.
DBMS INTERVIEW QUESTIONS WITH ANSWER
36. How do you communicate with an RDBMS ?
You can communicate with an RDBMS using Structured Query Language
(SQL)
DBMS INTERVIEW QUESTIONS WITH ANSWER
37. Disadvantage of File Processing System.
• Data redundancy & inconsistency.
• Difficult in accessing data.
• Data isolation.
• Data integrity.
• Concurrent access is not possible.
• Security problems.
DBMS INTERVIEW QUESTIONS WITH ANSWER
38. What is VDL ?
View Definition Language
It specifies user views and their mappings to the conceptual schema.
DBMS INTERVIEW QUESTIONS WITH ANSWER
39. What is SDL ?
Storage Definition Language.
This language is to specify the internal schema. This language may
specify the mapping between two schemas.
DBMS INTERVIEW QUESTIONS WITH ANSWER
40. Describe concurrency control ?
Concurrency control is the process managing simultaneous operations
against a database so that database integrity is no compromised. There
are two approaches to concurrency control.
The pessimistic approach involves locking and the optimistic approach
involves versioning.
DBMS INTERVIEW QUESTIONS WITH ANSWER
41. Describe the difference between
homogeneous and heterogeneous distributed
database.
Homogeneous database is one that uses the same DBMS at each node.
Heterogeneous database is one that may have different DBMS at each
node.
DBMS INTERVIEW QUESTIONS WITH ANSWER
42. What is a distributed database ?
A distributed database is a single logical database that is spread across
more than one node or locations that are all connected via some
communication link.
DBMS INTERVIEW QUESTIONS WITH ANSWER
43. Explain the difference between two and
three-tire architectures.
Three-tire architecture includes a client and two server layers. The
application code is stored on the application server and the database is
stored on the database server.
Two-tire architecture includes a client and one server layer. The database
stored on the database server.
DBMS INTERVIEW QUESTIONS WITH ANSWER
44. Briefly describe the three types of SQL
commands.
A database is a collection of information that is organized. So that it can
easily be accessed, managed and updated.
DBMS INTERVIEW QUESTIONS WITH ANSWER
45. List some of the properties of a relation ?
Relations in a database have a unique name and no multivalued attributes
exist.
Each rows is unique and each attribute with a relation has a unique name.
The sequence of both columns and rows is irrelevant.
DBMS INTERVIEW QUESTIONS WITH ANSWER
46. Explain the differences between an intranet
and an extranet ?
An Intranet database is accessible by everyone who has access to a
website.
An intranet database limits access to only people within a given
organization.
DBMS INTERVIEW QUESTIONS WITH ANSWER
47. What is SQL Deadlock ?
Deadlock is a unique situation in a multi user system that causes two or
more users to wait indefinitely for a locked resource.
DBMS INTERVIEW QUESTIONS WITH ANSWER
48. What is a Catalog ?
A catalog is a table that contains the information such as structure of each
file, the type and storage format of each data item and various constraints
on the data.
The information stored in the catalog is called Metadata.
DBMS INTERVIEW QUESTIONS WITH ANSWER
49. Describe the three level of abstraction.
Physical Level: the lowest level of abstraction describes how data are stored.
Logical Level: the next higher level of abstraction, describes what data are
stored in database and what relationship among those data.
View Level: the highest level of abstraction describes only part of entire
database.
DBMS INTERVIEW QUESTIONS WITH ANSWER
50. How many types of relationship exist in
database design ?
1. One-to-one
2. One-to-many
3. Many-to-many
4. Many-to-one
DBMS INTERVIEW QUESTIONS WITH ANSWER
SUBSCRIBE FOR MORE

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

SQL commands
SQL commandsSQL commands
SQL commands
 
Sql subquery
Sql  subquerySql  subquery
Sql subquery
 
Dbms Interview Question And Answer
Dbms Interview Question And AnswerDbms Interview Question And Answer
Dbms Interview Question And Answer
 
Sql and Sql commands
Sql and Sql commandsSql and Sql commands
Sql and Sql commands
 
Rdbms
RdbmsRdbms
Rdbms
 
Sql Basics | Edureka
Sql Basics | EdurekaSql Basics | Edureka
Sql Basics | Edureka
 
Lab2 ddl commands
Lab2 ddl commandsLab2 ddl commands
Lab2 ddl commands
 
SQL - DML and DDL Commands
SQL - DML and DDL CommandsSQL - DML and DDL Commands
SQL - DML and DDL Commands
 
SQL - Structured query language introduction
SQL - Structured query language introductionSQL - Structured query language introduction
SQL - Structured query language introduction
 
SQL Joins.pptx
SQL Joins.pptxSQL Joins.pptx
SQL Joins.pptx
 
RDBMS
RDBMSRDBMS
RDBMS
 
Sql tutorial
Sql tutorialSql tutorial
Sql tutorial
 
Sql queries presentation
Sql queries presentationSql queries presentation
Sql queries presentation
 
Databases: Normalisation
Databases: NormalisationDatabases: Normalisation
Databases: Normalisation
 
SQL Joins With Examples | Edureka
SQL Joins With Examples | EdurekaSQL Joins With Examples | Edureka
SQL Joins With Examples | Edureka
 
Sql ppt
Sql pptSql ppt
Sql ppt
 
Sql interview questions and answers
Sql interview questions and  answersSql interview questions and  answers
Sql interview questions and answers
 
Sql
SqlSql
Sql
 
Structured query language(sql)ppt
Structured query language(sql)pptStructured query language(sql)ppt
Structured query language(sql)ppt
 
SQL Queries Information
SQL Queries InformationSQL Queries Information
SQL Queries Information
 

Semelhante a Dbms interview questions

Dbms interview questions s.pdf
Dbms interview questions s.pdfDbms interview questions s.pdf
Dbms interview questions s.pdf
Shivani139202
 
DBMS VIVA QUESTIONS_CODERS LODGE.pdf
DBMS VIVA QUESTIONS_CODERS LODGE.pdfDBMS VIVA QUESTIONS_CODERS LODGE.pdf
DBMS VIVA QUESTIONS_CODERS LODGE.pdf
nofakeNews
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Hitesh Mohapatra
 

Semelhante a Dbms interview questions (20)

Dbms interview ques
Dbms interview quesDbms interview ques
Dbms interview ques
 
Dbms interview questions s.pdf
Dbms interview questions s.pdfDbms interview questions s.pdf
Dbms interview questions s.pdf
 
DBMS interview questions
DBMS interview questionsDBMS interview questions
DBMS interview questions
 
1resume
1resume1resume
1resume
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMS
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental concepts
 
DBMS VIVA QUESTIONS_CODERS LODGE.pdf
DBMS VIVA QUESTIONS_CODERS LODGE.pdfDBMS VIVA QUESTIONS_CODERS LODGE.pdf
DBMS VIVA QUESTIONS_CODERS LODGE.pdf
 
Rdbms concepts
Rdbms conceptsRdbms concepts
Rdbms concepts
 
Codds rules & keys
Codds rules & keysCodds rules & keys
Codds rules & keys
 
DBMS Campus crack Question Prepared by Randhir Kumar
DBMS Campus crack Question Prepared by Randhir KumarDBMS Campus crack Question Prepared by Randhir Kumar
DBMS Campus crack Question Prepared by Randhir Kumar
 
Dbms basic nots
Dbms basic notsDbms basic nots
Dbms basic nots
 
RDBMS
RDBMSRDBMS
RDBMS
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
 
Nagaraju
NagarajuNagaraju
Nagaraju
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
 
DBMS
DBMSDBMS
DBMS
 
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
 

Mais de Soba Arjun

Mais de Soba Arjun (20)

Java interview questions
Java interview questionsJava interview questions
Java interview questions
 
Java modifiers
Java modifiersJava modifiers
Java modifiers
 
Java variable types
Java variable typesJava variable types
Java variable types
 
Java basic datatypes
Java basic datatypesJava basic datatypes
Java basic datatypes
 
C interview questions
C interview questionsC interview questions
C interview questions
 
Technical interview questions
Technical interview questionsTechnical interview questions
Technical interview questions
 
Php interview questions with answer
Php interview questions with answerPhp interview questions with answer
Php interview questions with answer
 
Computer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary MemoryComputer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary Memory
 
Birds sanctuaries
Birds sanctuariesBirds sanctuaries
Birds sanctuaries
 
Important operating systems
Important operating systemsImportant operating systems
Important operating systems
 
Important branches of science
Important branches of scienceImportant branches of science
Important branches of science
 
Important file extensions
Important file extensionsImportant file extensions
Important file extensions
 
Java Abstraction
Java AbstractionJava Abstraction
Java Abstraction
 
Java Polymorphism
Java PolymorphismJava Polymorphism
Java Polymorphism
 
Java Overriding
Java OverridingJava Overriding
Java Overriding
 
Java Inner Classes
Java Inner ClassesJava Inner Classes
Java Inner Classes
 
java Exception
java Exceptionjava Exception
java Exception
 
Java Methods
Java MethodsJava Methods
Java Methods
 
java Inheritance
java Inheritancejava Inheritance
java Inheritance
 
Major tribes of india
Major tribes of indiaMajor tribes of india
Major tribes of india
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Dbms interview questions

  • 2. 1. What is Database ? A database is a collection of information that is organized. So that it can easily be accessed, managed and updated. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 3. 2. What is DBMS ? DBMS stands for Database Management System. It is a collection of programs that enables user to create and maintain a database. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 4. 3. What is a Database system ? The database and DBMS software together is called as Database system. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 5. 4. What are the advantages of DBMS ? 1. Redundancy is controlled. 2. Providing multiple user interfaces. 3. Providing backup and recovery. 4. Unauthorized access is restricted. 5. Enforcing integrity constraints. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 6. 5. What is normalization ? It is a process of analysing the given relation schemas based on their Functional Dependencies(FDs) and primary key to achieve the properties 1. Minimizing redundancy 2. Minimizing insertion, deletion and update anomalies. 1. as DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 7. 6. What is Data Model ? A collection of conceptual tools for describing data, data relationships data semantics and constraints. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 8. 7. What is E-R model ? This data model is based on real world that consists of basic objects called entities and of the relationship among these objects. Entities are described in a database by a asset of attributes. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 9. 8. What is Object Oriented model ? This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code 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. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 10. 9. What is an Entity ? An entity is a thing or object of importance about which data must be captured. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 11. 10. What is DDL ? Data Definition Language. A data base schema is specifies by a set of definitions expressed by a special language called DDL. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 12. 11. What is DML ? Data Manipulation Language This language that enable user to access or manipulate data as organised by appropriate data model. Procedural DML or Low level: DML requires a user to specify what data are needed and how to ger those data. Non-Procedural DML or High level: DML requires a user to specify what data are needed without specifying how to ger those data. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 13. 12. What is DML Compiler ? It translate DML statements in a query language into low-level instruction that the query evaluation engine can understand. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 14. 13. What is Query evaluation engine ? It executes low-level instruction generated by compiler. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 15. 14. What is Functional Dependency ? FD is the starting point of normalization. FD exists when a relation between two attributes allows you to uniquely determine the corresponding attribute’s value. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 16. 15. What is 1 NF (Normal Form) ? The first normal form or 1NF is the first and the simplest type of normalization that can be implemented in a database. The main aims of 1NF are to: 1. Eliminate duplicative columns from the same table. 2. Create separate tables for each group of related data and identify each row with a unique column (the primary key). DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 17. 16. What is Fully functional dependency ? A functional dependency X Y is full functional dependency if removal of any attribute A from x means that the dependency does not hold any more. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 18. 17. What is 2NF ? A relation schema R is in 2 NF if it is in 1NF. Every non-prime attribute A in R is fully functionally dependent on primary key. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 19. 18. What is 3NF ? A relation is in third normal form if it is in second normal form and there are no functional (transitive) dependencies between two or more non- prime key attributes. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 20. 19. What is BCNF ? Boyce-Codd Normal Form A table is in BCNF if and only if it is in 3NF and every determinant is a candidate key. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 21. 20. What is 4NF ? Fourth normal form requires that a table be BCNF and contain no multi- valued dependencies. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 22. 21. What is 5NF ? A table is in 5NF or Project-Join Normal Form (PJNF) if it is in 4NF and it cannot have a lossless decomposition into any number of smaller tables. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 23. 22. What is a query ? A query with respect to DBMS relates to user commands that are used to interact with a data base. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 24. 23. What is meant by query optimization ? The phase that identifies an efficient execution plan for evaluating a query that has the least estimated cost is referred to as query optimization. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 25. 24. What is an attribute ? It is a particular property, which describes the entity. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 26. 25. What is RDBMS ? Relational Data Base Management System. It is DBMS that maintain data records and indices in tables. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 27. 26. What’s different between DBMS, RDBMS ? DBMS provides systematic and organized way of storing, managing and retrieving from collection of logically related information. RDBMS also provides what DBMS provides but above that it provides relationship integrity. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 28. 27. What is SQL ? Structured Query Language. SQL is an ANSI (American National Standards Institute) standard computer language for accessing and manipulating database systems. SQL statements are used to retrieve and update data in a database. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 29. 28. What is Stored Procedure ? A stored procedure is a named group of SQL statement that have been previously created and stored in the server database. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 30. 29. What is a view ? A view may be a subset of the database or it may contain virtual data that is derived from the database files but is not explicitly stored. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 31. 30. What is Trigger ? A trigger is a SQL procedure that initiates an action when an event (INSERT, DELETE or UPDATE) occurs. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 32. 31. What is Index ? An index is a physical structure containing pointers to the data. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 33. 32. What is extension and intension ? Extension : it is the number of tuples present in a table at any instance. This is time dependent. Intension: it is a constant value that gives the name, structure of table and the constraints laid on it. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 34. 33. What do you mean by atomicity and aggregation ? Atomicity: this states that database modifications must follow an “all or nothing” rule. Each transaction is said to be “atomic”. If one part of the transaction fail, the entire transaction fails. Aggregation: a feature of the entity relationship model that allows a relationship set to participate in another relationship set. This is indicated on an ER diagram by drawing a dashed box around the aggregation. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 35. 34. What is RDBMS KERNAL ? Two important pieces of RDBMS architecture are the kernel, which is the software, and the data dictionary, which consists of the system-level data structure used by the kernel to manage the database. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 36. 35. Name the sub-system of a RDBMS ? I/O, Security, Language Processing, Process Control, Storage Management, Logging and Recovery, Distribution Control, Transaction Control, Memory Management, Lock Management. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 37. 36. How do you communicate with an RDBMS ? You can communicate with an RDBMS using Structured Query Language (SQL) DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 38. 37. Disadvantage of File Processing System. • Data redundancy & inconsistency. • Difficult in accessing data. • Data isolation. • Data integrity. • Concurrent access is not possible. • Security problems. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 39. 38. What is VDL ? View Definition Language It specifies user views and their mappings to the conceptual schema. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 40. 39. What is SDL ? Storage Definition Language. This language is to specify the internal schema. This language may specify the mapping between two schemas. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 41. 40. Describe concurrency control ? Concurrency control is the process managing simultaneous operations against a database so that database integrity is no compromised. There are two approaches to concurrency control. The pessimistic approach involves locking and the optimistic approach involves versioning. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 42. 41. Describe the difference between homogeneous and heterogeneous distributed database. Homogeneous database is one that uses the same DBMS at each node. Heterogeneous database is one that may have different DBMS at each node. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 43. 42. What is a distributed database ? A distributed database is a single logical database that is spread across more than one node or locations that are all connected via some communication link. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 44. 43. Explain the difference between two and three-tire architectures. Three-tire architecture includes a client and two server layers. The application code is stored on the application server and the database is stored on the database server. Two-tire architecture includes a client and one server layer. The database stored on the database server. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 45. 44. Briefly describe the three types of SQL commands. A database is a collection of information that is organized. So that it can easily be accessed, managed and updated. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 46. 45. List some of the properties of a relation ? Relations in a database have a unique name and no multivalued attributes exist. Each rows is unique and each attribute with a relation has a unique name. The sequence of both columns and rows is irrelevant. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 47. 46. Explain the differences between an intranet and an extranet ? An Intranet database is accessible by everyone who has access to a website. An intranet database limits access to only people within a given organization. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 48. 47. What is SQL Deadlock ? Deadlock is a unique situation in a multi user system that causes two or more users to wait indefinitely for a locked resource. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 49. 48. What is a Catalog ? A catalog is a table that contains the information such as structure of each file, the type and storage format of each data item and various constraints on the data. The information stored in the catalog is called Metadata. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 50. 49. Describe the three level of abstraction. Physical Level: the lowest level of abstraction describes how data are stored. Logical Level: the next higher level of abstraction, describes what data are stored in database and what relationship among those data. View Level: the highest level of abstraction describes only part of entire database. DBMS INTERVIEW QUESTIONS WITH ANSWER
  • 51. 50. How many types of relationship exist in database design ? 1. One-to-one 2. One-to-many 3. Many-to-many 4. Many-to-one DBMS INTERVIEW QUESTIONS WITH ANSWER