Let = {1, 2, 3, 4} and C = {w * | in w,
Question:
Let Σ = {1, 2, 3, 4} and C = {w ∈ Σ*| in w, the number of 1s equals the number of 2s, and the number of 3s equals the number of 4s}. Show that C is not context free.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 50% (12 reviews)
proof by pumping lemma for context ...View the full answer
Answered By
Kavya sri Tulabandula
I graduated high school from Krishna District in India in 2013. After high school I attended Rajiv Gandhi University of Knowledge Technologies Nuzvid where I got my +2 and Bachelor of computer science. I have recently completed my graduation . Now am currently working as software developer.i am doing front-end for websites.
I have 6 months tutoring experience for my juniors. I mostly deal with programming languages.
0.00
0 Reviews
10+ Question Solved
Related Book For
Question Posted:
Students also viewed these Computer science questions
-
Let X be the number of 1s and Y the number of 2s that occur in n rolls of a fair die. Compute Cov(X, Y).
-
Let U = {1, 2, 3, 4, 5, 6, 7}, with A = P(U), and let R be the subset relation on A. For B = {{1}, {2}, {2, 3}} A, determine each of the following. (a) The number of upper bounds of B that contain...
-
Let A = {1, 2, 3, 4, 5, 7, 8, 10, 11, 14, 17, 18}. a) How many subsets of A contain six elements? b) How many six-element subsets of A contain four even integers and two odd integers? c) How many...
-
Using the data provided in BE19-21, determine the ending balance of the plan assets and indicate the funded status of the plan at the end of the year under U.S. GAAP. In BE19-21 Armando Hernandez...
-
An all-day parking meter takes only dimes and quarters. If it contains 100 coins with a total value of $ 14.50, how many of each type of coin are in the meter?
-
2 1. An ice-making machine operates on the ideal refrigeration vapor-compression cycle, using refrigerant-134a as the working fluid. The power input to the ice machine is to be determined. TA 3 600...
-
Do you agree that eugenic sterilization should be allowed? Why or why not?
-
You are provided with the following information for Perkins Inc. for the month ended October 31, 2014. Perkins uses a periodic method for inventory. Instructions (a) Calculate (i) ending inventory ,...
-
Two point charges, -2.4C and 5.616 C, are placed at x = 0 cm and x = 9.7 cm, respectively. Consider the x- axis directed to the right. 1.0p 8a At what point along the x axis is the electric field...
-
The most recent financial statements for Moose Tours, Inc., appear below. Sales for 2012 are projected to grow by 20 percent. Interest expense will remain constant; the tax rate and the dividend...
-
Let B be the language of all palindromes over {0,1} containing equal numbers of 0s and 1s. Show that B is not context free.
-
Show that F = {a i b j | i = k j for some positive integer k} is not context free.
-
A recent study of IRS audits showed that, for estates worth less than $5 million, about 1 out of 7 of all estate tax returns are audited, but that probability increases to 50% for estates worth over...
-
Phases of organizational development are: Problem identification, analysis, plan an intervention, implementation, evaluation, and feedback Problem identification, analysis, implementation,...
-
Ethics in politics should be ____________. Equitable and justifiable Equitable and not justifiable Not equitable and justifiable Not equitable and not justifiable
-
Compare and contrast the various change management models using examples.
-
What are the factors that make organizations and people resist change?
-
Which kind of sign of stress is mood swing? Sensitive syndrome Physical Mental None of the above
-
Using the data from P11-2, determine the following for 20Y5. 1. Margin of safety for 20Y5. 2. Margin of safety under the proposed program assuming 20Y5 sales?
-
Use the method of Example 4.29 to compute the indicated power of the matrix. 1 0 1
-
Let T be a complete binary tree such that position p stores an element with key f (p), where f (p) is the level number of p (see Section 8.3.2). Is tree T a heap? Why or why not?
-
At which positions of a heap might the largest key be stored?
-
Give an example of a worst-case sequence with n elements for insertion-sort, and show that insertion-sort runs in (n 2 ) time on such a sequence.
-
Exploring Variable Length Parameter Lists The file Parameters.java contains a program to test the variable length method average from Section 7.5 of the text. Note that average must be a static...
-
How would I write a test case for the following steps so that the test cases run properly @Test void dequeueItemsHasRightValuesAndSize() { Queue testQ = new Queue (); int result; enqueueValues(testQ,...
-
Analyse the quality of the Java codes below public static boolean leap(int y) { String tmp = String.valueOf(y); if (tmp.charAt(2) == '1' || tmp.charAt(2) == '3' || tmp.charAt(2) == 5 || tmp.charAt(2)...
Study smarter with the SolutionInn App