Design a moore machine that performs a parity check

Assignment Help Basic Computer Science
Reference no: EM13768596

1) Design (draw the diagram) a Moore machine that performs a parity check on the input string (string of 0 and 1): that is, the output string ends in 1 if the total number of 1-bits in the input string is odd and 0 if the total number of 1-bits in the input string is even (the front part of the output string is ignored).

2) For the following regular language, find the regular expression and an FA that define LinL2. L (a+b)b(a+b)*, L2 =b(a+b)*
You need to draw the FAs first. Be sure to show all your work.

3) Prove that the languages accepted by the following FAs are equivalent (show your work).

4) Use the pumping lemma to prove the following language is nonregular: L = (anb2n) = {abb, aabbbb, aaabbbbbb,.....}

5) Show the grammar is ambiguous: S-> AB | aaB A-> a | Aa

                                                     B-> b

6) Convert the following context-free grammar into Chomsky Normal Form. Show you work. S-> aXX

                                                                                                                                    X-> aS|bS|a

7) Find CFGs that generate these regular languages over the alphabet Σ= {a, b} Draw a Finite Automata first and use this to create the CFG.

(a) The language defined by (aa + bb).*

(b) The set of all strings with exactly one a (and begins with a b) or exactly one b (and begins with an a). That is (bb*ab*. + aa*ba*.)

Reference no: EM13768596

Questions Cloud

Customers access the abm terminal to deposit : Consider an automated banking system. Customers access the ABM terminal to deposit or withdraw money or pay bills. TrentMoney wants to set up generic ABMs to cash in on transaction fees.
Compare at least three of the characters of of mice and men : Compare at least three of the characters of Of Mice and Men traits and/or societal representations during this era to how society views these traits today.
What role integration play in the organizational redesign : What role will differentiation and integration play in the organizational redesign for CARE? What teams would you recommend creating to facilitate the success of this redesign?
Business structures-sole proprietorship and partnership : Explain the following business structures: sole proprietorship, partnership, LLC, and a corporation. In your analysis address the following for each business structure: Steps to form
Design a moore machine that performs a parity check : Design (draw the diagram) a Moore machine that performs a parity check on the input string (string of 0 and 1): that is, the output string ends in 1 if the total number of 1-bits in the input string is odd and 0 if the total number of 1-bits in th..
Impacts of climate change on global food production : Discuss any two impacts of climate change on global food production and possible adaptation processes.
Analyze how sales forecast impacts : Analyze how sales forecast impacts all other forecasts for the firm, such as materials, labor, overhead, cash receipts, and disbursements.
Primary means of raising the required additional funds : To expand operations, firms often require more funds than can be generated from operations. These additional funds require a long-term source of capital. There are two primary means of raising the required additional funds: borrowing the funds (bo..
Analyze a simple program that utilizes a good design : Your project will be to analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements and the use of at least one array.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Based on the severity of a patient''s illness or injuries.

A triage software system that allows doctors to designate the order in which patients should be treated, based on the severity of a patient's illness or injuries.

  Payroll for employees and human resources

What is the difference between a Disaster Recovery Plan and a Business Continuity plan

  Terracotta is bigmemory maximum using server arrayconfigur

how terracotta is BigMemory Maximum using Server array Configratio

  Denial-of-service attacks

Denial-of-service attacks are a common method to bring down an organization's Web server/site.

  Write method "design" which takes integer size as parameters

Write the method "design" which takes an integer size as parameter, and prints a "design square" with the following characteristics:

  Two problems in lisp

1. Define a function foo(A,L), where A is an integer and L is a list that will remove each A in L. This is a shallow function.

  How fast can a telephone channel carry data

If a telephone channel's signal-to-noise ratio is 1000, how fast can a telephone channel carry data?

  Differences and similarities between windows 7and windows 8.

Complete steps that cover the differences and similarities between Windows 7and Windows 8.1. In your APA formatted Paper answer the questions below.1. Discuss three differences and three similarities in the configuration of a Windows 7 for a h..

  Describe the effect of an organization strategic planning

Describe the effect of an organization's strategic planning on the IT systems it uses. Address how strategic planning simplifies and complicates IT system development and use. This only has to be 200 words.

  How does cpu interface with device to coordinate transfer

Direct memory access is used for high-speed I/O devices to avoid increasing the CPUÂ ´s execution load. How does CPU interface with device to coordinate transfer?

  Convert the binary numbers to their decimal equivalents

Directions: Convert the following binary numbers to their decimal equivalents.

  Determine slas are necessary and identify monitoring points

Determine if internal service-level agreements (SLAs) are necessary, and identify the monitoring points and levels for an SLA

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd