A North County high school teacher was arraigned in court on Wednesday for allegedly possessing and attempting to purchase child sexual abuse material online, and could face at least three years in state prison if convicted.