Here are the advantages and disadvantages of larger paper size:
Advantages:
Reduces minor page faults.
Disadvantages:
There will be a decrease in the number of frames.
There will be an increase number of page faults.
<span>Waste of more space with the internal fragmentation.</span>
The last one , info is not sparse or little , we have plenty of it
Answer:
There is an error in "String s=s1-s2 ";
Explanation:
In java programming, we can subtract subtract two strings variable with "-" operator.Java programming does not support an overload of the '-' operator.In java, we can use only "+" operator to append two strings variable.There is no such method to subtract strings in java.Therefore in the given code String s=s1-s2 will give an "bad operand type" error because we can not subtract one string variable from the second string variable.
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:
its b I think I'm pretty sure