Navshala by Navrohi
📖 Notes · Computer हिंदीEnglish

Programming Languages

⏱️ 8 min📜 13 PYQ📝 127 MCQ

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-levelHigh-level
Machine (1GL), assembly (2GL)3GL onwards: C, Java, Python
Machine-dependent, fastMachine-independent (portable), easy
Hard to writeNeeds a translator (compiler/interpreter)

A computer directly understands only machine language (0, 1). The first programmer: Ada Lovelace (1843).

🔒 Further in this note
  • 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)

📜 Allahabad High Court RO/ARO · 7 January 2022 · RO

_______ 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

All 13 PYQs of this chapter are on the mind map and with the PYQ Pass.

Read next

← Using Windows, Shortcuts and File ManagementPrevious chapter Language Translators and Programming Concepts →Next chapter ComputerAll chapters
⭐ Full GS Pass: all 14 subjects + every PYQ · ₹399 for 6 months · ₹599 a yearAll 14 bought one by one cost ₹1,216. New subjects come free.See plans →