Concepts Of Programming Languages
Concepts Of Programming Languages
12th Edition
ISBN: 9780134997186
Author: Sebesta, Robert W.
Publisher: Pearson,
Expert Solution & Answer
Book Icon
Chapter 3, Problem 5RQ

Explanation of Solution

Differences between a sentence and a sentential form:

A sentence is a sentential form that has only terminal symbols. By terminal symbols we mean literal symbols that can appear in the inputs to or outputs from the creation rules of a new formal grammar that won’t change as per normal grammar rules.

To understand suppose a grammar that is defined by two rules:

A can become AB

A can become BA

Here ‘B’ is a terminal symbol because no rule exists that would change it to something else. On the other hand, ‘A’ has two rules that can change it, so it is nonterminal...

Blurred answer
Students have asked these similar questions
What is the handle of a sentential form?
What is a phrase of a sentential form?
What is the difference between denotative and connotative language?
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education