SlideShare a Scribd company logo
WHAT DO THESE CODES DO?
OUTCOME 
Be able to create a working program by 
debugging and fixing coding errors and 
gaps. 
Be able to make effective use of comments 
in code to find problems 
Build on prior understanding of 
programming to complete algorithms.
FIND THE PROBLEMS WITH THE CODE 
Go to the following site and download and save the main task part 1 
program. 
You then need to edit this using Python IDLE. 
Level 4 Task - Red Find the errors in the code and 
attempt to fix them 
Level 5 Task - Amber Find and fix the errors adding 
comments to show what you 
have done 
Level 6 Task - Green Find and fix any errors 
commenting on the changes. 
Where possible refine and 
improve the program to make it 
more efficient
WHAT YOU FOUND SO FAR. 
Red I can identify mistakes 
in code and partly fix 
them 
Amber I can find a fix 
programs adding 
comments 
Green I can find a fix and 
refine programs 
adding comments
NOW FOR MORE DIFFICULT CODING 
Go to the following site and download and save the main 
task part 2 program. 
You then need to edit this using Python IDLE. 
Level 4 Task - Red Find the errors in the code and 
attempt to fix them 
Level 5 Task - Amber Find and fix the errors adding 
comments to show what you 
have done 
Level 6 Task - Green Find and fix any errors 
commenting on the changes. 
Where possible refine and 
improve the program to make it 
more efficient
WHAT HAVE YOU LEARNED 
In a word document write the answers with a short 
explanation to each of the following questions. 
1. Why are comments so important to 
programmers? 
2. What were the most common errors in the 
code?

More Related Content

What's hot

Tdd like beethoven
Tdd like beethovenTdd like beethoven
Tdd like beethoven
Jose E. Rodriguez Huerta
 
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspecTDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
Patrick Luca Fazzi
 
Why programming is important
Why programming is importantWhy programming is important
Why programming is important
Aman Kumar
 
Coding Camp Day 1 Presentation
Coding Camp Day 1 PresentationCoding Camp Day 1 Presentation
Coding Camp Day 1 Presentation
Annamarie Carlson
 
Coding Camp Day 1
Coding Camp Day 1Coding Camp Day 1
Coding Camp Day 1
Annamarie Carlson
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
dipti reya
 
PhillyXP Pair Programming
PhillyXP Pair ProgrammingPhillyXP Pair Programming
PhillyXP Pair Programming
Anthony Sciamanna
 
The principles of good programming
The principles of good programmingThe principles of good programming
The principles of good programming
Angelin R
 
Compiler design error handling
Compiler design error handlingCompiler design error handling
Compiler design error handling
RohitK71
 
apidays LIVE New York 2021 - Communication is just as Important as Code by M...
apidays LIVE New York 2021 - Communication is just as Important as Code  by M...apidays LIVE New York 2021 - Communication is just as Important as Code  by M...
apidays LIVE New York 2021 - Communication is just as Important as Code by M...
apidays
 
React Apps at AirHelp. Lessons learned.
React Apps at AirHelp. Lessons learned.React Apps at AirHelp. Lessons learned.
React Apps at AirHelp. Lessons learned.
AirHelp
 
Design & Prototype an API
Design & Prototype an APIDesign & Prototype an API
Design & Prototype an API
Postman
 
Clean Code: Successive Refinement
Clean Code: Successive RefinementClean Code: Successive Refinement
Clean Code: Successive Refinement
Ali A Jalil
 
Make it clean - scala clean code
Make it clean - scala clean codeMake it clean - scala clean code
Make it clean - scala clean code
Adi Polak
 
Democratic Deploys at Airbnb
Democratic Deploys at AirbnbDemocratic Deploys at Airbnb
Democratic Deploys at Airbnb
New Relic
 
Learn HTML5 & JEE7 by doing
Learn HTML5 & JEE7 by doingLearn HTML5 & JEE7 by doing
Learn HTML5 & JEE7 by doing
Mohamed Taman
 
Getting developers hooked on your api
Getting developers hooked on your apiGetting developers hooked on your api
Getting developers hooked on your api
Nicolas Garnier
 
Open and Close Door ppt
 Open and Close Door ppt Open and Close Door ppt
Open and Close Door ppt
Devyani Vaidya
 
Building Web Apps with Python - Code Heroku
Building Web Apps with Python - Code HerokuBuilding Web Apps with Python - Code Heroku
Building Web Apps with Python - Code Heroku
codeheroku
 

What's hot (19)

Tdd like beethoven
Tdd like beethovenTdd like beethoven
Tdd like beethoven
 
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspecTDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
 
Why programming is important
Why programming is importantWhy programming is important
Why programming is important
 
Coding Camp Day 1 Presentation
Coding Camp Day 1 PresentationCoding Camp Day 1 Presentation
Coding Camp Day 1 Presentation
 
Coding Camp Day 1
Coding Camp Day 1Coding Camp Day 1
Coding Camp Day 1
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
PhillyXP Pair Programming
PhillyXP Pair ProgrammingPhillyXP Pair Programming
PhillyXP Pair Programming
 
The principles of good programming
The principles of good programmingThe principles of good programming
The principles of good programming
 
Compiler design error handling
Compiler design error handlingCompiler design error handling
Compiler design error handling
 
apidays LIVE New York 2021 - Communication is just as Important as Code by M...
apidays LIVE New York 2021 - Communication is just as Important as Code  by M...apidays LIVE New York 2021 - Communication is just as Important as Code  by M...
apidays LIVE New York 2021 - Communication is just as Important as Code by M...
 
React Apps at AirHelp. Lessons learned.
React Apps at AirHelp. Lessons learned.React Apps at AirHelp. Lessons learned.
React Apps at AirHelp. Lessons learned.
 
Design & Prototype an API
Design & Prototype an APIDesign & Prototype an API
Design & Prototype an API
 
Clean Code: Successive Refinement
Clean Code: Successive RefinementClean Code: Successive Refinement
Clean Code: Successive Refinement
 
Make it clean - scala clean code
Make it clean - scala clean codeMake it clean - scala clean code
Make it clean - scala clean code
 
Democratic Deploys at Airbnb
Democratic Deploys at AirbnbDemocratic Deploys at Airbnb
Democratic Deploys at Airbnb
 
Learn HTML5 & JEE7 by doing
Learn HTML5 & JEE7 by doingLearn HTML5 & JEE7 by doing
Learn HTML5 & JEE7 by doing
 
Getting developers hooked on your api
Getting developers hooked on your apiGetting developers hooked on your api
Getting developers hooked on your api
 
Open and Close Door ppt
 Open and Close Door ppt Open and Close Door ppt
Open and Close Door ppt
 
Building Web Apps with Python - Code Heroku
Building Web Apps with Python - Code HerokuBuilding Web Apps with Python - Code Heroku
Building Web Apps with Python - Code Heroku
 

Viewers also liked

Game design part 8
Game design part 8Game design part 8
Game design part 8
Andrew Willetts
 
Technology through the years
Technology through the yearsTechnology through the years
Technology through the years
Andrew Willetts
 
inputs
inputsinputs
Scratch part 4 moving around the maze
Scratch part 4   moving around the mazeScratch part 4   moving around the maze
Scratch part 4 moving around the maze
Andrew Willetts
 
Databases dfd
Databases dfdDatabases dfd
Databases dfd
Andrew Willetts
 
Alice quick programming questions
Alice quick programming questionsAlice quick programming questions
Alice quick programming questions
Andrew Willetts
 
How civilised were the egyptians v2
How civilised were the egyptians v2How civilised were the egyptians v2
How civilised were the egyptians v2
Andrew Willetts
 
Query tasks
Query tasksQuery tasks
Query tasks
Andrew Willetts
 
Filtering tasks
Filtering tasksFiltering tasks
Filtering tasks
Andrew Willetts
 
Misconception questions lesson 1 plenary
Misconception questions lesson 1 plenaryMisconception questions lesson 1 plenary
Misconception questions lesson 1 plenary
Andrew Willetts
 
Photoshop tutorial 2 rubber and quick select tools
Photoshop tutorial 2   rubber and quick select toolsPhotoshop tutorial 2   rubber and quick select tools
Photoshop tutorial 2 rubber and quick select tools
Andrew Willetts
 
Programming Variables
Programming VariablesProgramming Variables
Programming Variables
Andrew Willetts
 
Programming Hello World
Programming Hello WorldProgramming Hello World
Programming Hello World
Andrew Willetts
 
Photoshop tutorial 4 spot healing tool
Photoshop tutorial 4   spot healing toolPhotoshop tutorial 4   spot healing tool
Photoshop tutorial 4 spot healing tool
Andrew Willetts
 
