Characteristics of Programming Languages
Visuals
C++ Features
The main features of the C Language are:
1.-It has a complete set of control instructions.
2.- Allows the grouping of instructions.
3.- Includes the concept of pointer (variable that contains the address of another
variable).
4.-The arguments of the functions are passed by their value.
5.- Input/Output is not part of the language, but is provided through a
function library.
Allows the separation of a program into modules that can be compiled
independent.
Originally, the C Language was closely linked to the UNIX operating system as
It had been mentioned before that, for the most part, it is written in C. More
it began to be used in other operating systems for programming
editors, compilers, etc. Although it is known as a language of
systems programming does not adapt poorly to the rest of the applications. In fact,
Nowadays, a high percentage of software for personal computers is
written in C language. For example, the MS-DOS operating system.
Some of the most important features that define language and that have
allowed to be so popular, as a programming language are:
Small size.
Extensive use of function calls.
Brief commands (little typing).
Structured language.
Low-level programming (bit level)
Implementation of pointers - extensive use of pointers for memory,
arrays, structures and functions
The various reasons why it has become a widely used language
professional sound
The use of high-level builders.
The ability to manage low-level activities.
To generate efficient programs.
The possibility of being able to be compiled on a variety of computers, with
few changes (portability).
One drawback is that it has poor error detection, which in
sometimes it is problematic for beginners
C# features
Its basic syntax derives fromC/C++and use the object model of the
the .NET platform which is similar toJavaalthough it includes improvements derived from
other languages (among themDelphi).
The creation of the language name, C♯, comes from drawing two positive signs.
above the two plus signs of "C++", wanting to give an image of a jump
evolutionary in the same way that it happened with the transition from C to C++.
C#, as part of the .NET platform, is standardized byECMAsince December
of2001(C# Language Specification Specification of the C ♯ language.7 of
Novemberof2005the 2.0 version of the language was released, which included improvements such as
generic types, anonymous methods, iterators, partial types, and nullable types.
TheNovember 19, 2007The 3.0 version of C# has been released, highlighting the improvements.
implicit types,anonymous typesyLINQLanguage Integrated Query - query
integrated into the language.
Although C# is part of the .NET platform, this is aprogramming interface
of applications (API); while C# is a programming language
independent designed to generate programs on that platform. It already exists
acompilerimplemented that provides the framework ofDotGNU- Monothat generates
programs for different platforms such asWin32,UNIXyLinux.
Java characteristics
Completely object-oriented language. All the concepts in which it is
supports this technique, encapsulation, inheritance, polymorphism, etc., are
presents in Java.
Availability of a wide range of libraries. As previously mentioned
Previously, Java is something more than a language. The programming of
applications with Java is based not only on the use of the instruction set
what language is composed of, but fundamentally, in the possibility of
use the vast array of classes that Sun makes available to the
programmer and with which it is possible to practically perform any type
of application.
Simple language. Java has a very fast learning curve. It is
It's relatively easy to write interesting applets from scratch. Everyone
those familiar with C++ will find that Java is simpler, since
certain features, such as pointers, have been removed. Due to its
similarity with C and C++, and since most people know them although
Essentially, it is very easy to learn Java. Programmers
experienced in C++ can quickly migrate to Java and be
productive in a short time.
Distributed. Java provides a collection of classes for use in
network applications that allow opening sockets and establishing and accepting
connections with remote servers or clients, thus facilitating the creation of
distributed applications.
Interpreted and compiled at the same time. Java is compiled, to the extent that its
source code is transformed into a kind of machine code, thebytecodes,
similar to assembly instructions. On the other hand, it is
interpreted, since the bytecodes can be executed directly on
any machine to which the interpreter and the system have been ported
real-time execution (run-time).
Robust. Java was designed to create highly reliable software. To do this
provides numerous checks at compile time and at runtime
execution. Its memory characteristics free programmers from a
entire family of errors (the arithmetic of pointers), as it has been disregarded
completely from pointers, and garbage collection eliminates the need
explicit memory release.
Sure (?). Given the distributed nature of Java, where applets are downloaded
from any point of the Network, security became a necessity
of vital importance. No one would like to run programs on their computer
with full access to their system, coming from unknown sources. So
security barriers were implemented in the language and in the system of
real-time execution.
Indifferent to architecture. Java is designed to support applications.
that will be executed in the most varied network environments, from Unix to
Windows NT, going through Mac and workstations, about architectures
different and with diverse operating systems. To accommodate requirements of
execution so diverse ormulticolored,the Java compiler generates bytecodes:
an intermediate format indifferent to the architecture designed to transport the
code efficiently to multiple hardware and software platforms. The rest of
problems are solved by the Java interpreter.
Portable. Indifference to architecture represents only a part of its
portability. In addition, Java specifies the sizes of its data types
basics and the behavior of their arithmetic operators, so that the
programs are the same on all platforms. These last two
characteristics known as the Java Virtual Machine (JVM).
High performance.
Multihebra. Nowadays, the applications are seen as terribly limited.
that can only execute one action at a time. Java supports synchronization of
multiple threads of execution (multithreading) at the language level, especially
useful in the creation of distributed network applications. Thus, while a thread
is responsible for communication, another can interact with the user while
one presents an animation on screen and the other performs calculations.
Dynamic. The Java language and its real-time execution system are
dynamic in the linking phase. Classes are only linked as
They are needed. New code modules can be linked under
demand, coming from very varied sources, including the Internet.
Produce applets. Java can be used to create two types of programs:
independent applications and applets. Independent applications are
behave like any other program written in any language, such as
for example, the Web HotJava browser, written entirely in Java.
On their part, applets are small programs that appear embedded in the
web pages, how the graphics or text appear, but with the ability to
execute very complex actions, such as animating images, setting
network connections, present menus and dialog boxes for later
take actions, etc.
Visual Basic features
The long-standing popularity of Visual Basic is the result of some of its
characteristics, including its main language, BASIC, a language created
specifically for beginner programmers. Another key feature of
Visual Basic is its adaptability. It can be used for projects that vary in
greatly measure the complexity, the operating environment, and the purpose. In other
words, can be used for attractive web applications and games, but also
in simple five-line utilities. Learn about other features of the
Visual Basic will help you decide if it is suitable for your project.
Visual Basic is object-oriented
Writing Visual Basic code involves thinking visually, and one thinks first
in objects, instead of procedures. A way to receive input from the
The user is an object and is likely to contain other objects, its 'children'.
Command buttons, text boxes, and option buttons are examples of the
controls that could be found in a user form.
Visual Basic programs are event-driven.
A natural consequence of object-oriented programming is the choice of the
events that each object will respond to and then choose the response of each object
to those events. The following is a snippet of code that represents a button
of selection of (an object) response to the event of a user clicking on it.
Visual Basic code is 'family-oriented'
As mentioned earlier, objects can be the parents of others.
objects. This makes more sense than writing Visual Basic code. And this
family relationship makes your code easier to understand. The fragment
from the following code, it disables and allows all except one of the controls
they settle in an input form.
A code like this indicates which controls are disabled or enabled.
to settle them all in a form (hereinafter, Me). There the connection is not visible.
between those controls and their matrix form, if you are referring to those controls by
their individual names would be like this:
Another feature of Visual Basic is its form designer.
WYSIWYG (what you see is what you get). You can create visual forms and with
speed, while Visual Basic provides the skeleton code behind your
form and its controls. Create a new form in Visual Basic through the
menu option 'Project > Add Form Window'. Drag and drop the
form controls from a control palette, which then formats and the
position according to the needs of your project. Visual Basic remembers the
settings that are assigned in the design window when it is finally executed
the program. Add codes to each object. Double click on each object in the
designer window making Visual Basic create a skeleton code for that
object. Your job is to fill in the blanks so that the object does
something. If you create a control button for the form, double-click it at the same time
in the form design window. Visual Basic will take you to the subroutine
Button1_Click. In this subroutine, code what you want to happen when the
users of your program, press the button during its execution.
References
Flores Roca, E. (February 11, 2018). C Sharp Programming Language. Retrieved from EcuRed:
https://www.ecured.cu/C_Sharp_Programming_Language
Lechuga Zarco, L. (March 15, 2016). Java Programming/Language Features. Obtained
from WikiBooks:
The link provided does not contain any text to translate.
language
Peralta, E. (n.d.). Characteristics of Visual Basic. Retrieved from Techlandia:
Unable to access or translate content from external links.