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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:45:49+00:00 2026-06-14T19:45:49+00:00

I do not the understand the concept of Non Deterministic Turing Machine . I

  • 0

I do not the understand the concept of Non Deterministic Turing Machine. I guess I understand the term Non deterministic algorithm : (nondeterministic algorithm is an algorithm that can exhibit different behaviors on different
runs, as opposed to a deterministic algorithm.) So the algorithm could be like :

a = fromSomeAlgo();

if(a > foo)
   stateA();
else
   stateB();

But for non-deterministic turing machine I read , it can be in more than one state at a given time. Also a wikipedia article suggests “A non-deterministic Turing machine (NTM), may have a set of rules that prescribes more
than one action for a given situation”
.

What does that mean ? ..More than one action for a given stituation…multiple states… I simply do not understand this.

  • 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-14T19:45:50+00:00Added an answer on June 14, 2026 at 7:45 pm

    In a Non Deterministic Turing machine, in each branch – you do both possibilities – and only when you are done you “choose” which one is the one you need for the solution (if one exists).

    For example, let’s look at the subset sum problem, with S = {a,b,c... }. The Non Deterministic Turing machine has a linear solution:

    for each element:
       "guess" if it is in the subset
    check if the subset has the specified sum
    

    The tree generated will be something like that:

                                           start
                     with a                                      without a
                   /         \                                   /          \
                  /           \                                 /            \
                 /             \                               /              \
          with b               without b                  with b              without b
          /     \               /       \                 /     \             /        \
      with c    without c    with c     without c     with c    without c    with c     without c
    

    It is enough that one calculation (path in the tree) is correct in order for the algorithm to yield “true”. It yields “false” only if there is no such calculation.

    The concept of Non Deterministic Turing Machine is purely theoretical – there is no non-deterministic turing machine available.

    Bonus:

    Note that everything that can be done with Non Deterministic Turing Machine – can be done with a Deterministic Turing Machine (and vise versa) – for example, the Halting Problem is not decideable in either. However, NPC problems can be done polynomially in Non Deterministic Turing Machines, and we do not know (and we assume we cannot) how to do it polynomially on Deterministic Turing Machines.

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

Sidebar

Related Questions

I am at a company that does not understand the concept of using frameworks
I do not understand pointers. Where can I learn more about them?
Can you guys help me understand a concept real quick, I'm having trouble understanding
I am not able to understand the concept of absolute addressing and relative addressing
I'm trying to understand a concept rather than fixing a piece of code that
I'm just trying to see if I can fully understand the concept of static
I often read that lazy is not the same as non-strict but I find
I am not sure I understand the concept of Python's call by object style
I simply could not understand why the following code does not work. What could
I do not understand why this error occurs...Is this a bug in XE, or

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.