InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What is Data Warehousing? |
|
Answer» The process of collecting, extracting, transforming, and loading data from multiple sources and storing them in one database is known as data warehousing. A data warehouse can be considered as a central repository where data flows from transactional systems and other relational databases and is used for data analytics. A data warehouse comprises a wide variety of an organization’s historical data that supports the decision-making process in an organization. |
|
| 2. |
What is meant by normalization and denormalization? |
|
Answer» NORMALIZATION is a process of REDUCING redundancy by organizing the data into multiple tables. Normalization leads to better usage of disk spaces and makes it easier to maintain the integrity of the database. Denormalization is the REVERSE process of normalization as it COMBINES the tables which have been normalized into a single table so that data retrieval becomes faster. JOIN operation allows us to create a denormalized form of the data by REVERSING the normalization. |
|
| 3. |
What is a lock. Explain the major difference between a shared lock and an exclusive lock during a transaction in a database. |
|
Answer» A database lock is a mechanism to protect a shared PIECE of data from getting updated by two or more database users at the same time. When a single database user or SESSION has acquired a lock then no other database user or session can modify that data until the lock is released.
|
|
| 4. |
Explain the difference between the DELETE and TRUNCATE command in a DBMS. |
|
Answer» DELETE command: this command is needed to delete rows from a table based on the condition provided by the WHERE clause.
TRUNCATE command: this command is needed to remove complete data from a table in a database. It is like a DELETE command which has no WHERE clause.
|
|
| 5. |
Explain the difference between intension and extension in a database. |
|
Answer» Following is the major DIFFERENCE between intension and extension in a database:
|
|
| 6. |
Explain different types of relationships amongst tables in a DBMS. |
|
Answer» Following are different TYPES of relationship amongst tables in a DBMS system:
|
|
| 7. |
What is meant by an entity-relationship (E-R) model? Explain the terms Entity, Entity Type, and Entity Set in DBMS. |
|
Answer» An entity-relationship model is a diagrammatic approach to a DATABASE design where real-world objects are represented as ENTITIES and relationships between them are mentioned.
|
|
| 8. |
Explain different levels of data abstraction in a DBMS. |
|
Answer» The PROCESS of hiding irrelevant DETAILS from users is known as DATA abstraction. Data abstraction can be divided into 3 LEVELS:
|
|
| 9. |
What is meant by Data Warehousing? |
|
Answer» The process of COLLECTING, extracting, transforming, and loading data from multiple SOURCES and storing them into ONE DATABASE is known as data warehousing. A data warehouse can be considered as a CENTRAL repository where data flows from transactional systems and other relational databases and is used for data analytics. A data warehouse comprises a wide variety of organization’s historical data that supports the decision-making process in an organization. |
|