Answer:
Explanation:
Usage: flip [-t|-u|-d|-m] filename[s]
Converts ASCII files between Unix, MS-DOS/Windows, or Macintosh newline formats
Options:
-u = convert file(s) to Unix newline format (newline)
-d = convert file(s) to MS-DOS/Windows newline format (linefeed + newline)
-m = convert file(s) to Macintosh newline format (linefeed)
-t = display current file type, no file modifications
Answer: a) 135642 b) 146253
Explanation:
A)
1- the bankers algorithm tests for safety by simulating the allocation for predetermined maximum possible amounts of all resources, as stated this has the greatest degree of concurrency.
3- reserving all resources in advance helps would happen most likely if the algorithm has been used.
5- Resource ordering comes first before detection of any deadlock
6- Thread action would be rolled back much easily of Resource ordering precedes.
4- restart thread and release all resources if thread needs to wait, this should surely happen before killing the thread
2- only option practicable after thread has been killed.
Bii) ; No. Even if deadlock happens rapidly, the safest sequence have been decided already.
Answer:
41.5° C
Explanation:
Given data :
1025 steel
Temperature = 4°C
allowed joint space = 5.4 mm
length of rails = 11.9 m
<u>Determine the highest possible temperature </u>
coefficient of thermal expansion ( ∝ ) = 12.1 * 10^-6 /°C
Applying thermal strain ( Δl / l ) = ∝ * ΔT
( 5.4 * 10^-3 / 11.9 ) = 12.1 * 10^-6 * ( T2 - 4 )
∴ ( T2 - 4 ) = ( 5.4 * 10^-3 / 11.9 ) / 12.1 * 10^-6
hence : T2 = 41.5°C