Photo AI

Consider the entity relationship diagram (ERD) below and answer the questions that follow - NSC Information Technology - Question 4 - 2023 - Paper 2

Question icon

Question 4

Consider-the-entity-relationship-diagram-(ERD)-below-and-answer-the-questions-that-follow-NSC Information Technology-Question 4-2023-Paper 2.png

Consider the entity relationship diagram (ERD) below and answer the questions that follow. 4.1.1 What is the purpose of an ERD? (2) 4.1.2 Choose the most suitable ... show full transcript

Worked Solution & Example Answer:Consider the entity relationship diagram (ERD) below and answer the questions that follow - NSC Information Technology - Question 4 - 2023 - Paper 2

Step 1

What is the purpose of an ERD?

96%

114 rated

Answer

An ERD provides a visual representation of how the data/tables are linked in a relational database. It helps to map the relationships between different entities and their attributes.

Step 2

Choose the most suitable term for (a) to (d)

99%

104 rated

Answer

(a) A: Entity (b) B: One (c) C: Relationship (d) D: Many

Step 3

Name ONE other requirement of a primary key.

96%

101 rated

Answer

A primary key cannot be null or empty. It must always contain a unique value.

Step 4

Critically analyse the design of the tblPlaylist table by explaining why the table does not adhere to the rules of normalisation.

98%

120 rated

Answer

The tblPlaylist table violates the rules of normalisation for the following reasons:

  1. No primary key: There is no unique identifier for each row in the table.
  2. Repeating fields: The structure allows for multiple songs to be recorded in a single row, which is not a proper normal form. Each song should ideally be in a separate row.
  3. Derived data: The 'Number of songs' field can be derived based on the songs listed, leading to redundancy.

Step 5

Give a reason why it is more suitable to save the playlist information in a database rather than in a text file.

97%

117 rated

Answer

Storing playlist information in a database is more suitable because it allows for easier filtering and querying of data, providing a more efficient way to manage and retrieve information.

Join the NSC students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;