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. |
Are NULL values in a database the same as that of blank space or zero? |
|
Answer» No, a NULL value is very different from that of ZERO and blank space as it represents a value that is ASSIGNED, unknown, unavailable, or not applicable as COMPARED to blank space which represents a character and zero represents a number. Example: NULL value in “number_of_courses” taken by a student represents that its value is unknown WHEREAS 0 in it MEANS that the student hasn’t taken any courses. |
|
| 2. |
What is meant by ACID properties in DBMS? |
|
Answer» ACID stands for Atomicity, Consistency, Isolation, and Durability in a DBMS these are those properties that ensure a SAFE and secure way of sharing data AMONG multiple users.
|
|
| 3. |
Explain different languages present in DBMS. |
|
Answer» Following are various languages present in DBMS:
|
|
| 4. |
Explain a few advantages of a DBMS. |
|
Answer» Following are the few advantages of using a DBMS.
|
|
| 5. |
Mention the issues with traditional file-based systems that make DBMS a better choice? |
|
Answer» The absence of indexing in a TRADITIONAL file-based system leaves us with the only option of scanning the full page and hence making the access of content TEDIOUS and super slow. The other issue is redundancy and inconsistency as files have many duplicate and redundant data and changing one of them makes all of them INCONSISTENT. Accessing data is harder in traditional file-based systems because data is unorganized in them. Another issue is the lack of concurrency control, which leads to one operation locking the entire page, as compared to DBMS where multiple OPERATIONS can work on a single file simultaneously. Integrity check, data isolation, atomicity, security, etc. are some other issues with traditional file-based systems for which DBMSs have provided some good SOLUTIONS. |
|
| 6. |
What is meant by a database? |
|
Answer» A Database is an organized, consistent, and logical collection of DATA that can easily be updated, accessed, and managed. Database mostly contains sets of tables or objects (anything created using create command is a database object) which consist of RECORDS and fields. A tuple or a row represents a single entry in a table. An ATTRIBUTE or a column represents the basic units of data storage, which contain information about a particular aspect of the table. DBMS extracts data from a database in the form of queries GIVEN by the user. |
|
| 7. |
What is meant by DBMS and what is its utility? Explain RDBMS with examples. |
|
Answer» As the name suggests DBMS or Database Management System is a set of applications or programs that enable users to create and maintain a database. DBMS provides a tool or an interface for performing various operations such as inserting, deleting, updating, etc. into a database. It is software that enables the storage of DATA more compactly and SECURELY as compared to a file-based system. A DBMS system HELPS a user to overcome problems like data inconsistency, data redundancy, etc. in a database and makes it more convenient and organized to use it. Examples of popular DBMS systems are file systems, XML, Windows REGISTRY, etc. RDBMS stands for Relational Database Management System and was introduced in the 1970S to access and store data more efficiently than DBMS. RDBMS stores data in the form of tables as compared to DBMS which stores data as files. Storing data as rows and columns makes it easier to locate specific values in the database and makes it more efficient as compared to DBMS. Examples of popular RDBMS systems are MySQL, Oracle DB, etc. |
|