What is a Program ? Discuss various levels of programming languages in detail.
In : BSc IT Subject : Structure Programming Methodology - JavaA program is a set of instructions written in a programming language that tells a computer how to perform a specific task. These instructions are followed step-by-step by the computer to carry out operations like calculations, data processing, or controlling hardware.
Levels of Programming Languages:
There are three main levels of programming languages:
Machine Language (Low-Level) :
It is written in binary code (0s and 1s), which the computer's CPU can understand directly.
Very fast but difficult for humans to read and write.
Assembly Language (Also Low-Level) :
Uses simple English-like words (mnemonics) instead of binary.
Needs to be translated into machine language using an assembler .
Easier than machine language but still close to hardware.
High-Level Languages (HLL) :
Use English-like syntax that is easy for humans to understand.
Examples: Java, Python, C++, and JavaScript.
Need to be translated into machine language using compilers , interpreters , or assemblers .
Portable and easier to write, debug, and maintain.