When the students try to solve the questions in some different way as taught by the teacher from prescribed books, then these students should be

Discouraged to consult some other books on the subject
Encouraged to consult some other books on the subject
Suggested to talk with their teacher after the period
Suggested to follow the class room notes in order to get good mark in the examination

The correct answer is: B. Encouraged to consult some other books on the subject.

Students should be encouraged to explore different ways of solving problems, even if they are not the same way that the teacher taught them. This will help them to develop their problem-solving skills and to learn more about the subject. If a student is struggling to solve a problem, they should be encouraged to talk to their teacher or to consult other resources, such as textbooks or online resources.

Option A is incorrect because it discourages students from exploring different ways of solving problems. This can stifle creativity and learning.

Option C is incorrect because it does not address the issue of the student struggling to solve the problem. The student should be encouraged to talk to their teacher or to consult other resources, such as textbooks or online resources.

Option D is incorrect because it focuses on getting good marks in the examination, rather than on learning the material. Students should be encouraged to learn the material, rather than just focusing on getting good marks.