Computer Programming Language: Saint Anthony College of Technology
Computer Programming Language: Saint Anthony College of Technology
Submitted by:
Maryanne Katherine V. Magbag
Programming Language
A vocabulary and set of grammatical rules for instructing a computer to perform specific
tasks. The term programming language usually refers to high-level languages, such
as BASIC, C, C++, COBOL,FORTRAN, Ada, and Pascal. Each language has a unique
set of keywords (words that it understands) and a special syntax for
organizing program instructions.
High-level programming languages, while simple compared to human languages, are
more complex than the languages the computer actually understands, called machine
languages. Each different type of CPU has its own unique machine language.
Lying between machine languages and high-level languages are languages
called assembly languages. Assembly languages are similar to machine languages, but
they are much easier to program in because they allow a programmer to
substitute names for numbers. Machine languages consist of numbers only.
Lying above high-level languages are languages called fourth-generation
languages (usually abbreviated 4GL). 4GLs are far removed from machine languages
and represent the class of computer languages closest to human languages.
Regardless of what language you use, you eventually need to convert your program into
machine language so that the computer can understand it. There are two ways to do
this:
1) compile the program
2) interpret the program
The question of which language is best is one that consumes a lot of time and energy
among computer professionals. Every language has its strengths and weaknesses. For
example, FORTRAN is a particularly good language for processing numerical data, but
it does not lend itself very well to organizing large programs. Pascal is very good for
writing well-structured and readable programs, but it is not as flexible as the C
programming language. C++ embodies powerful object-oriented features, but it is
complex and difficult to learn.
The choice of which language to use depends on the type of computer the program is
to run on, what sort of program it is, and the expertise of the programmer.
JAVA
Java is a class-based, object-oriented programming language developed by Sun
Microsystems in the 1990s. It's one of the most in-demand programming languages, a
standard for enterprise software, web-based content, games and mobile apps, as well
as the Android operating system. Java is designed to work across multiple software
platforms, meaning a program written on Mac OS X, for example, could also run on
Windows.
On 23 May 1995, John Gage, the director of the Science Office of the Sun
Microsystems along with Marc Andreesen, co-founder and executive vice president at
Netscape announced to an audience of SunWorld TM that Java technology wasn't a myth
and that it was a reality and that it was going to be incorporated into Netscape
Navigator.
At the time the total number of people working on Java was less than 30. This team
would shape the future in the next decade and no one had any idea as to what was in
store. From being the mind of an unmanned vehicle on Mars to the operating
environment on most of the consumer electronics, e.g. cable set-top boxes, VCRs,
toasters and also for personal digital assistants (PDAs). Java has come a long way from
its inception. Let's see how it all began.
Principles
There were five primary goals in the creation of the Java language:
1. It must be "simple, object-oriented, and familiar".
2. It must be "robust and secure".
3. It must be "architecture-neutral and portable".
4. It must execute with "high performance".
5. It must be "interpreted, threaded, and dynamic".
Versions
As of 2015, only Java 8 is supported ("publicly"). Major release versions of Java, along
with their release dates:
Java Today
Today Java is a commonly used foundation for developing and delivering content on the
Web. According to Oracle, there are more than 9 million Java developers worldwide and
more than 3 billion mobile phones run Java.
In 2014 one of the most significant changes to the Java language was launched with
Java SE 8. Changes included additional functional programming features, parallel
processing using streams and improved integration with JavaScript. The 20th
anniversary of commercial Java was celebrated in 2015.
Java: An Object-Oriented Language
Java is a general purpose programming language with a number of features that make
the language well suited for use on the World Wide Web. Small Java applications are
called Java applets and can be downloaded from aWeb server and run on your
computer by a Java-compatible Web browser.
Applications and websites using Java will not work unless Java is installed on your
device. When you download Java, the software contains the Java Runtime
Environment (JRE) which is needed to run in a Web browser. A component of the JRE,
the Java Plug-in software allows Java applets to run inside various browsers.
COBOL
The programming language COBOL has been around since the 1950's, though by the
changing standards of technology it was considered to be old news by the 1980's. Still,
the programming language continues to be used today and shows no signs of fading
away anytime soon. This lesson will take a brief look at the history, resiliency and
continued relevance of COBOL.
COBOL is a programming language that reads like regular English and is often used for
business and administrative purposes. The name means Common Business Oriented
Language. COBOL is referred to as a legacy language, which means it is in a format
that is no longer used or supported by new systems. But, COBOL is critical to the
success of many companies and so has stuck around even as technology has moved
forward.
History of COBOL
COBOL has been around since 1959, when it was developed by the Conference on
Data Systems Languages (CODASYL). It was one of the first high-level programming
languages created. COBOL is run on the mainframe as well as on the PC.
It was during the 1980's that some small businesses moved some of their mainframe
COBOL programs to PC. But, this was no simple task. In the 1990's, COBOL was
widely considered a thing of the past. It was obsolete, mainly because technology was
becoming more object-oriented and moving away from the mainframe. However,
COBOL wasn't left behind completely.
It was still used by banks and other major corporations who depend heavily on accuracy
and the stability of their programs to keep their companies running. COBOL worked as
many of them wanted it to for the most part. When hit with the idea of migration to new
languages, they found that many of their COBOL programs were quite large and difficult
to migrate. So, as many corporations prepared for year 2000, they upgraded their
COBOL programs to run well beyond 2000 versus changing over to a new languages.
Programming in COBOL
To begin writing a COBOL program, you need a compiler and a location to write the
program. You can write COBOL programs in text editors like Notepad or Notepad++.
Once it is written, the program must be compiled to check for errors and converted into
a language that the computer can read.
Divisions of COBOL
The first thing to understand is that COBOL is divided into four divisions. The divisions
are created in the program in this order:
1. Identification Division
2. Environment Division
3. Data Division
4. Procedure Division
Areas of application
COBOL applications often run in critical areas of business. For instance, over 95% of
financeinsurance data is processed with COBOL (Arranga et al - In COBOL's Defense:
Roundtable Discussion (March/April 2000) - IEEE Software). This is why there was so
much panic over the year 2000 problem.