
Logical Mobility I—Migrating Processes 55
3. Repeat Problem 2 above in Java.
4. Implement any sorting algorithm in Java and receive 100 random input data from an input
file and sort them in ascending/descending order. During sorting, the following cases are
required to be considered:
(a) When sorting index is at 10, capture the contents of parameters that are required to start
the execution from the stopped execution and save them in a file/vector and stop the
execution.
(b) Start execution once again and take the starting position as mentioned in (a).
(c) Repeat steps (a) and (b) until data are sorted.
5. As mentioned in Problem 4, transfer the captured ...