Boredom in the classroom?

Boredom

There is little I enjoy more than a fabulous night with my head against my pillow in a blissful silence or with a white noise generator to keep me from thinking too damned much when I should be resting. I love it because of the warm waves of sleep as my body goes in and out of consciousness. I love it because of the silly thoughts that flood my mind as I do so – I mean who would ever want to try to plug their computer into a WIFI elephant that is swimming in the sun?

Occasionally I like to watch a movie off of Netflix and just bathe in the glow of my television as it tells me a story or shows some silly antics going on in the gulf of mexico (Seriously, taking till August is atrocious and you deserve your stock price).

What I hate is when I get those same waves in the classroom, and even more when I get them in a programming course. I have no problem admitting to anyone that programming is not glamorous, nor do I have to hide the fact that it takes a certain type of person to be able to do what I do. I happen to find the type of problem solving that I deal with quite enjoyable and energizing when it goes well, and I’ve discussed as much before.

Continue reading “Boredom in the classroom?”

Lab output – Lab 5 Postfix Expression Parsing in Java

Number of Expressions : 10
EXP : 4. 30.0 2.0 / +
EXP : 5.0 -7. *
EXP : 54.32
EXP : 3.5 0. /
EXP : 10. 20. 30. +
EXP : 9.8 3 - 2 1 + *
EXP : 234.5 34 -
EXP : 123.45 * 6.7
EXP :   5.0  2.5 + 3.0 *
EXP : 25 5 / 3 3 * -
Number of binary expressions : 7
( 4.0 + ( 30.0 / 2.0 ) ) = 19.0
( 5.0 * -7.0 ) = -35.0
54.32 = 54.32
( 3.5 / 0.0 ) = Infinity
Invalid Expression
( ( 9.8 - 3.0 ) * ( 2.0 + 1.0 ) ) = 20.400000000000002
( 234.5 - 34.0 ) = 200.5
Invalid Expression
( ( 5.0 + 2.5 ) * 3.0 ) = 22.5
( ( 25.0 / 5.0 ) - ( 3.0 * 3.0 ) ) = -4.0