To generate exam rank, go to the Online Examinations > Online Exam then and click on Generate Rank icon, after clicking this icon a modal will open then click on the Generate Button present at the top right corner of the modal.
Once you click on the Generate Rank button, rank will be generated for all the student.
Note– If two or more students have same number then their rank will also be same.