BCA Hungary interview question

Logical, math and database questions