CREATE OWN LIBRARY

Important Examples: Identification of language

 

Identification of language:

You should know:

Before seeing the solution please follow the previous chapter to clear the concept How to identify languageExample 2Non-linear power,  Example 3

 

Solutions:

 

Answer: 

This given language is similar to the previous example 

Example 3, because both have two infinite comparisons at a time.

 

The two infinite comparisons (at a time) of this given language

and 

So, as we know from the chapter How to identify language, any language with more than one infinite comparison at a time is always Context-Sensitive Language (CSL).

 

 

Answer:

This given language is similar to the previous example Example 2.

We can rewrite this language in this way:

 

Now, if we follow our given language same as previous example Example 2., 

But it does not matter because 10 is a constant value (we can neglect 10), not affect the type of the language.

 

So, given language has only one infinite comparison i.e. number of ‘a’s = number of ‘b’s and push, pop is cleared in that case so, it is a Deterministic Context-Free Language.

 

If you want to know how push & pop will be cleared in that please follow a similar previous exampleExample 2.

 

 

Answer:

We can write the given language

Now, if we see the range of the given language i.e. 

So, if we follow our given language 

As we know from the chapter How to identify language  multiplication of two infinite numbers is only possible by Linear Bounded Automata or above and language is Context-Sensitive Language (CSL).

 

 

For more details follow this chapter: Non-linear power