Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7026097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T00:04:18+00:00 2026-05-28T00:04:18+00:00

I have a homework assignment, and i am finished other then one question (see

  • 0

I have a homework assignment, and i am finished other then one question (see title)

For the life of my, i cannot figure this out… so i started to think it was a trick question.

the current answer that i will submit is:

L1 = {a^n b^n: n>=1} is deterministic.  And the reverse, 
L2 = {b^n a^n: n>=1} is also deterministic.  

However, since all deterministic languages are a subset of Non-deterministic languages, L2 can be considered non-deterministic.

On a side note, the only other example i was trying to make work is:

L3= {{a,b}a}

This seems possible because forward there is non-determinism, since the input could be either a, or b as long as its followed by an a.

and in reverse there is determinism since it will accept only an ‘a’. But, it introduces new non-determinism since the second input could be either a or b.

any help / guidance would be great.

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T00:04:19+00:00Added an answer on May 28, 2026 at 12:04 am

    I know the deadline has passed, but somebody might find this useful in the future.

    (a+b+c)*WcW^R, where W is in (a+b)+; this is non-deterministic because you don’t know where the “WcW” bit starts.

    W^RcW(a+b+c)*, where W is in (a+b)+; this is deterministic because you can write a deterministic PDA to accept simple palindromes of the form “W^RcW” and modify the accepting state to loop to itself on any of a, b and c.

    The trick here is that PDAs have to read input from left to right.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a homework assignment to sort an array in ascending order. Obviously, this
(this is indirectly a part of a much larger homework assignment) I have something
I have this homework assignment where the user is asked to input numbers and
I posted a question earlier for a homework assignment but I have a new
This is part of a homework assignment. What we have to do is write
Continuing on this problem , but I'll reiterate: For a homework assignment I have
I'm still not very good with data structures, but I have this homework assignment
This was a homework assignment problem which I know I have incorrectly answered. I
I'm working on a homework assignment for CS1, and I almost have it finished
This is for a homework assignment. I haven't copy-pasted the question below, I made

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.