The Various Programming Languages Computer Science Essay

Published: Last Edited:

This essay has been submitted by a student. This is not an example of the work written by our professional essay writers.

Yes there are so many different programing languages used to for programing becase every language has different cirumstances and there are also their functions which can be use only in thier formate. So we have to use only a spesific language for a specific programe.

Programming languages are tools for solving problems or for getting computational jobs done. Each programming language can be described as one tool in the programmer's toolbox. Some tasks are large size (e.g. calculate salaries for all the employees of a large company). Some are small (e.g. sum the numbers from 1 to 10). One size does not fit all, so programming languages were created for specific purposes. Hardware and fashion also play a part.

There are so many languages which are used to for programng there are thousands languages for programing. There are some very very most popular languages are that are as under:

Visual basic

Java

HTML/DHTML

C, C++

.NET

Basic

These languages ahas devloped a lot because these languages has every thing which are required for making of any of software as we know that languages are used to making the softwares, and we have bunddles of softwares for specfic situations and software requirments. There are three levels of languages that are "High level languages" mean u can say java it is very high level languages, second one is middle level language that is C++ and also java. Third one is the low level languag which is an assembaly language.

The four main languages that are developed languages that are JAVA, VISUAL BASIC, .NET, C++ these languages are devoloped for the software for more and more compatible and for software making to ease. So, avery one can could understand it easily. They developed these languages so that they can possible every thing what they think these are that languages that we can use to make any kind of software.

Task 1: Part b

There are two main languages which we can compare that are Java and c++ languages. These languages can be similar and some difference between them. The same thing is that these languages are

C++ was designed mainly for systems programming, extending the c programing language To this procedural programin language designed for efficient execution, C++ has added support for staticaly tuped object-oriented programming, exception handling, scoped resource management, and generic programming, in particular. It also added a standard library which includes generic containers and algorithms.

Java was created initially to support network computing. It relies on a virtual machine to be secure and highly portable. It is bundled with an extensive library designed to provide a complete abstraction of the underlying platform. Java is a statically typed object-oriented language that uses a syntax similar to C, but is not compatible with it. It was designed from scratch, with the goal of being easy to use and accessible to a wider audience.

Task 1: Part c

In this section we are going to discuss about that the comparing about two different languages that are lets say we go for .NET and BASIC language. C++ Java Compatible with C source code, except for a few corner cases. No backward compatibility with any previous language. The syntax is however strongly influenced by C/C++. Write once compile anywhere (WOCA) Write once run anywhere / everywhere (WORA / WORE) Allows both procedural programming and object-oriented programming. Encourages an object oriented programming paradigm. Allows direct calls to native system libraries. Call through the Java Native Interface and recently Java Native Access Exposes low-level system facilities. Runs in a protected virtual machine. Only provides object types and type names. Is reflective, allowing metaprogramming and dynamic code generation at runtime. Has multiple binary compatibility standards (commonly Microsoft and Itanium/GNU) Has a binary compatibility standard, allowing runtime check of correctness of libraries. Optional automated bounds checking. (e.g. the at() method in vector and string containers) Normally performs bounds checking. HotSpot can remove bounds checking. Supports native unsigned arithmetic. No native support for unsigned arithmetic. Standardized minimum limits for all numerical types, but the actual sizes are implementation-defined. Standardized types are available as typedefs (uint8_t, ..., uintptr_t). Standardized limits and sizes of all primitive types on all platforms. Pointers, References, and pass by value are supported Primitive data types always passed by value. Objects are passed by nullable reference (comparable to using pointers for all class or struct parameters in C++). Explicit memory management, though third party frameworks exist to provide garbage collection. Supports destructors. Automatic garbage collection (can be triggered manually). Doesn't have the concept of Destructor and usage of finalize() is not recommended.

The differences between the C++ and Java programming languages can be traced to their heritage, as they have different design goals.

C++ was designed mainly for systems programming, extending the C programming language. To this procedural programming language designed for efficient execution, C++ has added support for statically-typed object-oriented programming, exception handling, scoped resource management, and generic programming, in particular. It also added a standard library which includes generic containers and algorithms.

Java was created initially to support network computing. It relies on a virtual machine to be secure and highly portable. It is bundled with an extensive library designed to provide a complete abstraction of the underlying platform. Java is a statically typed object-oriented language that uses a syntax similar to C, but is not compatible with it. It was designed from scratch, with the goal of being easy to use and accessible to a wider audience.

Task 2: Part a

There are thousands programming languages that we are using now days in the market of web development. Here we discuss only about three languages and that are as under

Java

C++

Visual basic

First talk about the java language this is a very high level language in programming language. Java language is usually using fro the networking purposes. This language is specially designed for the networking proposes. This is an object printed language and very easy to understand and learnable language. The particularity of this language is that this is networking languages for this reason this language was developed.

Hello world Example

The traditional Hello world program can be written in Java as:

// Outputs "Hello, world!" and then exits

public class HelloWorld {

public static void main(String[] args) {

System.out.println("Hello world!");

}

}

This is an example with a commented code for java language.

C++:

Second one is the c++ language this is an middle level language and its also usually use like java language its some similar with java language. It is regarded as a "middle-level" language, as it comprises a combination of both high-level and low-level language features. As one of the most popular programming languages ever created, C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games.

C++ is also used for hardware design, where design is initially described in C++, then analyzed, architecturally constrained, and scheduled to create a register transfer level hardware description language via high-level synthesis.

Here is the one example of c++ language code commented from algorithm part. As well there are hundred of examples of this.

Example

printf("\n input first operand ");

scanf("%d",&n1);

x1=n1;

d_to_b(n1,binary);

for(i=0;binary[i]!='\0';++i)

bn1[i]=binary[i];

bn1[i]='\0';

break;

Visual basic:

This language is also an high level language and very well known language. This language is also to use for hardware development. Like the BASIC programming language, Visual Basic was designed to be easily learned and used by beginner programmers. The language not only allows programmers to create simple GUI applications, but can also develop complex applications.

Example code

Here is an example of the language: Code snippet that displays a message box "Hello, World!" as the window Form loads:

Private Sub Form_Load()

' Execute a simple message box that will say "Hello, World!"

MsgBox "Hello, World!"

End Sub

In this website in which we have stored the languages and described in this website we also include the anti virus system so that no body could affect of this. For this resaon we installed a powerfull anti virus system that stops all kinds of viruses. When this programe or website is opreated by the viewrs there is a system that automatically starts to scan the viruses and look that is there any virsus and inform that there is virus either u want to open that file or not.

Task 2: Part b

In computer programming, a data type (or datatype) is a classification identifying one of various types of data, such as floating-point, integer, or Boolean, stating the possible values for that type, the operations that can be done on that type, and the way the values of that type are stored.

Almost all programming languages explicitly include the notion of data type, though different languages may use different terminology. Common data types may include:

integers,

booleans,

characters,

floating-point numbers (decimals), and

alphanumeric strings.

So in computer languages we use different data types. To having different type data types is so that every language can easily do that things and understand that values and types. There is also one other type that is binary type in this data type we only use only two numbers that are (0 ,1) , characters are also one data type in this data type we ue the alphabate like (ABCDE).