Collect the usual 7 notebooks. Get 3 exits (ignore the fourth one) Answer the six bonus questions. If you do so, you will get a Portal Poster. Go to the classroom where the green notebook normally is. Use the Portal Poster. Go into the basement.
This is the third and final ending.