ncert optional exercises

I want to know that if an question come from optional exercises from ncert in class 10 exam as it is written that this exercise is not for exam point of view so why we should not get extra marks for it?