Turing Machines and Chocolate Computing
- 54Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
What is a Turing machine best understood as?
What is a Turing machine best understood as?
54 questions
- 1
What is a Turing machine best understood as?
- A
A storage device that can only preserve information
- B
A programming language designed for numerical calculations
- C
A simple mathematical model of computation
- D
A physical computer that must use electronic circuits
Correct answer
CA simple mathematical model of computation
Explanation
A Turing machine is a simple theoretical model used to explore what computation is and what computers can do.
- A
- 2
Why did Alan Turing originally develop the idea of a Turing machine?
- A
To replace mathematical reasoning with physical experiments
- B
To provide instructions for building the first silicon computer
- C
To create a device for storing numbers permanently
- D
To explore what computers could possibly compute
Correct answer
DTo explore what computers could possibly compute
Explanation
Turing developed the idea as a mathematical way to investigate the possibilities and limits of computation, before physical computers existed.
- A
- 3
What role does the tape play in a Turing machine?
- A
It determines which state the machine enters next
- B
It physically moves the read/write head between states
- C
It contains the only instructions the machine can follow
- D
It serves as the machine's memory and holds symbols
Correct answer
DIt serves as the machine's memory and holds symbols
Explanation
The tape stores symbols and acts as the machine's memory; the head reads and can change the symbol at its current position.
- A
- 4
Why is the tape modeled as infinite?
- A
The instruction table must be copied onto every tape position
- B
The machine must store every possible input before it can begin
- C
The head needs infinite space to move between its states
- D
A computation may need more tape space than can be predicted in advance
Correct answer
DA computation may need more tape space than can be predicted in advance
Explanation
The amount of tape a computation might need cannot always be predicted, so the model gives it unbounded space.
- A
- 5
Which statement about the tape's direction is consistent with the content?
- A
A model must use a tape infinite only to the left of the head
- B
Every Turing machine must use a tape infinite in both directions
- C
Every Turing machine must use a tape finite in both directions
- D
A model may use a tape infinite in one direction or in both directions
Correct answer
DA model may use a tape infinite in one direction or in both directions
Explanation
The content describes one-way and two-way infinite tapes as alternative conventions; the choice does not change the central idea of the model.
- A
- 6
What must be true of the symbols used on a Turing machine's tape?
- A
They must all be binary digits arranged in numerical order
- B
They must be physical objects made from the same material
- C
They must come from an agreed set, but need not be numbers
- D
They must represent letters rather than colors or other objects
Correct answer
CThey must come from an agreed set, but need not be numbers
Explanation
A machine uses an agreed alphabet of symbols, which can be numbers, colors, physical objects, or other distinguishable items.
- A
- 7
What is the purpose of a blank symbol?
- A
It identifies the state that the machine must enter first
- B
It tells the head to move left rather than right
- C
It represents an available tape cell that has no data mark
- D
It marks the end of the instruction table
Correct answer
CIt represents an available tape cell that has no data mark
Explanation
The blank is one of the tape symbols and can be represented by the absence of a mark or object in a cell.
- A
- 8
What does the read/write head do?
- A
It records the final output without changing the tape
- B
It determines which symbols are allowed in the alphabet
- C
It examines a tape cell, can change its symbol, and moves between cells
- D
It stores the machine's program and selects the start state
Correct answer
CIt examines a tape cell, can change its symbol, and moves between cells
Explanation
The head reads the symbol at its position, may overwrite it, and moves along the tape as instructions are executed.
- A
- 9
What does the state register keep track of?
- A
The number of symbols on the entire tape
- B
The machine's current state
- C
The location of every blank cell
- D
The complete history of previous instructions
Correct answer
BThe machine's current state
Explanation
The state register records which state the machine is currently in, which affects which instruction applies.
- A
- 10
Which components of a Turing machine are required to be finite?
- A
The set of states and the instruction table
- B
The tape and the set of states
- C
The tape, the set of states, and the instruction table
- D
The tape and the instruction table
Correct answer
AThe set of states and the instruction table
Explanation
The tape is the unbounded component. The machine has a finite set of states and a finite table of instructions.
- A
- 11
What information determines whether a particular instruction applies?
- A
The current state and the symbol beneath the head
- B
The tape's total length and the head's direction of travel
- C
The initial input and the number of instructions already used
- D
The final output and the number of blank cells remaining
Correct answer
AThe current state and the symbol beneath the head
Explanation
An instruction is selected by matching the machine's current state and the symbol currently under the head.
- A
- 12
Once an instruction applies, what actions can it specify?
- A
Write a symbol, move the head, and change the state
- B
Expand the state set, shorten the tape, and erase the program
- C
Choose a new alphabet, restart the input, and move the tape
- D
Record the output, halt the head, and add an instruction
Correct answer
AWrite a symbol, move the head, and change the state
Explanation
A transition rule specifies what symbol to write, which direction to move the head, and what state to enter next.
- A
- 13
How can an instruction table be interpreted conceptually?
- A
As a list of tape symbols arranged in numerical order
- B
As a record of every position the head has visited
- C
As a fixed sequence that ignores the current state
- D
As a collection of conditional if-then rules
Correct answer
DAs a collection of conditional if-then rules
Explanation
Each row acts like a conditional rule: if the current state and tape symbol match, then perform the specified actions.
- A
- 14
Where can a Turing machine change a tape symbol during a step?
- A
At the cell currently under the head
- B
At every cell that contains a nonblank symbol
- C
At any cell selected from the instruction table
- D
At the cell where the input tape begins
Correct answer
AAt the cell currently under the head
Explanation
The machine changes the tape only at the position the head is pointing to; it then moves according to the instruction.
- A
- 15
Why can a person operate a physical model of a Turing machine?
- A
The person makes the machine compute without using a tape or symbols
- B
The person chooses the result directly without consulting the current state
- C
The person replaces the tape with a new set of instructions at each step
- D
The person can follow each rule and move the head or symbols accordingly
Correct answer
DThe person can follow each rule and move the head or symbols accordingly
Explanation
A human can carry out the computation by following the table, tracking the state, and moving or changing the tape symbols as instructed.
- A
- 16
What does a physical model made from chocolate or toy figures illustrate?
- A
A Turing machine works only when its symbols are edible objects
- B
Different physical materials necessarily produce different computations
- C
The symbols' physical material is irrelevant if their roles are defined
- D
A Turing machine requires identical objects for every tape symbol
Correct answer
CThe symbols' physical material is irrelevant if their roles are defined
Explanation
The model works because objects represent agreed symbols; the particular material used to represent them does not determine the computation.
- A
- 17
If tape positions are placed farther apart, what happens to the tape's modeled extent?
- A
It changes only if the head's speed also increases
- B
It becomes infinite only when the tape has two directions
- C
It remains infinite if it was modeled as infinite
- D
It becomes finite because fewer cells fit into a fixed distance
Correct answer
CIt remains infinite if it was modeled as infinite
Explanation
Changing the spacing between positions does not change an infinite tape's mathematical property of being unbounded.
- A
- 18
What represents the input to a Turing machine in the simple input/output view?
- A
The initial arrangement of symbols on the tape
- B
The state in which the machine eventually halts
- C
The direction in which the head first moves
- D
The first instruction in the transition table
Correct answer
AThe initial arrangement of symbols on the tape
Explanation
The input is represented by the tape's initial contents; the machine processes those contents by following its instructions.
- A
- 19
Which description best captures the output of a simple Turing machine computation?
- A
The number of head movements made before the computation begins
- B
The processed tape, and possibly the state in which the machine halts
- C
The original tape together with every rule in the instruction table
- D
The initial state and the first symbol read by the head
Correct answer
BThe processed tape, and possibly the state in which the machine halts
Explanation
The machine processes the initial tape and eventually stops; the resulting tape and, in some tasks, the stopping state can represent the output.
- A
- 20
What happens if the machine reaches a situation for which no instruction applies?
- A
The computation stops because no rule tells the machine what to do
- B
The machine automatically returns to its start state
- C
The machine invents a new instruction from the current symbol
- D
The head continues moving until it finds a nonblank cell
Correct answer
AThe computation stops because no rule tells the machine what to do
Explanation
A machine halts when it reaches a stop state or, in the described convention, when no rule applies to its current situation.
- A
- 21
Why can moving the head be treated as equivalent to moving the tape in the opposite direction?
- A
Both descriptions leave the relative position of the head and tape symbols unchanged
- B
Both descriptions require the tape symbols to change after every move
- C
Both descriptions make the tape finite in the direction of movement
- D
Both descriptions cause the state register to move along the tape
Correct answer
ABoth descriptions leave the relative position of the head and tape symbols unchanged
Explanation
The two viewpoints describe the same relative interaction: either the head moves across a fixed tape or the tape moves beneath a fixed head.
- A
- 22
In unary notation, how is a number represented?
- A
By a fixed-length string of decimal digits
- B
By a sequence containing one mark for each unit
- C
By a single symbol that identifies the number's value
- D
By a sequence containing one mark for each power of two
Correct answer
BBy a sequence containing one mark for each unit
Explanation
Unary represents a number by repeating a mark once for each unit in that number.
- A
- 23
How would unary notation represent the number five?
- A
With one mark followed by five blanks
- B
With one symbol whose value is five
- C
With five marks
- D
With five different symbols
Correct answer
CWith five marks
Explanation
Unary uses one mark per unit, so five is represented by five marks.
- A
- 24
What is one advantage of unary notation for demonstrating simple arithmetic?
- A
It makes every arithmetic operation require only one instruction
- B
It requires fewer symbols than any other number system
- C
Every number uses the same number of tape cells
- D
The number of marks directly shows the quantity being represented
Correct answer
DThe number of marks directly shows the quantity being represented
Explanation
Unary is easy to demonstrate because the quantity is visible as a count of marks, even though it can be inefficient for large numbers.
- A
- 25
How can two unary numbers be separated on a tape?
- A
By placing the head permanently between their groups
- B
By changing the second number into a different state
- C
By placing a blank symbol between their groups of marks
- D
By using a different alphabet for each number
Correct answer
CBy placing a blank symbol between their groups of marks
Explanation
A blank symbol can act as a separator that marks where one unary number ends and the next begins.
- A
- 26
Why can a Turing machine use decimal symbols instead of binary symbols?
- A
The machine's tape must always contain exactly two symbols
- B
Decimal digits are interpreted as states rather than tape symbols
- C
The machine can use any agreed finite set of tape symbols
- D
The machine can use decimal only if its tape is finite
Correct answer
CThe machine can use any agreed finite set of tape symbols
Explanation
A Turing machine's alphabet can contain any agreed finite collection of symbols, including the ten decimal digits.
- A
- 27
What does appending a zero to a binary numeral do to the represented value?
- A
It doubles the represented value
- B
It leaves the represented value unchanged
- C
It halves the represented value
- D
It adds one to the represented value
Correct answer
AIt doubles the represented value
Explanation
In binary, appending a zero shifts the digits one place to the left, which multiplies the value by two.
- A
- 28
What three tape symbols are used in the described binary-doubling example?
- A
Zero, one, and two
- B
Blank, zero, and one
- C
Blank, one, and a separator
- D
Blank, zero, and two
Correct answer
BBlank, zero, and one
Explanation
The example uses the blank symbol to identify unused tape space and the binary symbols zero and one.
- A
- 29
Which set correctly identifies possible writable symbols, initial-tape symbols, and a blank symbol?
- A
The blank must be excluded from the alphabet because it means no symbol
- B
The machine specifies its allowed symbols, which may include a designated blank
- C
The writable symbols must always be identical to the starting-state labels
- D
The initial tape must contain every writable symbol at least once
Correct answer
BThe machine specifies its allowed symbols, which may include a designated blank
Explanation
A machine specifies its tape alphabet and which symbols may appear initially; one symbol is designated as blank, even if it is physically represented by an empty cell.
- A
- 30
How can the same abstract tape symbol be represented in a hands-on model?
- A
Only by a printed digit on a square of paper
- B
By any distinguishable object or mark assigned that role
- C
Only by an electronic signal stored in a circuit
- D
By an object whose physical shape determines its numerical value
Correct answer
BBy any distinguishable object or mark assigned that role
Explanation
A symbol is defined by its role in the agreed system, so it can be represented by a mark, a chocolate button, a figure, or another distinguishable object.
- A
- 31
In the described unary-addition approach, what is the purpose of changing the separator while removing a mark?
- A
It doubles the value of the first number before joining the groups
- B
It joins the two groups into one without changing their total count
- C
It converts the unary marks into binary digits
- D
It records the sum in the machine's state register
Correct answer
BIt joins the two groups into one without changing their total count
Explanation
The described approach removes one mark and turns the separating blank into a mark, joining the groups while preserving the total number of marks.
- A
- 32
Why does joining two groups of unary marks represent their sum?
- A
The machine changes every mark into a symbol with a larger value
- B
The combined group contains as many marks as the two original groups together
- C
The head counts the groups without changing or combining the tape
- D
The separator stores the sum while the marks are discarded
Correct answer
BThe combined group contains as many marks as the two original groups together
Explanation
Since each mark represents one unit, combining the two groups preserves the total number of units and therefore represents their sum.
- A
- 33
How can a Turing machine add two to a unary number?
- A
Append one mark and change every existing mark into two marks
- B
Scan to the end of the number and append two marks
- C
Move to the beginning and change the state twice
- D
Replace the first mark with two blanks and halt
Correct answer
BScan to the end of the number and append two marks
Explanation
To add two in unary, the machine can find the end of the number and add two marks, one for each added unit.
- A
- 34
Why does adding two to a unary number require the machine to locate the end of the number?
- A
The new marks must replace the blank symbol at the beginning
- B
The end of the number identifies the machine's start state
- C
The new marks must be placed after the existing marks
- D
The machine can write marks only in the first tape cell
Correct answer
CThe new marks must be placed after the existing marks
Explanation
Appending marks requires finding the boundary between the existing unary number and the blank cells that follow it.
- A
- 35
What extra behavior is needed if a unary-addition machine must finish with its head at the number's starting position?
- A
It must erase the added marks before entering the stop state
- B
After adding the marks, it must move back to the beginning
- C
It must restart the computation with the original input
- D
It must move to the far end of the infinite tape
Correct answer
BAfter adding the marks, it must move back to the beginning
Explanation
The machine needs additional rules and states to return the head from the end of the number to its starting position.
- A
- 36
How can a machine determine that it has moved past the end of a unary number while returning?
- A
It can stop as soon as it encounters any unary mark
- B
It can count the number of states it has visited
- C
It can detect the start state written on the first mark
- D
It can detect the blank cell beyond the number and move back one position
Correct answer
DIt can detect the blank cell beyond the number and move back one position
Explanation
The blank beyond the marks indicates that the head has passed the number's edge; moving back one cell places it on the end mark.
- A
- 37
How can scanning to the end of a binary number help a machine double it?
- A
The machine can insert a one before every zero
- B
The machine can append a zero at the end
- C
The machine can delete the first binary digit
- D
The machine can replace every one with a blank
Correct answer
BThe machine can append a zero at the end
Explanation
Once the machine finds the blank after the binary numeral, it can write a zero there; appending that zero doubles the value.
- A
- 38
What can a machine do after appending a zero when the task requires the head to return toward the input?
- A
Move left across the numeral until it reaches the blank before it
- B
Erase the numeral and write the result in the state register
- C
Return to the start state without moving the head
- D
Move right across the numeral until it reaches the next zero
Correct answer
AMove left across the numeral until it reaches the blank before it
Explanation
A return movement can take the head left across the digits until it reaches the blank at the start of the numeral.
- A
- 39
Why can an algorithm for a Turing machine have several states even when its tape alphabet is small?
- A
Each state must represent a different tape symbol
- B
States can distinguish different stages or situations in the algorithm
- C
Additional states make the tape finite
- D
States are needed only when the machine uses decimal notation
Correct answer
BStates can distinguish different stages or situations in the algorithm
Explanation
States let the machine keep track of which part of an algorithm it is carrying out, even when the tape uses only a few symbols.
- A
- 40
What does it mean to treat parts of a Turing-machine program as modules?
- A
To replace the finite instruction table with an infinite one
- B
To reuse recognizable groups of instructions for tasks such as moving to an end or returning
- C
To give every instruction a different tape alphabet
- D
To ensure each instruction operates independently of every other instruction
Correct answer
BTo reuse recognizable groups of instructions for tasks such as moving to an end or returning
Explanation
Repeated patterns of instructions, such as scanning to one end or moving back, can be thought of as reusable modules within a larger program.
- A
- 41
How can a Turing machine be viewed as a finite-state machine?
- A
Its tape symbols themselves move through a fixed list of states
- B
Its instruction table ignores the tape symbol when choosing a transition
- C
Its rules transition between states based on the current state and tape symbol
- D
Its state register stores an unlimited number of different states
Correct answer
CIts rules transition between states based on the current state and tape symbol
Explanation
The instruction table describes transitions: a current state and scanned symbol determine the action and the next state.
- A
- 42
What three programming structures does the content identify as central to computation?
- A
Memory, networking, and processing speed
- B
Addition, subtraction, and multiplication
- C
Input, storage, and display
- D
Sequence, selection, and repetition
Correct answer
DSequence, selection, and repetition
Explanation
The content identifies sequence, selection, and repetition as the core structures: instructions proceed in order, conditions choose actions, and states allow repeated behavior.
- A
- 43
How is sequence represented in a Turing-machine computation?
- A
The machine proceeds from one instruction to the next
- B
The tape is divided into equal-sized sections
- C
The head moves only in one direction
- D
The machine uses a different physical object for each symbol
Correct answer
AThe machine proceeds from one instruction to the next
Explanation
Sequence is the order in which the machine carries out instructions as it transitions from one step to another.
- A
- 44
How does a Turing machine perform selection?
- A
It changes the number of states according to the input
- B
It chooses an instruction without regard to the tape
- C
It selects a new tape alphabet at every step
- D
It applies a rule based on the current state and scanned symbol
Correct answer
DIt applies a rule based on the current state and scanned symbol
Explanation
Selection occurs because conditional rules choose an action according to the machine's current state and the symbol under its head.
- A
- 45
How can repetition occur in a Turing-machine program?
- A
The machine can copy the entire infinite tape at every step
- B
The machine can add new states whenever it reaches a blank
- C
The machine can return to a state or group of states and repeat actions
- D
The machine can repeat only by restarting from the initial tape
Correct answer
CThe machine can return to a state or group of states and repeat actions
Explanation
A machine can repeat behavior by returning to an earlier state and carrying out the corresponding instructions again.
- A
- 46
What is the main computational power claimed for a Turing machine?
- A
It can carry out any computation that an ordinary computer can carry out
- B
It can carry out only computations involving unary numbers
- C
It can carry out more computations than any possible computer
- D
It can carry out any computation only if its tape is made of silicon
Correct answer
AIt can carry out any computation that an ordinary computer can carry out
Explanation
The content describes Turing machines as capable of performing any computation an ordinary computer can perform, although they may be slower.
- A
- 47
How does a Turing machine's speed compare with that of a modern computer?
- A
It may be much slower, despite being able to perform the same kinds of computation
- B
It must be faster because its tape is infinite
- C
It is always exactly as fast because the computational abilities match
- D
It cannot be compared because it has no instructions
Correct answer
AIt may be much slower, despite being able to perform the same kinds of computation
Explanation
The model captures computational capability rather than practical speed; a Turing machine may perform a task much more slowly than a modern computer.
- A
- 48
What does it mean that a particular Turing machine has a fixed job?
- A
It can process only one tape cell before stopping
- B
It can never change state while processing its input
- C
Its finite instruction table is designed to carry out a particular task
- D
Its tape can contain only one symbol for its entire operation
Correct answer
CIts finite instruction table is designed to carry out a particular task
Explanation
A standard machine has a specific instruction table, or embedded program, that determines the task it performs.
- A
- 49
What does a universal Turing machine do?
- A
It increases the number of tape symbols without limit
- B
It simulates other Turing machines using descriptions supplied on its tape
- C
It performs only one task using one permanently fixed input
- D
It replaces every other Turing machine by a faster physical computer
Correct answer
BIt simulates other Turing machines using descriptions supplied on its tape
Explanation
A universal Turing machine can simulate other Turing machines when given representations of their instructions and inputs.
- A
- 50
What key information must be encoded on the tape for a universal machine to simulate another machine?
- A
A physical copy of the simulated machine's head
- B
A list of every possible computation the machine might perform
- C
A representation of the simulated machine's instruction table
- D
An infinite list of all the machine's future tape contents
Correct answer
CA representation of the simulated machine's instruction table
Explanation
The universal machine needs an encoded description of the rules it is to interpret, along with the simulated machine's input and current configuration.
- A
- 51
Besides the encoded instruction table, what information must the universal machine track to simulate a computation?
- A
Only the simulated machine's final output
- B
The number of possible states in every machine ever defined
- C
The physical material used to construct the simulated tape
- D
The simulated tape contents, current state, and head position
Correct answer
DThe simulated tape contents, current state, and head position
Explanation
To imitate a machine's next step, the universal machine must represent its tape, its current state, and where its head is positioned.
- A
- 52
How does a universal Turing machine use an encoded instruction table?
- A
It finds a rule matching the simulated state and symbol, then carries out that rule's effects
- B
It follows every encoded rule in sequence regardless of the simulated tape
- C
It treats each encoded rule as a symbol to write at the head position
- D
It replaces the encoded rules with a new table after every simulated step
Correct answer
AIt finds a rule matching the simulated state and symbol, then carries out that rule's effects
Explanation
The universal machine searches the encoded rules for one matching the simulated state and scanned symbol, then updates the simulated tape, head position, and state.
- A
- 53
What is the significance of storing a program description on the tape?
- A
The instruction table becomes unnecessary for every Turing machine
- B
The machine can perform computations without interpreting any instructions
- C
One machine can perform different tasks when given different encoded programs
- D
The tape no longer needs to store the simulated machine's input
Correct answer
COne machine can perform different tasks when given different encoded programs
Explanation
Encoding a program on the tape lets a universal machine interpret different programs rather than having a separate fixed machine for each task.
- A
- 54
What is the potential limitation when simulating a Turing machine on a practical computer?
- A
A real computer must use a tape made from physical objects
- B
A real computer cannot carry out conditional instructions
- C
A real computer cannot represent states using symbols
- D
A real computer has finite storage, while the model assumes an unbounded tape
Correct answer
DA real computer has finite storage, while the model assumes an unbounded tape
Explanation
A practical computer has finite memory, so a simulation can run out of space even though the theoretical model assumes an unbounded tape.
- A

Ask anything
We've read this whole study set, so questions about it get the best answers.