Last test Flashcards
A turing machine is slightly more complicated than a finite-state machine.
T
No more powerful model exists than the Turing Machine.
T
The TM cannot get stuck in an infinite loop
F
The TM does not have weakness.
F
The TM is the strongest of computational mechanisms.
T
What is the most powerful type of automation?
TM
What is the one weakness of a TM?
It can get stuck in an infinite loop.
As soon as a TM enters an accepting state, what happens?
It halts the input string.
DFAs and NFAs can make transitions out of their accepting states, proceeding until all the input has been read and they often have more than one accepting state.
T
Each move of a TM is determine by the previous state and the future input symbol.
F
How far does the tape of a TM extend?
Infinitely.
In a TM, transitions leaving an accepting state are never used, so there is never any real need for more than one accepting state.
T
TMs do not have a separate location for storage.
T
Unlike a stack machines, TMs do not have a separate location for storage.
T
What controls the read/write head?
state machine
Where does the head on a TM start?
First symbol in the input string.
TM can easily handle all regular languages.
T
TM can easily handle every regular language, but cannot handle all context-free languages.
F
It is possible to take any stack machine and convert it into an equivalent TM using what as a stack?
the infinite tape.
An instantaneous description for a TM represents its entire configuration in a single string: the contents of the tape, the state, and the position of the head.
T
B is the blank symbol, B ∈ ∑, B ∉ Γ.
F
Becuase the leading Bs on the left and the trailing Bs on the right are suppressed, an ID is always an infinite string.
F (finite string)
How many Tuples does TM have?
7
What does an instantaneous description for a TM represent?
Its entire configuration in a single string: the contents of the tape, the state, and the position of the head.
What does B represent in the formal definition of a TM?
B is the blank symbol, B ∈ Γ, B ∉ ∑.
What is (Q) in A TM M in the 7-tuple?
is the finite set of states
What is ∑ of 7-tuple M
Is the input alphabet
What kind of tuple is a TM?
A 7-tuple.
What type of description for a TM represents its entire configuration in a single string?
An instantaneous description.
A TM does not halt on a given input if it get stuck.
F
TM may run forever on a given input.
T
What are we define as extended relation |→* for?
Sequences of zero or more steps.
What happens to a TM if it ever reaches an accepting state?
The TM accepts the input.
Stack machines and NFAs can in no way run forever.
F
Stack machines are like Turning Machines in that they can run forever without using empty transitions.
F
How many possible outcomes are there when a TM runs?
Three.
A recursively enumerable language is one that is L(M) for some TM M.
T
A TM M is a total TM if F(M) = {}.
T
What are the three possible outcomes that may occur when a TM is run?
Accepted, rejected, runs forever
What is a language that is L(M) for some TM M?
Recursively Enumerable