100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
INF2603 EXAM PACK 2023 $2.50   Add to cart

Exam (elaborations)

INF2603 EXAM PACK 2023

 1 view  0 purchase
  • Course
  • Institution

INF2603 EXAM PACK 2023

Preview 4 out of 449  pages

  • October 11, 2023
  • 449
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
INF2603
EXAM PACK
2023

, Stuvia.com - The study-notes marketplace



Contents
Chapter 1: Database Systems ........................................................................................................................... 4
Types of databases ......................................................................................................................................... 4
Historical Roots: Files and File Systems ...................................................................................................... 4
Basic file terminology: ............................................................................................................................... 4
Structural and Data dependence: ............................................................................................................ 5
Data Redundancy ....................................................................................................................................... 5
Database Systems .......................................................................................................................................... 5
The database system environment ......................................................................................................... 5
DBMS Functions ......................................................................................................................................... 6
Managing the DB System .......................................................................................................................... 6
Chapter 2: Data Models ..................................................................................................................................... 7
The Importance of Data Models .................................................................................................................. 7
Data Model Basic Building Blocks ................................................................................................................ 7
Business Rules ................................................................................................................................................. 7
Discovering Business Rules ....................................................................................................................... 7
The Evolution of Data Models ...................................................................................................................... 7
The Hierarchical Model ............................................................................................................................. 7
The Network Model ................................................................................................................................... 7
The Relational Model ................................................................................................................................ 7
The Entity Relationship Model ................................................................................................................. 8
The Object-Orientated (OO) model ......................................................................................................... 8
Degrees of data abstraction ......................................................................................................................... 9
Chapter 3: The Relational Database Model .................................................................................................. 10
A logical view of data ................................................................................................................................... 10
Tables and their characteristics ............................................................................................................. 10
Attributes and Domains .......................................................................................................................... 10
Degree of cardinality ............................................................................................................................... 11
Keys ................................................................................................................................................................ 11
Integrity Rules ............................................................................................................................................... 12
The data dictionary and the system catalogue ........................................................................................ 12




Want to earn R1,135 per month?



Downloaded by: heinbehnke77 | heinbehnke77@gmail.com
Distribution of this document is illegal

, Stuvia.com - The study-notes marketplace




Relationships within the relational database ........................................................................................... 13
The 1:* Relationship ................................................................................................................................ 13
The 1:1 Relationship ................................................................................................................................ 13
The *:* Relationship ................................................................................................................................ 13
Data redundancy revisited .......................................................................................................................... 14
Indexes ........................................................................................................................................................... 14
Codd’s relational database rules ................................................................................................................ 14
Chapter 5: Entity relationship (ER) modelling .............................................................................................. 16
The entity relationship (ER) model ............................................................................................................ 16
Entities ....................................................................................................................................................... 16
Attributes .................................................................................................................................................. 16
Relationships............................................................................................................................................. 18
Multiplicity ................................................................................................................................................ 18
Existence dependence ............................................................................................................................. 18
Relationship strength .............................................................................................................................. 18
Weak entities ............................................................................................................................................ 19
Relationship participation ....................................................................................................................... 19
Relationship degree ................................................................................................................................. 19
Recursive relationships ........................................................................................................................... 20
Composite entities ................................................................................................................................... 20
Developing an ER diagram .......................................................................................................................... 21
Database design challenges: Conflicting goals ......................................................................................... 21
Chapter 6: Advanced Data Modelling ............................................................................................................ 22
The extended entity relationship model (EERM) .................................................................................... 22
Entity supertypes and subtypes ............................................................................................................. 22
Specialisation hierarchy .......................................................................................................................... 22
Inheritance ................................................................................................................................................ 22
Subtype Discriminator ............................................................................................................................. 22
Disjoint and overlapping constraints .................................................................................................... 22
Completeness constraint ........................................................................................................................ 23
Specialisation and generalisation .......................................................................................................... 23
Composition and Aggregation................................................................................................................ 23
Entity Clustering ........................................................................................................................................... 24
Entity integrity: Selecting primary keys .................................................................................................... 24

Want to earn R1,135 per month?



Downloaded by: heinbehnke77 | heinbehnke77@gmail.com
Distribution of this document is illegal

, Stuvia.com - The study-notes marketplace




Natural keys and primary keys ............................................................................................................... 24
Primary key guidelines ............................................................................................................................ 24
When to use composite primary keys .................................................................................................. 25
When to use surrogate primary keys .................................................................................................... 25
Design cases: Learning flexible database design ..................................................................................... 25
Design case #1: Implementing 1:1 relationships ................................................................................. 25
Design case #2: Maintaining history of time-variant data ................................................................. 26
Design case #3: Fan traps........................................................................................................................ 26
Design case #4: Redundant relationships ............................................................................................. 27
Data modelling checklist ............................................................................................................................. 27
Chapter 7: Normalization of database tables ............................................................................................... 28
Database tables and normalisation ........................................................................................................... 28
The need for normalization ........................................................................................................................ 28
The normalization process .......................................................................................................................... 28
Conversion to first normal form ............................................................................................................ 28
Conversion to second normal form ....................................................................................................... 29
Conversion to third normal form ........................................................................................................... 30
Improving the design ................................................................................................................................... 30
Evaluate PK assignments ......................................................................................................................... 30
Evaluate naming conventions ................................................................................................................ 30
Refine attribute atomicity....................................................................................................................... 30
Identify new attributes ............................................................................................................................ 30
Identify new relationships ...................................................................................................................... 30
Refine primary keys as required for data granularity ......................................................................... 30
Maintain historical accuracy ................................................................................................................... 31
Evaluate using derived attributes .......................................................................................................... 31
Surrogate key considerations ..................................................................................................................... 31
Higher level normal forms .......................................................................................................................... 31
The Boyce-Codd normal form (BCNF) ................................................................................................... 31
Forth normal form (4NF) ......................................................................................................................... 31
Normalization and database design .......................................................................................................... 31
De-normalization .......................................................................................................................................... 32




Want to earn R1,135 per month?



Downloaded by: heinbehnke77 | heinbehnke77@gmail.com
Distribution of this document is illegal

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Solutionist. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $2.50. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76799 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$2.50
  • (0)
  Add to cart