You can have several past tense choices such as:
Abrieron la puerta -opened the door
Cerraron la puerta -closed the door
Not sure what your options were to fill in the blank, but these two are the most common.
The numerical format for spanish its the same as in english ww.
Translation is.. If you are in a Spanish speaking country , computer programs in English
Tu contestas los problemas en el examen.