Answer:
The type of molecule, DNA or RNA, can be determined by looking at the bases present in the segment. If the segment contains adenine (A), cytosine (C), guanine (G), and thymine (T), it is a part of a DNA molecule. If the segment contains adenine (A), cytosine (C), guanine (G), and uracil (U), it is a part of an RNA molecule.