Levels of code
Levels of code
Machine code consists of binary instruc ons (0s and 1s) that the CPU directly
understands and executes.
10110000 01100001
2. Low-Level Code
Low-level languages are close to machine code but slightly more readable.
They provide direct control over hardware (e.g., memory, CPU registers).
Pros:
Cons:
a = 10
b = 20
sum = a + b
print("Sum:", sum)
Pros:
Cons:
Hierarchy Summary