SlideShare a Scribd company logo
1 of 37
Download to read offline
A L G O R I T H M I C
T H I N K I N G
U N I T 6
L E T ' S F O L L O W A N A L G O R I T H M
L E T ' S F O L L O W A N A L G O R I T H M
L E T ' S F O L L O W A N A L G O R I T H M
L E T ' S F O L L O W A N A L G O R I T H M
L E T ' S F O L L O W A N A L G O R I T H M
W H AT I S A N
A L G O R I T H M ?
W H AT I S A N
A L G O R I T H M ?
Very precise steps needed to complete a task.
E X A M P L E O F A L G O R I T H M
W H AT I S A N A L G O R I T H M ?
E X A M P L E O F A L G O R I T H M
W H AT I S A N A L G O R I T H M ?
W H AT W E T H I N K O F C O M P U T E R S
W H Y D O W E N E E D A L G O R I T H M S ?
H E L L O , S I R .
W H AT W O U L D Y O U
L I K E M E T O D O ?
D O M Y
H O M E W O R K
Y E S , S I R .
W H AT T H E Y A C T U A L LY A R E
W H Y D O W E N E E D A L G O R I T H M S ?
E R R O R ! D O
W H AT I S ?
D O M Y
H O M E W O R K
G I V E W O R K M E
W R I T I N G H I O N T H E B O A R D
E X A M P L E A L G O R I T H M
I A M Y O U R
T E A C H E R .
B E E P B O O P.
A L G O R I T H M I C T H I N K I N G
• Thinking like a robot
• Thinking like a computer
• Thinking like a programmer
• Thinking like an engineer
R O O M B A
H E R E I S A P O P U L A R VA C U U M - C L E A N I N G R O B O T
R O O M B A R E M O T E C O N T R O L
Move Forward
Move Backward
Turn Left 90º
Turn Right 90º
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
• Move Forward
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
• Move Forward
• Turn Right
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
• Move Forward
• Turn Right
• Move Forward
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
• Move Forward
• Turn Right
• Move Forward
• Turn Right
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
• Move Forward
• Turn Right
• Move Forward
• Turn Right
• Move Forward
Forward
Backward
Left 90º
Right 90º
C L E A N A L L S Q U A R E S
• Turn Right
• Move Forward
• Turn Right
• Move Forward
• Turn Right
• Move Forward
T H I S I S A L O T T O W R I T E .
H O W C A N Y O U M A K E I T
S H O RT E R ?
F
B
L
R
C L E A N A L L S Q U A R E S
• R
• F
• R
• F
• R
• F
R E P L A C E L O N G
I N S T R U C T I O N S W I T H
L E T T E R S
B L O C K S O F A L G O R I T H M S
Block Algorithm
F Move Forward 1 Step
B Move Backward 1 Step
R Turn Right 90 Degrees
L Turn Left 90 Degrees
A block is a replacement for a longer algorithm.
N O W, I T ' S
Y O U R T U R N !
R O O M 1
F = Move Forward 1 Step
B = Move Backward 1 Step
R = Turn Right 90 Degrees
L = Turn Left 90 Degrees
Front
Back
R O O M 2
Cannot
Pass
Rule:
• Avoid the obstacles.
R O O M 3
Cannot
Pass
Rule:
• Avoid the obstacles.
R O O M 4
Cannot
Pass
8
Blocks
Only
Rule:
• Clean this room using only 8 blocks.
R O O M 5
Cannot
Pass
13
Blocks
Only
Rule:
• Clean this room using only 13 blocks.
Cannot
Pass
Rules:
• With 1 block you use, the rabbit moves 1 space if it can.
• The rabbit will not crash into you by itself. If there is a space, it will
move back. If not, it will wait.
• Do not crash into the rabbit.
R O O M 6
Optional Challenge

More Related Content

What's hot

People Centred Design & Working Agile
People Centred Design & Working AgilePeople Centred Design & Working Agile
People Centred Design & Working AgileDavid Haddow
 
Positioning the Avatar
Positioning the AvatarPositioning the Avatar
Positioning the AvatarLuke van Ryn
 
Music questionnaire2015
Music questionnaire2015Music questionnaire2015
Music questionnaire2015Akshata Mishra
 
Artificial Intelligence and Machine Learning
Artificial Intelligence and Machine LearningArtificial Intelligence and Machine Learning
Artificial Intelligence and Machine LearningAbhishek Sharma
 

What's hot (7)

Eksponen
EksponenEksponen
Eksponen
 
People Centred Design & Working Agile
People Centred Design & Working AgilePeople Centred Design & Working Agile
People Centred Design & Working Agile
 
Positioning the Avatar
Positioning the AvatarPositioning the Avatar
Positioning the Avatar
 
Bucket List Item #1246
Bucket List Item #1246Bucket List Item #1246
Bucket List Item #1246
 
Music questionnaire2015
Music questionnaire2015Music questionnaire2015
Music questionnaire2015
 
Disruptive Testing
Disruptive TestingDisruptive Testing
Disruptive Testing
 
