Research and teaching

Australian universities are legally required to conduct research as well as teach. But should research be mandated for all universities? Does the obligation to conduct research affect the quality of teaching, and is teaching sufficiently valued in our universities?