Introduction to some programming languages.
QBasic, a short form of Quick Beginners All-purpose is a programming language developed by Microsoft for use in MS-DOS operating system, but also executable on Windows. It is the successor of earlier forms of BASIC (Beginners All-Purpose Symbolic Instruction Code), a simple programming language for beginning programmers. QBasic is an ideal programming language for beginners because of its intuitive commands, simple structure, and flexibility. It was invented in 1963, at Dartmouth College, by the mathematicians John George Kemeny and Tom Kurtzas. The programs written in QBASIC need to be converted into machine codes. QBASIC provides the working area to write programs and QBASIC has its own Interpreter.
C Programs :
The C language is a structure oriented programming language, was developed at Bell Laboratories in 1972 by Dennis Ritchie. C language features were derived from an earlier language called “B” (Basic Combined Programming Language – BCPL). C language was invented for implementing UNIX operating system. In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard. It is a high-level language. C is the most commonly used programming language for writing operating systems. The UNIX operating system, the C compiler, and essentially all UNIX application programs have been written in C. C is most widely used programming language even today.
C++ Programs :
It is similar to C, invented in 1983 by Bjarne Stroustrup at Bell Labs in Murray Hill, New Jersey, but is a safer language than C and includes modern programming techniques such as object-oriented programming. It is an enhancement of C language and originally named C with Classes but later it was renamed C++ in 1983. C++ is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features. It is a statically typed, compiled, general-purpose, case-sensitive, free-form programming language that supports procedural, object-oriented, and generic programming. The syntax of C++ is largely inherited from C. It adds object-oriented features to its predecessors, such as classes, abstraction, encapsulation, inheritance, and polymorphism.
Java Programs :
Java programming language was developed by James Gosling at Sun Microsystems which was released in 1991 as a core component of Sun Microsystems. This language was initially called “Oak,” but was renamed “Java” in 1995. Sun released the first public implementation as Java 1.0 in 1996. On January 27, 2010 Sun Microsystems was acquired by Oracle Corporation. So, today it is known as the product of Oracle Corporation. It promised to write Once, Run Anywhere (WORA), providing no-cost run-times on popular platforms. Java was designed to have the look and feel of the C++ language, but it is simpler to use than C++ and enforces an object-oriented programming model. Java can be used to create complete applications that may run on a single computer or be distributed among servers and clients in a network.
In the Java programming language, all source code is first written in plain text files ending with the .java extension. Those source files are then compiled into .class files by the java compiler (javac.exe). A .class file does not contain code that is native to your processor; it instead contains bytecodes — the machine language of the Java Virtual Machine (Java.exe). The java launcher tool then runs your application with an instance of the Java Virtual Machine. JVM interprets the byte code into the machine code. JVM provides a platform-independent way of executing code.
The Java programming language is a high-level language that can be characterized by Simple, Object-oriented, Distributed, Multithreaded, Dynamic, Portable, High performance, Robust and Secure. One of the reasons why Java is widely used is because of the availability of a huge standard library. The Java environment has hundreds of classes and methods under different packages to help software developers.