conceitedly, presumptuously, perkily
Она вела себя слишком самонадеянно на экзамене.
She behaved far too conceitedly during the exam.