Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 18 pages
Exam (elaborations)

INF2603 Assignment 5 (COMPLETE ANSWERS) 2025 (865742) - DUE 5 September 2025; 100% TRUSTED Complete, trusted solutions and explanations. Ensure your success with us....

Document preview thumbnail
Preview 3 out of 18 pages

INF2603 Assignment 5 (COMPLETE ANSWERS) 2025 (865742) - DUE 5 September 2025; 100% TRUSTED Complete, trusted solutions and explanations. Ensure your success with us....

Content preview

[TYPE THE COMPANY NAME]




INF2603 Assignment 5
(COMPLETE ANSWERS)
2025 - DUE 5 September
2025
NO PLAGIARISM

[Pick the date]




[Type the abstract of the document here. The abstract is typically a short summary of the contents of
the document. Type the abstract of the document here. The abstract is typically a short summary of
the contents of the document.]

,Exam (elaborations)
INF2603 Assignment 5 (COMPLETE
ANSWERS) 2025 - DUE 5 September 2025
Course
 Databases I (INF2603)
 Institution
 University Of South Africa (Unisa)

INF2603 Assignment 5 (COMPLETE ANSWERS) 2025 (865742) - DUE 5
September 2025; 100% TRUSTED Complete, trusted solutions and
explanations. Ensure your success with us....




Section A: Normalization & Database Design
1. Without using ChatGPT and examples from the book, provide an example to emphasize
your case. Describe the situations when a 3rd NF relation is in BCNF and when it is not.
(4)
2. Why is a table whose primary key consists of a single attribute automatically in 2NF
when it is in 1NF? (2)
3. Explain what is a disjoint subtype? And give an example. (4)
4. What is a strong (or identifying) relationship? (2)
5. Describe and illustrate using an example the process of attribute inheritance. (4)




Section B: SQL Concepts & Constraints
6. What is the difference between a column constraint and a table constraint? (4)
7. What three join types are included in the OUTER JOIN classification? (6)
8. What is metadata? (2)
9. Explain what is physical independence in data models? (2)




Section C: SQL Queries (Employee Table)
10. Write SQL code to display the employees’ names, year of birth, and the bonus for each
employee. Sort the results by the employee_id. (5)

Table 5.1 Example:

, Employee_ID EmployeeNames_BirthYears Dept_ID Bonus
Bontle Nxumalo (1982) 2305 —
Mpho Nkomo (1989) 2405 R24,000
Mahlako Nkomo (1984) 6605 —
Tshepi Phahlane (1986) 2305 R53,000

11. Write the SQL code to delete the row for the employee who was paid R24,000 bonus. (2)




Section D: SQL Queries (Student Table)
12. Write the SQL code that will create the STUDENT table below. This table is a subset of
the UNISA student registration database. (Note: DEPT_CODE is a FK to
DEPARTMENT). (5)

Table 5.2 STUDENT attributes:

 StudentID {PK}
 DEPT_CODE {FK}
 STUD_Gender
 STUD_fname
 STUD_lname
 STUD_INITIAL
 STUD_EMAIL

13. Because you are a registered student at UNISA and you have classmates who are your
friends, please write SQL code to enter your own correct information and also the
information of another student into the STUDENT table (2 records). (4)
14. Write a SQL code to change your email address from your myLife email address to a
Gmail address. (4)
15. Write a SQL code to delete the STUDENT table from the database. (2)




Section E: ERD and Modelling
16. Using the following transport business rules, draw the appropriate ERD using UML
notation for a unique e-hailing taxi service in Mpumalanga. Include all appropriate
entities, relationships, and multiplicities:

 One driver can be assigned to multiple taxis over time, but each taxi has only one driver
at a time.
 Each customer can have multiple rides, and the e-hailing services offer sharing options.
 One taxi can be used for multiple rides.

Document information

Uploaded on
August 30, 2025
Number of pages
18
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$2.70

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
tabithamwendwa73
3.5
(68)
Sold
413
Followers
82
Items
1162
Last sold
3 weeks ago

Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions