Technical Questions
Technical Questions
Coding
Project Based
1. What is HTML/CSS/Bootstrap
2. Name some backend/frontend languages
HR
DBMS or Database Management System is a software to create, manipulate and delete data
from a database.
2. What is an ER-Model/ER-Diagram?
An ER diagram shows the relationship between the entity set. An entity set is a group of similar
entities. Entity is a physical or conceptual object. Each entity differs w.r.t. the values.
3. Types of Attributes.
Simple and Composite
Single Values and Multi-valued
Stored and Derived
DBMS provides a specialized programming language called Database Language. SQL is the
standard database language. The provision of such language facilitates many functionalities to
the user.
DDL is used to describe the details of data, i.e. metadata. The conceptual schema is specified
using DDL. Every DBMS will have a compiler which processes DDL in order to construct and store
the schema into tables in a specified file called “Data dictionary”. Whenever a change is made to
the metadata, this file is consulted. E.g. CREAT, ALTER, DROP
Once the database schemas have been created and all the data has been entered, following
actions needs to be performed –
The language that allows the above operations are called DML. E.g. SELECT , INSERT, DELETE
3. Data Control Language (DCL)
Access Methods-
DBA provides authorisation to different users and systems
1. Super Keys-
It is a set of attributes which when taken collectively, can be used to uniquely identify an all
entity in the entity set.
2. Candidate Key-
It is a super key, whose subset cannot be categorised as a super key.
3. Primary Key-
It is a candidate key which acts as the primary access mechanism of the entity set, set by the
DBA.
Insertion Anomaly
Deletion Anomaly
Updation Anomaly
11.What is Normalisation?
1. 1nf
All column values should be atomic
No repeating columns
All rows of the same column should of same type
2. 2nf
Must be in 1nf
Shouldn’t have partial dependency
Partial Dependency- when a non-prime attribute is dependent of prime attributes (those
which are part of candidate key)
3. 3nf
Must be in 1nf and 2nf
Should not have Transitive Dependency
Transitive Dependency is a functional dependency where a non-prime attribute is
dependent on another non-prime attribute.
4. BCnf
Must be in 1nf,2nf,3nf
For a functionally dependency a->b, a must be a super key.
5. 4nf
Must be bcnf
No multivalued dependency
6. 5nf
Must be in 4nf
No join dependency
Joins are operations to combine two or more relations to form a single new relation.
1.Natural Join
It is a join operation that creates an implicit join clause based on the common columns of
two tables.
2.Self join
3.Equi Join
It is a natural join but return those rows available in left table and not right table
It is a natural join but return those rows available in right table and not in left table.
Read-Write Conflict
Suppose T1 and T2 reads a value. T1 changes the value. T2 reads the value again but this
time it is different. This is a violation of isolation property.
Phantom Read
This occurs when a transaction read some variable from the local buffer but then when it
reads it again, it is deleted by some other transaction.
Indexing is a data structure method by which we can efficiently retrieve database files on an
attribute based on which indexing is done.
Primary Indexing
Secondary Indexing
Clustering Indexing
Dense Indexing
Sparse Indexing
Multilevel Indexing