Computer Science Teacher
Computer Science Teacher - Thoughts and Information from Alfred Thompson

April, 2009

  • Computer Science Teacher - Thoughts and Information from Alfred Thompson

    Thoughts from a workshop

    • 2 Comments

    For most of this week I have been in Toronto presenting a two day workshop for teachers who will be teaching Visual Basic next school year. I presented the workshop twice – for two groups of teachers from the Toronto Catholic District School Board. It was an absolutely wonderful week, in spite of Seattle Washington style weather, because of the teachers and staff at TCDSB. But as I was presenting a couple of things occurred to me. One was about how we now use “exception” where we used to use the word “error.” The other is how the concept of a fully qualified name has both software and real-world application.

    Let’s take “exception” first. Older versions of BASIC, like many programming languages, would do error handling. Today we do exception handling. Why the change? At first I was thinking maybe it was just political correctness gone wild. After all error has a pejorative connotation while exception doesn’t. But the more I thought about that the more I thought that was too simplistic an answer. What we are dealing with in many cases could easily be described as an error, a mistake or something gone wrong. But really there is more to it than that. This line from the Wikipedia explanation of Exception handling (as viewed April 24 2009 at 11AM EST) “special conditions that change the normal flow of execution” is a good perspective. Of course we could get into all sorts of discussion of the word “special” as well but let us save that for another time. An exception is really some case that comes up that is different from what the program wants to handle normally. It may show up as a result of an error but in most cases it is an error only because it is being done at the wrong time – an unexpected time or just an undesirable time. Or just data in a way that we are not quite set up to handle. Picture a user entering “one” where “1” is desired.

    Perhaps “error” would still be correct and I’m probably going to talk about ‘error handling” as well as “exception handling” from time to time. If you search for “error handling” on Wikipedia you will wind up at “exception handling” for what it is worth. What do you think? Am I over thinking this?

    The next concept that I found myself thinking a lot about was that of a “fully qualified name.” I was asked to explain the difference between “MessageBox.Show” and “System.Windows.Forms.MessageBox.Show” In most programs I write “MessageBox” is pretty unambiguous so it is enough to specify that. But of course in other cases we can have objects/classes that really need more information. This is one of those things where context is ever so important. We have the same thing with addresses though. One example I can think about is USF when referring to a university. Here on the east coast of the US that usually means the University of Southern Florida. however on the west coast of the US it means the University of San Francisco. So it’s more than a bit ambiguous in many conversations. The same with street addresses and city/town names. I live in one of several towns and cities named “Danville” in the US. Without a state notation on the address where would one be? There is also a “Rome” in New York state but I hear there is a “Rome” in Europe somewhere as well. :-) What is the fully qualified address in that context.

    So I think I will be using locations in the real world to talk about fully qualified names in the future. It seems to work as an explanation for me. How do you talk about it when teaching? Do you have another analogy? I’d love to hear about it if you do.

  • Computer Science Teacher - Thoughts and Information from Alfred Thompson

    Microsoft’s Student TV

    • 0 Comments

    What is Microsoft Student TV? It’s a new part of the Microsoft Student Experience web site.

    It's a web video series that seeks to ignite a global dialogue that:
    1. Connects students worldwide
    2. Inspires social responsibility
    3. Drives success at school and beyond graduation

    The first episodes that are up now are focused on the environment. Just in time for Earth Day! 

    Besides Student TV the site has other resources for students including tutorials for study related projects, life skills related use of technology and information on job finding (interviews and resumes for example). And of course there is a blog.

  • Computer Science Teacher - Thoughts and Information from Alfred Thompson

    Windows 7 Learning Snacks

    • 0 Comments

    Recently Microsoft Learning launched its first Windows 7 Learning Snack called Introducing Windows 7.

    A Snack is essentially a short, Silverlight presentation highlighting popular topics that includes various animations and recorded demos.

    Now there are a couple more snacks out that you may be interested in. And tech support people thinking about what system management will be like with Windows 7 will be especially interested in some of these.

    Consumer Snacks

    Desktop Experience in Windows 7

    http://www.microsoft.com/learning/_silverlight/learningsnacks/win7/snack04/Default.html

    Setting Up a Home Network in Windows 7

    http://www.microsoft.com/learning/_silverlight/learningsnacks/win7/snack05/Default.html

    IT Professional Snacks

    Implementing User Account Control in Windows 7

    http://www.microsoft.com/learning/_silverlight/learningsnacks/win7/snack02/Default.html

    Introducing BitLocker and AppLocker in Windows 7

    http://www.microsoft.com/learning/_silverlight/learningsnacks/win7/snack03/Default.html

    Introducing the Troubleshooting Platform in Windows 7

    http://www.microsoft.com/learning/_silverlight/learningsnacks/win7/snack06/Default.html

    Using the Deployment Image Servicing and Management Tool for Servicing Windows 7 Images

    http://www.microsoft.com/learning/_silverlight/learningsnacks/win7/snack07/Default.html

Page 3 of 8 (22 items) 12345»