Artificial Intelligence and Machine Learning
Artificial Intelligence and Machine LearningArtificial Intelligence and Machine Learning
Artificial Intelligence and Machine Learning
 

Similar to Ct 29 algorithm

4 reasons that you cannot engage your team after election
4 reasons that you cannot engage your team after election4 reasons that you cannot engage your team after election
4 reasons that you cannot engage your team after electionFlora Liu
 
PEACE EDUCATION (PEACE THEME 5)
PEACE EDUCATION (PEACE THEME 5)PEACE EDUCATION (PEACE THEME 5)
PEACE EDUCATION (PEACE THEME 5)Reymart Dellomas
 
messagingLAB_thought leadership class slides
messagingLAB_thought leadership class slidesmessagingLAB_thought leadership class slides
messagingLAB_thought leadership class slidesmessagingLAB
 
Integrated final-pdf
Integrated final-pdfIntegrated final-pdf
Integrated final-pdfArissa Loh
 
CT BM Integrated Assignement
CT BM Integrated Assignement CT BM Integrated Assignement
CT BM Integrated Assignement ashleyyeap
 
Building Legends at One World Observatory
Building Legends at One World ObservatoryBuilding Legends at One World Observatory
Building Legends at One World ObservatoryAddison O'Connor
 
American Marketing Association - Strategy Presentation
American Marketing Association - Strategy Presentation American Marketing Association - Strategy Presentation
American Marketing Association - Strategy Presentation Sam Cheema
 
Participación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Participación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxParticipación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Participación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxappscool1
 
LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...
LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...
LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...getadministrate
 
C-Suite Guide to Cybersecurity
C-Suite Guide to CybersecurityC-Suite Guide to Cybersecurity
C-Suite Guide to CybersecurityMICHAEL MOSHIRI
 
Jack D. Ryger: Tips To Become A Better Skier
Jack D. Ryger: Tips To Become A Better SkierJack D. Ryger: Tips To Become A Better Skier
Jack D. Ryger: Tips To Become A Better SkierJack D. Ryger
 
M|SOURCE WORK ORDER SYSTEM
M|SOURCE WORK ORDER SYSTEMM|SOURCE WORK ORDER SYSTEM
M|SOURCE WORK ORDER SYSTEMScott Urich
 
Team Ramen, Marketing Samurai'19, 2nd Round.pdf
Team Ramen, Marketing Samurai'19, 2nd Round.pdfTeam Ramen, Marketing Samurai'19, 2nd Round.pdf
Team Ramen, Marketing Samurai'19, 2nd Round.pdfAfnan Faruk
 
Test quick, build smart, be awesome
Test quick, build smart, be awesomeTest quick, build smart, be awesome
Test quick, build smart, be awesomeWP&UP
 
Conventions of a thriller
Conventions of a thrillerConventions of a thriller
Conventions of a thrilleremmalouise01
 
How to Budget Your Time
How to Budget Your TimeHow to Budget Your Time
How to Budget Your TimeTony Ferrar
 
Trabajo impresoras
Trabajo impresorasTrabajo impresoras
Trabajo impresorasJhoonn Jairo
 
Codecademy Live QA Presentation
Codecademy Live QA PresentationCodecademy Live QA Presentation
Codecademy Live QA PresentationJames Kim
 

Similar to Ct 29 algorithm (20)

4 reasons that you cannot engage your team after election
4 reasons that you cannot engage your team after election4 reasons that you cannot engage your team after election
4 reasons that you cannot engage your team after election
 
PEACE EDUCATION (PEACE THEME 5)
PEACE EDUCATION (PEACE THEME 5)PEACE EDUCATION (PEACE THEME 5)
PEACE EDUCATION (PEACE THEME 5)
 
messagingLAB_thought leadership class slides
messagingLAB_thought leadership class slidesmessagingLAB_thought leadership class slides
messagingLAB_thought leadership class slides
 
Integrated final-pdf
Integrated final-pdfIntegrated final-pdf
Integrated final-pdf
 
CT BM Integrated Assignement
CT BM Integrated Assignement CT BM Integrated Assignement
CT BM Integrated Assignement
 
Building Legends at One World Observatory
Building Legends at One World ObservatoryBuilding Legends at One World Observatory
Building Legends at One World Observatory
 
Firefox OS Bus India Tour
Firefox OS Bus India TourFirefox OS Bus India Tour
Firefox OS Bus India Tour
 
American Marketing Association - Strategy Presentation
American Marketing Association - Strategy Presentation American Marketing Association - Strategy Presentation
American Marketing Association - Strategy Presentation
 
Participación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Participación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxParticipación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Participación comunitaria.pptxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...
LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...
LITE 2018 – Why Most Training Provision Today is Dull and Irrelevant... and H...
 
C-Suite Guide to Cybersecurity
C-Suite Guide to CybersecurityC-Suite Guide to Cybersecurity
C-Suite Guide to Cybersecurity
 
Jack D. Ryger: Tips To Become A Better Skier
Jack D. Ryger: Tips To Become A Better SkierJack D. Ryger: Tips To Become A Better Skier
Jack D. Ryger: Tips To Become A Better Skier
 
