Assignment 2023
Assignment 2023
Semester 1, 2023-2024
Assignment: Description
This part is showing the assignment instructions.
INSTRUCTIONS:
1. Activity must be completed in the form of a written document, the document
should not accede 20 pages.
2. Each group is required to participate in the activity and to submit a hardcopy of
the written report. Presentation is done during class, on the submission date,
presentation is done and assessed individually.
3. Mode: Group (3-4 students).
4. Date of presentation and submission: 21-23 November 2023 (during lab
sessions)
** If you have any difficulties in submitting the assignment according to the
date given, please come and discuss with me.
QUESTION 2 – OVERVIEW
Website Category
The table above has clearly depicts that the product type is sold at both
normal auction amazon and amazon Express. For this product type, the
items auctioned or sold have its own specific details that differentiate them
from other product types. They are as below.
1. Brand
2. Processor Speed
3. Memory
4. Hard Drive Capacity
5. Operating System
6. Processor Type
7. Screen Size
8. Family
9. Primary Drive
10. Processor Model
The two auction sellers which I have chosen are “Ahmad” and “Abu Ahmad”.
Their details are as below.
The diagram below illustrates the vertical fragments of Product. It shows that the
fragmentation is correct and complete.
ShoppingCart1
ShoppingCart1 u ShoppingCart2
PurchaseHistory1 uPurchaseHistory2
Fragments Explanation
Product 1, Product Completeness: All data are maintained and are found in one or more
2, fragments.
Product 3
Disjointness: Data are not duplicated in all fragments. Hence, the data
will be consistent in all fragments during update and query operations.
QUESTION 4 – DISTRIBUTED QUERY PROCESSING
Implement the query below and explain how the processing of display the amazon
express price display ?
p.amazonExpressPrice, s.Name
Customer c, Seller s
WHERE sc.CustomerID =
c.CustomerID AND
sc.ItemNumber =
p.ItemNumber AND
sc.OrderStatus = 'active'
AND c.Country =
'Oman' AND
p.SellerID =
s.SellerID
1. How could we fix a replication issue when trying to update a record that is
deleted from the subscription database mistakenly?
Received Date :
Submission Date :
Weightage : 20 %
Semester : 21-23 November 2023 Lab
:
nstruction to students:
• This is Group assignment.
• Complete this cover sheet and attach it to your assignment (first page).
Student declaration:
I declare that:
• This assignment is my own work
• I understand what is meant by plagiarism
• My lecturer has the right to deduct my marks in the case of:
- Late submission
- Any plagiarism found in my assignment.
Name Student ID
1.
2.
3.
4.
Total
MARKS:
8