A raspberry is an aggregate fruit.
A pineapple is a multiple fruit.

The term compound fruit is sometimes used when it is not clear which of several fruit types a fruit belongs to. A compound fruit is "composed of two or more similar parts".[1]

A compound fruit may be:

Grapes grow in clusters, but are not compound fruits. Each grape is grown from one ovary in one flower, and they are not attached to one another.

References

  1. Hickey, M.; King, C. (2001). The Cambridge Illustrated Glossary of Botanical Terms. translated by. Cambridge University Press.((cite book)): CS1 maint: multiple names: authors list (link)
A tomato is a simple fruit derived from a compound ovary.