¡Hola! As with many languages, there are various different ways to greet people. If you know somebody well you usually greet them in an informal way. For people you are meeting for the first time, it is always best to introduce yourself formally.
Visit www.anglo-academy.com to find real past papers from ages 11-13+ along with other resources for all ages.
Equip yourself with the knowledge to meet your future!