Multiple choice

The _______ is used to separate multiple statements on a single physical line.

  1. colon

  2. asterisk

  3. pound (#)

  4. equal sign

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In many programming languages, the colon (:) is used as a statement separator to allow multiple statements on a single line. The compiler uses the colon to identify where one statement ends and the next begins. This is different from the semicolon which terminates a single statement. The asterisk, pound sign, and equal sign serve different purposes in programming syntax.