Principles of undergraduate majors and minors