The average duration of undergraduate programs is 4 years, while the duration of graduate programs varies depending on the specific program.