answersLogoWhite

0

Yes. Indeed, structure is still used today.

Consider the following unstructured program written in BASIC:

1. let i = 0

2. print "Hello world"

3. i = i + 1

4. if i<=10 then goto 2

In structured version of BASIC, this same code would be written:

1. for i = 1 to 10

2. print "hello world"

3. next i

Note that in the structured version we do not need line numbers since we never refer to them in the code. Also, in the structured version, the first line introduces a counted loop up front whereas the unstructured version requires that we read all of the code before we finally realise there is actually a loop in the code. Thus the structured version is said to be more readable because the logic is more obvious to the reader.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

What is the present tense of programming?

...Programming. Past, I programmed. Present, I program or I am programming. Future, I will program.


What techniques can help in remembering dreams from years ago?

To remember dreams from years ago, techniques such as keeping a dream journal, practicing mindfulness and relaxation before bed, and setting intentions to remember dreams can be helpful. Additionally, discussing dreams with others and reflecting on their meanings can aid in recalling past dreams.


What techniques was used to preserve stories about the past?

Oral history


What programming language has dominated scientific computing over the past 45 years?

fortron


Why were aqueducts helpful in the past?

They helped transport water to other places


What is on Cartoon Network?

See Provided Link for a complete of current and past Cartoon Network programming.


How are the time line of man helpful in understanding your past?

because thet are crazy


What is the past progressive tense of the verb to be?

The past progressive tense of be is was/were being.I/He/She/It was beingWe/You/They were being


Is a library helpful to a University?

Of course! The students can go there for past time or increase their knowledge.


What is the verb of helpful?

Help is a verb. Help/helps is present tense. The past tense and past participle is helped, and the present participle is helping.


What is the past tense of help?

The past tense of "help" would be "helped".helpedHelped.


How do you make sentence using word helpful?

Helped is the past form of help.Help means -- to give assistance, be of use.I help my brother do his homework. -- present tense.I helped my brother with his maths last night. -- past tense.The pills helped my asthma -- past tense.Help is often used with can/could:Can you help me?