The main function of educational psychology is to provide prospective teacher with:

Research procedures for evaluating current teaching procedure
Insight into the needs, problems and styles of behaviour of teacher
Insight into various aspects of modern teaching education
How to deal with students and everyday class situation

The correct answer is: D. How to deal with students and everyday class situation

Educational psychology is a field that studies how people learn and how to improve teaching methods. It can be used to help teachers understand their students better and to develop effective teaching strategies.

Option A is incorrect because research procedures for evaluating current teaching procedures are not the main function of educational psychology. This is a task that is more likely to be carried out by educational researchers.

Option B is incorrect because insight into the needs, problems and styles of behaviour of teacher is not the main function of educational psychology. This is a task that is more likely to be carried out by educational psychologists who are working in the field of teacher education.

Option C is incorrect because insight into various aspects of modern teaching education is not the main function of educational psychology. This is a task that is more likely to be carried out by educational researchers or by teacher educators.

Therefore, the correct answer is: D. How to deal with students and everyday class situation