Translation:The pupils are boys.
Why is it not: A diakok Fiukat?I thought the obj. has a 't' attached
It is not the object of the sentence.
Could it also be "the boys are students" ?
That would be the other way around. "A fiúk tanulók" but if you mean just the word "student" instead of "pupil" then yes it should be accepted.