Preview

crypyography

Powerful Essays
Open Document
Open Document
2299 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
crypyography
QNS: Discuss the characteristics of relations that make them different fromordinary tables and files.

Ans:Tables and files have some particular order but relations don’t. ordinary tablesand files are static while a relational database has data thatis dependent on the data that is entered in tuples that are related to thatattribute. in the ordinary tables and files, there are no constraintsrelated to the related data and a user could input whatever they wanted

Q. Discuss the various reasons that lead to the occurrence of null values in relations in detail?
Each value in a tuple is an atomic value; that is, it is not divisible into components within the framework of the basic relational model. Hence, composite and multivalued attributes are not allowed. This model is sometimes called the flat relational model. Much of the theory behind the relational model was developed with this assumption in mind, which is called the first normal form assumption. Hence, multivalued attributes must be represented by separate relations, and composite attributes are represented only by their simple component attributes in the basic relational model.
An important concept is that of nulls, which are used to represent the values of attributes that may be unknown or may not apply to a tuple. A special value, called null, is used for these cases. In general, we can have several meanings for null values, such as "value unknown," "value exists but is not available," or "attribute does not apply to this tuple." It is possible to devise different codes for different meanings of null values. Incorporating different types of null values into the relational model operations has proven difficult and is outside the scope of our presentation.

If an instance (tuple) of a relation lacks having that attribute. i.e: a student that does not have a mobile phone or an office phones. The values for these attribute for that particular student will be null. It is important to note that a null

You May Also Find These Documents Helpful

  • Good Essays

    Nt1330 Unit 1 Assignment

    • 604 Words
    • 3 Pages

    6. What is the basic unit of information in an LDAP directory? What is the…

    • 604 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    8. When should you allow nulls in designing a table? When should you not allow nulls when designing a table?…

    • 327 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Garden Glory chapter 1

    • 824 Words
    • 4 Pages

    Deleting value: For example, if want to delete data of a property of owner the data of owner who has only one property then information of the owner will be also deleted because they are in the same row.…

    • 824 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    poop

    • 796 Words
    • 4 Pages

    2. An attribute is a property that applies to a given entity. There can be many attributes for an entity.…

    • 796 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Entity-relationship Model

    • 411 Words
    • 2 Pages

    6. One-to-One Relationship - . A one-to-one relationship specifies that for each row in the primary entity, there can be one and no more than one related record in the secondary entity. In a one-to-one relationship, the primary key of the first entity is often the primary key of the second entity.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    infs2603

    • 1000 Words
    • 4 Pages

    3. If an association is found to have attributes or operations, describe how these can…

    • 1000 Words
    • 4 Pages
    Powerful Essays
  • Good Essays

    Dbm 381 Week 1paper

    • 885 Words
    • 4 Pages

    A database consists of one or more tables; each containing data stored as individual records. Different database architectures determine how the tables and records are organized or related…

    • 885 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    04

    • 4586 Words
    • 34 Pages

    A PRIMARY KEY constraint will make certain the column designated as the primary key does not contain a NULL value.…

    • 4586 Words
    • 34 Pages
    Satisfactory Essays
  • Good Essays

    crow foot diagram

    • 549 Words
    • 3 Pages

    The relationship expressed by “DEPARTMENT employs EMPLOYEE” is shown as mandatory on the EMPLOYEE side. This means that a DEPARTMENT must have at least one EMPLOYEE in order to have departmental status. However, DEPARTMENT is optional to EMPLOYEE, so an employee can be entered without entering a departmental FK value. If the existence of nulls is not acceptable, you can create a “No assignment” record in the DEPARTMENT table to be referenced in the EMPLOYEE table if an employee is not assigned to a department.…

    • 549 Words
    • 3 Pages
    Good Essays
  • Good Essays

    A composite key contains two or more attributes. An example of a unique composite key in the EMPLOYEE table is if we combined LastName, FirstName, and Department as a key; these three attributes combined would insure that we would identify only one row.…

    • 805 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    16) The owner of two pizza parlors located in adjacent towns wants to computerize and integrate sales transactions and inventory management within and between both stores. The point-of-sale component must be easy to use and flexible enough to accommodate a variety of pricing strategies and coupons. The inventory management, which will be linked to the point-of-sale component, must also be easy to use and fast. The systems at each store need to be linked so that sales and inventory levels can be determined instantly for each store and for both stores combined. The owner can allocate $40,000 for hardware and $20,000 for software and must have the new system operational in three months. Training must be short and easy. Briefly describe three alternative systems for this situation and explain how each would meet the requirements and constraints. Are the requirements and constraints realistic? Why or why not?…

    • 334 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    1. What are the issues in the normalization vs. performance trade-off? Discuss. Your essay should (1) define and describe the characteristics of normalization, (2) define and describe the characteristics of performance, and (3) define and describe what is meant by “performance trade-off”, (4) summarize your essay with recommendations and/or guidelines regarding use of normalization in database design.…

    • 1939 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Database concepts

    • 586 Words
    • 3 Pages

    In database normalization, one of the important features of third normal form is that it excludes certain types of transitive dependencies. E.F. Codd, the inventor of the relational model, introduced the concepts of…

    • 586 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Nosql

    • 1273 Words
    • 6 Pages

    * Graph databases store information in multi-attribute tuples that reflect relationships in a different way. For example, a graph database might be used to store the "friend" relationships of a social network, with a record merely consisting of two friends who share a relationship.…

    • 1273 Words
    • 6 Pages
    Powerful Essays