Foxconn Interview Question

what is sensor in electronics