EBK CONCEPTS OF PROGRAMMING LANGUAGES
EBK CONCEPTS OF PROGRAMMING LANGUAGES
12th Edition
ISBN: 9780135102251
Author: Sebesta
Publisher: VST
bartleby

Videos

Textbook Question
Book Icon
Chapter 3, Problem 1PS

The two mathematical models for language description are:

  • Recognition
  • Generation

These two mathematical models can define the syntax of programming language in the given manner,

Recognition:

  • It works on yes or no basis. In this method, a mechanism called recognition device (R) is used that can read strings from the given alphabet.
  • This would indicate whether the input string is in language or not. That means, it will either accept the string or reject the string.
  • Recognition device filters the correctly formed sentences from those that are incorrectly formed.
  • In recognition, recognizer is used for syntax. analysis. Recognizer does not check for all possible strings but it simply check if the given programs are in the language or not.
  • It checks the syntactical part of the program.

Generation:

  • In this method, a device named generator is used to generate the sentences in a language.
  • Whenever a generator is called, it generator a sentence which is unpredictable.
  • When a string is to be checked if it is a correct or incorrect, first of all, it calls the generator to generate a correct sentence.
  • Then, it compares the correct generated string with the input string.
  • Hence, it determines the correction in string.
Blurred answer
Students have asked these similar questions
Discuss by your own words the following areas of open Source : 1- Open Source Licenses 2- Open Source Projects 3- Adoption Support Models for Open Source 4- Evaluating Open Source Support Providers 5- OPEN SOURCE VS. CLOSED SOURCE
Question The radius of an orbit of hydrogen atom is 0.85 nm, the velocity of electron in this orbit is a × 10b m/s, What is the value of b?
(More in the next set.) (a) Verify that the given functions are linearly independent and form a basis of solutions of the given ODE. (b) Solve the IVP. Graph or sketch the solution. 15. 4y" + 25y = 0, y(0) = 3.0, y'(0) = -2.5, cos 2.5.x, sin 2.5x

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
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
Structured Chart; Author: Tutorials Point (India) Ltd.;https://www.youtube.com/watch?v=vdUO-sGA1DA;License: Standard YouTube License, CC-BY
Introduction to Structure Charts; Author: Christopher Kalodikis;https://www.youtube.com/watch?v=QN2bjNplGlQ;License: Standard Youtube License