Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1a-f) Multiple Choice: Select the best answer and write it on the blank. Also provide the specification for the language. (28pts) Which specification technique would

1a-f) Multiple Choice: Select the best answer and write it on the blank. Also provide the specification for the language. (28pts)

Which specification technique would be the weakest (least powerful; we talked about the layers of specification power) that is capable of describe this language?

_C__ a) strings of three or more gs A. regular expression C. pseudorational grammar B. context free grammar D. language expression

__ b) expressions consisting only of single digits separated by + such as 5 + 4 + 7 A. regular expression C. pseudorational grammar B. context free grammar D. language expression

___ c) lists of digits such as ( 5, 4, 6, 3 ) A. regular expression C. pseudorational grammar B. context free grammar D. language expression

___ d) ambn : strings with m as followed by n bs , m,n 1 A. regular expression C. pseudorational grammar B. context free grammar D. language expression

___ e) a^(n)b^(n) : strings with some number of as followed by same number of bs , n 1 A. regular expression C. pseudorational grammar B. context free grammar D. language expression

___ f) strings of 1s of an even length, containing only 1s A. regular expression C. pseudorational grammar B. context free grammar D. language expression

___ g) binary strings containing an even number of 1s ( at least one 1 ) A. regular expression C. pseudorational grammar B. context free grammar D. language expression

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions

Question

What are the stages of project management? Write it in items.

Answered: 1 week ago

Question

why do consumers often fail to seek out higher yields on deposits ?

Answered: 1 week ago

Question

What is DDL?

Answered: 1 week ago