Lesson 4.4.5.1
4.4.5.1 The Turing machine Quiz: AQA Computer Science, Unit 4
20 questions
In partnership with Revision Ninja
Lesson 4.4.5.1, The Turing machine: 20 multiple choice questions for the AQA Computer Science (7517), Unit 4: Theory of computation, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
Which of these is NOT a component of a basic Turing machine?
- Read-write head
- Infinite tape
- Finite state set
- Graphical user interface
-
What characterizes a halting state in a Turing machine state transition diagram?
- No outgoing transitions
- Self-loop transition
- No incoming transitions
- Multiple start arrows
-
What is the purpose of the start state in a Turing machine?
- Where tape terminates
- Where output prints
- Where computation stops
- Where computation begins
-
How far can the read-write head move in a single transition step?
- To tape end
- Two squares
- Any distance
- One square
-
What is the alphabet of a Turing machine?
- List of rules
- Sequence of bits
- Set of states
- Set of symbols
-
What inputs does a Turing machine transition function require?
- State only
- Tape length
- Symbol only
- State and symbol
-
What key component does a standard Turing machine use to store data and instructions?
- Infinite tape
- Random access memory
- Registers only
- Solid state drive
-
Why are Turing machines fundamentally important in computer science?
- Eliminate syntax errors
- Optimize memory storage
- Define computable problems
- Speed up execution
-
What can a Universal Turing machine do when given a machine description?
- Expand tape infinitely
- Compile machine code
- Simulate that machine
- Halt all loops
-
Rule: delta(P, 1) = (Q, 0, L). In state P reading 1, what symbol is written?
- 1
- P
- 0
- Q
-
In state S reading blank, a rule writes 1, moves right, and stays in S. What occurs?
- Moves left endlessly
- Erases tape
- Never halts
- Halts immediately
-
A tape holds 1 1 1 followed by blanks, and the head starts on the first 1. Rule: in state S, reading 1 writes 1 and moves right; reading blank halts. How many squares does the head visit, including the start square?
- 3
- 2
- 4
- 5
-
In the transition function delta(S, 0) = (T, 1, R), what state is entered next?
- 1
- 0
- T
- S
-
In the Turing machine transition label 0/1, R, what does 0 represent?
- Symbol written
- Symbol read
- Next state
- Head direction
-
Tape shows 0 1, head on 0. Rule writes 0, moves right, halts. Which symbol is under the head?
- 1
- None
- Blank
- 0
-
Tape is 0 1 0 with head on square 1. Reading 0 writes 1 and moves right. What is the updated tape?
- 0 1 0
- 1 1 0
- 0 0 0
- 1 0 0
-
A tape holds 1 1 1 with the head on square 1. Rule: in state S, reading 1 writes 0, moves right and stays in S; reading blank halts. How many squares still hold 1 after the machine halts?
- 0
- 2
- 3
- 1
-
A tape holds 1 0 1 with the head on square 1. Rule: in state S, reading 1 writes 0 and moves right; reading 0 writes 1 and moves right; both stay in S, and reading blank halts. What is the final tape?
- 0 1 1
- 1 0 1, unchanged
- 0 0 0
- 0 1 0
-
What does the infinite tape in a Turing machine define?
- Hardware efficiency
- Physical memory size
- What is computable
- Execution speed
-
Squares 1 and 2 hold 1s, with blanks elsewhere and the head on square 1. Rules: S reading 1 moves right and stays in S; S reading blank writes 1, moves left and enters T. T reading 1 writes 0, moves left and stays in T; T reading blank halts. What are squares 0 to 3?
- blank, 1, 1, 1
- blank, 0, 1, 1
- blank, 0, 0, 1
- 1, 1, 0, 1
Related quizzes
- Problem-solving and algorithms Quiz · 4.4.1.1 · 20 questions
- Abstraction Quiz · 4.4.1.3 · 20 questions
- Problem reduction and decomposition Quiz · 4.4.1.8 · 20 questions
- Composition Quiz · 4.4.1.10 · 20 questions
- Automation Quiz · 4.4.1.11 · 20 questions
- Finite state machines Quiz · 4.4.2.1 · 20 questions
- Regular expressions Quiz · 4.4.2.3 · 20 questions
- Backus-Naur Form and syntax diagrams Quiz · 4.4.3.1 · 20 questions
- Comparing algorithms Quiz · 4.4.4.1 · 20 questions
- Order of complexity Quiz · 4.4.4.3 · 20 questions