Classify the following sentences as simple, compound, complex, or compound-complex. In addition, note any sentence that may be classified as interrogative, imperative, or exclamatory. Write your classifications in the text box below each sentence.
The boat rocked and lurched over the rough surf as the passengers groaned in agony.