At five foot two and 40 kilograms, Momena Shoma almost looked like a child in the dock of the Melbourne's Supreme Court.

But in February last year, the Bangladeshi student executed a near-deadly attack on Roger Singaravelu as he napped in his home with his five-year-old daughter beside him.

Shoma, 25, yelled “Allahu Akbar” in the name of Islamic State and plunged a 25-centimetre knife into Mr Singaravelu’s neck and shoulder with such force the blade broke in him.

Momena Shoma leaves court after pleading guilty on terror charges. Credit:Jason South

The Commonwealth Director of Public Prosecutions Sarah McNaughton, SC, said it was a heinous crime in which Mr Singaravelu was essentially picked at random.