Let's break it down:
* comparte: This is the verb "to share" in the third person singular present tense.
* Gloria: This is a proper noun, the name of a person.
* el dormitorio: This is the masculine singular noun "bedroom."
* con: This is the preposition "with."
* otro estudiante: This is the masculine singular noun "another student."
The entire phrase is a question, asking whether Gloria shares her bedroom with someone else.