* Task Assignment Library Membership & Resource Access System
* Project Overview
You are required to design and implement a complete database system for a university library in the Sultanate of Oman. The system must manage physical books, digital resources, and user access while ensuring data security and compliance with Omans Personal Data Protection Law (PDPL).
The solution must include:
Use Arabic names for members and staff throughout the system.
* Part 1: SQL Database Implementation (50 Marks)
1. Database Design & Normalization
You must:
Requirements:
Example Entities (use Arabic names):
2. ERD Design
Create a Crows Foot ERD diagram that includes:
Ensure:
3. SQL Implementation (SSMS)
Write SQL code to:
Important:
4. Insert Sample Data
Insert realistic data using Omani Arabic names, such as:
Include:
5. Role-Based Access Control (RBAC)
Implement access rules:
Rules:
1. A student can only view their own borrowed books
2. Admin has full access
3. Others (e.g., librarians) have read-only access
Deliverables:
6. SQL Queries
Write and test the following queries:
1. Retrieve the most borrowed books
2. Identify librarians with highest transactions
3. Find members who borrowed but never returned books
4. Identify members with above-average digital resource usage
5. Find digital resources with:
* Part 2: NoSQL Database (MongoDB) 25 Marks
1. Design NoSQL Model
Use a document-based structure
2. Insert Data
Insert 5 realistic documents using Arabic names.
3. Queries
Implement:
1. Top 3 most borrowed books
2. Members who:
4. Justification (Max 200 words)
Explain:
* Part 3: Security, Legal & Distributed Systems (25 Marks)
1. PDPL Compliance (Oman)
Analyze two data categories:
A. Library Members Data:
B. External Providers:
For EACH:
2. Security Risks
Identify TWO risks, for example:
For EACH risk:
3. CAP Theorem
Explain:
Scenario:
If a branch library in Oman loses connection:
Decide:
Justify your answer logically.
* General Instructions
* Expected Outcome
The final work should demonstrate:
Leave a Reply
You must be logged in to post a comment.