A foreign exchange swap is
1
a spot purchase of a currency combined with a forward repurchase of that currency.
2
a spot sale of a currency combined with a forward repurchase of that currency.
3
sale and purchase of a currency in forward market.
4
purchase of a currency in spot market.