Mar 16 2009

Modularity with Subs and Functions

Morgan

By the end of this video you should:

  • Deepen your appreciation for how modularity helps us combat complexity
  • Be able to use subs and functions to modularize your programs, i.e. you should:
    • Know the types of subs and functions
    • Know how to identify the code to be modularized
    • Know how to write both subs and function, with
      • An appropriate access modifier
      • An appropriate name, using naming conventions
      • Parameters passed correctly, i.e. ByVal vs. ByRef
      • A correctly typed return value if necessary
    • Know when to choose a sub vs. a function

The demo section of this tutorial implements a simple program that calculates a volume in cubic meters when given the length, height, and width of a block of concrete in inches.

Continue reading


Mar 3 2009

Strings

Morgan

This video describes strings and a lot of fun things you can do with them.

Continue reading


Mar 3 2009

Exception Handling

Morgan

This video describes exception handling and how to avoid having your program crash at run time. It starts with a slide show explaining exception handling and then has a code walkthrough that shows how to use exception handling in a program. There’s a link below where you can download the code in the program.

Continue reading


Mar 3 2009

Events

Morgan

This video describes events and how to do event-driven programming. It starts with a slide show explaining events and then has a code walkthrough that shows how to use events in a program. There’s a link below where you can download the code in the program.

Continue reading


Mar 2 2009

File I/O

Morgan

This video describes how to do input and output (aka I/O) with files. It starts with a slide show explaining streams, and how to read and write to them and then has a code walkthrough that shows how to use files in a program to store and retrieve data. There’s a link below where you can download the code in the program.

Continue reading


Feb 26 2009

Data Types, Variables, Constants and Calculations

Morgan

This video describes variables, constants, data types, and how to do calculations.  It starts with a slide show and then has a code walkthrough that shows how to use calculations in a program.  There’s a link below where you can download the code in the program.

Continue reading


Feb 7 2009

Accessing the 252 FTP Server

Morgan

How to access the ISAT 252 FTP server

Click for screenshot of how to access the ISAT 252 FTP server

If you are using windows you can just type ftp://dev.isat.jmu.edu into the address bar of any folder or explorer window.  When prompted your username is your eID and your password is one that will have been sent to you via email.

If you are using another FTP client, here is the information you’ll need to access the server:

  • Hostname: dev.isat.jmu.edu
  • Username: your eID
  • Password: being sent to you via email

If you have problems please let me know.


Jan 15 2009

Creating a Full Adder with Logic Gates

Morgan

In this video we’ll use the MMLogic tool to deepen our understanding of how computers “think” by creating a full adder.
Continue reading


Jan 14 2009

Bits, Binary, & Boolean

Morgan

Learn how controlling the flow of electrons with transistors can lead to the wonderful, magical machines we call computers.

Continue reading


Jan 12 2009

Computer Parts

Morgan

Learn all about the parts of a compuer. Continue reading