sequenctial programming

gscott1604

Guest
G
what exactly is sequenctial programming, and what are the advantages and dis-advantages of it.
 
I'm probably doing someone's homework for them, but.....

We used to have a method of programming that we called "structured programming." This, I believe, is what has now evolved into "sequential programming."

In structured programming, you had a process that the computer followed to determine an outcome. User input was only supplied when the computer required input, and was looking for it. Programs followed a "top-down" approach. The first statement in the program was always the first statement executed. Program flow would branch where and when the original design permitted or caused the change. Otherwise, flow continued from the top down (in sequence). COBOL, BASIC, FORTRAN, and assembler all followed this method.

Data and programs in structured programming were two different areas, which only interacted how and when the program decided interaction was necessary.

The current evolution of programming is OOP, which stands for "object-oriented programming." In OOP, the data is tied to the code in such a way that they become, in effect, a single unit.

The user, in OOP, initiates interactions with the program when the user decides interaction is necessary. Fundamentals such as methods, functions, and properties describe how to build an "object." Terms you'll need to know include encapsulization, inheritance, and instance (and instantiation). "Visual" languages, actionscript, and java are examples of OOP languages.
 

Similar Topics

Dear all, I have fx2n plc on my hand but I don't have the programming cable sc-09 and it would not be easy for me to get one. I need the cable...
Replies
3
Views
94
Hi all, i am the new controls guy at the plant and i have inherited a pc from the previous controls guy with Siemens tia portal version 16 and 17...
Replies
20
Views
870
I need to pull the program off of an old 90-30 so I can convert it to Allen Bradley. This is my first time messing with GE and I don't have the...
Replies
2
Views
84
New to vfds. I put in parameters. IP, but I get ethernet flashing and link solid. What did I do wrong?
Replies
9
Views
467
I'm been deciphering a program for a press here. I've gotten most of it deciphered using the manual to understand the instructions (first mitsu...
Replies
11
Views
280
Back
Top Bottom