University graduation thesis is generally written in the next semester of senior year, and five-year majors such as medicine and architecture are written in the next semester of senior year. The specific time varies from school to school. You can also participate in the writing of scientific research papers during your college years, and you can take them directly for defense after publication.
Generally speaking, writing a graduation thesis requires:
Search literature, search the data needed for the paper.
Write and revise papers.
Conduct a thesis defense.