Thinking In Windows

Elements, Collections, Objects, Properties, Methods, and Procedures

How does the computer 'know' what to do next?

Let's look at:

Let's get started


































Thinking In Windows

Elements, Collections, Objects, Properties, Methods, and Procedures

The Process

When a "process" is broken down into its simplest parts it looks like

INPUT(S) ---------> PROCESS ---------> OUTPUT(S)
which may be
outputs from
other process(es)
      which may become
inputs to
other process(es)


Click here to return to previous menu
































Thinking In Windows

Elements, Collections, Objects, Properties, Methods, and Procedures

The Processing Logic

When the "processing logic"
is broken down into its simplest parts,
there are only three (3) options from which the logic may be built:

INLINE   BRANCHING / DECISION   LOOPING
DO

ONE

THING

AFTER

ANOTHER
  IF . . .

THEN


     DO

ELSE

     DO
  DO


. . .




WHILE / UNTIL


Click here to return to previous menu

































Thinking In Windows

Elements, Collections, Objects, Properties, Methods, and Procedures

Modifying the Process

In addition, when an "entity" (input, process, output) is going to be modified, then there are only
three (3) methods of modification to choose from:

ADD           CHANGE           DELETE



Click here to return to previous menu

































Thinking In Windows

Elements, Collections, Objects, Properties, Methods, and Procedures

Interactivity

Finally, the most important item which "Windows" has added to the "process" is interactivity, that is to say that most of the time "Windows" is waiting for a response (a message, if you will) from you in order to "know" what to do next!

Why do I say "most of the time"?  Because "Windows" is capable of "thinking" in nanoseconds and there are as many nanoseconds in a second as there are seconds in thirty years!

Let's take some time and look at that last statement again . . . .

What is one-billionth of a second?

Think of it this way:  Take one second and chop it up into a thousand equal pieces.

Now, take ONE of those pieces, and chop it up into a thousand equal pieces.

Finally, take ONE of those pieces, and chop it up into a thousand equal pieces.

One of those pieces is a nanosecond. . . .

Or, if you know the speed of light, then light travels about one foot in a nanosecond . . . .

Click here to return to previous menu