SlideShare a Scribd company logo
1 of 37
TOYS VENDING MACHINE 
PRESENTING BY : ZARA TARIQ 
INSTRUCTOR: MS SAMAN
INTRODUCTION 
In our toy vending machine we have defined: 
 Different levels for toys. 
 Card use for access the different levels . 
 Level’s categories are according to the age of children.
TRANSITION GRAPH 
Mealy Machine
SOLUTION 
Stages 
Q0 = 0 
Q1 = 5 
Q2 = 10 
Q3 = 15 
Q4 = 20 
Q5 = 25 & More 
Levels 
Level 1 = 0 Month To 6 Month = L1 
Level 2 = 7 Month To 12 Month = L2 
Level 3 = 1 Year To 3 Year = L3 
Level 4 = 4 Year To 8 Year = L4 
Level 5 = 9 Year To 12 Year = L5 
Inputs 
White Card = 5 Rs = W 
Pink Card = 10 Rs = P 
Blue Card = 15 Rs = B 
Green Card = 20 Rs = G 
Yellow Card = 25 Rs = Y 
Σ ={ W,P,G,Y,B,L1, L2, L3, L4, L5} 
Output 
┌ = { 1,0}
TRANSITION TABLE 
sΣ W P B G Y L1 L2 L3 L4 L5 
Q0 Q1 q2 q3 q4 q5 q0 q0 q0 q0 q0 
Q1 Q1 q3 q4 q5 q5 q0 q1 q1 q1 q1 
Q2 Q3 q4 q5 q5 q5 q1 q0 q2 q2 q2 
Q3 Q4 q5 q5 q5 q5 q2 q1 q0 q3 q3 
Q4 Q5 q5 q5 q5 q5 q3 q2 q1 q0 q4 
Q5 Q5 q5 q5 q5 q5 q4 q3 q2 q1 q0 
sΣ W P B G Y L1 L2 L3 L4 L5 
q0 0 0 0 0 0 0 0 0 0 0 
q1 0 0 0 0 0 1 0 0 0 0 
q2 0 0 0 0 0 1 1 0 0 0 
q3 0 0 0 0 0 1 1 1 0 0 
q4 0 0 0 0 0 1 1 1 1 0 
q5 0 0 0 0 0 1 1 1 1 1 
Output states Output states
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine
Toys Vending Machine

More Related Content

Viewers also liked

Design and evaluation of an io controller for data protection
Design and evaluation of an io controller for data protectionDesign and evaluation of an io controller for data protection
Design and evaluation of an io controller for data protectionZara Tariq
 
Crime Record Management System (CRMS)
Crime Record Management System (CRMS)Crime Record Management System (CRMS)
Crime Record Management System (CRMS)Zara Tariq
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition SystemZara Tariq
 
Pull Vs. Push Production
Pull Vs. Push ProductionPull Vs. Push Production
Pull Vs. Push ProductionZara Tariq
 
Crime Record Management System (CRMS)
Crime Record Management System (CRMS)Crime Record Management System (CRMS)
Crime Record Management System (CRMS)Zara Tariq
 

Viewers also liked (9)

Design and evaluation of an io controller for data protection
Design and evaluation of an io controller for data protectionDesign and evaluation of an io controller for data protection
Design and evaluation of an io controller for data protection
 
INTERRUPTS
INTERRUPTS INTERRUPTS
INTERRUPTS
 
Projeto de revitalização
Projeto de revitalização Projeto de revitalização
Projeto de revitalização
 
โครงงาน 2
โครงงาน 2โครงงาน 2
โครงงาน 2
 
Crime Record Management System (CRMS)
Crime Record Management System (CRMS)Crime Record Management System (CRMS)
Crime Record Management System (CRMS)
 
Face Detection and Recognition System
Face Detection and Recognition SystemFace Detection and Recognition System
Face Detection and Recognition System
 
Pull Vs. Push Production
Pull Vs. Push ProductionPull Vs. Push Production
Pull Vs. Push Production
 
Crime Record Management System (CRMS)
Crime Record Management System (CRMS)Crime Record Management System (CRMS)
Crime Record Management System (CRMS)
 
Interrupts
Interrupts Interrupts
Interrupts
 

Recently uploaded

HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 

Recently uploaded (20)

★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 

Toys Vending Machine

  • 1. TOYS VENDING MACHINE PRESENTING BY : ZARA TARIQ INSTRUCTOR: MS SAMAN
  • 2. INTRODUCTION In our toy vending machine we have defined:  Different levels for toys.  Card use for access the different levels .  Level’s categories are according to the age of children.
  • 4. SOLUTION Stages Q0 = 0 Q1 = 5 Q2 = 10 Q3 = 15 Q4 = 20 Q5 = 25 & More Levels Level 1 = 0 Month To 6 Month = L1 Level 2 = 7 Month To 12 Month = L2 Level 3 = 1 Year To 3 Year = L3 Level 4 = 4 Year To 8 Year = L4 Level 5 = 9 Year To 12 Year = L5 Inputs White Card = 5 Rs = W Pink Card = 10 Rs = P Blue Card = 15 Rs = B Green Card = 20 Rs = G Yellow Card = 25 Rs = Y Σ ={ W,P,G,Y,B,L1, L2, L3, L4, L5} Output ┌ = { 1,0}
  • 5. TRANSITION TABLE sΣ W P B G Y L1 L2 L3 L4 L5 Q0 Q1 q2 q3 q4 q5 q0 q0 q0 q0 q0 Q1 Q1 q3 q4 q5 q5 q0 q1 q1 q1 q1 Q2 Q3 q4 q5 q5 q5 q1 q0 q2 q2 q2 Q3 Q4 q5 q5 q5 q5 q2 q1 q0 q3 q3 Q4 Q5 q5 q5 q5 q5 q3 q2 q1 q0 q4 Q5 Q5 q5 q5 q5 q5 q4 q3 q2 q1 q0 sΣ W P B G Y L1 L2 L3 L4 L5 q0 0 0 0 0 0 0 0 0 0 0 q1 0 0 0 0 0 1 0 0 0 0 q2 0 0 0 0 0 1 1 0 0 0 q3 0 0 0 0 0 1 1 1 0 0 q4 0 0 0 0 0 1 1 1 1 0 q5 0 0 0 0 0 1 1 1 1 1 Output states Output states