Answer:
Explanation:
Shipping fee is based on the weight of the item purchased
Name of the store- MIMI Electronics
Items sold- Consumer electronics, mobiles phones, laptops, wearable devices, accessories, digital watches etc
Shipping charges-
Weight Shipping fee
0-1 kg $ 5.00
1-2 kg $ 10.00
2-4 kg $ 15.00
4-7 kg $ 20.00
7-10 kg $ 30.00
10 kg + $ 50.00
Shipping fee function
F(x)= 5 for all x [0,1]
F(x)= 10 for all x (1,2]
F(x)= 15 for all x (2,4]
F(x)= 20 for all x (4,7]
F(x)= 30 for all x (7,10]
F(x)= 50 for all x (10,infinity)
shipping charge function is a step function where the steps are mentioned in terms of weight.
Shipping charge could also be determined using a piece wise function where the shipping fee is fixed for each piece and is charged based on number of pieces ordered instead of weight of the order
Answer: Having the ability to change the source code to fit your needs
Explanation:
Answer:
Giving that: The following is a sequence of undo-log records written by 2 transactions T and U:
< START T >;
< T,A,10 >;
< START U >;
< U, B, 20 >;
< T, C, 30 >;
< U, D, 40 >;
< Commit U >;
< T, E, 50 >;
< Commit T >;
1. < START U >
Recovery action in this case will be undo(-1) and undo(0). All restored to its original Value
log records < T, A, 10 >, < T, abort >; as written out
2. < T, E, 50 >
Recovery action in this case will be undo(8) and redo(0). A and C is restored to its original value, B and D are set to 20 and 40
log records <T, C, 30 >, < T, A, 10 >, < T, abort > are written out
3. < Commit T >
Recovery action in this case will be redo(7) and redo(4). A and C are set to 10 and 30, B and D are set to 20 and 40