If you choose to study full-time, a long-term visa (over 90 days, National visa) is required. A long-term visa application must be submitted in person at a Swiss embassy or consulate in your country.
The residency permit is valid for one year or for the duration of your studies. You can renew your permit until you complete your studies.