Word
Tive de escolher um atributo para a classe.
Meaning
I had to choose an attribute for the class.
Part of speech
sentence
Pronunciation
Course
Lesson
Breakdown of Tive de escolher um atributo para a classe.
um
a / an / some (all forms)
para
to / for
ter de
to have to
escolher
to choose
Questions & Answers about Tive de escolher um atributo para a classe.
Why do we use the preposition para after atributo here?
In Portuguese, the noun atributo (attribute) often pairs with the preposition para when indicating the destination or purpose of that attribute. This is part of its regência nominal (noun + preposition regime). You will also see atributo de used to show possession (an attribute of the class).
Why is it Tive de instead of Tive que?
In European Portuguese, ter de is the grammatically correct way to express an obligation ("I had to"). While you will hear native speakers say ter que in casual speech, ter que technically means "to have something to [do]" (like in Tenho muito que fazer). As a B2 learner, writing ter de for obligations is the safest and most correct choice.
Does classe mean a school class here?
No. If you were talking about a school lesson, you would use aula, and for a group of students, turma. Classe refers to a category, social class, or in contexts like video games and programming, a specific character or object type.
Why use the Pretérito Perfeito (Tive) instead of the Imperfeito (Tinha)?