The correct options are
B Sodium, Chlorine
D Aluminium, Fluorine
Metals : Na (from fused NaCl), Al (from fused Al2O3+Na3AlF6)
Non-metals : Cl2 (from fused NaCl), F2 (from fused KHF2 in HF)
So Sodium, Aluminium(metals) Florine,Chlorine(Non-metals) obtained by electrolysis.
Hence options A & C are correct.