Chapter 18 of 33

Programming Languages

The generations of programming languages, from machine code to modern high-level languages.

📖 ~4 min read 💻 RRB NTPC / Group D — Computer Awareness

Generations of Programming Languages

GenerationTypeExample
1GLMachine Language (binary code)0s and 1s
2GLAssembly LanguageMnemonics like ADD, SUB
3GLHigh-Level LanguageC, C++, Java, Python
4GLVery High-Level LanguageSQL
5GLAI-based LanguageProlog

Compiler vs Interpreter

CompilerInterpreter
Translates the entire program at once before executionTranslates and executes line by line
Faster execution after compilationSlower, but easier to debug
💡 High-level languages are closer to human language and must be translated (compiled/interpreted) into machine code to run.

💡 Want More? Get the Full eBook

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 →