Two of these hostels are located in Delhi , each in Pune and Pimpri , near Mumbai .
Two of these four hostels are located in Delhi , one each in Pune and Pimpri near Mumbai .

Are these two sentences paraphrases of each other?
yes

If , as I believe , it was necessary , it was right and moral .
If it was necessary , as I now believe , then it was right and moral .

Are these two sentences paraphrases of each other?
yes

In July 2011 , responsibility for the Werris Creek to North Star line was transferred from the ARTC to the Country Rail Infrastructure Authority .
In July 2011 , the competence for the Werris Creek to North Star route was transferred from the Country Rail Infrastructure Authority to ARTC .

Are these two sentences paraphrases of each other?
no

The second method is written when the number of elements in each line is the same and is known at the time of using the program .
The second method is used if the number of elements in each row is the same and is known at the time the program was written .

Are these two sentences paraphrases of each other?
no