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 Meant By Proactive, Retroactive And Simultaneous Update? |
|
Answer» Proactive Update: Proactive Update: |
|
| 2. |
What Are Cursors Give Different Types Of Cursors. |
|
Answer» PL/SQL uses CURSORS for all DATABASE information ACCESSES STATEMENTS. The LANGUAGE supports the use two types of cursors.
PL/SQL uses cursors for all database information accesses statements. The language supports the use two types of cursors. |
|
| 3. |
What Are Stand-alone Procedures? |
|
Answer» Procedures that are not PART of a package are known as stand-alone because they INDEPENDENTLY defined. A GOOD example of a stand-alone procedure is one written in a SQL*Forms application. These types of procedures are not available for reference from other Oracle TOOLS. Another limitation of stand-alone procedures is that they are compiled at run time, which slows execution. Procedures that are not part of a package are known as stand-alone because they independently defined. A good example of a stand-alone procedure is one written in a SQL*Forms application. These types of procedures are not available for reference from other Oracle tools. Another limitation of stand-alone procedures is that they are compiled at run time, which slows execution. |
|
| 4. |
What Is Authorization And Integrity Manager? |
|
Answer» It is the program module, which TESTS for the satisfaction of integrity constraint and checks the authority of user to ACCESS data. It is the program module, which tests for the satisfaction of integrity constraint and checks the authority of user to access data. |
|
| 5. |
What Is File Manager? |
|
Answer» It is a program MODULE, which manages the ALLOCATION of space on disk storage and data STRUCTURE USED to REPRESENT information stored on a disk. It is a program module, which manages the allocation of space on disk storage and data structure used to represent information stored on a disk. |
|
| 6. |
What Is Transaction Manager? |
|
Answer» It is a program MODULE, which ensures that DATABASE, remains in a consistent STATE despite system failures and CONCURRENT transaction execution proceeds without CONFLICTING. It is a program module, which ensures that database, remains in a consistent state despite system failures and concurrent transaction execution proceeds without conflicting. |
|
| 7. |
What Is Buffer Manager? |
|
Answer» It is a program MODULE, which is responsible for fetching data from DISK storage into main MEMORY and DECIDING what data to be cache in memory. It is a program module, which is responsible for fetching data from disk storage into main memory and deciding what data to be cache in memory. |
|
| 8. |
What Is Storage Manager? |
|
Answer» It is a program MODULE that PROVIDES the interface between the low-level data STORED in database, application PROGRAMS and QUERIES submitted to the system. It is a program module that provides the interface between the low-level data stored in database, application programs and queries submitted to the system. |
|
| 9. |
Does Pl/sql Support "overloading"? Explain |
|
Answer» The concept of overloading in PL/SQL relates to the idea that you can define procedures and functions with the same NAME. PL/SQL does not look only at the REFERENCED name, however, to RESOLVE a procedure or function call. The count and data types of formal parameters are also considered. The concept of overloading in PL/SQL relates to the idea that you can define procedures and functions with the same name. PL/SQL does not look only at the referenced name, however, to resolve a procedure or function call. The count and data types of formal parameters are also considered. |
|
| 10. |
What Are Stored-procedures? And What Are The Advantages Of Using Them. |
|
Answer» STORED PROCEDURES are database objects that perform a user defined operation. A stored PROCEDURE can have a set of compound SQL statements. A stored procedure executes the SQL COMMANDS and returns the result to the client. Stored procedures are used to REDUCE network traffic. Stored procedures are database objects that perform a user defined operation. A stored procedure can have a set of compound SQL statements. A stored procedure executes the SQL commands and returns the result to the client. Stored procedures are used to reduce network traffic. |
|
| 11. |
Name Two Utilities That Oracle Provides, Which Are Use For Backup And Recovery. |
|
Answer» Along with the RDBMS software, Oracle provides two utilities that you can USE to back up and restore the database. These utilities are EXPORT and Import. Along with the RDBMS software, Oracle provides two utilities that you can use to back up and restore the database. These utilities are Export and Import. |
|
| 12. |
What Is Database Trigger? |
|
Answer» A DATABASE trigger is a PL/SQL block that can defined to automatically execute for insert, UPDATE, and DELETE STATEMENTS against a table. The trigger can be defined to execute once for the entire statement or once for every row that is inserted, updated, or deleted. For any one table, there are twelve events for which you can define database triggers. A database trigger can call database procedures that are also written in PL/SQL. A database trigger is a PL/SQL block that can defined to automatically execute for insert, update, and delete statements against a table. The trigger can be defined to execute once for the entire statement or once for every row that is inserted, updated, or deleted. For any one table, there are twelve events for which you can define database triggers. A database trigger can call database procedures that are also written in PL/SQL. |
|
| 13. |
What Are The Four Oracle System Processes That Must Always Be Up And Running For The Database To Be Useable |
|
Answer» The four Oracle system PROCESSES that must ALWAYS be up and running for the database to be useable include DBWR (Database Writer), LGWR (LOG Writer), SMON (System Monitor), and PMON (Process Monitor). The four Oracle system processes that must always be up and running for the database to be useable include DBWR (Database Writer), LGWR (Log Writer), SMON (System Monitor), and PMON (Process Monitor). |
|
| 14. |
How Do You Communicate With An Rdbms? |
|
Answer» You COMMUNICATE with an RDBMS USING STRUCTURED Query Language (SQL). You communicate with an RDBMS using Structured Query Language (SQL). |
|
| 15. |
Not Only Rdbms Takes Care Of Locating Data It Also? |
|
Answer» DETERMINES an OPTIMAL ACCESS path to store or retrieve the DATA. determines an optimal access path to store or retrieve the data. |
|
| 16. |
What Is The Job Of The Information Stored In Data-dictionary? |
|
Answer» The information in the data dictionary validates the existence of the OBJECTS, provides ACCESS to them, and maps the ACTUAL physical storage location. The information in the data dictionary validates the existence of the objects, provides access to them, and maps the actual physical storage location. |
|
| 17. |
Which Part Of The Rdbms Takes Care Of The Data Dictionary? How |
|
Answer» DATA dictionary is a set of tables and DATABASE objects that is stored in a SPECIAL AREA of the database and maintained EXCLUSIVELY by the kernel. Data dictionary is a set of tables and database objects that is stored in a special area of the database and maintained exclusively by the kernel. |
|
| 18. |
What Is Rdbms Kernel? |
|
Answer» Two important pieces of RDBMS architecture are the kernel, which is the software, and the data DICTIONARY, which consists of the system-level data structures used by the kernel to manage the DATABASE Two important pieces of RDBMS architecture are the kernel, which is the software, and the data dictionary, which consists of the system-level data structures used by the kernel to manage the database |
|
| 19. |
Are The Resulting Relations Of Product And Join Operation The Same? |
|
Answer» No. No. |
|
| 20. |
What Are The Unary Operations In Relational Algebra? |
|
Answer» PROJECTION and SELECTION. PROJECTION and SELECTION. |
|
| 21. |
Name The Buffer In Which All The Commands That Are Typed In Are Stored? |
|
Answer» ‘Edit’ Buffer. |
|
| 22. |
What Are The Primitive Operations Common To All Record Management Systems? |
|
Answer» ADDITION, DELETION and MODIFICATION. Addition, deletion and modification. |
|
| 23. |
What Do You Mean By Correlated Subquery? |
|
Answer» Subqueries, or nested queries, are used to bring back a set of rows to be used by the parent query. Depending on how the subquery is written, it can be executed once for the parent query or it can be executed once for each row returned by the parent query. If the subquery is executed for each row of the parent, this is CALLED a correlated subquery. Subqueries, or nested queries, are used to bring back a set of rows to be used by the parent query. Depending on how the subquery is written, it can be executed once for the parent query or it can be executed once for each row returned by the parent query. If the subquery is executed for each row of the parent, this is called a correlated subquery. |
|
| 24. |
Brief Theory Of Network, Hierarchical Schemas And Their Properties? |
|
Answer» Network SCHEMA uses a graph data structure to ORGANIZE RECORDS example for such a DATABASE management SYSTEM is CTCG while a hierarchical schema uses a tree data structure example for such a system is IMS. Network schema uses a graph data structure to organize records example for such a database management system is CTCG while a hierarchical schema uses a tree data structure example for such a system is IMS. |
|
| 25. |
What Is "transparent Dbms"? |
|
Answer» It is ONE, which keeps its PHYSICAL STRUCTURE HIDDEN from user. It is one, which keeps its Physical Structure hidden from user. |
|
| 26. |
What Do You Mean By Flat File Database? |
|
Answer» It is a DATABASE in which there are no programs or user ACCESS LANGUAGES. It has no cross-file capabilities but is user-friendly and provides user-interface MANAGEMENT. It is a database in which there are no programs or user access languages. It has no cross-file capabilities but is user-friendly and provides user-interface management. |
|
| 27. |
What Are The Different Phases Of Transaction? |
|
Answer» DIFFERENT phases are Different phases are |
|
| 28. |
What Is A Checkpoint And When Does It Occur? |
|
Answer» A Checkpoint is like a snapshot of the DBMS state. By TAKING CHECKPOINTS, the DBMS can REDUCE the amount of WORK to be done during restart in the event of subsequent CRASHES. A Checkpoint is like a snapshot of the DBMS state. By taking checkpoints, the DBMS can reduce the amount of work to be done during restart in the event of subsequent crashes. |
|
| 29. |
What Is A Phantom Deadlock? |
|
Answer» In DISTRIBUTED deadlock DETECTION, the delay in propagating local information might cause the deadlock detection algorithms to identify deadlocks that do not REALLY exist. Such situations are CALLED phantom deadlocks and they lead to unnecessary aborts. In distributed deadlock detection, the delay in propagating local information might cause the deadlock detection algorithms to identify deadlocks that do not really exist. Such situations are called phantom deadlocks and they lead to unnecessary aborts. |
|
| 30. |
What Do You Mean By Atomicity And Aggregation? |
|
Answer» Atomicity: Atomicity: |
|
| 31. |
What Is Durability In Dbms? |
|
Answer» Once the DBMS informs the user that a transaction has successfully completed, its effects should persist EVEN if the system crashes before all its changes are reflected on DISK. This PROPERTY is called DURABILITY. Once the DBMS informs the user that a transaction has successfully completed, its effects should persist even if the system crashes before all its changes are reflected on disk. This property is called durability. |
|
| 32. |
What Is Join Dependency And Inclusion Dependency? |
|
Answer» Join Dependency: A Join dependency is generalization of Multivalued dependency.A JD {R1, R2, ..., Rn} is said to HOLD over a relation R if R1, R2, R3, ..., Rn is a lossless-join decomposition of R . There is no SET of SOUND and complete inference rules for JD. An Inclusion Dependency is a statement of the form that some columns of a relation are contained in other columns. A FOREIGN key constraint is an example of inclusion dependency. Join Dependency: A Join dependency is generalization of Multivalued dependency.A JD {R1, R2, ..., Rn} is said to hold over a relation R if R1, R2, R3, ..., Rn is a lossless-join decomposition of R . There is no set of sound and complete inference rules for JD. An Inclusion Dependency is a statement of the form that some columns of a relation are contained in other columns. A foreign key constraint is an example of inclusion dependency. |
|
| 33. |
What Is Meant By Query Optimization? |
|
Answer» The PHASE that identifies an efficient execution plan for evaluating a QUERY that has the least estimated COST is referred to as query OPTIMIZATION. The phase that identifies an efficient execution plan for evaluating a query that has the least estimated cost is referred to as query optimization. |
|
| 34. |
What Is System Catalog Or Catalog Relation? How Is Better Known As? |
|
Answer» A RDBMS maintains a description of all the data that it contains, information about every relation and index that it contains. This information is stored in a collection of RELATIONS maintained by the SYSTEM CALLED METADATA. It is also called data dictionary. A RDBMS maintains a description of all the data that it contains, information about every relation and index that it contains. This information is stored in a collection of relations maintained by the system called metadata. It is also called data dictionary. |
|
| 35. |
What Is Indexing And What Are The Different Kinds Of Indexing? |
|
Answer» Indexing is a TECHNIQUE for determining how quickly specific DATA can be found.
Indexing is a technique for determining how quickly specific data can be found. |
|
| 36. |
What Is Domain-key Normal Form? |
|
Answer» A relation is said to be in DKNF if all CONSTRAINTS and dependencies that should hold on the constraint can be ENFORCED by SIMPLY enforcing the DOMAIN constraint and key constraint on the relation. A relation is said to be in DKNF if all constraints and dependencies that should hold on the constraint can be enforced by simply enforcing the domain constraint and key constraint on the relation. |
|
| 37. |
What Is 5nf? |
|
Answer» A RELATION schema R is said to be 5NF if for every join dependency {R1, R2, ..., Rn} that holds R, one the following is true
A Relation schema R is said to be 5NF if for every join dependency {R1, R2, ..., Rn} that holds R, one the following is true |
|
| 38. |
What Is 4nf? |
|
Answer» A relation SCHEMA R is said to be in 4NF if for every Multivalued dependency X Y that HOLDS over R, one of following is true
A relation schema R is said to be in 4NF if for every Multivalued dependency X Y that holds over R, one of following is true |
|
| 39. |
What Is Bcnf (boyce-codd Normal Form)? |
|
Answer» A relation schema R is in BCNF if it is in 3NF and satisfies an additional constraint that for every FD X A, X must be a candidate KEY. A relation schema R is in BCNF if it is in 3NF and satisfies an additional constraint that for every FD X A, X must be a candidate key. |
|
| 40. |
What Is 3nf? |
|
Answer» A RELATION SCHEMA R is in 3NF if it is in 2NF and for EVERY FD X A EITHER of the following is true
In other words, if every non prime attribute is non-transitively dependent on primary key. A relation schema R is in 3NF if it is in 2NF and for every FD X A either of the following is true In other words, if every non prime attribute is non-transitively dependent on primary key. |
|
| 41. |
What Is 2nf? |
|
Answer» A relation schema R is in 2NF if it is in 1NF and every non-prime attribute A in R is fully functionally DEPENDENT on PRIMARY KEY. A relation schema R is in 2NF if it is in 1NF and every non-prime attribute A in R is fully functionally dependent on primary key. |
|
| 42. |
What Is 1 Nf (normal Form)? |
|
Answer» The domain of ATTRIBUTE must INCLUDE only atomic (SIMPLE, INDIVISIBLE) values. The domain of attribute must include only atomic (simple, indivisible) values. |
|
| 43. |
What Is Lossless Join Property? |
|
Answer» It GUARANTEES that the spurious TUPLE GENERATION does not occur with respect to relation SCHEMAS after decomposition. It guarantees that the spurious tuple generation does not occur with respect to relation schemas after decomposition. |
|
| 44. |
What Is Relational Calculus? |
|
Answer» It is an applied predicate CALCULUS specifically tailored for RELATIONAL databases proposed by E.F. Codd. It is an applied predicate calculus specifically tailored for relational databases proposed by E.F. Codd. |
|
| 45. |
What Is Relational Algebra? |
|
Answer» It is procedural QUERY language. It CONSISTS of a set of OPERATIONS that TAKE ONE or two relations as input and produce a new relation. It is procedural query language. It consists of a set of operations that take one or two relations as input and produce a new relation. |
|
| 46. |
What Is Set-at-a-time Or Set-oriented? |
|
Answer» The High level or Non-procedural DML can specify and RETRIEVE MANY RECORDS in a SINGLE DML statement. This retrieve of a record is said to be Set-at-a-time or Set-oriented. The High level or Non-procedural DML can specify and retrieve many records in a single DML statement. This retrieve of a record is said to be Set-at-a-time or Set-oriented. |
|
| 47. |
What Is Record-at-a-time? |
|
Answer» The LOW level or Procedural DML can specify and RETRIEVE each record from a SET of records. This retrieve of a record is SAID to be Record-at-a-time. The Low level or Procedural DML can specify and retrieve each record from a set of records. This retrieve of a record is said to be Record-at-a-time. |
|
| 48. |
What Is Ddl Interpreter? |
|
Answer» It interprets DDL statements and RECORD them in TABLES containing METADATA. It interprets DDL statements and record them in tables containing metadata. |
|
| 49. |
What Is Query Evaluation Engine? |
|
Answer» It EXECUTES low-level INSTRUCTION GENERATED by COMPILER. It executes low-level instruction generated by compiler. |
|
| 50. |
What Is Dml Compiler? |
|
Answer» It TRANSLATES DML statements in a query language into low-level INSTRUCTION that the query EVALUATION engine can UNDERSTAND. It translates DML statements in a query language into low-level instruction that the query evaluation engine can understand. |
|