At least four terrorists were killed and three jawans suffered injuries in an encounter in Jammu and Kashmir's Shopian district on Tuesday.