- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

**Step 1 -** Read the leftmost ‘0’ replace it by ‘x’ and move right to process the immediate symbol after ‘#’.

**Step 2 -** Replace the symbol ‘0’ by x and move right reach the first ‘B’ after ‘#’

**Step 3 -** Replace B by ‘0’ and move left until the nearest ‘x’ is reached

**Step 4 -** Replace the ‘x’ by 0 and move right to process the next symbol of the multiplicand.

**Step 5 -** Perform steps 2, 3 and 4 until all the symbols of the multiplicand are processed.

**Step 6 -** Move left to replace the symbol of the multiplier, ‘x’ by ’0’.

**Step 7 -** Perform steps 1 to 6 until all the symbols of the multiplier are processed.

The Turing Machine (TM) is as follows

The Turing machine, M is given by

M = (Q, Σ, Γ, δ, q0, B, F)

Where,

Q = {q0, q1, q2, q3, q4, q5, q6}

Σ = {0, #}

Γ = {0, #, x, B}

q0 = {q0}

B = {B}

F = {q6}

δ ⇒ given by the above transition diagram.

- Related Questions & Answers
- Design a TM to compute addition of two unary numbers
- Construct a TM for adding 1 to a binary natural number?
- Construct a TM for the language L= {ww : w ∈ {0,1}}
- Construct a TM that accepts even-length palindromes over the alphabet {0,1}?
- Python program multiplication of two matrix.
- Multiplication of two Matrices using Java
- Count Unary Numbers in a Range in C++
- C++ Program to Implement the Schonhage-Strassen Algorithm for Multiplication of Two Numbers
- Construct a TM recognizing strings of the form an bn cn| n≥1 over = {a, b, c}
- Program to find maximum score from performing multiplication operations in Python
- Multiplication of two Matrices using Numpy in Python
- Take in two 2-D arrays of numbers and returns their matrix multiplication result- JavaScript
- C++ Program to Implement Booth’s Multiplication Algorithm for Multiplication of 2 signed Numbers
- Performing power operations on an array of numbers in JavaScript
- Construct a TM for a binary number as an input and replace the last digit with its Boolean complement?

Advertisements