Photoshop tutorial 6 desaturisation
Photoshop tutorial 6   desaturisationPhotoshop tutorial 6   desaturisation
Photoshop tutorial 6 desaturisation
Andrew Willetts
 
Photoshop tutorial 3 stamp tool
Photoshop tutorial 3   stamp toolPhotoshop tutorial 3   stamp tool
Photoshop tutorial 3 stamp tool
Andrew Willetts
 
Data flow diagrams
Data flow diagramsData flow diagrams
Data flow diagrams
Andrew Willetts
 

Viewers also liked (17)

Game design part 8
Game design part 8Game design part 8
Game design part 8
 
Technology through the years
Technology through the yearsTechnology through the years
Technology through the years
 
inputs
inputsinputs
inputs
 
Scratch part 4 moving around the maze
Scratch part 4   moving around the mazeScratch part 4   moving around the maze
Scratch part 4 moving around the maze
 
Databases dfd
Databases dfdDatabases dfd
Databases dfd
 
Alice quick programming questions
Alice quick programming questionsAlice quick programming questions
Alice quick programming questions
 
How civilised were the egyptians v2
How civilised were the egyptians v2How civilised were the egyptians v2
How civilised were the egyptians v2
 
Query tasks
Query tasksQuery tasks
Query tasks
 
Filtering tasks
Filtering tasksFiltering tasks
Filtering tasks
 
Misconception questions lesson 1 plenary
Misconception questions lesson 1 plenaryMisconception questions lesson 1 plenary
Misconception questions lesson 1 plenary
 
Photoshop tutorial 2 rubber and quick select tools
Photoshop tutorial 2   rubber and quick select toolsPhotoshop tutorial 2   rubber and quick select tools
Photoshop tutorial 2 rubber and quick select tools
 
Programming Variables
Programming VariablesProgramming Variables
Programming Variables
 
Programming Hello World
Programming Hello WorldProgramming Hello World
Programming Hello World
 
Photoshop tutorial 4 spot healing tool
Photoshop tutorial 4   spot healing toolPhotoshop tutorial 4   spot healing tool
Photoshop tutorial 4 spot healing tool
 
Photoshop tutorial 6 desaturisation
Photoshop tutorial 6   desaturisationPhotoshop tutorial 6   desaturisation
Photoshop tutorial 6 desaturisation
 
Photoshop tutorial 3 stamp tool
Photoshop tutorial 3   stamp toolPhotoshop tutorial 3   stamp tool
Photoshop tutorial 3 stamp tool
 
Data flow diagrams
Data flow diagramsData flow diagrams
Data flow diagrams
 

Similar to Year 8 python part 1 - debugging

Programming Project Part 6
Programming Project Part 6Programming Project Part 6
Programming Project Part 6
Bobby Billings
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
Ma Ella Masilungan
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
HafeezullahJamro
 
L20 Agile Principles
L20 Agile PrinciplesL20 Agile Principles
L20 Agile Principles
Ólafur Andri Ragnarsson
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
primeteacher32
 
Best pratice
Best praticeBest pratice
Best pratice
Eugenio Romano
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Cavite National Science High School
 
Coding principles
Coding principles Coding principles
Coding principles
DevAdnani
 
Ide description
Ide descriptionIde description
Ide description
Nidhi Baranwal
 
How have we developed product without bugs
How have we developed product without bugsHow have we developed product without bugs
How have we developed product without bugs
Sigma Software
 
Code tuning strategies
Code tuning strategiesCode tuning strategies
Code tuning strategies
Asha Sari
 
Computer
ComputerComputer
Computer
leeparkkim
 
COMPUTER PROGRAMMING 10 WEEK 1.pptx
COMPUTER PROGRAMMING 10 WEEK 1.pptxCOMPUTER PROGRAMMING 10 WEEK 1.pptx
COMPUTER PROGRAMMING 10 WEEK 1.pptx
NealFarias
 
Comso c++
Comso c++Comso c++
Comso c++
Mi L
 
How to start developing iOS apps
How to start developing iOS appsHow to start developing iOS apps
How to start developing iOS apps
Andrew Kozlik
 
Preparing for the WebGeek DevCup
Preparing for the WebGeek DevCupPreparing for the WebGeek DevCup
Preparing for the WebGeek DevCup
bryanbibat
 
Unwritten Manual for Pair Programming
Unwritten Manual for Pair ProgrammingUnwritten Manual for Pair Programming
Unwritten Manual for Pair Programming
Lemi Orhan Ergin
 
