. 306. Officer candidates (a) In general Subtitle B ( 33 U.S.C. 3021 et seq.) is amended by adding at the end the following: 234. Officer candidates (a) Determination of number The Secretary shall determine the number of appointments of officer candidates. (b) Appointment Appointment of officer candidates shall be made under regulations which the Secretary shall prescribe, including regulations with respect to determining age limits, methods of selection of officer candidates, term of service as an officer candidate before graduation from the program, and all other matters affecting such appointment. (c) Dismissal The Secretary may dismiss from the basic officer training program of the Administration any officer candidate who, during the officer candidate's term as an officer candidate, the Secretary considers unsatisfactory in either academics or conduct, or not adapted for a career in the commissioned officer corps of the Administration. Officer candidates shall be subject to rules governing discipline prescribed by the Director of the National Oceanic and Atmospheric Administration Commissioned Officer Corps. (d) Agreement (1) In general Each officer candidate shall sign an agreement with the Secretary in accordance with section 216(a)(2) regarding the officer candidate's term of service in the commissioned officer corps of the Administration. (2) Elements An agreement signed by an officer candidate under paragraph (1) shall provide that the officer candidate agrees to the following: (A) That the officer candidate will complete the course of instruction at the basic officer training program of the Administration. (B) That upon graduation from the such program, the officer candidate— (i) will accept an appointment, if tendered, as an officer