The generations of programming languages, from machine code to modern high-level languages.
| Generation | Type | Example |
|---|---|---|
| 1GL | Machine Language (binary code) | 0s and 1s |
| 2GL | Assembly Language | Mnemonics like ADD, SUB |
| 3GL | High-Level Language | C, C++, Java, Python |
| 4GL | Very High-Level Language | SQL |
| 5GL | AI-based Language | Prolog |
| Compiler | Interpreter |
|---|---|
| Translates the entire program at once before execution | Translates and executes line by line |
| Faster execution after compilation | Slower, but easier to debug |
This free chapter covers the key concepts. For complete coverage with 500+ MCQs, mock tests, and previous year analysis — grab the premium eBook.
📚 Browse Premium eBooks →