Mobile app project
Mobile app projectMobile app project
Mobile app project
missstevenson01
 
Intro to programming and how to start that career
Intro to programming and how to start that careerIntro to programming and how to start that career
Intro to programming and how to start that career
Tarek Alabd
 
Quick Intro to Clean Coding
Quick Intro to Clean CodingQuick Intro to Clean Coding
Quick Intro to Clean Coding
Ecommerce Solution Provider SysIQ
 

Similar to Year 8 python part 1 - debugging (20)

Programming Project Part 6
Programming Project Part 6Programming Project Part 6
Programming Project Part 6
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
 
L20 Agile Principles
L20 Agile PrinciplesL20 Agile Principles
L20 Agile Principles
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Best pratice
Best praticeBest pratice
Best pratice
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Coding principles
Coding principles Coding principles
Coding principles
 
Ide description
Ide descriptionIde description
Ide description
 
How have we developed product without bugs
How have we developed product without bugsHow have we developed product without bugs
How have we developed product without bugs
 
Code tuning strategies
Code tuning strategiesCode tuning strategies
Code tuning strategies
 
Computer
ComputerComputer
Computer
 
COMPUTER PROGRAMMING 10 WEEK 1.pptx
COMPUTER PROGRAMMING 10 WEEK 1.pptxCOMPUTER PROGRAMMING 10 WEEK 1.pptx
COMPUTER PROGRAMMING 10 WEEK 1.pptx
 
Comso c++
Comso c++Comso c++
Comso c++
 
How to start developing iOS apps
How to start developing iOS appsHow to start developing iOS apps
How to start developing iOS apps
 
Preparing for the WebGeek DevCup
Preparing for the WebGeek DevCupPreparing for the WebGeek DevCup
Preparing for the WebGeek DevCup
 
Unwritten Manual for Pair Programming
Unwritten Manual for Pair ProgrammingUnwritten Manual for Pair Programming
Unwritten Manual for Pair Programming
 
Mobile app project
Mobile app projectMobile app project
Mobile app project
 
Intro to programming and how to start that career
Intro to programming and how to start that careerIntro to programming and how to start that career
Intro to programming and how to start that career
 
Quick Intro to Clean Coding
Quick Intro to Clean CodingQuick Intro to Clean Coding
Quick Intro to Clean Coding
 

More from Andrew Willetts

Photoshop tutorial 5 clipping masks
Photoshop tutorial 5   clipping masksPhotoshop tutorial 5   clipping masks
Photoshop tutorial 5 clipping masks
Andrew Willetts
 
Year 8 python part 1 - debugging
Year 8 python part 1 - debuggingYear 8 python part 1 - debugging
Year 8 python part 1 - debugging
Andrew Willetts
 
Year 7 e-safety part 2
Year 7   e-safety part 2Year 7   e-safety part 2
Year 7 e-safety part 2
Andrew Willetts
 
Year 7 e-safety part 1
Year 7   e-safety part 1Year 7   e-safety part 1
Year 7 e-safety part 1
Andrew Willetts
 
Photoshop tutorial 1 setting up the canvas
Photoshop tutorial 1   setting up the canvasPhotoshop tutorial 1   setting up the canvas
Photoshop tutorial 1 setting up the canvas
Andrew Willetts
 
Programming Challenge
Programming ChallengeProgramming Challenge
Programming Challenge
Andrew Willetts
 
Programming Adding Interupts
Programming Adding InteruptsProgramming Adding Interupts
Programming Adding Interupts
Andrew Willetts
 
03 outputs
03   outputs03   outputs
03 outputs
Andrew Willetts
 
Computer Devices - What Are they?
Computer Devices - What Are they?Computer Devices - What Are they?
Computer Devices - What Are they?
Andrew Willetts
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
Andrew Willetts
 
Alice part 2 – background objects
Alice part 2 – background objectsAlice part 2 – background objects
Alice part 2 – background objects
Andrew Willetts
 
Alice part 1 – getting started Update
Alice part 1 – getting started UpdateAlice part 1 – getting started Update
Alice part 1 – getting started Update
Andrew Willetts
 
Alice part 3 – adding text
Alice part 3 – adding textAlice part 3 – adding text
Alice part 3 – adding text
Andrew Willetts
 
Alice part 1 – getting started
Alice part 1 – getting startedAlice part 1 – getting started
Alice part 1 – getting started
Andrew Willetts
 
