for – Angular 6 – Dynamic Array

I'm developing a questionnaire system for a school, I'm using Angular in version 6 and have a question on how to manipulate a vector dynamically.

Suppose there are 10 questions, of which 8 have alternatives A, B, C, and D, while the rest only have alternatives A and B.

How can the question and the alternatives be solved?