A pencil? Are you planning on stabbing someone with that? Terrorist!
In any case, the last time I flew, laptops were no problem. They made us turn them off when the plane was taking off and landing, but other than that, you can use it at your leisure. That very well may have changed, but the last time I flew was April '05 to/from Grand Junction, CO from/to Phoenix, AZ.