SlideShare a Scribd company logo
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

More Related Content

What's hot

Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NFNormalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Biplap Bhattarai
 
database Normalization
database Normalizationdatabase Normalization
database Normalization
Harsiddhi Thakkar
 
SQL vs NoSQL | MySQL vs MongoDB Tutorial | Edureka
SQL vs NoSQL | MySQL vs MongoDB Tutorial | EdurekaSQL vs NoSQL | MySQL vs MongoDB Tutorial | Edureka
SQL vs NoSQL | MySQL vs MongoDB Tutorial | Edureka
Edureka!
 
Basic SQL and History
 Basic SQL and History Basic SQL and History
Basic SQL and History
SomeshwarMoholkar
 
Normalization
NormalizationNormalization
Normalization
Salman Memon
 
SQL Server Index and Partition Strategy
SQL Server Index and Partition StrategySQL Server Index and Partition Strategy
SQL Server Index and Partition Strategy
Hamid J. Fard
 
SQL JOIN
SQL JOINSQL JOIN
SQL JOIN
Ritwik Das
 
NoSql
NoSqlNoSql
Index in sql server
Index in sql serverIndex in sql server
Index in sql server
Durgaprasad Yadav
 
SQL
SQLSQL
SQL Overview
SQL OverviewSQL Overview
SQL Overview
Stewart Rogers
 
SQL logical operators
SQL logical operatorsSQL logical operators
SQL logical operators
Dr. C.V. Suresh Babu
 
SQL .pptx
SQL .pptxSQL .pptx
Polyglot Persistence
Polyglot Persistence Polyglot Persistence
Polyglot Persistence
Dr-Dipali Meher
 
Database Management Lab -SQL Queries
Database Management Lab -SQL Queries Database Management Lab -SQL Queries
Database Management Lab -SQL Queries
shamim hossain
 
Previous question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBPrevious question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEB
Shabeeb Shabi
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
Dr-Dipali Meher
 
Transaction in DBMS
Transaction in DBMSTransaction in DBMS
Transaction in DBMS
Pyingkodi Maran
 
SQL(DDL & DML)
SQL(DDL & DML)SQL(DDL & DML)
SQL(DDL & DML)
Sharad Dubey
 

What's hot (20)

Sql operators & functions 3
Sql operators & functions 3Sql operators & functions 3
Sql operators & functions 3
 
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NFNormalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
Normalization | (1NF) |(2NF) (3NF)|BCNF| 4NF |5NF
 
database Normalization
database Normalizationdatabase Normalization
database Normalization
 
SQL vs NoSQL | MySQL vs MongoDB Tutorial | Edureka
SQL vs NoSQL | MySQL vs MongoDB Tutorial | EdurekaSQL vs NoSQL | MySQL vs MongoDB Tutorial | Edureka
SQL vs NoSQL | MySQL vs MongoDB Tutorial | Edureka
 
Basic SQL and History
 Basic SQL and History Basic SQL and History
Basic SQL and History
 
Normalization
NormalizationNormalization
Normalization
 
SQL Server Index and Partition Strategy
SQL Server Index and Partition StrategySQL Server Index and Partition Strategy
SQL Server Index and Partition Strategy
 
SQL JOIN
SQL JOINSQL JOIN
SQL JOIN
 
NoSql
NoSqlNoSql
NoSql
 
Index in sql server
Index in sql serverIndex in sql server
Index in sql server
 
SQL
SQLSQL
SQL
 
SQL Overview
SQL OverviewSQL Overview
SQL Overview
 
SQL logical operators
SQL logical operatorsSQL logical operators
SQL logical operators
 
SQL .pptx
SQL .pptxSQL .pptx
SQL .pptx
 
Polyglot Persistence
Polyglot Persistence Polyglot Persistence
Polyglot Persistence
 
Database Management Lab -SQL Queries
Database Management Lab -SQL Queries Database Management Lab -SQL Queries
Database Management Lab -SQL Queries
 
Previous question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEBPrevious question papers of Database Management System (DBMS) By SHABEEB
Previous question papers of Database Management System (DBMS) By SHABEEB
 
Introduction to NoSQL
Introduction to NoSQLIntroduction to NoSQL
Introduction to NoSQL
 
Transaction in DBMS
Transaction in DBMSTransaction in DBMS
Transaction in DBMS
 
SQL(DDL & DML)
SQL(DDL & DML)SQL(DDL & DML)
SQL(DDL & DML)
 

Similar to Dbms interview questions

