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. ...
Download paper


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

Related Essays

Hiromi Goto and Natalka Husar
Keiko, the mother, has rejected Japanese food (language and other cultural connections) in an attempt to assimilate her family after the trauma of the wartime internment. And the stories she tells are either about Japanese myths or about her own experiences. And they strengthen this connection; they make a sense of home inside of her no matter where she is. By trying to hold onto her past she attempts to overcome the loneliness she experiences bound to the chair in a foreign country.
3 pages (753 words) Essay
Abbey Wood Playhouses Ticketing System
This application has now been modified so that it uses the Microsoft access database, rather than a random access file. Following is the attached Access database file which has been created when data was entered in this application.
20 pages (5020 words) Essay
Personal statement (solicitor)
One of my primary interests in this field revolves around its dynamism and pace. The only constant in the world of law is change, with fast moving events and professional trends. Therefore, I have realised that the only opportunity I might have as regards experiencing the challenges of finding solutions to problems in a cost effective, practical and efficient manner is by doing it as a solicitor, and going into legal problems where there is tremendous scope to achieve the impossible.
3 pages (753 words) Admission/Application Essay
It is my dream and objective to be the best in my field of experience and offer the best I can to others. In order to achieve this objective, I have to gather all the information and acquire all the knowledge I can through pursuing my education to the highest level I can.
2 pages (502 words) Personal Statement
4 pages (1004 words) Essay
Since it is known to have a great track, as well as a real football field, it has even featured on an album cover that was of Running with Scissors.
2 pages (502 words) Personal Statement
Got a tricky question? Receive an answer from students like you! Try us!