Formal:
* Bom dia, turma! (This is the most common and neutral greeting.)
* Bom dia a todos! (Good morning to everyone!)
Informal:
* Bom dia, galera! (Good morning, guys!) - This is more common among friends or in a casual setting.
* E aí, turma! (Hey, class!) - This is a very informal greeting, used mostly by younger people.
Note:
* In Brazil, the most common greeting is "Bom dia, turma!".
* In Portugal, "Bom dia, alunos!" (Good morning, students!) is also used.
It's always a good idea to observe how the teacher you are addressing greets their class. This will help you choose the most appropriate greeting for the specific situation.