If my test substances were, HCl,HNO3,NH4OH,NaCl,HC2H3O2,Sucrose,HgCl2,ethanol.

Electrolytes-->HCl,HNO3,NH4OH,NaCl,HC2H3O2

Nonelectrolytes-->Sucrose,HgCl2,ethanol

So if these are correct, Should I write answer of question like this?

Thank you