Students sworn into armed forces