GoTo Statement - Essay Example

Only on StudentShare

Extract of sample
GoTo Statement

A goto statement is a constituent of many languages like C, C++, COBOL, Pascal, Algol and others, especially of assembly languages. Nevertheless a goto statement is not popular in all higher-level languages of programming. Thus in Java goto statement is a reserved statement at present (Tribble 3).
During the period of early stage of structured programming development many experts in computer science arrived at a conclusion that in programs it is better to use "structured flow-control commands", for example, loops and "if-then-else statements" rather than a goto statement (Tribble 5). Though there are experts who consider that despite the fact that "goto statement considered harmful", there exist some problems in a great number of programming languages that can't be directly decided without a goto statement, like, for instance, exception handling or breaking out of nested loops (Knuth 268).
"There are few good uses for a goto statement. It is not uncommon for the class instructor to ban goto statements altogether. But the traditional legitimate use for a goto is to allow the programmer to escape from deep nesting when a special case (usually an error) has been encountered. For Pascal programmers, this means that, on rare occasion, you may want to goto'' the end of a subroutine in order to exit. ...Show more

Summary

A goto statement induces your program to unreservedly direct the control to the statement integrated with the label assigned to the goto statement. It is considered to be a basic operation for passing the control from one segment of your program to another one.
Author : rose03
Save Your Time for More Important Things
Let us write or edit the essay on your topic
"GoTo Statement"
with a personal 20% discount.
Grab the best paper

Related Essays

Hiromi Goto and Natalka Husar
Hiromi Goto's novels put food even more centrally into the nexus of issues surrounding identity and home. In the home of Chorus of Mushrooms, three generations of women struggle over conflicting ideas of ethnic identity, but the arguments are not over female body shape, but rather, acculturation.
3 pages (750 words) Essay
Abbey Wood Playhouses Ticketing System
20 pages (5000 words) Essay
Personal statement (solicitor)
Having plunged into the arena of law with my aspirations to become a solicitor, I recognised the need for an LLB degree early on as the answer to forward my dreams. The only explanation I can offer myself is that my analytical skills got to work even before I became a solicitor.
3 pages (750 words) Admission/Application Essay
All's Fair in Love and War referring to Shakespear's Henry V
Sheraton. ‘Love and warre are all one, .. It is lawfull to use sleights and stratagems to attain the wished end’. In plain English, what the proverb means is that the rules of fair play do not apply in love and
2 pages (500 words) Essay
Statement
This is my sole reason for wanting to continue with my graduate study. I want to have an added advantage, over the rest in the professional field. Apart from the above mentioned purpose, the other purpose for me
2 pages (500 words) Personal Statement
Statement
As a crime scene investigator and exhibit officer I am charged with the task of performimg criminal investigations such as attending scenes, recovering, recording and packaging seized exhibits
4 pages (1000 words) Essay
Statement
Hence, one is guaranteed to leave after having cleared the required duration, a better person with a higher level of education than they came in. Not only does Santa Monica College offer class work, but it is also known to field 16 sports that are well equipped.
2 pages (500 words) Personal Statement
Find out how much would it cost
to get a custom paper written by a pro under your requirements!
Win a special DISCOUNT!
Put in your e-mail and click the button with your lucky finger
Your email
YOUR PRIZE:
Apply my DISCOUNT