Irrelevant, moot.
Irrelevantly, off-topic.
Not compulsory; left to personal choice; elective.
In various programming languages, a kind of variable that is assigned a specific data type but may or may not hold an actual value.
Something that is not compulsory, especially part of an academic course.