e.g.
Yes. It comes from Proto-Indo European kwo- root of interrogative pronouns.
You'll see the same pattern in other Germanic languages (e.g. Norwegian hvad, hvem, hvor, hvordan) and similar things in other branches of the Indo-European family (e.g. Latin quod, quis, quid, quo)