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 8907063
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:48:49+00:00 2026-06-15T02:48:49+00:00

I need help designing a turing machine that will compute the following f(x) =

  • 0

I need help designing a turing machine that will compute the following f(x) = x mod 3. I just need help getting started since I am not familiar on how to approach this problem

  • 1 1 Answer
  • 0 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-06-15T02:48:50+00:00Added an answer on June 15, 2026 at 2:48 am

    Extracts from the comments:

    The input and input is in unary as a string of 1. Space is 0. The output should rewrite the input.

    The input is {x, 3} with one space between each argument or {x}.

    The output is {x mod 3}.

    Algorithm:

    • Go to the end of the input.
    • Remove the second argument.
    • While there are at least three symbols in the argument, remove them.

    State machine:

    • Start: If input is 0, move right and go to “deleting right”, else move right.
    • Deleting right: If input is 0, move left and go to “finding arg”. Else write 0 and move right.
    • Finding arg: If input is 0, move left. If input is “start of tape”, finish. Else move left and go to state “found 1”.
    • Found 1: If input is “start of tape”, finish. Else move left and go to the state “found 2”
    • Found 2: If input is “start of tape”, finish. Else and go to the state “deleting right”.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need help designing a query that will be used to return a website's
I have a small database that I need help designing. I have a VB.NET
I need help in designing a Chess game. I've already started but haven't got
Let's say that I'm currently designing an application where I will need to use
i need some help with designing iphone's core data object model context. I've started
I need help designing an algorithm for recommendations on movies. Every user in the
I am designing an iphone application and I need help structuring the program. I
I am designing a job rota planner for a company and need help displaying
Okay, I really need some help with this. I'm new with designing and stuff,
Need help with a query that I wrote: I have three tables Company id

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.