๐ก Activity Solution
๐ก Activity Solution
1๏ธโฃ Programming Language:
- A tool used by programmers to write instructions that tell a computer what to do.
2๏ธโฃ Code:
- The set of written instructions or commands created using a programming language.
3๏ธโฃ Source Code:
- The human-readable form of a program that the programmer writes before itโs translated.
4๏ธโฃ Object Code:
- The machine-readable form produced after the source code is translated (compiled).
5๏ธโฃ Why Compilers or Interpreters:
- Because computers only understand machine code (0s and 1s), we need translators to convert human-readable code into a format the CPU can execute.
6๏ธโฃ When Fast:
- A language is considered fast when it runs close to the hardware (low-level) or when its compiler produces highly optimized machine code.
7๏ธโฃ When Slow:
- A language is slow when it has more abstraction, is interpreted line by line, or depends on extra runtime layers that add overhead.
8๏ธโฃ High-Level Language:
- A programming language that is easy to read and write, close to human language, and hides most hardware details (e.g., Python, C#, Java).
9๏ธโฃ Low-Level Language:
- A programming language that is close to machine code, gives full control over hardware, but is harder to read (e.g., Assembly, Machine Language).
๐ Human-Readable Language:
- A language is human-readable when its syntax uses words, symbols, and structure that are easy for people to understand โ not binary or numeric codes.
0 comments