Plenary animation quiz
Plenary animation quizPlenary animation quiz
Plenary animation quiz
Andrew Willetts
 
Database tasks
Database tasksDatabase tasks
Database tasks
Andrew Willetts
 
Part 5 – animating your character
Part 5 – animating your characterPart 5 – animating your character
Part 5 – animating your character
Andrew Willetts
 

More from Andrew Willetts (17)

Photoshop tutorial 5 clipping masks
Photoshop tutorial 5   clipping masksPhotoshop tutorial 5   clipping masks
Photoshop tutorial 5 clipping masks
 
Year 8 python part 1 - debugging
Year 8 python part 1 - debuggingYear 8 python part 1 - debugging
Year 8 python part 1 - debugging
 
Year 7 e-safety part 2
Year 7   e-safety part 2Year 7   e-safety part 2
Year 7 e-safety part 2
 
Year 7 e-safety part 1
Year 7   e-safety part 1Year 7   e-safety part 1
Year 7 e-safety part 1
 
Photoshop tutorial 1 setting up the canvas
Photoshop tutorial 1   setting up the canvasPhotoshop tutorial 1   setting up the canvas
Photoshop tutorial 1 setting up the canvas
 
Programming Challenge
Programming ChallengeProgramming Challenge
Programming Challenge
 
Programming Adding Interupts
Programming Adding InteruptsProgramming Adding Interupts
Programming Adding Interupts
 
03 outputs
03   outputs03   outputs
03 outputs
 
Computer Devices - What Are they?
Computer Devices - What Are they?Computer Devices - What Are they?
Computer Devices - What Are they?
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Alice part 2 – background objects
Alice part 2 – background objectsAlice part 2 – background objects
Alice part 2 – background objects
 
Alice part 1 – getting started Update
Alice part 1 – getting started UpdateAlice part 1 – getting started Update
Alice part 1 – getting started Update
 
Alice part 3 – adding text
Alice part 3 – adding textAlice part 3 – adding text
Alice part 3 – adding text
 
Alice part 1 – getting started
Alice part 1 – getting startedAlice part 1 – getting started
Alice part 1 – getting started
 
Plenary animation quiz
Plenary animation quizPlenary animation quiz
Plenary animation quiz
 
Database tasks
Database tasksDatabase tasks
Database tasks
 
Part 5 – animating your character
Part 5 – animating your characterPart 5 – animating your character
Part 5 – animating your character
 

Recently uploaded

Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
Colégio Santa Teresinha
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
WaniBasim
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
taiba qazi
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 

Recently uploaded (20)

Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
MARY JANE WILSON, A “BOA MÃE” .
MARY JANE WILSON, A “BOA MÃE”           .MARY JANE WILSON, A “BOA MÃE”           .
MARY JANE WILSON, A “BOA MÃE” .
 
Liberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdfLiberal Approach to the Study of Indian Politics.pdf
Liberal Approach to the Study of Indian Politics.pdf
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 

Year 8 python part 1 - debugging

  • 1.
  • 2. WHAT DO THESE CODES DO?
  • 3. OUTCOME Be able to create a working program by debugging and fixing coding errors and gaps. Be able to make effective use of comments in code to find problems Build on prior understanding of programming to complete algorithms.
  • 4. FIND THE PROBLEMS WITH THE CODE Go to the following site and download and save the main task part 1 program. You then need to edit this using Python IDLE. Level 4 Task - Red Find the errors in the code and attempt to fix them Level 5 Task - Amber Find and fix the errors adding comments to show what you have done Level 6 Task - Green Find and fix any errors commenting on the changes. Where possible refine and improve the program to make it more efficient
  • 5. WHAT YOU FOUND SO FAR. Red I can identify mistakes in code and partly fix them Amber I can find a fix programs adding comments Green I can find a fix and refine programs adding comments
  • 6. NOW FOR MORE DIFFICULT CODING Go to the following site and download and save the main task part 2 program. You then need to edit this using Python IDLE. Level 4 Task - Red Find the errors in the code and attempt to fix them Level 5 Task - Amber Find and fix the errors adding comments to show what you have done Level 6 Task - Green Find and fix any errors commenting on the changes. Where possible refine and improve the program to make it more efficient
  • 7. WHAT HAVE YOU LEARNED In a word document write the answers with a short explanation to each of the following questions. 1. Why are comments so important to programmers? 2. What were the most common errors in the code?