SlideShare a Scribd company logo
Using Simple Commands
Unit 3 Lesson 4
Objectives
Students will be able to:
â€ĸSolve simple programming challenges when the set of allowed commands is
constrained.
â€ĸExplain considerations that go into “efficiency” of a program.
â€ĸUse App Lab to write programs that create simple drawings with “turtle
graphics.”
â€ĸWork with a partner to program a turtle task that requires about 50 lines of
code.
â€ĸJustify or explain choices made when programming a solution to a turtle task.
Warm Up
Today we will start programming for “real”.
●Think back to the lego activity we did in class. What do you
anticipate will be the same about those activities vs the ‘real’
thing?
Warm Up Examples
●Focus on creating processes to do things
●Multiple ways to solve a problem
●Some struggles understanding exactly what commands mean
●Working with partners
●Reasoning about solutions by testing them repeatedly, acting them out
●Creatively applying the limited set of commands.
CS Vocabulary Recap
●Algorithm: A precise sequence of instructions for processes that can be
executed by a computer and are implemented using programming languages.
(NOTE: this is the definition from the AP CS Principles framework).
●Low level programming language: A programming language that captures only
the most primitive operations available to a machine. Anything that a computer
can do can be represented with combinations of low level commands.
●High level programming language: A programming language with many
commands and features designed to make common tasks easier to program. Any
high level functionality is encapsulated as combinations of low level commands.
CS Vocabulary Recap
●Iterate: To repeat in order to achieve, or get closer to, a desired goal.
●Selection: A generic term for a type of programming statement (usually an if-
statement) that uses a Boolean condition to determine, or select, whether or not to
run a certain block of statements.
●Sequencing: Putting commands in correct order so computers can read the
commands.
Ted Talk – You Should Learn to Program:
https://www.youtube.com/watch?v=xfBWk4nw440
Turtle Programming - Video
On to Programming!
●You'll need to stick with it, pay attention to detail, and
collaborate with others. In fact, before we jump in there's one
new collaboration skill I want to teach you all.
Pair Programming
●Pair programming helps people make better programs by working together. The main idea is that two
programmers use a single computer to collaboratively develop code. There's a few rules to make sure
this system works effectively.
●There is only one computer and two programmers.
●Assign one student "driver" and the other "navigator". Don't worry, you'll switch often.
●The driver is the only one to touch the keyboard/mouse.
●The navigator should look for problems in the code and keep track of the high-level plan.
●Both driver and navigator should be communicating constantly by talking out loud and sharing ideas.
●Driver and navigator roles must switch when the teacher indicates, typically every 3-5 minutes.
App Lab
●App Lab is the programming environment we’re going to
use for the rest of the course to write programs and apps.
App Lab is embedded into Code Studio for many lessons and
usually presents you with a series of problems to solve to
learn the basic concepts. As you get better and better at
coding, App Lab will show you more and more things you can
do. But to start, we’re going to keep things simple and build
up the complexity.
Go to Code Studio
●Login into Code.org U3L4 Using Simple Commands Bubble 3
Compare Solutions and Discuss
●Get together with another pair to compare your solutions for each of the three
problems to determine which is the most efficient.
Once you’re done sharing, reflect on:
●What strategies or reasoning did you use to identify possible solutions?
●Is the solution that you or another group found the most efficient? How do you
know?
THINK-PAIR-SHARE
●What is the “most efficient” way to program the solution for the 3x3 grid?
●We care about efficiency when we don’t want to waste something valuable,
like money, time, or space. We measured the efficiency of our programs in
terms of lines of code, but there are other ways to think about efficiency when
talking about code or programs that run on a computer. When we try to
create efficient programs, what other valuable resources might we be
concerned about conserving?
Yourself Friend Class
THINK-PAIR-SHARE
●Why constrain to only 4 possible commands?
●What you did today is what you always do when programming:
use a language to express a solution to a problem. Collaborative
problem-solving skills are important factors in programming.
Being able to get together with other people to talk about and make
reasoned arguments about the best ways to code things is what
professionals do.
Yourself Friend Class
Reflection
(Remember feeling changes, they are not permanent)
○How are you feeling right now?
○What did you do today?
○What was most frustrating about this activity? If you could
add one additional simple command, what would it be, and
why?

More Related Content

What's hot

Fundamental Programming Lect 1
Fundamental Programming Lect 1Fundamental Programming Lect 1
Fundamental Programming Lect 1
Namrah Erum
 
Competitive Programming
Competitive ProgrammingCompetitive Programming
Competitive Programming
Ritesh Reddy
 
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
TEST Huddle
 
GOOD PROGRAMMING
GOOD PROGRAMMINGGOOD PROGRAMMING
GOOD PROGRAMMINGBilal Zaka
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Raja Hamid
 
Road map to competitive programming
Road map to competitive programmingRoad map to competitive programming
Road map to competitive programming
Tutort Academy
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven DevelopmentTomCooley
 
Tdd
TddTdd
Chapter 3 what is programming
Chapter 3   what is programmingChapter 3   what is programming
Chapter 3 what is programming
Pro Guide
 
Workshop on programming contest
Workshop on programming contestWorkshop on programming contest
Workshop on programming contest
Abir Khan
 
Threading Successes 07 Outro
Threading Successes 07   OutroThreading Successes 07   Outro
Threading Successes 07 Outroguest40fc7cd
 
Programming terms & concepts - Using Java
Programming terms & concepts - Using JavaProgramming terms & concepts - Using Java
Programming terms & concepts - Using Java
Rebecca DuPont, PhD
 
Design patterns
Design patternsDesign patterns
Design patternsJeff Potter
 
Shaye howell...screencast
Shaye howell...screencastShaye howell...screencast
Shaye howell...screencastShaye
 
An introduction to Competitive Programming
An introduction to Competitive ProgrammingAn introduction to Competitive Programming
An introduction to Competitive Programming
Gaurav Agarwal
 
8 Programming Concepts You Should Know
8 Programming Concepts You Should Know 8 Programming Concepts You Should Know
8 Programming Concepts You Should Know
ramakrishnanpravin
 
16 Favorite Behavioral Interview Questions for Technical Roles
16 Favorite Behavioral Interview Questions for Technical Roles16 Favorite Behavioral Interview Questions for Technical Roles
16 Favorite Behavioral Interview Questions for Technical Roles
eTeki
 
Software Audit - Dimensions
Software Audit - Dimensions Software Audit - Dimensions
Software Audit - Dimensions
jackhurst8
 

What's hot (18)

Fundamental Programming Lect 1
Fundamental Programming Lect 1Fundamental Programming Lect 1
Fundamental Programming Lect 1
 
Competitive Programming
Competitive ProgrammingCompetitive Programming
Competitive Programming
 
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
Graham Thomas - Software Testing Secrets We Dare Not Tell - EuroSTAR 2013
 
GOOD PROGRAMMING
GOOD PROGRAMMINGGOOD PROGRAMMING
GOOD PROGRAMMING
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
 
Road map to competitive programming
Road map to competitive programmingRoad map to competitive programming
Road map to competitive programming
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven Development
 
Tdd
TddTdd
Tdd
 
Chapter 3 what is programming
Chapter 3   what is programmingChapter 3   what is programming
Chapter 3 what is programming
 
Workshop on programming contest
Workshop on programming contestWorkshop on programming contest
Workshop on programming contest
 
Threading Successes 07 Outro
Threading Successes 07   OutroThreading Successes 07   Outro
Threading Successes 07 Outro
 
Programming terms & concepts - Using Java
Programming terms & concepts - Using JavaProgramming terms & concepts - Using Java
Programming terms & concepts - Using Java
 
Design patterns
Design patternsDesign patterns
Design patterns
 
Shaye howell...screencast
Shaye howell...screencastShaye howell...screencast
Shaye howell...screencast
 
An introduction to Competitive Programming
An introduction to Competitive ProgrammingAn introduction to Competitive Programming
An introduction to Competitive Programming
 
8 Programming Concepts You Should Know
8 Programming Concepts You Should Know 8 Programming Concepts You Should Know
8 Programming Concepts You Should Know
 
16 Favorite Behavioral Interview Questions for Technical Roles
16 Favorite Behavioral Interview Questions for Technical Roles16 Favorite Behavioral Interview Questions for Technical Roles
16 Favorite Behavioral Interview Questions for Technical Roles
 
Software Audit - Dimensions
Software Audit - Dimensions Software Audit - Dimensions
Software Audit - Dimensions
 

Similar to U3 l4 using simple commands

What is xp
What is xpWhat is xp
What is xp
Simone Federici
 
Boost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In BanglaBoost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In Bangla
Stack Learner
 
Lecture 7 program development issues (supplementary)
Lecture 7  program development issues (supplementary)Lecture 7  program development issues (supplementary)
Lecture 7 program development issues (supplementary)alvin567
 
Pair Programming Presentation
Pair Programming PresentationPair Programming Presentation
Pair Programming PresentationThoughtWorks
 
Practices of agile developers
Practices of agile developersPractices of agile developers
Practices of agile developers
DUONG Trong Tan
 
Services, tools & practices for a software house
Services, tools & practices for a software houseServices, tools & practices for a software house
Services, tools & practices for a software house
Paris Apostolopoulos
 
Pair Programming - a pratical guide
Pair Programming - a pratical guidePair Programming - a pratical guide
Pair Programming - a pratical guide
Giuseppe Sorrentino
 
30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook
Gabriel Paunescu 🤖
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
AYUSH JAIN
 
Agile Values, Principles and Practices
Agile Values, Principles and PracticesAgile Values, Principles and Practices
Agile Values, Principles and Practices
jackcrews
 
Linux Commands, C, C++, Java and Python Exercises For Beginners
Linux Commands, C, C++, Java and Python Exercises For BeginnersLinux Commands, C, C++, Java and Python Exercises For Beginners
Linux Commands, C, C++, Java and Python Exercises For Beginners
Manjunath.R -
 
CS101- Introduction to Computing- Lecture 44
CS101- Introduction to Computing- Lecture 44CS101- Introduction to Computing- Lecture 44
CS101- Introduction to Computing- Lecture 44
Bilal Ahmed
 
DevOps interview questions and answers
DevOps interview questions and answersDevOps interview questions and answers
DevOps interview questions and answers
HopeTutors1
 
C, C++, Java, Python, PHP, JavaScript and Linux For Beginners
C, C++, Java, Python, PHP, JavaScript and Linux For BeginnersC, C++, Java, Python, PHP, JavaScript and Linux For Beginners
C, C++, Java, Python, PHP, JavaScript and Linux For Beginners
Manjunath.R -
 
Learning to code in 2020
Learning to code in 2020Learning to code in 2020
Learning to code in 2020
Nicholas Sterling
 
Learn to Code with MIT App Inventor ( PDFDrive ).pdf
Learn to Code with MIT App Inventor ( PDFDrive ).pdfLearn to Code with MIT App Inventor ( PDFDrive ).pdf
Learn to Code with MIT App Inventor ( PDFDrive ).pdf
NemoPalleschi
 
W1-Intro to python.pptx
W1-Intro to python.pptxW1-Intro to python.pptx
W1-Intro to python.pptx
NaziaPerwaiz2
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmer
LeylimYaln
 
Programming in Java: Getting Started
Programming in Java: Getting StartedProgramming in Java: Getting Started
Programming in Java: Getting Started
Martin Chapman
 

Similar to U3 l4 using simple commands (20)

What is xp
What is xpWhat is xp
What is xp
 
Boost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In BanglaBoost Your Base Bootcamp - [Online & Offline] In Bangla
Boost Your Base Bootcamp - [Online & Offline] In Bangla
 
Lecture 7 program development issues (supplementary)
Lecture 7  program development issues (supplementary)Lecture 7  program development issues (supplementary)
Lecture 7 program development issues (supplementary)
 
Pair Programming Presentation
Pair Programming PresentationPair Programming Presentation
Pair Programming Presentation
 
Practices of agile developers
Practices of agile developersPractices of agile developers
Practices of agile developers
 
Services, tools & practices for a software house
Services, tools & practices for a software houseServices, tools & practices for a software house
Services, tools & practices for a software house
 
Pair Programming - a pratical guide
Pair Programming - a pratical guidePair Programming - a pratical guide
Pair Programming - a pratical guide
 
30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook30% faster coder on-boarding when you have a code cookbook
30% faster coder on-boarding when you have a code cookbook
 
Extreme programming
Extreme programmingExtreme programming
Extreme programming
 
Agile Values, Principles and Practices
Agile Values, Principles and PracticesAgile Values, Principles and Practices
Agile Values, Principles and Practices
 
Linux Commands, C, C++, Java and Python Exercises For Beginners
Linux Commands, C, C++, Java and Python Exercises For BeginnersLinux Commands, C, C++, Java and Python Exercises For Beginners
Linux Commands, C, C++, Java and Python Exercises For Beginners
 
CS101- Introduction to Computing- Lecture 44
CS101- Introduction to Computing- Lecture 44CS101- Introduction to Computing- Lecture 44
CS101- Introduction to Computing- Lecture 44
 
DevOps interview questions and answers
DevOps interview questions and answersDevOps interview questions and answers
DevOps interview questions and answers
 
C, C++, Java, Python, PHP, JavaScript and Linux For Beginners
C, C++, Java, Python, PHP, JavaScript and Linux For BeginnersC, C++, Java, Python, PHP, JavaScript and Linux For Beginners
C, C++, Java, Python, PHP, JavaScript and Linux For Beginners
 
Learning to code in 2020
Learning to code in 2020Learning to code in 2020
Learning to code in 2020
 
