Q: Valid English sentence (grammatically) or not: I brought a razor with which to shave himself.

A: unacceptable

Q: Valid English sentence (grammatically) or not: This matter was on which I consulted with the chairman of the Select Committee.

A: unacceptable

Q: Valid English sentence (grammatically) or not: The student who got A in the class was very happy.

A:
acceptable