The challenges mentioned in the last three sections may be oral, or in writing, and must be tried by the court.