In melodic-style banjo, you play scales by striking consecutive notes on different strings. With single-string style, you pick the same string consecutively, usually with an alternation of the thumb and index fingers.
Melodic G-major scale

Single-string G-major scale