Beekman5 std ppt_13
Beekman5 std ppt_13Beekman5 std ppt_13
Beekman5 std ppt_13
 
Learn to Code with MIT App Inventor ( PDFDrive ).pdf
Learn to Code with MIT App Inventor ( PDFDrive ).pdfLearn to Code with MIT App Inventor ( PDFDrive ).pdf
Learn to Code with MIT App Inventor ( PDFDrive ).pdf
 
W1-Intro to python.pptx
W1-Intro to python.pptxW1-Intro to python.pptx
W1-Intro to python.pptx
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmer
 
Programming in Java: Getting Started
Programming in Java: Getting StartedProgramming in Java: Getting Started
Programming in Java: Getting Started
 

More from Chapelgate Christian Academy

Window portraits
Window portraitsWindow portraits
Window portraits
Chapelgate Christian Academy
 
Landscape photography
Landscape photographyLandscape photography
Landscape photography
Chapelgate Christian Academy
 
Silent film production
Silent film productionSilent film production
Silent film production
Chapelgate Christian Academy
 
Action photography
Action photographyAction photography
Action photography
Chapelgate Christian Academy
 
Copyright
CopyrightCopyright
Hiro
HiroHiro
Commercial photography
Commercial photographyCommercial photography
Commercial photography
Chapelgate Christian Academy
 
Edward weston art history- new
Edward weston art history- newEdward weston art history- new
Edward weston art history- new
Chapelgate Christian Academy
 
Min card lesson
Min card lessonMin card lesson
Min card lesson
Chapelgate Christian Academy
 
Portraits dp2 photography
Portraits dp2 photographyPortraits dp2 photography
Portraits dp2 photography
Chapelgate Christian Academy
 
Still life photography
Still life photographyStill life photography
Still life photography
Chapelgate Christian Academy
 
U3 l01 need for programming languages
U3 l01 need for programming languagesU3 l01 need for programming languages
U3 l01 need for programming languages
Chapelgate Christian Academy
 
Introduction to Premiere 2018
Introduction to Premiere 2018Introduction to Premiere 2018
Introduction to Premiere 2018
Chapelgate Christian Academy
 
U4 l03 Checking your Assumptions
U4 l03 Checking your AssumptionsU4 l03 Checking your Assumptions
U4 l03 Checking your Assumptions
Chapelgate Christian Academy
 
U4 l01 What is big data?
U4 l01 What is big data?U4 l01 What is big data?
U4 l01 What is big data?
Chapelgate Christian Academy
 
Cinematic elements
Cinematic elementsCinematic elements
Cinematic elements
Chapelgate Christian Academy
 
Costume and makeup designers
Costume and makeup designersCostume and makeup designers
Costume and makeup designers
Chapelgate Christian Academy
 
Color rgb
Color rgbColor rgb
U2 l6 rapid research format showdown
U2 l6 rapid research   format showdownU2 l6 rapid research   format showdown
U2 l6 rapid research format showdown
Chapelgate Christian Academy
 

More from Chapelgate Christian Academy (20)

Window portraits
Window portraitsWindow portraits
Window portraits
 
Landscape photography
Landscape photographyLandscape photography
Landscape photography
 
Silent film production
Silent film productionSilent film production
Silent film production
 
Action photography
Action photographyAction photography
Action photography
 
Copyright
CopyrightCopyright
Copyright
 
Hiro
HiroHiro
Hiro
 
Planning a shoot
Planning a shootPlanning a shoot
Planning a shoot
 
Commercial photography
Commercial photographyCommercial photography
Commercial photography
 
Edward weston art history- new
Edward weston art history- newEdward weston art history- new
Edward weston art history- new
 
Min card lesson
Min card lessonMin card lesson
Min card lesson
 
Portraits dp2 photography
Portraits dp2 photographyPortraits dp2 photography
Portraits dp2 photography
 
Still life photography
Still life photographyStill life photography
Still life photography
 
U3 l01 need for programming languages
U3 l01 need for programming languagesU3 l01 need for programming languages
U3 l01 need for programming languages
 
Introduction to Premiere 2018
Introduction to Premiere 2018Introduction to Premiere 2018
Introduction to Premiere 2018
 
U4 l03 Checking your Assumptions
U4 l03 Checking your AssumptionsU4 l03 Checking your Assumptions
U4 l03 Checking your Assumptions
 
U4 l01 What is big data?
U4 l01 What is big data?U4 l01 What is big data?
U4 l01 What is big data?
 
Cinematic elements
Cinematic elementsCinematic elements
Cinematic elements
 
