Skip to main content

High Level Language

 High Level Language

High Level computer languages are the advanced development languages in the evolution of computer languages. These languages are designed to make the programming easier and less error-free. High level language uses words and commands along with symbols and numbers. The keywords used in High level languages are similar to English words and can be easily understood by Humans when compared to a Low level language.

High-level language is a computer language which can be understood by the users. The high-level language is very similar to human languages and has a set of grammar rules that are used to make instructions more easily. Every high-level language has a set of predefined words known as Keywords and a set of rules known as Syntax to create instructions. The high-level language is easier to understand for the users but the computer can not understand it. High-level language needs to be converted into the low-level language to make it understandable by the computer. We use Compiler or interpreter to convert high-level language to low-level language.

Types of programming languages in High level languages are:

  • C
  • C++
  • Java
  • Java Script
  • Python
  • C#
  • PHP

Compiler

Compiler is a translator which converts high level language code to machine level code. It takes hole program as a input and compile it.

Interpreter

Interpreter is also a translator which converts high level language code to machine level code. But main difference compare to Compiler is it check the program line by line.

Comments

Popular posts from this blog

How to write and naming a java program

Java program can be created by using any editor.  The source code in java contains one or multiple number of classes.  Naming a java program Java program must be saved with a .java extension.  The primary name of the program must be same as class name if the class is declared as public.  It can be any name if no class is declared as public.  In one Java program there is only one public class.  How to compile a java program To compile a java program in command prompt (CMD)  Syntax- javac <file_name.java> Example- javac Hello.java How to run a java program To run a java program in command prompt Syntax- java class_name Example- java Hello

Command Prompt (CMD) Basic commands to Compile and Run java programs

How to change the drive in CMD (Command Prompt) To access another drive, type the drive’s letter, followed by : For instance, if you wanted to change the drive from C: to E:, you should type- Example-  E: ⤶ How to change the directory in CMD (CD in Command Prompt) The first command from the list is CD (Change Directory). This command enables you to change the current directory or, in other words, to navigate to another folder from your PC. Syntax- CD <Folder_Name> ⤶ Example- CD Saubhagya ⤶ How to go to the root of the drive in CMD (CD\) The first iteration of the CD command you should know is CD\. It takes you to the top of the directory tree. To see how it works, after you open the Command Prompt, type: Example- CD\ ⤶ How to change the parent directory in CMD (CD..) When you need to go one folder up, use the cd.. command. Let's assume that you’re inside the system32 folder and want to go back to the Windows folder. Type Example-  CD.. ⤶

Features of Java

  Features of Java The primary objective of Java programming language creation was to make it portable, simple and secure programming language. Apart from this, there are also some excellent features which play an important role in the popularity of this language. The features of Java are also known as Java buzzwords . A list of the most important features of the Java language is given below. Simple Object-Oriented Portable Platform independent Secured Robust Architecture neutral Interpreted High Performance Multithreaded Distributed Dynamic Simple Java is very easy to learn, and its syntax is simple, clean and easy to understand. According to Sun Microsystem, Java language is a simple programming language because: Java syntax is based on C++ (so easier for programmers to learn it after C++). Java has removed many complicated and rarely-used features, for example, explicit pointers, operator overloading, etc. There is no need to remove unreferenced objects because there is an Autom...