preview

Nt1330 Unit 2 Data Collection Paper

Decent Essays

Question 1 (ULO1) a. Sequential access: Sequential file organizations access data sequentially from the beginning [1], i.e. to reach file 27, the 26 preceding files must be accessed first. They are much slower to access compared to random access [1]. Sequential files are stored on a sequential access device [2]. The records contained in sequential files are stored in a predetermined order [2], according to the value of a search key [1], and are stored one after the other [2] as they are inserted into the file. Records can only be accessed (read from and written to) sequentially (i.e. in the same order that they were entered) [3]. Sequential files are designed for efficient processing [1]). Records stored in sequential files cannot be deleted, …show more content…

Business Rules: In the entity-relationship data models, business rules must take into account all relationship models: one-to-many (1:M), one-to-one (1:1) and many-to-many (M:N). For a database on a school library, a restriction of having a student only allowed to borrow one book would need a 1:1 relationship. b. Normalisation: The following information applies to the relational data model. - 1NF (First Normal Form): The relation has no repeating groups; all attributes are dependent on the primary key. [12] - 2NF (Second Normal Form): The relation should not have any partial dependencies; part of the primary key should not identify a subset of attributes in the same table. The relation must be in 1NF before it can be in 2NF [12] - 3NF (Third Normal Form): The relation has no transitive dependencies. The relation must be in 2NF before it can be in 3NF. [12] Normalization for entity-relationship modelling works as it does for other modelling systems, with some alterations. [13] The difference when using the entity-relationship data model is [14]: 1. Attributes become entity types. 2. Compound attributes must be split into smaller attributes. 3. Entity types must be expanded into two entity types and a

Get Access