In most cases, a bond between two nonmetals will be covalent (indicating a molecule) while a bond between a metal and a nonmetal will be ionic. for example CO, carbon monoxide, is molecular.
There is no easy answer to this question. First, it depends what information you have to start with. Do you have the name? Do you know what elements are found in the substance? If you are given the...