Programming Languages
1. Programming language: the language for talking to a computer
A programming language = a set of symbols, special words and rules for making statements (instructions); it has its own keywords (vocabulary) and syntax (grammar). Just as Hindi has its own words and grammar.
| Low-level | High-level |
|---|---|
| Machine (1GL), assembly (2GL) | 3GL onwards: C, Java, Python |
| Machine-dependent, fast | Machine-independent (portable), easy |
| Hard to write | Needs a translator (compiler/interpreter) |
A computer directly understands only machine language (0, 1). The first programmer: Ada Lovelace (1843).
- 2. Low-level languages: machine and assembly
- 3. Types of high-level languages; markup and the web
- 4. The five generations of programming languages
- 5. Major languages and their creators
- 6. POP vs OOP; the four pillars of OOP
- ⚠️ Where students go wrong most
The full note, 6 try-it tools and all 127 MCQs of this chapter come with the full subject: ₹99
or ⭐ all 14 subjects + every PYQ for ₹599 a year (Full GS Pass)
How the exam asks it
- A set of symbols, words and rules for making a statement? Programming language · How is machine language written? Binary code · Not machine-based? High-level language (Allahabad HC)
- Second-generation languages are? Assembly language · What is true about 4GL? It is a programming language (Allahabad HC)
- The full form of LISP? List Processing · The language for calculation? FORTRAN · The language for developing games? C++ · When did Dennis Ritchie develop C? 1972 (Allahabad HC)
Check yourself
1. Which is a second-generation (2GL) language?
Answer: B. Assembly language · 1GL machine (0/1), 2GL assembly (mnemonics), 4GL SQL, 5GL PROLOG.
2. What is the full form of LISP?
Answer: A. List Processing · LISt Processing: John McCarthy (1958), for AI; the second oldest HLL.
Asked in the exam (PYQ)
_______ is a set of symbols, keywords and set of rules to construct a statement.
Answer: D. Programming language · A programming language is a set of symbols, keywords and grammar rules used to write statements for a computer. Syntax is only the rule part (grammar) of a language, and a program is what you write using the language.
More PYQs from this chapter
- Lisp is the second oldest high-level programming language. Here, Lisp stands forAllahabad High Court RO/ARO · 20 December 2021 · ARO
- Which of the following is a machine independent program ?Allahabad High Court RO/ARO · 19 December 2021 · Shift 2
- The language used for development of various games is :Allahabad High Court RO/ARO · 15 December 2021 · ARO
- Second generation languages are languages that consist of :Allahabad High Court RO/ARO · 15 December 2021 · ARO
- C language developed by Dennis Ritchie in :Allahabad High Court RO/ARO · 15 December 2021 · ARO
- Computer language used for calculation is:Allahabad High Court RO/ARO · 14 December 2021 · ARO
All 13 PYQs of this chapter are on the mind map and with the PYQ Pass.
