Questions & Answers about A médica perguntou qual sintoma eu tinha.
A médica is feminine: it refers to a female doctor. If the doctor were male, you’d usually say O médico.
The accent in médica marks the stressed syllable: MÉ-di-ca. It also helps keep pronunciation consistent.
Portuguese commonly uses definite articles (o, a, os, as) before professions/titles when referring to a specific person: A médica = the doctor (that specific doctor).
It’s not always strictly required, but it’s very natural and frequent in Brazilian Portuguese. Without the article (Médica perguntou...) it sounds unusual in most everyday contexts.
Perguntou is pretérito perfeito (simple past), used for a completed action: the asking happened and is done.
Infinitive: perguntar → ela perguntou = she asked.