When in doubt, rather ask for permission, especially if your work will be made available on the Web via a website, blog, e-book, e-journal, institutional repository or ETD database, etc.
It is the responsibility of the researcher/student to apply for Copyright clearance for Copyright material included in a thesis or dissertation.
N.B. Copyright clearance can take a long time and even cost money, therefore it is important that applications are done in time to avoid delays.
Acknowledgement is given to the University of the Witwatersrand, Scholarly Communications & Copyright Services Office, 1 Jan Smuts Avenue, Johannesburg, South Africa, 2013.
According to section 13 of the Copyright Act, in a classroom setting, a lecturer is free to distribute a small number of separate or single handouts to students without having to get permission. The copies, however, cannot be distributed alongside other copyrighted materials or incorporated in compilations (such as study packs or course packs). In order to teach, prepare for teaching, or do research, a student may make one copy at the teacher's request.
There are numerous publications and digital works that provide unrestricted replication for educational or other non-commercial uses. You would need to check the copyright notices inside the printed publications or read the copyright notices on websites.