Section 123(3)(a) in The Naval Ceremonial, Conditions Of Service And Miscellaneous Regulations, 1964
(a)Midshipmen. - On completion of 6 months' afloat training as cadet and subject to passing the Cadets' Passing Out Examination and being recommended for promotion, cadets shall be promoted to the rank of Midshipmen.