The correct answer to the question "Est-ce qu'il y a un ordinateur dans ta classe?" is:
Oui, il y a un ordinateur dans ma classe.
This response correctly uses "il y a" (there is) and includes the necessary article "un" before "ordinateur."
The other options contain errors related to the verb usage ("il a" instead of "il y a") or missing articles.