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
Answer:
Please check the attachment.
Explanation:
avg turnaround time = (38+7+42+33+18)/5= 27.6
avg waiting timee = (33+5+28+23+17)/5= 21.2
And its D, A C in Gantt chart at last and exit time are 33, 38 and 42 mentioned as last three in Gantt chart.
The text that is heavier or darker than other text in a document is considered Bold.
Hope this helped!~
Answer: When companies charge different
prices for the same product, they're using
B.) Dynamic Pricing
Is the most accurate
Explanation: If a firm can find a way to charge every customer the price he/she values a good at, the firm can capture more profits than it could with a single price, in a given market.
Answer:
nothing
Explanation:
Because the return type of the function is void. void means does not return any thing.
The syntax of the function:
type name( argument_1, argument_2,......)
{
statement;
}
in the declaration the type define the return type of the function.
it can be int, float, double, char, void etc.
For example:
int count( int index);
the return type of above function is int. So, it return integer.
similarly,
void count(int index);
it return type is void. So, it does not return any thing.