Costume and makeup designers
Costume and makeup designersCostume and makeup designers
Costume and makeup designers
 
Color rgb
Color rgbColor rgb
Color rgb
 
U2 l6 rapid research format showdown
U2 l6 rapid research   format showdownU2 l6 rapid research   format showdown
U2 l6 rapid research format showdown
 

Recently uploaded

How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
PedroFerreira53928
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

U3 l4 using simple commands

  • 1. Using Simple Commands Unit 3 Lesson 4 Objectives Students will be able to: â€ĸSolve simple programming challenges when the set of allowed commands is constrained. â€ĸExplain considerations that go into “efficiency” of a program. â€ĸUse App Lab to write programs that create simple drawings with “turtle graphics.” â€ĸWork with a partner to program a turtle task that requires about 50 lines of code. â€ĸJustify or explain choices made when programming a solution to a turtle task.
  • 2. Warm Up Today we will start programming for “real”. ●Think back to the lego activity we did in class. What do you anticipate will be the same about those activities vs the ‘real’ thing?
  • 3. Warm Up Examples ●Focus on creating processes to do things ●Multiple ways to solve a problem ●Some struggles understanding exactly what commands mean ●Working with partners ●Reasoning about solutions by testing them repeatedly, acting them out ●Creatively applying the limited set of commands.
  • 4. CS Vocabulary Recap ●Algorithm: A precise sequence of instructions for processes that can be executed by a computer and are implemented using programming languages. (NOTE: this is the definition from the AP CS Principles framework). ●Low level programming language: A programming language that captures only the most primitive operations available to a machine. Anything that a computer can do can be represented with combinations of low level commands. ●High level programming language: A programming language with many commands and features designed to make common tasks easier to program. Any high level functionality is encapsulated as combinations of low level commands.
  • 5. CS Vocabulary Recap ●Iterate: To repeat in order to achieve, or get closer to, a desired goal. ●Selection: A generic term for a type of programming statement (usually an if- statement) that uses a Boolean condition to determine, or select, whether or not to run a certain block of statements. ●Sequencing: Putting commands in correct order so computers can read the commands. Ted Talk – You Should Learn to Program: https://www.youtube.com/watch?v=xfBWk4nw440
  • 7. On to Programming! ●You'll need to stick with it, pay attention to detail, and collaborate with others. In fact, before we jump in there's one new collaboration skill I want to teach you all.
  • 8. Pair Programming ●Pair programming helps people make better programs by working together. The main idea is that two programmers use a single computer to collaboratively develop code. There's a few rules to make sure this system works effectively. ●There is only one computer and two programmers. ●Assign one student "driver" and the other "navigator". Don't worry, you'll switch often. ●The driver is the only one to touch the keyboard/mouse. ●The navigator should look for problems in the code and keep track of the high-level plan. ●Both driver and navigator should be communicating constantly by talking out loud and sharing ideas. ●Driver and navigator roles must switch when the teacher indicates, typically every 3-5 minutes.
  • 9. App Lab ●App Lab is the programming environment we’re going to use for the rest of the course to write programs and apps. App Lab is embedded into Code Studio for many lessons and usually presents you with a series of problems to solve to learn the basic concepts. As you get better and better at coding, App Lab will show you more and more things you can do. But to start, we’re going to keep things simple and build up the complexity.
  • 10. Go to Code Studio ●Login into Code.org U3L4 Using Simple Commands Bubble 3
  • 11. Compare Solutions and Discuss ●Get together with another pair to compare your solutions for each of the three problems to determine which is the most efficient. Once you’re done sharing, reflect on: ●What strategies or reasoning did you use to identify possible solutions? ●Is the solution that you or another group found the most efficient? How do you know?
  • 12. THINK-PAIR-SHARE ●What is the “most efficient” way to program the solution for the 3x3 grid? ●We care about efficiency when we don’t want to waste something valuable, like money, time, or space. We measured the efficiency of our programs in terms of lines of code, but there are other ways to think about efficiency when talking about code or programs that run on a computer. When we try to create efficient programs, what other valuable resources might we be concerned about conserving? Yourself Friend Class
  • 13. THINK-PAIR-SHARE ●Why constrain to only 4 possible commands? ●What you did today is what you always do when programming: use a language to express a solution to a problem. Collaborative problem-solving skills are important factors in programming. Being able to get together with other people to talk about and make reasoned arguments about the best ways to code things is what professionals do. Yourself Friend Class
  • 14. Reflection (Remember feeling changes, they are not permanent) ○How are you feeling right now? ○What did you do today? ○What was most frustrating about this activity? If you could add one additional simple command, what would it be, and why?