All Exams Test series for 1 year @ ₹349 only
Question

In a context-free grammar, the symbols that correspond to words in a language are called ______ symbols.

The correct answer is
terminal

Context-Free Grammar Symbols Explained

In the study of context-free grammars (CFGs), the symbols that directly correspond to the actual words or tokens forming the language are known as terminal symbols.

These terminals are the fundamental elements of the strings generated by the grammar. They are the final symbols in any derivation and cannot be broken down further.

Understanding Terminal Symbols

  • Terminals form the vocabulary of the language defined by the CFG.
  • Examples include keywords, identifiers, operators, and punctuation in programming languages.
  • They are typically represented as lowercase letters or specific tokens.

Distinguishing from Other Symbols

  • Non-terminal symbols (often uppercase letters or names like 'expression', 'statement') represent syntactic categories that can be expanded into sequences of other terminals or non-terminals using grammar rules.
  • Nominal is not a standard term used in formal grammar theory for this purpose.
  • Derivative refers to the process of applying grammar rules to generate strings, not the symbols themselves.

Therefore, the symbols representing the actual words in a language within a context-free grammar are specifically the terminal symbols.

Was this answer helpful?

Important Questions from Grammar

  1. Examine the following statements (S1 and S2) and choose the CORRECT option.

    S1: Logographic writing system requires thousands of different symbols.

    S2: Brahmi is written from left to right, but Kharosthi is written from right to left.
  2. Which ONE of the following statements about theta roles is CORRECT?
  3. Which ONE of the following combinations does NOT contain an obligatory component in the structure of a syllable?
  4. Examine the following statements (S1 and S2) and choose the CORRECT option.

    S1: In English, the attachment of suffix -able to intransitive verbs is productive.

    S2: In English words, inflectional suffixes follow derivational suffixes.
  5. Which of the following statements about the sentence below is/are CORRECT?

    ‘Mani wants Meera to eat her lunch on time.’
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App