Dbms interview ques
Dbms interview quesDbms interview ques
Dbms interview ques
SwatiJain303
 
Dbms interview questions s.pdf
Dbms interview questions s.pdfDbms interview questions s.pdf
Dbms interview questions s.pdf
Shivani139202
 
DBMS interview questions
DBMS interview questionsDBMS interview questions
DBMS interview questions
Harish Gyanani
 
1resume
1resume1resume
1resume
Robert AK
 
Technical Note on DBMS
Technical Note on DBMSTechnical Note on DBMS
Technical Note on DBMS
Kr Shrishant
 
DBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental conceptsDBMS and Rdbms fundamental concepts
DBMS and Rdbms fundamental concepts
Kuntal Bhowmick
 
DBMS VIVA QUESTIONS_CODERS LODGE.pdf
DBMS VIVA QUESTIONS_CODERS LODGE.pdfDBMS VIVA QUESTIONS_CODERS LODGE.pdf
DBMS VIVA QUESTIONS_CODERS LODGE.pdf
nofakeNews
 
Rdbms concepts
Rdbms conceptsRdbms concepts
Rdbms concepts
Shehrevar Davierwala
 
Codds rules & keys
Codds rules & keysCodds rules & keys
Codds rules & keys
Balasingham Karthiban
 
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
Randhir Chouhan
 
Dbms basic nots
Dbms basic notsDbms basic nots
Dbms basic nots
nitinnitinnitin
 
RDBMS
RDBMSRDBMS
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
KavithaA19
 
Database-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptxDatabase-management-system-dbms-ppt.pptx
Database-management-system-dbms-ppt.pptx
AnmolThakur67
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
OECLIB Odisha Electronics Control Library
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
SameerKhanPathan7
 
Introduction to Database Management System
Introduction to Database Management SystemIntroduction to Database Management System
Introduction to Database Management System
Hitesh Mohapatra
 
DBMS
DBMSDBMS
Database fundamentals
Database fundamentalsDatabase fundamentals
Database fundamentals
LAILA ARZUMAN ARA
 

Similar to 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
 
Database Management System ppt
Database Management System pptDatabase Management System ppt
Database Management System ppt
 
csedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdfcsedatabasemanagementsystemppt-170825044344.pdf
csedatabasemanagementsystemppt-170825044344.pdf
 
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
 

More from Soba Arjun

Java interview questions
Java interview questionsJava interview questions
Java interview questions
Soba Arjun
 
Java modifiers
Java modifiersJava modifiers
Java modifiers
Soba Arjun
 
Java variable types
Java variable typesJava variable types
Java variable types
Soba Arjun
 
Java basic datatypes
Java basic datatypesJava basic datatypes
Java basic datatypes
Soba Arjun
 
C interview questions
C interview questionsC interview questions
C interview questions
Soba Arjun
 
Technical interview questions
Technical interview questionsTechnical interview questions
Technical interview questions
Soba Arjun
 
Php interview questions with answer
Php interview questions with answerPhp interview questions with answer
Php interview questions with answer
Soba Arjun
 
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
Soba Arjun
 
Birds sanctuaries
Birds sanctuariesBirds sanctuaries
Birds sanctuaries
Soba Arjun
 
Important operating systems
Important operating systemsImportant operating systems
Important operating systems
Soba Arjun
 
Important branches of science
Important branches of scienceImportant branches of science
Important branches of science
Soba Arjun
 
Important file extensions
Important file extensionsImportant file extensions
Important file extensions
Soba Arjun
 
Java Abstraction
Java AbstractionJava Abstraction
Java Abstraction
Soba Arjun
 
Java Polymorphism
Java PolymorphismJava Polymorphism
Java Polymorphism
Soba Arjun
 
Java Overriding
Java OverridingJava Overriding
Java Overriding
Soba Arjun
 
Java Inner Classes
Java Inner ClassesJava Inner Classes
Java Inner Classes
Soba Arjun
 
java Exception
java Exceptionjava Exception
java Exception
Soba Arjun
 
Java Methods
Java MethodsJava Methods
Java Methods
Soba Arjun
 
java Inheritance
java Inheritancejava Inheritance
java Inheritance
Soba Arjun
 
Major tribes of india
Major tribes of indiaMajor tribes of india
Major tribes of india
Soba Arjun
 

More from 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
 

Recently uploaded

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
rosedainty
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 

Recently uploaded (20)

The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)Template Jadual Bertugas Kelas (Boleh Edit)
Template Jadual Bertugas Kelas (Boleh Edit)
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 

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