Last test Flashcards
(100 cards)
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.