1.By the time I got back home,my little brother has fallen asleep.
2.By the time I finished my supper,my parents have began to watch TV.
3.By the time my parents went to sleep,I have finished my assignment.
4.By the time I came into the classroom,XX has written my name on the blackboard.