×

Top 30 DBMS Interview Questions for 2024

1) What is DBMS?

DBMS (Data Base Management System) is a technology for managing data of database i.e. Create, Update, Delete, Alter.

2) What is a Database System?

It is defined as collection of database and DBMS software that works in synchronized order.

3) Enlist the advantages of DBMS.

  • Data Independence: It provides an abstract view of the data for insulating application code.
  • Data Integrity
  • Data Security
  • Data Backup and Recovery

4) Enlist the Component of DBMS.

  • Users
  • Database Application
  • DBMS
  • Database

5) Give the type of database architecture

  • Centralized
  • De-centralized
  • Hierarchal

6) What are the layers in database architecture?

DBMS architecture can be single tier or multi-tier but most widely used is 3-tier its layer as follows:
  • Presentation Layer
  • Application Layer
  • Database Layer

7) How many types of database languages?

  • DDL (Data Definition Language): CREATE, ALTER, DROP
  • DML (Data Manipulation Language): SELECT, UPDATE, INSERT
  • DCL (Data Control Language): GRANT & REVOKE.
  • TCL (Transaction Control Language): COMMIT, ROLLBACK.

8) Define Database Schema.

Database Schema is a logical blue print of the database and database instance. Some terms associated with it is:
  • Relation
  • Attribute
  • Domain
  • Tuple

9) Give the types of schema in DBMS

  • Physical Schema
  • Logical Schema
  • View Schema

10) What is ER-Diagram?

ER-Diagram represents an Entity Relationship Diagram i.e. How data is related and communicated with each other.

11) Give the types of Relationships.

  • One to One
  • One to Many
  • Many to One
  • Many to Many

12) List the drawbacks of File Processing System.

FPS (File Processing System) has many drawbacks due to which DBMS come in action. Here are some drawbacks i.e. these are not present:
  • Consistency
  • Data Integrity
  • Data Security
  • Data Accessing
  • Data Redundancy
  • Data Isolation

13) Define Normalization in DBMS?

Normalization is a process to analyze the relation schema according to their resp0ective functional dependencies. Basically, it is used to minimize redundancy.

14) Define De-normalization in DBMS?

It allows increased performance of database which is achieved by adding redundant data and eliminating complex data.

15) What is Functional Dependency?

It is the starting point of normalization. It exists only if the relation between the two attributes allows to uniquely determining the corresponding attribute value.

16) Enlist the Database Normalization rule.

  • 1NF (First Normal Form): Each and every column is Unique.
  • 2NF (Second Normal Form): It should already be 1NF and all attributes within the entity should depend upon unique ID of entity.
  • 3NF (Third Normal Form): In this no column entry should be dependent on any other entry level values and should be 2NF.
  • BCNF (Boyce Codd Normal Form): All tables should have only one primary key and it should be 3NF.

17) What is weak entity set?

Weak Entity set is said to those set which doesn't have sufficient attribute to form a primary key.

18) Give the Integrity Rules in DBMS.

There exist some rules
  1. Entity Integrity
  2. Referential Integrity
  3. Domain Integrity
  4. User-Defined Integrity

19) Describe Extension and Intention.

Extension: It is described as the number of tuples present in a table at any instance also, it is time dependent. Intension: It provides a constant value that enlist the name, structure of table and the constraints laid on it.

20) Enlist the type of Manager in Program Module.

  • Storage Manager
  • Buffer Manager
  • Transaction Manager
  • File Manager
  • Authorization/Integrity Manager

21) What is Join?

Join is used to combine data from two or more tables, based on a common fields between them.

22) Enlist the type of Join?

  • Inner Join: It provides the result on intersection between the two tables.
  • Left Join: It provides the result on intersection as well as left table for which the join condition is met.
  • Right Join: It provides the result on intersection as well as right table for which the join condition is met.
  • Full Join: It provides the result on selection of all record from both table.

23) What is Identity?

Identity is a column that automatically generates numeric values. In this column we can set the start value and can increment it.

24) What is Trigger?

A Trigger is a code that associated with insert, update or delete operations. The code is executed automatically whenever the associated query is executed on a table.

25) What is stored procedure?

A stored procedure is like a function that contains a set of operations compiled together. It contains a set of operations that are commonly used in an application to do some common database tasks.

26) What is DML compiler?

A DML (Data Manipulation Language) compiler is used to translate DML statements into query language. Translated language is in low level instruction.

27) What is RDBMS?

Relational Data Base Management Systems (RDBMS) are database management systems that maintain data records and indices in tables.

28) List some of the properties of a relation?

Relations have a unique name and no multivalued attributes exist. Each row is unique and each attribute within a relation has a unique name.

29) What is a Catalog?

Catalog is a table which contains the information such as structure of each file, the type and storage format of each data item.The information stored in the catalog is called Metadata.

30) Enlist four applications of triggers?

  • Providing default values
  • Enforcing data constraints
  • Updating views
  • Enforcing referential integrity