M|SOURCE WORK ORDER SYSTEM
M|SOURCE WORK ORDER SYSTEMM|SOURCE WORK ORDER SYSTEM
M|SOURCE WORK ORDER SYSTEM
 
Team Ramen, Marketing Samurai'19, 2nd Round.pdf
Team Ramen, Marketing Samurai'19, 2nd Round.pdfTeam Ramen, Marketing Samurai'19, 2nd Round.pdf
Team Ramen, Marketing Samurai'19, 2nd Round.pdf
 
Test quick, build smart, be awesome
Test quick, build smart, be awesomeTest quick, build smart, be awesome
Test quick, build smart, be awesome
 
Conventions of a thriller
Conventions of a thrillerConventions of a thriller
Conventions of a thriller
 
How to Budget Your Time
How to Budget Your TimeHow to Budget Your Time
How to Budget Your Time
 
Scheu house
Scheu houseScheu house
Scheu house
 
Trabajo impresoras
Trabajo impresorasTrabajo impresoras
Trabajo impresoras
 
Codecademy Live QA Presentation
Codecademy Live QA PresentationCodecademy Live QA Presentation
Codecademy Live QA Presentation
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 

Ct 29 algorithm

  • 1. A L G O R I T H M I C T H I N K I N G U N I T 6
  • 2. L E T ' S F O L L O W A N A L G O R I T H M
  • 3. L E T ' S F O L L O W A N A L G O R I T H M
  • 4. L E T ' S F O L L O W A N A L G O R I T H M
  • 5. L E T ' S F O L L O W A N A L G O R I T H M
  • 6. L E T ' S F O L L O W A N A L G O R I T H M
  • 7. W H AT I S A N A L G O R I T H M ?
  • 8. W H AT I S A N A L G O R I T H M ? Very precise steps needed to complete a task.
  • 9. E X A M P L E O F A L G O R I T H M W H AT I S A N A L G O R I T H M ?
  • 10. E X A M P L E O F A L G O R I T H M W H AT I S A N A L G O R I T H M ?
  • 11. W H AT W E T H I N K O F C O M P U T E R S W H Y D O W E N E E D A L G O R I T H M S ? H E L L O , S I R . W H AT W O U L D Y O U L I K E M E T O D O ? D O M Y H O M E W O R K Y E S , S I R .
  • 12. W H AT T H E Y A C T U A L LY A R E W H Y D O W E N E E D A L G O R I T H M S ? E R R O R ! D O W H AT I S ? D O M Y H O M E W O R K G I V E W O R K M E
  • 13. W R I T I N G H I O N T H E B O A R D E X A M P L E A L G O R I T H M I A M Y O U R T E A C H E R . B E E P B O O P.
  • 14. A L G O R I T H M I C T H I N K I N G • Thinking like a robot • Thinking like a computer • Thinking like a programmer • Thinking like an engineer
  • 15. R O O M B A H E R E I S A P O P U L A R VA C U U M - C L E A N I N G R O B O T
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. R O O M B A R E M O T E C O N T R O L Move Forward Move Backward Turn Left 90º Turn Right 90º
  • 21. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S
  • 22. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right
  • 23. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right • Move Forward
  • 24. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right • Move Forward • Turn Right
  • 25. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right • Move Forward • Turn Right • Move Forward
  • 26. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right • Move Forward • Turn Right • Move Forward • Turn Right
  • 27. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right • Move Forward • Turn Right • Move Forward • Turn Right • Move Forward
  • 28. Forward Backward Left 90º Right 90º C L E A N A L L S Q U A R E S • Turn Right • Move Forward • Turn Right • Move Forward • Turn Right • Move Forward T H I S I S A L O T T O W R I T E . H O W C A N Y O U M A K E I T S H O RT E R ?
  • 29. F B L R C L E A N A L L S Q U A R E S • R • F • R • F • R • F R E P L A C E L O N G I N S T R U C T I O N S W I T H L E T T E R S
  • 30. B L O C K S O F A L G O R I T H M S Block Algorithm F Move Forward 1 Step B Move Backward 1 Step R Turn Right 90 Degrees L Turn Left 90 Degrees A block is a replacement for a longer algorithm.
  • 31. N O W, I T ' S Y O U R T U R N !
  • 32. R O O M 1 F = Move Forward 1 Step B = Move Backward 1 Step R = Turn Right 90 Degrees L = Turn Left 90 Degrees Front Back
  • 33. R O O M 2 Cannot Pass Rule: • Avoid the obstacles.
  • 34. R O O M 3 Cannot Pass Rule: • Avoid the obstacles.
  • 35. R O O M 4 Cannot Pass 8 Blocks Only Rule: • Clean this room using only 8 blocks.
  • 36. R O O M 5 Cannot Pass 13 Blocks Only Rule: • Clean this room using only 13 blocks.
  • 37. Cannot Pass Rules: • With 1 block you use, the rabbit moves 1 space if it can. • The rabbit will not crash into you by itself. If there is a space, it will move back. If not, it will wait. • Do not crash into the rabbit. R O O M 6 Optional Challenge