‘Inadvertently’ means without intention. Hence, ‘purposely’, among the given options, is opposite in meaning to ‘inadvertently’. “Purposively” means serving a useful function though not as a result of planning. ‘Accidently’ is almost synonym of inadvertently. Option (d) is completely irrelevant here.