Computer Science # 01: Assignment
Computer Science # 01: Assignment
ASSIGNMENT # 01
Subjects:
ICT
Submitted by:
Kainat Naeem
Submitted to:
Hina Umbreen
Registration No:
20-BIS-2411
Contents
1 Programming Language......................................................................................................3
1.1 High level language.....................................................................................................3
1.1.1. Features of High-level programming languages:.............................................3
1.2 Low level language......................................................................................................4
1.2.1 Machine Language:..............................................................................................4
1.2.2 Assembly Language:............................................................................................4
1.3 Middle-level programming languages.........................................................................4
3
1 Programming Language
To communicate with a person, you need a language. In the same way, if you need to
communicate with the computer, you need a programming language. Without a programming
language, you cannot communicate with the computer.
Languages like Java, .Net, Python, JavaScript, C++, C, C#, and others (which are very
popular now to develop user-end applications). These languages come under the category of
high-level programming language.
High-level programming languages have special keywords, functions, and class libraries.
Using these we can easily build a computer program.
The computer does not understand the program written in such languages directly, as the
computer understands only Machine code. So, Programming language translators are required
to convert a high-level program to its equivalent Machine code.
Programming translators are generally called Compilers and Interpreters. Compilers are the
system software that converts a program written in particular programming languages to its
equivalent Machine code.
Easy to code, read, and edit: The programs written in a high-level programming
language are easy to code, read, and edit. Even we can edit programs written by other
programmers easily by easily if we have a little knowledge of the programming
language.
Even though programs written in high-level language compile/run slower than
programs in low-level language, these programming languages are popular to develop
User End Applications.
Since computers can only understand Binary language which is instructions in the form of 0's
and 1's (Signals - that can be either High or Low). So these programming languages are the
best way to give signals (Binary Instructions) to the computer directly but are not that human
friendly.
Machine Code (Binary Language) does not need an interpreter or compiler because the
computer understands these signals directly.
The assembly language needs to be converted to equivalent Binary code so that the computer
can understand the instructions written in Assembly. Assembler is used to convert an
assembly code to its equivalent Binary code.
The codes written in such kind of languages are difficult to write, read, edit, and understand.
Also, the programs are not portable to any other computer system.
Hence, we can say that the programming languages which have features of Low Level as well
as High-Level programming languages known as "Middle Level" programming language.
5