+ 2

Is assembly language low level or middle level language???

i had a college book on c in 1st sem... it said that low level languages are also called machine languages and middle level languages are also called assembly language and c is a middle level language... now i am in 3 rd sem learning c++and i was just searching on internet and i found an article that says assembly language is a low level language.. please explain this concept..

8th Sep 2018, 9:35 AM
Teddy
Teddy - avatar
8 Answers
+ 1
Teddy machine language is the same as assembly, just written in 1's and 0's
8th Sep 2018, 10:13 AM
hinanawi
hinanawi - avatar
+ 3
assembly language is about as low as you can get, there's no boundary between the language and the computers memory, unlike c, which is a mid level language, because it's pretty far from machine language but is still somewhat close to the computers memory. in layman's terms, the easier it is for a human to understand the language, the higher level it is
8th Sep 2018, 9:58 AM
hinanawi
hinanawi - avatar
+ 1
In lot of sources C is also considered low level. But Assembly of course is even lower. I think those terms are somewhat diffuse. Just think about the last sentence of hinanawi This usually enough for some ordering.
8th Sep 2018, 10:16 AM
Matthias
Matthias - avatar
+ 1
Teddy assembly is automatically translated into machine language when you run it
8th Sep 2018, 10:21 AM
hinanawi
hinanawi - avatar
0
one more question how assembly is different from machine language.... does assembly language needs to be compiled... does both machine and assembly language came under low level language or machine language cant be included in low level languages
8th Sep 2018, 10:13 AM
Teddy
Teddy - avatar
0
mmmmm..... i know that assembly language instructions and variables have names ... and machine language have just 0s and 1s... computer can understand only 0s and 1s so does assembly language needs to be compiled or it isnt bec it is too much close to machine language
8th Sep 2018, 10:20 AM
Teddy
Teddy - avatar
0
thanks and what translates assembly to machine automatically is called assembler??
8th Sep 2018, 10:23 AM
Teddy
Teddy - avatar
0
The assembler language is a low level language and is composed from a predefined set of instructions. This language is mostly used to write programmes for microprocessors, chips and hardware dependent applications. After the compilation, the program is translated into machine code, which is also a set of instructions, but its commands are directly understand by the processor and ALU. In assembler you don't have statements like "if", "for", arithmetic operators. In a high level programming language they are then translated into assembler or directly into machine code by the compiler.
8th Sep 2018, 9:45 PM
Vasile Eftodii
Vasile Eftodii - avatar