Structural formula

Semi-structural (condensed) formula

Line-angle (stylized structural) formula

Molecular formula

Sometimes these different types of formulas are mixed together, as in:

Exercise