Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

1. Suppose A = {0,1}. Describe all strings belonging to A∗. 

2. Suppose a phrase-structure grammar has productions S → S0, S → A1, A → 0. Find a derivation of 0100. 

3.Let G be the phrase-structure grammar with vocabulary V = {A,B,a,b,S}, terminal element set T = {a,b}, start symbol S, and production set P = {S → ABa,S → Ba,A → aB,AB → b,B → ab}. Which of these are derivable from A? 
A) babaa B) aab C) bba

4Suppose a phrase-structure grammar has productions S → S0, S → A1, A → 0. Find a derivation of 010. 

5.Suppose a phrase-structure grammar has productions S → 1S0, S → 0A, A → 0. Find a derivation of 00. 

6.Suppose a phrase-structure grammar has productions S → 1S0, S → 0A, A → 0. Find a derivation of 1000. 

7.Suppose a phrase-structure grammar has productions S → 1S0, S → 0A, A → 0. Find a derivation of 110000. 

8.Suppose a phrase-structure grammar has productions S → S11, S → 0A, S → A1, A →0. Find a derivation of 01. 

9.Suppose a phrase-structure grammar has productions S → S11, S → 0A, S → A1, A →0. Find a derivation of 0011. 

56.Suppose a phrase-structure grammar has productions S → S11, S → 0A, S → A1, A →0. Find a derivation of 011111. 

10.Let A = {0,11}. Find A2. 

11. Construct a finite-state automaton that recognizes all strings that end with 11.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9116584

Have any Question?


Related Questions in Computer Engineering

Assignmentsuppose that a particular algorithm has time

Assignment Suppose that a particular algorithm has time complexity T(n) - 3 times 2 n , and that executing an implementation of it on a particular machine takes t seconds for n inputs. Now suppose that we are presented w ...

Question suppose a class car is a child of a class vehicle

Question : Suppose a class Car is a child of a class Vehicle. Suppose Vehicle and Car have methods Move(). Method Move() of the class Car calls method Move() of the class Vehicle(). Write the statement in Move() of the c ...

The relations given below are part of a database schema for

The relations given below are part of a database schema for a hotel management system. Assume that these relations have been populated with suitable data as appropriate, and the underlined attribute is a primary key. Hot ...

The decomposition of so2cl2 is first order in so2cl2 and

The Decomposition of SO2Cl2 is first order in SO2Cl2 and has a rate constant of 1.42*10-4s-1 at a certain temperature. What is the half-life for this reaction?

Explain that our ability to secure each computers stored

Explain that our ability to secure each computers stored information is now influenced by the security on each computer to which it is connected

A real estate developer will build two different types of

A real estate developer will build two different types of apartments in a residential area: one- bedroom apartments and two-bedroom apartments. In addition, the developer will build either a swimming pool or a tennis cou ...

How do you make a java program that reads two diagonal

How do you make a Java program that reads two diagonal points, say p1 and p2, of an up-right rectangle and finds both the smallest circle containing the rectangle and the largest circle that can be contained in the recta ...

Suppose i am designing a personnel database for a

Suppose I am designing a personnel database for a university. The university has three types of personnel: students, staff, and faculty. Here are the characteristics of the three groups: -All three groups have a name and ...

1 write a critique review of the following paper2 your

1. Write a critique / review of the following paper. 2. Your critique should be as objective as possible: highlight what you consider to be its strongest and weakest aspects. Are themes discernible that would help one to ...

Can someone right the code for hangman in java the game

Can someone right the code for Hangman in java. The game would start off by asking the user if they were playing 1 person or two person hangman. If the user said 1 person then the game would print the spaces for the word ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As