a) Define a phrase-structure grammar.
b) What does it mean for a string to be derivable from a string w by a phrase-structure grammar G?
To define a phrase-structure grammer.
Answer to Problem 1RQ
“ A phrase structure grammer is denoted by set
Explanation of Solution
Given:
Phrase structure grammer.
Concept: Definition of phrase structure grammer involves following description of few alphabets :
V: It is a finite, non empty set of elements called symbols.
T : It is a subset of set V that consisting of terminal ( non replacing symbols of vocabulary) symbols.
S : It is a starting symbol ( element of vocabulary, used to start a sentence ) from V.
P : It stands for production. These are the rules that specify the replacement of one string from another in the sentence.
Meaning for a string to be derivable from another string
Answer to Problem 1RQ
A string
Explanation of Solution
If two strings of a production of phrase-structure-language are be replaced in such a way, then it is said that one string is a derivation of another string. And it is represented by symbol
Want to see more full solutions like this?
Chapter 13 Solutions
DISCRETE MATH
- 3. Pleasearrow_forwardWhat does the margin of error include? When a margin of error is reported for a survey, it includes a. random sampling error and other practical difficulties like undercoverage and non-response b. random sampling error, but not other practical difficulties like undercoverage and nonresponse c. practical difficulties like undercoverage and nonresponse, but not random smapling error d. none of the above is corretarrow_forwarda is done please show barrow_forward
- solve the question based on hw 1, 1.41arrow_forwardالتمرين الأول: 08) نقاط) نرمي رباعي وجوه مرقم من ا إلى 4 بحيث إحتمال وجوهه يحقق العلاقة التالية: - 24 = (3)P(1) = ) = 4P -1 أحسب احتمال كل وجه. -2 (١ أحسب احتمال الحادثة : الحصول على عدد زوجي). ب استنتج احتمال الحادثة ة. -3 أحسب احتمال الحادثة B الحصول على عدد د أكبر أو يساوي (2)arrow_forwardA homeware company has been approached to manufacture a cake tin in the shape of a "ghost" from the Pac-Man video game to celebrate the 45th Anniversary of the games launch. The base of the cake tin has a characteristic dimension / and is illustrated in Figure 1 below, you should assume the top and bottom of the shape can be represented by semi-circles. The vertical sides of the cake tin have a height of h. As the company's resident mathematician, you need to find the values of r and h that minimise the internal surface area of the cake tin given that the volume of the tin is Vfixed- 2r Figure 1 - Plan view of the "ghost" cake tin base. (a) Show that the Volume (V) of the cake tin as a function of r and his 2(+1)²h V = 2arrow_forward
- 15. Please solve this and show each and every step please. PLEASE no chatgpt can I have a real person solve it please!! I am stuck. I am doing pratice problems and I do not even know where to start with this. The question is Please compute the indicated functional value.arrow_forwardSolve the system of equation for y using Cramer's rule. Hint: The determinant of the coefficient matrix is -23. - 5x + y − z = −7 2x-y-2z = 6 3x+2z-7arrow_forward◆ Switch To Light Mode HOMEWORK: 18, 19, 24, 27, 29 ***Please refer to the HOMEWORK sheet from Thursday, 9/14, for the problems ****Please text or email me if you have any questions 18. Figure 5-35 is a map of downtown Royalton, showing the Royalton River running through the downtown area and the three islands (A, B, and C) connected to each other and both banks by eight bridges. The Down- town Athletic Club wants to design the route for a marathon through the downtown area. Draw a graph that models the layout of Royalton. FIGURE 5-35 North Royalton Royalton River South Royption 19. A night watchman must walk the streets of the Green Hills subdivision shown in Fig. 5-36. The night watch- man needs to walk only once along each block. Draw a graph that models this situation.arrow_forward
- Discrete Mathematics and Its Applications ( 8th I...MathISBN:9781259676512Author:Kenneth H RosenPublisher:McGraw-Hill EducationMathematics for Elementary Teachers with Activiti...MathISBN:9780134392790Author:Beckmann, SybillaPublisher:PEARSON
- Thinking Mathematically (7th Edition)MathISBN:9780134683713Author:Robert F. BlitzerPublisher:PEARSONDiscrete Mathematics With ApplicationsMathISBN:9781337694193Author:EPP, Susanna S.Publisher:Cengage Learning,Pathways To Math Literacy (looseleaf)MathISBN:9781259985607Author:David Sobecki Professor, Brian A. MercerPublisher:McGraw-Hill Education