Section 231 in The Code of Criminal Procedure
Title: Evidence for prosecution
(1) On the date so fixed, the Judge shall proceed to take all such evidence as may be produced in support of the prosecution.
(2) The Judge may, in his discretion, permit the cross-examination of any witness to be deferred until any other witness or witnesses have been examined or recall any witness for further cross-examination.
If, after taking the evidence for the prosecution, examining the accused and hearing the prosecution and the defence on the point, the Judge considers that there is no evidence that the accused committed the offence, the Judge shall record an order of acquittal.
Title: Entering upon defence
(1) Where the accused is not acquitted under section 232, he shall be called upon to enter on his defence and adduce any evidence he may have in support thereof.
(2) If the accused puts in any written statement, the Judge shall file it with the record.
(3) If the accused applies for the issue of any process for compelling the attendance of any witness or the production of any document or thing, the Judge shall issue such process unless he considers, for reasons to be recorded, that such application should be refused on the ground that it is made for the purpose of vexation or delay or for defeating the ends of justice.
When the examination of the witnesses (if any) for the defence is complete, the prosecutor shall sum up his case and the accused or his pleader shall be entitled to reply:
Provided that where any point of law is raised by the accused or his pleader, the prosecution may, with the permission of the Judge, make his submissions with regard to such point of law.
Title: Judgment of acquittal or conviction
(1) After hearing arguments and points of law (if any), the Judge shall give a judgment in the case.
(2) If the accused is convicted, the Judge shall, unless he proceeds in accordance with the provisions of section 360, hear the accused on the questions of sentence, and then pass sentence on him according to law.