CPSC 313 Introduction to Computability Assignment

Assignment Help Theory of Computation
Reference no: EM133096727

CPSC 313 Introduction to Computability - University of Calgary

Question 1: Let Σ = {a, b, c}. Give a context-free grammar for the language

L1 = {aibi ck | i,j,k ∈ N and i < j} ⊆ Σ*

and sketch a proof that your language is correct:

• For each variable V in the context-free grammar that you have given, describe (using set-theoretic notation) the set Sv ⊆ Σ* which includes all strings w ∈ Σ* such that V => *w.

• For each of these variables V and set Sv, prove that your answer is correct. That is, prove that, for every string ω ∈ Σ*, V => ω if and only if ω ∈ Sv. (One or more of these proofs might be almost the same as a similar proof that has been included in the lecture material. When this is the case it is acceptable to say so, and describe how the proof from the notes would be modified to prove your claim, instead of writing out the proof all over again.)

Note: N is the set of non-negative integers (so that 0 ∈ N).

Question 2. Let Σ = {a, b, c} once again. Give a context-free grammar for the language

L2 = {aibick i, j,k ∈ N and i < k} ⊆ Σ*.

Once again, for each variable V in the context-free grammar that you have given, describe (using set-theoretic notation) the set Sv ⊆ Σ* of strings ω ∈ Σ* such that V =>* ω (It is not necessary to prove your claims, this time.)

Question 3. Once again, let Σ = {a, b, c}. Give a context-free grammar for the language

L3 = {aibick i, j,k ∈ N and i ≠ j or i ≠ k (or both)} ⊆ Σ*.

As above, for each variable V in the context-free grammar that you have given, describe (using set-theoretic notation) the set By Sv ⊆ Σ* of strings ω ∈ Σ* such that V =>* ω. (It is not necessary to prove your claims).

Note: You should find the answers for the first two problems to be useful.

Reference no: EM133096727

Questions Cloud

Prepare a sales budget under each plan : If Plan A is accepted, the 2022 ending inventory should be 28,000 units. Prepare a sales budget for 2022 under each plan
Global information technology systems : You work for a mid-sized branch of a very large global information technology systems employer, in South Western Ontario, with a combined H.R. and Occupational
How would the actions contemplated contribute : "When they see these numbers, they'll hang him out to dry." How would the actions contemplated contribute toward "softening" the bad news
Find what is the largest positive-going noise spike : Find what is the largest positive-going noise spike and What is the largest positive-going noise spike that can be tolerated
CPSC 313 Introduction to Computability Assignment : CPSC 313 Introduction to Computability Assignment Help and Solution, University of Calgary - Assessment Writing Service
How much cash did autumn receive at the time of the transfer : The bank applied first the collection to the interest and the balance to the principal. How much cash did autumn receive at the time of the transfer
Global business environment-corporate-level strategies : The global business environment is constantly evolving based on forces in general and task environment. What corporate-level strategies is the company pursuing?
Determine the break-even volume of work for a company : Determine the break-even volume of work for a company with a fixed overhead of $63,000, a contribution margin ratio of 11.0%
How much interest cost should it capitalize during the year : Visa Inc. follows the weighted-average interest method. How much interest cost should it capitalize during the year 2021

Reviews

Write a Review

Theory of Computation Questions & Answers

  Conclude that sat is np-complete

Let  be a 3cnf-formula. An  assignment to the variables of  is one where each clause contains two literals with unequal truth values. In other words an  -assignment satisfies  without assigning three true li..

  COM7003 Technology and Trend Monitoring Assignment

COM7003 Technology and Trend Monitoring Assignment Help and Solution, Arden University - Assessment Writing Service - Critically review the existing literature

  What is the language recognized by the automaton

Construct a deterministic finite-state automaton that is equivalent to the nondeterministic automaton with the state diagram shown here.

  Implementation of both the algorithms using cc code 1

implementation of both the algorithms using cc code 1. roommates problem 2. intern problem1. the roommate problemthe

  Manipulation and simplification of logic predicates

How is the principle of inclusion and exclusion related to the rules for manipulation and simplification of logic predicates?

  Construct a truth table for the given statement form

Construct a truth table for the given statement form, then state whether or not the given statement form is a tautology - Determine whether the following argument is valid.

  Rahman s a 2006 lsquoattitudes of malaysian teachers toward

rahman s. a. 2006 lsquoattitudes of malaysian teachers toward a performance-appraisal system journal of applied social

  Taska research strategy is a plan of action that gives

taska research strategy is a plan of action that gives direction to your efforts enabling you to conduct your research

  Normal 0 false false false en-us x-none

normal 0 false false false en-us x-none x-none

  Work process flowchart analyzed

the company that the assignments should be done at is called Mideast Data Systems-Oman - This is the guideline for research project

  Convert this nfa to a dfa using the method

Convert this NFA to a DFA using the method described in class - Your work must be clear and has to be able to educate someone with no prior knowledge

  Write a research paper - utilize the lirn library

Utilize the LIRN Library to help you search for resources. You can visit the Academic Resource Center for a guide on how to utilize the LIRN Library successfully.

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