Related Topics

Top 15 PouchDB Interview Questions for 2024

1) What is PouchDB? PouchDB is an in-browser database that allows applications to save data. It is an open source database. It runs in Node.js. 2) In which language PouchDB was written? PouchDB was written in JavaScript language. 3)...

2 minutes read.

Top 30 AngularJS Interview Questions and Answers for 2024

Most Frequently asked AngularJS Interview Questions and Answers for Fresher 1) Describe Angular JS ? It is a powerful framework of JavaScript. AngularJS is used to design Rich Internet Application. This framework...

5 minutes read.

Top 25 Android Interview Questions for 2024

1) What is Android? It is a software package and open-source operating system that is used in mobile devices. It is also a Linux kernel-based system operating system and application executes within...

3 minutes read.

Top 40 IoT Interview Questions and Answers in 2024

Q.1 What is IoT? IoT stands for the Internet of things refers to the interconnection of the network of various devices that can recognize, collect and transfer data over the internet...

13 minutes read.

Top 25 PL/SQL Interview question for 2024

1) What is PL/SQL? It is defined as SQL having Procedural features of Programming Language i.e. Procedural Language extension of SQL. 2) Enlist the section of PL/SQL block. It consist of three block ...

4 minutes read.

Top 14 Elixir Interview Questions for 2024

1) What is Elixir? Elixir is a dynamic, functional language. It is designed to build scalable and maintainable applications. 2) Who developed Elixir? Ericsson developed elixir in 1986. 3) What is the stable version of...

2 minutes read.

Top 16 Groovy interview Questions for 2024

1) What is Groovy? Groovy is an object oriented programming language. It is based on java platform. It can also be used as scripting language. 2) Who designed the Groovy? James Strachan designed...

2 minutes read.

Top 15 RESTful Web Services Interview Question for 2024

1) What is REST? REST is web standards based architecture and stands for REpresentational State Transfer. It uses HTTP Protocol for data communication. Here, everything is a resource. 2) What are the HTTP methods used...

2 minutes read.

Top 15 Meteor Interview Questions for 2024

1) What is Meteor or MeteorJS? Meteor is a JavaScript platform used for developing web and mobile applications. Applications develop using Meteor framework supports different platforms (like windows, android, ios). Meteor...

4 minutes read.

Top 30 Cassandra Interview Questions for 2024

1) Explain. What is Cassandra? Cassandra is an open source data storage system. It was developed at Facebook for inbox search and designed for storing and managing large amount of data. 2)...

5 minutes read.

Top 15 Bootstrap Interview Questions for 2024

1) Explain what is Bootstrap? It is a Framework which is used for building the web application with minimal effort. Bootstrap is also used for developing responsive, mobile-first web sites. 2) What...

10 minutes read.

Top 15 Pure CSS Interview Questions for 2024

1) What is Pure CSS? Pure is a CSS (Cascading Style Sheet) framework. It is a collection of small set of responsive CSS modules. We can integrate it to any web...

5 minutes read.

Top 30 WordPress Interview Questions for 2024

Most Frequently asked WordPress Interview Questions and Answers 2019 1) What is WordPress? WordPress is an open-source CMS (Content Management System) and a blogging tool. It is used to create web sites and...

5 minutes read.

Artificial Neural Network Interview Questions

1. Explain Neural Network?  Neural Network is a sequence of an algorithm that gives its best to recognize the underlying relationship in a data-set through a process. The artificial neural network...

8 minutes read.

Top 15 ExpressJS Interview Questions for 2024

1) What is ExpressJs? Express Js is a framework for node.js which is light-weight and fast. It is used to develop web and mobile applications. 2) What are the features of ExpressJs? Following...

4 minutes read.

Top 31 Koa Interview Questions for 2024

1) What is Koa? Koa is a very small framework which provides us a minimal interface to build our applications. It is quite flexible and there are numerous modules available on...

4 minutes read.

Top 31 PHP Interview Questions for 2024

1) What is PHP? PHP is a object-oriented scripting language, open source, interpreted and executed at server side. It is also used to develop web applications. 2) What are the features of PHP? Features...

4 minutes read.

Top 14 XSL Interview Questions for 2024

1) What is XSL? XSL stands for Extensible Stylesheet Language. It is used for expressing stylesheets like CSS which describes how to display an XML of given type. 2) What is XSLT? XSLT...

4 minutes read.

Top 30 Magento Interview Questions for 2024

1) What is Magento? Magento is an open-source content management system. It is used to create e-commerce websites. It is developed by Varien ,Inc, a US private company headquartered in Culver City, California. It...

5 minutes read.

Top 30 Python Interview Questions for 2024

1) What is Python? Python is a high level, interpreted and object-oriented programming language. It is easy to learn and supports multiple programming patterns. It is also known as powerful and versatile...

6 minutes read.