Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( PART I ) Pepito & Co . is a new start - up e - business. Its business is to provide a B 2
PART I Pepito & Co is a new startup ebusiness. Its business is to provide a BC web platform for trading. Its business is different from its major competitors, specifically on the payment model which is described in the next paragraph. In order to buy or sell goods on Pepito's site, all users must register with a positive identity eg HKID or passport showing the name, gender and date of birth. Each user is assigned a unique User ID and an initial password for web login Unlike other competitors who normally require online credit card or PayPal payment, Pepito & Co partners with convenience stores to accept cash payments. A user stores "value" in his own account simply by presenting the User ID and paying at the convenience stores by cash or EPS before he starts purchasing. On the other hand, a user can withdraw the balance from this own account for purchases with a fixed handling fee of on the amount withdrawn. The minimum amount of withdrawal is HK$ie minimum HK $ should be deducted from the account per withdrawal including the handling fee. Here is a typical scenario of the business process: a CoCo and Monique each opens an account with Pepito & Co b Monique stores HK $ in her own account. c Monique buys a box of macadamia nuts from CoCo, costing her HK $ d $ is debited from Monique's account, and instantly credited into CoCo's account. e CoCo withdraws $ from her account, $ is debited from her account. Question Suggest one integrity constraint for each of the transaction types : account opening money withdrawal trading or purchasing marks Question With respect to the trading example, ie transactions d and e describe how ACID properties should be enforced. marks
PART I
Pepito & Co is a new startup ebusiness. Its business is to provide a BC web platform
for trading. Its business is different from its major competitors, specifically on the
payment model which is described in the next paragraph.
In order to buy or sell goods on Pepito's site, all users must register with a positive
identity eg HKID or passport showing the name, gender and date of birth. Each user is
assigned a unique User ID and an initial password for web login Unlike other
competitors who normally require online credit card or PayPal payment, Pepito & Co
partners with convenience stores to accept cash payments. A user stores "value" in his
own account simply by presenting the User ID and paying at the convenience stores by
cash or EPS before he starts purchasing. On the other hand, a user can withdraw the
balance from this own account for purchases with a fixed handling fee of on the
amount withdrawn. The minimum amount of withdrawal is HK$ie minimum
HK $ should be deducted from the account per withdrawal including the handling fee.
Here is a typical scenario of the business process:
a CoCo and Monique each opens an account with Pepito & Co
b Monique stores HK $ in her own account.
c Monique buys a box of macadamia nuts from CoCo, costing her HK $
d $ is debited from Monique's account, and instantly credited into CoCo's account.
e CoCo withdraws $ from her account, $ is debited from her account.
Question Suggest one integrity constraint for each of the transaction types :
account opening
money withdrawal
trading or purchasing
marks
Question With respect to the trading example, ie transactions d and e describe
how ACID properties should be enforced.
marks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started