This section includes 7 InterviewSolutions, each offering curated multiple-choice questions to sharpen your Current Affairs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Explain The Distinction Between Total And Partial Constraints? |
|
Answer» In a total DESIGN constraint, each higher-level entity MUST belong to a lower-level entity SET. The same NEED not be true in a partial design constraint. For instance, some EMPLOYEES may belong to no work-team. In a total design constraint, each higher-level entity must belong to a lower-level entity set. The same need not be true in a partial design constraint. For instance, some employees may belong to no work-team. |
|
| 2. |
Explain The Distinction Between Condition-defined And User-defined Constraints. Which Of These Constraints Can The System Check Automatically? |
|
Answer» In a generalization–specialization hierarchy, it must be possible to decide which entities are members of which lower level entity sets. In a condition defined design constraint, membership in the lower level entity-sets is evaluated on the BASIS of whether or not an entity satisfies an explicit condition or predicate.User-defined lower-level entity sets are not constrained by a membership condition; rather, entities are ASSIGNED to a given entity set by the database user. Condition-defined CONSTRAINTS alone can be AUTOMATICALLY handled by the system. Whenever any tuple is inserted into the database, its membership in the various lower level entity-sets can be automatically decided by evaluating the respective membership predicates. Similarly when a tuple is updated, its membership in the various entity sets can be re-evaluated automatically. In a generalization–specialization hierarchy, it must be possible to decide which entities are members of which lower level entity sets. In a condition defined design constraint, membership in the lower level entity-sets is evaluated on the basis of whether or not an entity satisfies an explicit condition or predicate.User-defined lower-level entity sets are not constrained by a membership condition; rather, entities are assigned to a given entity set by the database user. Condition-defined constraints alone can be automatically handled by the system. Whenever any tuple is inserted into the database, its membership in the various lower level entity-sets can be automatically decided by evaluating the respective membership predicates. Similarly when a tuple is updated, its membership in the various entity sets can be re-evaluated automatically. |
|
| 3. |
A Weak Entity Set Can Always Be Made Into A Strong Entity Set By Adding To Its Attributes The Primary Key Attributes Of Its Identifying Entity Set. Outline What Sort Of Redundancy Will Result If We Do So? |
|
Answer» The primary key of a weak ENTITY SET can be inferred from its relationship with the STRONG entity set. If we add primary key attributes to the weak entity set, they will be present in both the entity set and the relationship set and they have to be the same. HENCE there will be REDUNDANCY. The primary key of a weak entity set can be inferred from its relationship with the strong entity set. If we add primary key attributes to the weak entity set, they will be present in both the entity set and the relationship set and they have to be the same. Hence there will be redundancy. |
|
| 4. |
An E-r Diagram Can Be Viewed As A Graph.what Do The Following Mean In Terms Of The Structure Of An Enterprise Schema? the Graph Is Disconnected.< the Graph Is Acyclic. |
Answer»
|
|
| 5. |
We Can Convert Any Weak Entity Set To A Strong Entity Set By Simply Adding Appropriate Attributes.why, Then, Do We Have Weak Entity Sets? |
|
Answer» We have weak entities for several reasons:
We have weak entities for several reasons: |
|
| 6. |
Construct An E-r Diagram For A Car-insurance Company Whose Customers Own One Or More Cars Each. Each Car Has Associated With It Zero To Any Number Of Recorded Accidents? |
|
Answer»
|
|
| 7. |
Explain The Distinctions Among The Terms Primary Key, Candidate Key, And Super Key? |
|
Answer» A super key is a set of one or more attributes that, taken collectively, allows us to identify UNIQUELY an entity in the entity set. A super key may contain EXTRANEOUS attributes. If K is a super key, then so is any super set of K. A super key for which no PROPER subset is also a super key is CALLED a candidate key. It is possible that several distinct sets of attributes could serve as candidate keys. The primary key is one of the candidate keys that is chosen by the database designer as the principal means of identifying entities within an entity set. A super key is a set of one or more attributes that, taken collectively, allows us to identify uniquely an entity in the entity set. A super key may contain extraneous attributes. If K is a super key, then so is any super set of K. A super key for which no proper subset is also a super key is called a candidate key. It is possible that several distinct sets of attributes could serve as candidate keys. The primary key is one of the candidate keys that is chosen by the database designer as the principal means of identifying entities within an entity set. |
|
| 8. |
Consider A Two-dimensional Integer Array Of Size N ×m That Is To Be Used In Your Favorite Programming Language. Using The Array As An Example, Illustrate The Difference? Between The Three Levels Of Data Abstraction, And between A Schema And Instances? |
|
Answer» LET tgrid be a two-dimensional integer array of size n × m.
Let tgrid be a two-dimensional integer array of size n × m. |
|
| 9. |
List Six Major Steps That You Would Take In Setting Up A Database For A Particular Enterprise? |
|
Answer» Six MAJOR STEPS in setting up a database for a particular enterprise are:
Six major steps in setting up a database for a particular enterprise are: |
|
| 10. |
List Seven Programming Languages That Are Procedural And Two That Are Non Procedural. Which Group Is Easier To Learn And Use? |
|
Answer» PROGRAMMING LANGUAGE classification:
Note: Lisp and Prolog support some procedural constructs, but the core of both these languages is non-procedural. In THEORY, non-procedural languages are easier to learn, because they let the programmer concentrate on what needs to be done, rather than how to do it. This is not always true in practice, especially if procedural languages are learned FIRST. Programming language classification: Note: Lisp and Prolog support some procedural constructs, but the core of both these languages is non-procedural. In theory, non-procedural languages are easier to learn, because they let the programmer concentrate on what needs to be done, rather than how to do it. This is not always true in practice, especially if procedural languages are learned first. |
|
| 11. |
What Are Five Main Functions Of A Database Administrator? |
|
Answer» Five MAIN functions of a database ADMINISTRATOR are:
Five main functions of a database administrator are: |
|
| 12. |
List Five Responsibilities Of A Database Management System? |
|
Answer» A general purpose database manager (DBM) has FIVE responsibilities:
A general purpose database manager (DBM) has five responsibilities: |
|
| 13. |
Explain The Difference Between Physical And Logical Data Independence? |
Answer»
|
|
| 14. |
This Chapter Has Described Several Major Advantages Of A Database System. What Are Two Disadvantages? |
|
Answer» Two DISADVANTAGES associated with database systems are listed below.
Two disadvantages associated with database systems are listed below. |
|
| 15. |
List Four Significant Differences Between A File-processing System And A Dbms? |
|
Answer» Some main differences between a database management system and a file-processing system are:
Some main differences between a database management system and a file-processing system are: |
|