Types of Programming Languages
Types of Programming Languages
Types of Programming Languages
BESIT Page 1
PROGRAMMING LANGUAGE 2017-18
BESIT Page 2
PROGRAMMING LANGUAGE 2017-18
In 1985, the first edition of The C++ Programming Language was released, which
became the definitive reference for the language, as there was not yet an official standard. The
first commercial implementation of C++ was released in October of the same year.
In 1989, C++ 2.0 was released, followed by the updated second edition of The C++
Programming Language in 1991. New features in 2.0 included multiple inheritance, abstract
classes, static member functions, counts member functions, and protected members. In 1990, The
Annotated C++ Reference Manual was published. This work became the basis for the future
standard. Later feature additions included templates, exceptions, namespaces, new casts, and
a Boolean type. After the 2.0 update, C++ evolved relatively slowly until, in 2011,
the C++11 standard was released, adding numerous new features, enlarging the standard library
further, and providing more facilities to C++ programmers. After a minor C++14 update released
in December 2014, various new additions are planned for July 2017 and 2020. As of 2017, C++
remains the third most popular programming language, behind Java and C.
Features:
1) Simple:
C++ is a simple language in the sense that it provides structured approach (to break the problem
into parts), rich set of library functions, data types etc.
2) Machine Independent or Portable:
Unlike assembly language, c programs can be executed in many machines with little bit or no
change. But it is not platform-independent.
3) Mid-level programming language:
C++ is also used to do low level programming. It is used to develop system applications such as
kernel, driver etc. It also supports the feature of high level language. That is why it is known as
mid-level language.
4) Structured programming language:
C++ is a structured programming language in the sense that we can break the program into parts
using functions. So, it is easy to understand and modify.
5) Rich Library:
C++ provides a lot of inbuilt functions that makes the development fast.
6) Memory Management:
It supports the feature of dynamic memory allocation. In C++ language, we can free the allocated
memory at any time by calling the free() function.
7) Speed:
The compilation and execution time of C++ language is fast.
8) Pointer:
C++ provides the feature of pointers. We can directly interact with the memory by using the
pointers. We can use pointers for memory, structures, functions, array etc.
9) Recursion:
In C++, we can call the function within the function. It provides code reusability for every
function.
10) Extensible:
C++ language is extensible because it can easily adopt new features.
BESIT Page 3
PROGRAMMING LANGUAGE 2017-18
BESIT Page 4
PROGRAMMING LANGUAGE 2017-18
versions had multiple configurations built for different types of platforms. J2EE included
technologies and APIs for enterprise applications typically run in server environments,
while J2ME featured APIs optimized for mobile applications. The desktop version was
renamed J2SE. In 2006, for marketing purposes, Sun renamed new J2 versions as Java EE, Java
ME, and Java SE, respectively. In 1997, Sun Microsystems approached the ISO/IEC JTC
1 standards body and later the Ecma International to formalize Java, but it soon withdrew from
the process. Java remains a de facto standard, controlled through the Java Community Process.At
one time, Sun made most of its Java implementations available without charge, despite
their proprietary software status. Sun generated revenue from Java through the selling of licenses
for specialized products such as the Java Enterprise System.
On November 13, 2006, Sun released much of its Java virtual machine (JVM) as free and
open-source software, (FOSS), under the terms of the GNU General Public License (GPL). On
May 8, 2007, Sun finished the process, making all of its JVM’s core code available under free
software/open-source distribution terms, aside from a small portion of code to which Sun did not
hold the copyright. Sun’s vice-president Rich Green said that Sun’s ideal role with regard to Java
was as an “evangelist”. Following Oracle Corporation’s acquisition of Sun Microsystems in
2009–10, Oracle has described itself as the “steward of Java technology with a relentless
commitment to fostering a community of participation and transparency”. This did not prevent
Oracle from filing a lawsuit against Google shortly after that for using Java inside the Android
SDK. Java software runs on everything from laptops to data centers, game consoles to
scientific computers. On April 2, 2010, James Gosling resigned from Oracle.
Features:
1. Simple:
It has Rich set of API.
It has Garbage Collector which is always used to collect un-Referenced Memory location
for improving performance of a Java program.
2 Platform Independent:
A program or technology is said to be platform independent if and only if which can run on
all available operating systems with respect to its development and compilation.
3. Architectural Neutral:
A Language or Technology is said to be Architectural neutral which can run on any
available processors in the real world without considering their development and compilation.
MATLAB PROGRAMMING LANGUAGE
MATLAB (matrix laboratory) is a multi-paradigm numerical computing environment.
A proprietary programming language developed by Math Works, MATLAB
allows matrix manipulations, plotting of functions and data, implementation of algorithms,
creation of user interfaces, and interfacing with programs written in other languages,
including C, C++, C#, Java, Fortran and Python.
BESIT Page 5
PROGRAMMING LANGUAGE 2017-18
Although MATLAB is intended primarily for numerical computing, an optional toolbox uses
the MuPAD symbolic engine, allowing access to symbolic computing abilities. An additional
package, Simulink, adds graphical multi-domain simulation and model-based
design for dynamic and embedded systems. As of 2017, MATLAB has over 2 million users
across industry and academia. MATLAB users come from various backgrounds
of engineering, science, and economics.
Cleve Moler, the chairman of the computer science department at the University of New Mexico,
started developing MATLAB in the late 1970s. He designed it to give his student’s access
to LINPACK and EISPACK without them having to learn FORTRAN. It soon spread to other
universities and found a strong audience within the applied mathematics community. Jack little,
an engineer, was exposed to it during a visit Moler made to Stanford University in 1983.
Recognizing its commercial potential, he joined with Moler and Steve Bangert. They rewrote
MATLAB in C and founded Math Works in 1984 to continue its development. These rewritten
libraries were known as JACKPAC. In 2000, MATLAB was rewritten to use a newer set of
libraries for matrix manipulation, LAPACK.
MATLAB was first adopted by researchers and practitioners in control engineering, Little's
specialty, but quickly spread to many other domains. It is now also used in education, in
particular the teaching of linear algebra, numerical analysis, and is popular amongst scientists
involved in image processing.
Features:
Image analysis, including segmentation, morphology, statistics, and measurement
Apps for image region analysis, image batch processing, and image registration
3D image processing workflows, including visualization and segmentation
Image enhancement, filtering, geometric transformations, and deblurring algorithms
Intensity-based and non-rigid image registration methods
Support for CUDA-enabled NVIDIA GPUs (with Parallel Computing Toolbox™)
C-code generation support for desktop prototyping and embedded vision system deployment.
BESIT Page 6
PROGRAMMING LANGUAGE 2017-18
(As such, computer code written using .NET Framework is called "managed code".) FCL and
CLR together constitute .NET Framework.
FCL provides user interface, data access, database connectivity, cryptography, web
application development, numeric algorithms, and network communications. Programmers
produce software by combining their source code with .NET Framework and other libraries. The
framework is intended to be used by most new applications created for the Windows platform.
Microsoft also produces an integrated development environment largely for .NET software
called Visual Studio.
.NET Framework began as proprietary software, although the firm worked to standardize the
software stack almost immediately, even before its first release. Despite the standardization
efforts, developers, mainly those in the free and open-source software communities, expressed
their unease with the selected terms and the prospects of any free and open-source
implementation, especially regarding software patents. Since then, Microsoft has changed .NET
development to more closely follow a contemporary model of a community-developed software
project, including issuing an update to its patent promising to address the concerns.
.NET Framework led to a family of .NET platforms targeting mobile computing, embedded
devices, alternative operating systems, and web browser plug-ins. A reduced version of the
framework, .NET Compact Framework, is available on Windows CE platforms,
including Windows Mobile devices such as smartphones. .NET Micro Framework is targeted at
very resource-constrained embedded devices. Silverlight was available as a web
browser plugin. Mono is available for many operating systems and is customized into popular
smartphone operating systems (Android and iOS) and game engines. Core targets the Universal
Windows Platform (UWP), and cross-platform and cloud computing workloads.
In August 2000, Microsoft, Hewlett-Packard, and Intel worked to standardize Common
Language Infrastructure (CLI) and C#. By December 2001, both were ratified Ecma
International (ECMA) standards. International Organization for Standardization (ISO) followed
in April 2003. The current version of ISO standards are ISO-IEC 23271:2012 and ISO/IEC
23270:2006.
While Microsoft and their partners hold patents for CLI and C#, ECMA and ISO require that all
patents essential to implementation be made available under "reasonable and non-discriminatory
terms". The firms agreed to meet these terms, and to make the patents available royalty-free.
However, this did not apply for the part of .NET Framework not covered by ECMA-ISO
standards, which included Windows Forms, ADO.NET, and ASP.NET. Patents that Microsoft
holds in these areas may have deterred non-Microsoft implementations of the full framework.
On 3 October 2007, Microsoft announced that the source code for .NET Framework 3.5 libraries
was to become available under the Microsoft Reference Source License (MS-RSL). The source
code repository became available online on 16 January 2008 and included BCL, ASP.NET,
BESIT Page 7
PROGRAMMING LANGUAGE 2017-18
ADO.NET, Windows Forms, WPF, and XML. Scott Guthrie of Microsoft promised that LINQ,
WCF, and WF libraries were being added.
On 12 November 2014, Microsoft announced .NET Core, in an effort to include cross-platform
support for .NET, the source release of Microsoft's Core CLR implementation, source for the
"entire […] library stack" for .NET Core, and the adoption of a conventional ("bazaar"-
like) open-source development model under the consolation stewardship of the .NET
Foundation. Miguel de Icaza describes .NET Core as a "redesigned version of .NET that is based
on the simplified version of the class libraries", and Microsoft's Immo Land werth explained that
.NET Core would be "the foundation of all future .NET platforms". At the time of the
announcement, the initial release of the .NET Core project had been seeded with a subset of the
libraries' source code and coincided with the relicensing of Microsoft's existing .NET reference
source away from the restrictions of the MS-RSL. Land werth acknowledged the disadvantages
of the formerly selected shared source license, explaining that it made codename Rotor "a non-
starter" as a community-developed open source project because it did not meet the criteria of
an Open Source Initiative (OSI) approved license.
In November 2014, Microsoft also produced an update to its patent grants, which further extends
the scope beyond its prior pledges. Prior projects like Mono existed in a legalgrey area because
Microsoft's earlier grants applied only to the technology in "covered specifications", including
strictly the 4th editions each of ECMA-334 and ECMA-335. The new patent promise, however,
places no ceiling on the specification version, and even extends to any .NET runtime
technologies documented on MSDN that have not been formally specified by the ECMA group,
if a project chooses to implement them. This allows Mono and other projects to maintain feature
parity with modern .NET features that have been introduced since the 4th edition was published
without being at risk of patent litigation over the implementation of those features. The new
grant does maintain the restriction that any implementation must maintain minimum compliance
with the mandatory parts of the CLI specification.
BESIT Page 8
PROGRAMMING LANGUAGE 2017-18
other embedded systems. By reducing the size and cost compared to a design that uses a
separate microprocessor, memory, and input/output devices, microcontrollers make it
economical to digitally control even more devices and processes. Mixed signal microcontrollers
are common, integrating analog components needed to control non-digital electronic systems.
Some microcontrollers may use four-bit words and operate at frequencies as low as 4 kHz, for
low power consumption (single-digit milli watts or microwatts). They will generally have the
ability to retain functionality while waiting for an event such as a button press or other interrupt;
power consumption while sleeping (CPU clock and most peripherals off) may be just Nano
watts, making many of them well suited for long lasting battery applications. Other
microcontrollers may serve performance-critical roles, where they may need to act more like
a digital signal processor (DSP), with higher clock speeds and power consumption.
The first microprocessor was the 4-bit Intel 4004 released in 1971, with the Intel 8008 and other
more capable microprocessors becoming available over the next several years. However, both
processors required external chips to implement a working system, raising total system cost, and
making it impossible to economically computerize appliances. One book credits TI engineers
Gary Boone and Michael Cochran with the successful creation of the first microcontroller in
1971. The result of their work was the TMS 1000, which became commercially available in
1974. It combined read-only memory, read/write memory, processor and clock on one chip and
was targeted at embedded systems.[1] Partly in response to the existence of the single-chip TMS
1000,[2] Intel developed a computer system on a chip optimized for control applications, the Intel
8048, with commercial parts first shipping in 1977.[2] It combined RAM and ROM on the same
chip. This chip would find its way into over one billion PC keyboards, and other numerous
applications. At that time Intel's President, Luke J. Valente, stated that the microcontroller was
one of the most successful in the company's history, and expanded the division's budget over
25%. Most microcontrollers at this time had concurrent variants. One had an
erasable EPROM program memory, with a transparent quartz window in the lid of the package to
allow it to be erased by exposure to ultraviolet light, often used for prototyping. The other was
either a mask programmed ROM from the manufacturer for large series, or a PROM variant
which was only programmable once; sometimes this was signified with the designation OTP,
standing for "one-time programmable". The PROM was of identical type of memory as the
EPROM, but because there was no way to expose it to ultraviolet light, it could not be erased.
The erasable versions required ceramic packages with quartz windows, making them
significantly more expensive than the OTP versions, which could be made in lower-cost opaque
plastic packages. For the erasable variants, quartz was required, instead of less expensive glass,
for its transparency to ultraviolet—glass is largely opaque to UV—but the main cost
differentiator was the ceramic package itself. In 1993, the introduction of EEPROM memory
allowed microcontrollers to be electrically erased quickly without an expensive package as
required for EPROM, allowing both rapid prototyping, and In System Programming. (EEPROM
BESIT Page 9
PROGRAMMING LANGUAGE 2017-18
technology had been available prior to this time, but the earlier EEPROM was more expensive
and less durable, making it unsuitable for low-cost mass-produced microcontrollers.) The same
year, Atmel introduced the first microcontroller using Flash memory, a special type of
EEPROM. Other companies rapidly followed suit, with both memory types.
Cost has plummeted over time, with the cheapest 8-bit microcontrollers being available for
under 0.25 USD in quantity (thousands) in 2009, and some 32-bitmicrocontrollers around US$1
for similar quantities. Nowadays microcontrollers are cheap and readily available for hobbyists,
with large online communities around certain processors. In the future, MRAM could potentially
be used in microcontrollers as it has infinite endurance and its incremental semiconductor wafer
process cost is relatively low.
Features:
4K bytes ROM.
128 bytes ROM.
Four 8-bit I/O ports.
Two 8/16 bit timers.
Serial port.
64K external
Go to start
BESIT Page 10
PROGRAMMING LANGUAGE 2017-18
BESIT Page 11
PROGRAMMING LANGUAGE 2017-18
APPLICATIONS:
BESIT Page 12