UP High Court RO / ARO 07 Jan 2022 Shift 2

______ is a set of symbols, keywords and set of rules to construct a statement.

Verified Answer
A. Computer program / कम्प्यूटर प्रोग्राम
B. Programming language/प्रोग्रामिंग भाषा
C. Assemble/समन्वित (एसेम्बल)
D. Syntax/सिंटैक्स

Explanation:

The question defines a concept as 'a set of symbols, keywords and set of rules to construct a statement.' Option A, 'Computer program', is a sequence of instructions written in a programming language to perform a specific task. It is the *output* of using a language, not the language itself. Option B, a 'Programming language', is a formal constructed language designed to communicate instructions to a machine, particularly a computer. It inherently comprises a defined set of symbols (e.g., operators, punctuation), keywords (reserved words with special meaning), and a set of rules (syntax and semantics) that govern how these elements can be combined to form valid statements and expressions. This definition perfectly matches the description in the question. Option C, 'Assemble', is a process, specifically the translation of assembly language into machine code, not a set of symbols, keywords, and rules. Option D, 'Syntax', refers specifically to the set of rules that dictates the correct structure and arrangement of symbols and keywords in a language. While syntax is a crucial component, it is only *part* of what defines a programming language; the language itself encompasses the symbols and keywords as well. Therefore, 'Programming language' is a more complete and accurate answer.