Mandatory and elective subjects