J.R. S. answered 06/20/20
Ph.D. University Professor with 10+ years Tutoring Experience
The key here is if the compound is a strong electrolyte, it will dissociate completely giving many ions. If a weak electrolyte, it will dissociate partially giving not so many ions, and if it is a non electrolyte it will not dissociate at all giving no ions.
How do you know? If it is a salt of a non metal and a metal (NaCl, CaCl2, etc.), it is a strong electrolyte. In this case, NaCl gives Na+ and Cl- and CaCl2 give Ca2+ and 2 Cl-, so you see that one mole of CaCl2 produces 3 moles of ions whereas 1 mole NaCl produces 2 moles of ions.
If you have a weak acid or a weak base, e.g. acetic acid (CH3COOH) or ammonia (NH3), then the dissociation is partially and you will get a few ions, but not too many depending on the Ka or Kb.
If you have something like glucose, or sucrose or many other organic molecules, they do not dissociate or ionize at all and so are non electrolytes producing no ions.