SlideShare a Scribd company logo
1 of 52
Download to read 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

More Related Content

What's hot

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to DatabaseSiti Ismail
 
Dbms interview questions
Dbms interview questionsDbms interview questions
Dbms interview questionsambika93
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseWanBK Leo
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databasesAshwani Kumar
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and UsesSuvradeep Rudra
 
Introduction to MongoDB and CRUD operations
Introduction to MongoDB and CRUD operationsIntroduction to MongoDB and CRUD operations
Introduction to MongoDB and CRUD operationsAnand Kumar
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentationHyphen Call
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databasesJames Serra
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesOsama Jomaa
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMSkoolkampus
 

What's hot (20)

Introduction to Database
Introduction to DatabaseIntroduction to Database
Introduction to Database
 
Dbms presentaion
Dbms presentaionDbms presentaion
Dbms presentaion
 
Types of databases
Types of databases   Types of databases
Types of databases
 
SQL Basics
SQL BasicsSQL Basics
SQL Basics
 
Dbms interview questions
Dbms interview questionsDbms interview questions
Dbms interview questions
 
TID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To DatabaseTID Chapter 10 Introduction To Database
TID Chapter 10 Introduction To Database
 
Introduction to NOSQL databases
Introduction to NOSQL databasesIntroduction to NOSQL databases
Introduction to NOSQL databases
 
NOSQL Databases types and Uses
NOSQL Databases types and UsesNOSQL Databases types and Uses
NOSQL Databases types and Uses
 
Introduction to MongoDB and CRUD operations
Introduction to MongoDB and CRUD operationsIntroduction to MongoDB and CRUD operations
Introduction to MongoDB and CRUD operations
 
Nosql databases
Nosql databasesNosql databases
Nosql databases
 
MongoDB presentation
MongoDB presentationMongoDB presentation
MongoDB presentation
 
Relational databases vs Non-relational databases
Relational databases vs Non-relational databasesRelational databases vs Non-relational databases
Relational databases vs Non-relational databases
 
Mongo DB
Mongo DBMongo DB
Mongo DB
 
RDBMS vs NoSQL
RDBMS vs NoSQLRDBMS vs NoSQL
RDBMS vs NoSQL
 
Triggers and Stored Procedures
Triggers and Stored ProceduresTriggers and Stored Procedures
Triggers and Stored Procedures
 
Introduction to MongoDB
Introduction to MongoDBIntroduction to MongoDB
Introduction to MongoDB
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL Databases
 
Sql Basics And Advanced
Sql Basics And AdvancedSql Basics And Advanced
Sql Basics And Advanced
 
OLAP v/s OLTP
OLAP v/s OLTPOLAP v/s OLTP
OLAP v/s OLTP
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMS
 

Similar to Dbms interview questions

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

More from Soba Arjun

Java interview questions
Java interview questionsJava interview questions
Java interview questionsSoba Arjun
 
Java modifiers
Java modifiersJava modifiers
Java modifiersSoba Arjun
 
Java variable types
Java variable typesJava variable types
Java variable typesSoba Arjun
 
Java basic datatypes
Java basic datatypesJava basic datatypes
Java basic datatypesSoba Arjun
 
C interview questions
C interview questionsC interview questions
C interview questionsSoba Arjun
 
Technical interview questions
Technical interview questionsTechnical interview questions
Technical interview questionsSoba Arjun
 
Php interview questions with answer
Php interview questions with answerPhp interview questions with answer
Php interview questions with answerSoba 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 MemorySoba Arjun
 
Birds sanctuaries
Birds sanctuariesBirds sanctuaries
Birds sanctuariesSoba Arjun
 
Important operating systems
Important operating systemsImportant operating systems
Important operating systemsSoba Arjun
 
Important branches of science
Important branches of scienceImportant branches of science
Important branches of scienceSoba Arjun
 
Important file extensions
Important file extensionsImportant file extensions
Important file extensionsSoba Arjun
 
Java Abstraction
Java AbstractionJava Abstraction
Java AbstractionSoba Arjun
 
Java Polymorphism
Java PolymorphismJava Polymorphism
Java PolymorphismSoba Arjun
 
Java Overriding
Java OverridingJava Overriding
Java OverridingSoba Arjun
 
Java Inner Classes
Java Inner ClassesJava Inner Classes
Java Inner ClassesSoba Arjun
 
java Exception
java Exceptionjava Exception
java ExceptionSoba Arjun
 
java Inheritance
java Inheritancejava Inheritance
java InheritanceSoba Arjun
 
Major tribes of india
Major tribes of indiaMajor tribes of india
Major tribes of indiaSoba 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

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

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