Skip to content

mmehwishh/Unary-Multiplication---Turing-Machine-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

🔧 Dual Project: Unary Multiplication (Software) & Flying Bird Automata (Hardware)

1️⃣ Unary Multiplication - Turing Machine Simulation (Software)

A Python-based GUI project that simulates multiplication using Turing machine logic on unary numbers.

Input

  • Two integers entered by the user.

Process

  • Converts integers to unary form (e.g., 3 × 2 → 111*11).
  • Simulates multiplication using Turing machine steps.
  • Displays each intermediate tape during execution.

Output

  • Product displayed in both unary and decimal form.

Technologies Used

  • Python 3
  • Tkinter (GUI Library)

Features

  • Start: Begin the Turing machine simulation.
  • Forward: Step forward through intermediate tape states (steps).
  • Backward: Step backward through previous tape states (steps).
  • Final Tape: Jump directly to the final tape showing the completed multiplication.
  • Reset: Clear everything and start a new simulation.

2️⃣ Flying Bird Paper Automata (Hardware)

A mechanical paper-based automaton that simulates the flapping motion of a bird.

Mechanism

  • Uses gears and a crankshaft to produce wing flapping motion.

Materials Used

  • Paper
  • Chopstick
  • Cardboard

Purpose

  • Educational demonstration of mechanical motion and design principles using simple, everyday materials.

Video Showcase

  • Realistic flapping motion of the bird.
  • Inner mechanical build and working mechanism shown.

🧑‍💻 Authors

Designed and implemented by:

  • Arwa Abbas
  • Mehwish Zehra
  • Hamna Khalid

For academic, educational, and demonstration purposes.

About

Turing Machine simulator for unary multiplication with step-by-step tape visualization built using Python and Tkinter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages