This sentence uses the past continuous to describe an action in progress when another action occurred. The first blank needs the past continuous of 'do', and the second blank needs the past simple of 'ring'.
2 The students were doing the bell rang (ring).