Breakdown of Þau verða að muna kóðann, annars lokast hurðin.
þau
they (n)
hurðin
the door
muna
to remember
verða að
to have to
Questions & Answers about Þau verða að muna kóðann, annars lokast hurðin.
Why does the verb lokast come right after annars, instead of the subject hurðin?
Because annars (otherwise) acts as a connecting adverb here. When an adverb starts a new clause, it takes the first position. Icelandic strictly follows the V2 (verb-second) rule, so the verb lokast must take the second position, pushing the subject hurðin after the verb.
What is the difference between using verða að and þurfa að in this sentence?
While both translate to 'must' or 'have to', verða að shows a strong, unavoidable obligation or an absolute rule. If they do not remember it, a strict consequence happens (the door closes). Þurfa að is generally used for a softer personal need or requirement.
What kind of verb form is lokast and why does it end in -st?
It is the middle voice form of the verb loka (to close). The -st ending here gives the verb an automatic or passive meaning, showing that the door closes on its own, rather than a specific person actively closing it.
Why is kóðann in the accusative case?
The verb muna (to remember) always requires its object to be in the accusative case. Kóði (code) is a masculine noun, so its definite accusative form becomes kóðann (the code).