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 do you mean by starvation in DBMS? |
| Answer» | |
| 2. |
What do you mean by conflict Serializability in DBMS? |
| Answer» | |
| 3. |
What is a concurrency problem in DBMS? |
| Answer» | |
| 4. |
What is the difference between DELETE and TRUNCATE command in DBMS? |
| Answer» | |
| 5. |
What is acid property in DBMS? |
| Answer» | |
| 6. |
What is BCNF standard form in DBMS? |
| Answer» | |
| 7. |
What do you mean by checkpoints in DBMS? |
|
Answer» When MANY transactions are executed at the same time, then the LOGS are interleaved. As a result, it becomes tough for the recovery system to recover the data. Checkpoint acts as a bookmark that MAKES the inspections during the transaction execution. Each checkpoint, the previous logs are removed from the system and are STORED in the storage disk. As a result recovery of the data is faster. |
|
| 8. |
What do you mean by DML Compiler? |
|
Answer» DML STANDS for Data Manipulation Language.DML COMPILER translates the DML statements which are there in a QUERY language into the low-level instructions which the query EVALUATION ENGINE understands easily. |
|
| 9. |
What is index and also its types in DBMS? |
|
Answer» The database index is the data structure that is defined on the COLUMNS of the database table. Database indexing speed up the data retrieval process. There are 3 types of indexing in DBMS:-
|
|
| 10. |
What is data Independence and also explain its types? |
|
Answer» Database systems are the multilayered system. Data INDEPENDENCE refers to altering the data of one layer WITHOUT the on other layers. There are two types of Data Independence:-
|
|
| 11. |
What do you mean by query optimization? |
|
Answer» A single query can be solved or executes by WRITING DIFFERENT query plans or ALGORITHMS. Query optimization is a process in which the query optimizer chooses the most efficient algorithm to perform the GIVEN query. 13. What do you mean by denormalization?The denormalization is an optimization process to INCREASE the data redundancy in the database. As a result, the joins are avoided, and the performance of the database structure is improved. Denormalization is done after the normalization process. |
|
| 12. |
What do you mean by E-R Model? |
|
Answer» The E-R model stands for the Entity Relational Model. The E-r model is a WAY of REPRESENTING the logical RELATIONSHIP between the entities or the objects in order to create a database. The ER model was DEVELOPED by Peter Pin-Shan Chen in the 1970s. |
|
| 13. |
What is the language used by most of the dbms? |
|
Answer» There are 4 TYPES of database languages:-
Point to be noted: Go through this Q&A very thoroughly as this is one of the critical DBMS interview questions for freshers. |
|
| 14. |
What do you mean by deadlock DBMS? |
|
Answer» A deadlock condition occurs when ONE task is waiting for the other work to leave the resource which it has a hold. In this current situation, none of the functions gets completed, and the work is always in the waiting state. 9. Explain the NECESSARY TECHNIQUES to control deadlocks?There are 3 methods by which deadlocks can be handled:-
|
|
| 15. |
What is Normalization and why it is used? |
|
Answer» Data Redundancy means when the same data is repeated again and again at multiple LOCATIONS. As a result, deletion, insertion, and updating of the data become a tedious job and also a LOT of space is also wasted. Normalization solves this problem by reducing the data redundancy. There are 3 types of Normalization:-
|
|
| 16. |
Explain the difference between DBMS and RDBMS? |
||||||||||||
Answer»
This QUESTION has always been a CENTER of the discussion in DBMS interview questions.
|
|||||||||||||
| 17. |
What is Database management system and why it is used? |
|
Answer» A database management system is a software which is used to MANAGE the data by EFFICIENTLY storing, managing and retrieving it along with the high-end SECURITY. Some of the database software are -MySQL, Oracle, SYBASE, etc. Uses of DBMS
|
|
| 18. |
What are different types of keys in Database? |
|
Answer» There are SEVEN types of database keys:-
|
|
| 19. |
What is aggregate and scalar functions in DBMS? |
|
Answer» Aggregate functions are the calculations on the set or group of value, and they return a single value. The aggregate functions are :-
Scalar Functions are the calculations on the data given by the user, and they return a single value. The scalar functions are :-
|
|
| 20. |
What is constraints and its types in DBMS? |
|
Answer» Constraints are set of rules USED to restrict the type of data that can go into a table, to preserve the accuracy and integrity of the RECORDS internal the table. The different TYPES of constraints in DBMS are as follows:-
|
|