Specific Site Building Setup
Assuming that you really want to groups with "Title" and those with "Choose one of:" to look the same, you can achieve that quite easily with nested paragraphs.

Something like a "Semester" paragraph type with a paragraph field called "Course groups", and a "Course group" paragraph type that has "Title" + Course lists. Then the title for the optional groups would simply be "Choose one of".

If you need different markup/output, you could handle that either with an "Optional/Select one" checkbox that you can check in a template or by defining two separate paragraph types and allowing both on the nested paragraph field, e.g. "Required course group", "Choose-one-of course group" paragraph types.

Or any other similar combination of nested paragraph types, whatever you need exactly.