SlideShare a Scribd company logo
BASICS OF CODING
Presented - Sanaa Sharda
Date: 13th January
The CODING Expert
Hi, I am Sanaa Sharda. I live in New Delhi and I’m in
class 11th.
My favourite subjects are physics, computer science
and economics.
I recently made a quiz, called ‘SMARTICUS’.
INTRODUCTION
What are we doing ?
Today we will be learning coding
WHAT IS THIS ?
Who uses computer?
Why is computer important?
Learning through phone, tablet or a
laptop
SMARTICUS - Quiz
Learning Coding - Future Job
Options/ Opportunities
WHAT IS CODING?
A video
What is Coding? Explaining in Hindi - YouTube
TERMS:
1. ALGORITHM
2. SEQUENCE
3. LOOP
4. DECOMPOSITION
5. BRANCHING
6. DEBUG
1. ALGORITHM
An algorithm is a sequence of steps :
● to perform a task
● given an initial situation (i.e., the input)
1. ALGORITHM
An algorithm is a sequence of steps :
● to perform a task
● given an initial situation (i.e., the input)
Importance:
● An algorithm is used everywhere, we also use it in our
daily lives.
● They organize thought and action (computational
thinking)
● A computer program is an implemented algorithm
EXAMPLES OF ALGORITHM
The basic example of an algorithm is
“A RECIPE”
In a recipe to make tea, we first :
● Boil water,
● Add tea powder , ginger, etc.,
● Add milk and let it boil,
● Turn off the stove and strain the tea into
cups.
So, we see here that while making tea in our
everyday lives,we follow a set of steps which
can be called “an algorithm.”
EXAMPLES OF ALGORITHM
Quiz/ Revise
Pronunciation: Algorithm
Can someone explain the concept of Algorithm?
What example did we use?
2. SEQUENCE
A sequence is a series of actions that is
completed in a specific order. Action 1 is
performed, then Action 2, then Action 3,
etc., until all of the actions in the sequence
have been carried out.
QUESTION
What is your morning routine ?
EXAMPLES OF SEQUENCE
A sequence we do every day is a morning routine.
You might wake up, drink some water, take a
shower, eat breakfast, and so on. Everyone's
routine is different, but they're all made up of a
sequence of various actions.
Another example is wearing clothes.
You first wear your undergarments, wear your pant
and shirt, wear socks and so on.
Every event takes place after the other in a
sequence.
Quiz/ Revise
Pronunciation: Sequence
Can someone explain the concept of Sequence?
What example did we use?
3.LOOP
A loop is a programming structure that repeats
a sequence of instructions until a specific
condition is met. Programmers use loops to
cycle through values, add sums of numbers,
repeat functions, and many other things.
The same task/question is repeated again and
again.
EXAMPLES OF LOOP
Doing an 9am-5pm job,is an example of loop in
everyday life. We do the same job everyday and
get paid at the end/starting of the month.
Another example is your morning routine while
going to school. You wake up, get ready, eat your
breakfast, catch the bus, go to school and follow
the school’s timetable. These activities repeat on
each weekday forming a loop.
Quiz/ Revise
Pronunciation: Loop
Can someone explain the concept of Loop?
What example did we use?
Recap - 3 basic concepts in coding
1. Algorithm
2. Sequence
3. Loop
4. DECOMPOSITION
Decomposition is the process of breaking
down complex problems into smaller, more
manageable parts.
This process of breaking down problems
enables us to analyze the different aspects of
them, ground our thinking, and guide
ourselves to a solution.
REAL LIFE EXAMPLE OF DECOMPOSITION
Hosting a party for friends/ wedding
function:
- Who will arrange/take care of food
- Who welcomes guest
- What time it starts
- Who all are you inviting
So you break down a big complex problem
into small manageable parts
Quiz/ Revise
Pronunciation: Decomposition
Can someone explain the concept of Decomposition?
What example did we use?
TECHNICAL EXAMPLE OF DECOMPOSITION
Addition calculation code:
4 + 3 = 7
- Code asks enter first
number
- Code asks enter second
number
- Code does addition
- Code displays result
(Remember input - output?)
5. BRANCHING
Branching is a basic concept in computer
science. It means an instruction that tells a
computer to begin executing a different part of
a program rather than executing statements
one-by-one.
Common branching statements include break ,
continue , return, etc.
EXAMPLES OF BRANCHING
REAL LIFE EXAMPLE OF BRANCHING
Candy Crush Game
If you win LEVEL 1
go to LEVEL 2
Else
PLAY AGAIN
This is branching -
You have two different
options
Quiz/ Revise
Pronunciation: Branching
Can someone explain the concept of Branching?
What example did we use?
TECHNICAL EXAMPLE OF BRANCHING
Number 1 = 4
Number 2 = 3
If addition
4 + 3 = 7
If multiplication
4 x 3 = 12
6. DEBUG
Debugging is the process of detecting and
removing of existing and potential errors
(also called as 'bugs') in a code that can
cause it to behave unexpectedly or crash.
It is a multistep process in software
development. It involves identifying the bug,
finding the source of the bug and correcting
the problem to make the program error-free.
EXAMPLES OF DEBUG
So far we only saw the basic concepts of coding.
Coding is like a language, just like English, Hindi,
Marathi. Coding is Computer’s language. So while
writing code we can make mistake. Debug is process of
rectifying those mistakes in code.
Just like our language, we make mistakes in grammar,
symbol (mathra) etc when young, how did you become
better now?
So you you keep learning and soon will become an
expert coder! Then you can do anything with computer!

More Related Content

Similar to Basics of coding

22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
203318pmpc
 
TDD & Refactoring
TDD & RefactoringTDD & Refactoring
TDD & Refactoring
Hernan Wilkinson
 
Teacher toolkit Pycon UK Sept 2018
Teacher toolkit Pycon UK Sept 2018Teacher toolkit Pycon UK Sept 2018
Teacher toolkit Pycon UK Sept 2018
Sue Sentance
 
Top Emergency Services Educator Tips
Top Emergency Services Educator TipsTop Emergency Services Educator Tips
Top Emergency Services Educator Tips
Rommie Duckworth
 
TDD and Simple Design Workshop - Session 1 - March 2019
TDD and Simple Design Workshop - Session 1 - March 2019TDD and Simple Design Workshop - Session 1 - March 2019
TDD and Simple Design Workshop - Session 1 - March 2019
Paulo Clavijo
 
Basics of Programming - A Review Guide
Basics of Programming - A Review GuideBasics of Programming - A Review Guide
Basics of Programming - A Review Guide
Benjamin Kissinger
 
Issep 2011-skiadelli
Issep 2011-skiadelliIssep 2011-skiadelli
Issep 2011-skiadelli
Maria Skiadelli
 
Ev681 computing 1
Ev681   computing 1Ev681   computing 1
Ev681 computing 1
Pippa Totraku
 
Cloud foundry, Lessons Learned at The Home Depot
Cloud foundry, Lessons Learned at The Home Depot Cloud foundry, Lessons Learned at The Home Depot
Cloud foundry, Lessons Learned at The Home Depot
James Watters
 
Training methdology testers to developers
Training methdology   testers to developersTraining methdology   testers to developers
Training methdology testers to developers
Gurumurthy Ramamurthy
 
G8 MATHEMATICS REASONING MATHEMATICS.docx
G8 MATHEMATICS REASONING MATHEMATICS.docxG8 MATHEMATICS REASONING MATHEMATICS.docx
G8 MATHEMATICS REASONING MATHEMATICS.docx
JelineDeo
 
Ev3 teachers guide web
Ev3 teachers guide webEv3 teachers guide web
Ev3 teachers guide web
Arif Budiman
 
Ev3 teachers guia
Ev3 teachers guiaEv3 teachers guia
Ev3 teachers guia
WebMD
 
Extreme Programming practices for your team
Extreme Programming practices for your teamExtreme Programming practices for your team
Extreme Programming practices for your team
Pawel Lipinski
 
Code Lab Module2 (GDSC Elizade University)
Code Lab Module2 (GDSC Elizade University)Code Lab Module2 (GDSC Elizade University)
Code Lab Module2 (GDSC Elizade University)
Opeoluwa Oyedeji
 
How Do We Teach TDD Keith Ray
How Do We Teach TDD Keith RayHow Do We Teach TDD Keith Ray
How Do We Teach TDD Keith Ray
C. Keith Ray
 
Webinarfinal
WebinarfinalWebinarfinal
Webinarfinal
llysdahl
 
Psychology of Multitasking by DR. RHEA FISER.pptx
Psychology of Multitasking by DR. RHEA FISER.pptxPsychology of Multitasking by DR. RHEA FISER.pptx
Psychology of Multitasking by DR. RHEA FISER.pptx
DR. RHEA SANTILLAN
 
Agile Practices
Agile PracticesAgile Practices
Agile Practices
Thatchaphol Saranurak
 
Learning Basics for Course Developers
Learning Basics for Course DevelopersLearning Basics for Course Developers
Learning Basics for Course Developers
Jenny O'Donnell
 

Similar to Basics of coding (20)

22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf22-prompt engineering noted slide shown.pdf
22-prompt engineering noted slide shown.pdf
 
TDD & Refactoring
TDD & RefactoringTDD & Refactoring
TDD & Refactoring
 
Teacher toolkit Pycon UK Sept 2018
Teacher toolkit Pycon UK Sept 2018Teacher toolkit Pycon UK Sept 2018
Teacher toolkit Pycon UK Sept 2018
 
Top Emergency Services Educator Tips
Top Emergency Services Educator TipsTop Emergency Services Educator Tips
Top Emergency Services Educator Tips
 
TDD and Simple Design Workshop - Session 1 - March 2019
TDD and Simple Design Workshop - Session 1 - March 2019TDD and Simple Design Workshop - Session 1 - March 2019
TDD and Simple Design Workshop - Session 1 - March 2019
 
Basics of Programming - A Review Guide
Basics of Programming - A Review GuideBasics of Programming - A Review Guide
Basics of Programming - A Review Guide
 
Issep 2011-skiadelli
Issep 2011-skiadelliIssep 2011-skiadelli
Issep 2011-skiadelli
 
Ev681 computing 1
Ev681   computing 1Ev681   computing 1
Ev681 computing 1
 
Cloud foundry, Lessons Learned at The Home Depot
Cloud foundry, Lessons Learned at The Home Depot Cloud foundry, Lessons Learned at The Home Depot
Cloud foundry, Lessons Learned at The Home Depot
 
Training methdology testers to developers
Training methdology   testers to developersTraining methdology   testers to developers
Training methdology testers to developers
 
G8 MATHEMATICS REASONING MATHEMATICS.docx
G8 MATHEMATICS REASONING MATHEMATICS.docxG8 MATHEMATICS REASONING MATHEMATICS.docx
G8 MATHEMATICS REASONING MATHEMATICS.docx
 
Ev3 teachers guide web
Ev3 teachers guide webEv3 teachers guide web
Ev3 teachers guide web
 
Ev3 teachers guia
Ev3 teachers guiaEv3 teachers guia
Ev3 teachers guia
 
Extreme Programming practices for your team
Extreme Programming practices for your teamExtreme Programming practices for your team
Extreme Programming practices for your team
 
Code Lab Module2 (GDSC Elizade University)
Code Lab Module2 (GDSC Elizade University)Code Lab Module2 (GDSC Elizade University)
Code Lab Module2 (GDSC Elizade University)
 
How Do We Teach TDD Keith Ray
How Do We Teach TDD Keith RayHow Do We Teach TDD Keith Ray
How Do We Teach TDD Keith Ray
 
Webinarfinal
WebinarfinalWebinarfinal
Webinarfinal
 
Psychology of Multitasking by DR. RHEA FISER.pptx
Psychology of Multitasking by DR. RHEA FISER.pptxPsychology of Multitasking by DR. RHEA FISER.pptx
Psychology of Multitasking by DR. RHEA FISER.pptx
 
Agile Practices
Agile PracticesAgile Practices
Agile Practices
 
Learning Basics for Course Developers
Learning Basics for Course DevelopersLearning Basics for Course Developers
Learning Basics for Course Developers
 

Recently uploaded

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
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
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
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
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
eBook.com.bd (প্রয়োজনীয় বাংলা বই)
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
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
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
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
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
simonomuemu
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
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
 

Recently uploaded (20)

Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
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” .
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
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
 
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdfবাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
বাংলাদেশ অর্থনৈতিক সমীক্ষা (Economic Review) ২০২৪ UJS App.pdf
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
DRUGS AND ITS classification slide share
DRUGS AND ITS classification slide shareDRUGS AND ITS classification slide share
DRUGS AND ITS classification slide share
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
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
 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Smart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICTSmart-Money for SMC traders good time and ICT
Smart-Money for SMC traders good time and ICT
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
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
 

Basics of coding

  • 1. BASICS OF CODING Presented - Sanaa Sharda Date: 13th January The CODING Expert
  • 2. Hi, I am Sanaa Sharda. I live in New Delhi and I’m in class 11th. My favourite subjects are physics, computer science and economics. I recently made a quiz, called ‘SMARTICUS’. INTRODUCTION
  • 3. What are we doing ?
  • 4. Today we will be learning coding
  • 7. Why is computer important? Learning through phone, tablet or a laptop
  • 9. Learning Coding - Future Job Options/ Opportunities
  • 10.
  • 11. WHAT IS CODING? A video What is Coding? Explaining in Hindi - YouTube
  • 12. TERMS: 1. ALGORITHM 2. SEQUENCE 3. LOOP 4. DECOMPOSITION 5. BRANCHING 6. DEBUG
  • 13. 1. ALGORITHM An algorithm is a sequence of steps : ● to perform a task ● given an initial situation (i.e., the input)
  • 14. 1. ALGORITHM An algorithm is a sequence of steps : ● to perform a task ● given an initial situation (i.e., the input) Importance: ● An algorithm is used everywhere, we also use it in our daily lives. ● They organize thought and action (computational thinking) ● A computer program is an implemented algorithm
  • 15. EXAMPLES OF ALGORITHM The basic example of an algorithm is “A RECIPE” In a recipe to make tea, we first : ● Boil water, ● Add tea powder , ginger, etc., ● Add milk and let it boil, ● Turn off the stove and strain the tea into cups. So, we see here that while making tea in our everyday lives,we follow a set of steps which can be called “an algorithm.”
  • 17. Quiz/ Revise Pronunciation: Algorithm Can someone explain the concept of Algorithm? What example did we use?
  • 18. 2. SEQUENCE A sequence is a series of actions that is completed in a specific order. Action 1 is performed, then Action 2, then Action 3, etc., until all of the actions in the sequence have been carried out.
  • 19. QUESTION What is your morning routine ?
  • 20. EXAMPLES OF SEQUENCE A sequence we do every day is a morning routine. You might wake up, drink some water, take a shower, eat breakfast, and so on. Everyone's routine is different, but they're all made up of a sequence of various actions. Another example is wearing clothes. You first wear your undergarments, wear your pant and shirt, wear socks and so on. Every event takes place after the other in a sequence.
  • 21. Quiz/ Revise Pronunciation: Sequence Can someone explain the concept of Sequence? What example did we use?
  • 22. 3.LOOP A loop is a programming structure that repeats a sequence of instructions until a specific condition is met. Programmers use loops to cycle through values, add sums of numbers, repeat functions, and many other things. The same task/question is repeated again and again.
  • 23. EXAMPLES OF LOOP Doing an 9am-5pm job,is an example of loop in everyday life. We do the same job everyday and get paid at the end/starting of the month. Another example is your morning routine while going to school. You wake up, get ready, eat your breakfast, catch the bus, go to school and follow the school’s timetable. These activities repeat on each weekday forming a loop.
  • 24. Quiz/ Revise Pronunciation: Loop Can someone explain the concept of Loop? What example did we use?
  • 25. Recap - 3 basic concepts in coding 1. Algorithm 2. Sequence 3. Loop
  • 26. 4. DECOMPOSITION Decomposition is the process of breaking down complex problems into smaller, more manageable parts. This process of breaking down problems enables us to analyze the different aspects of them, ground our thinking, and guide ourselves to a solution.
  • 27. REAL LIFE EXAMPLE OF DECOMPOSITION Hosting a party for friends/ wedding function: - Who will arrange/take care of food - Who welcomes guest - What time it starts - Who all are you inviting So you break down a big complex problem into small manageable parts
  • 28. Quiz/ Revise Pronunciation: Decomposition Can someone explain the concept of Decomposition? What example did we use?
  • 29. TECHNICAL EXAMPLE OF DECOMPOSITION Addition calculation code: 4 + 3 = 7 - Code asks enter first number - Code asks enter second number - Code does addition - Code displays result (Remember input - output?)
  • 30. 5. BRANCHING Branching is a basic concept in computer science. It means an instruction that tells a computer to begin executing a different part of a program rather than executing statements one-by-one. Common branching statements include break , continue , return, etc.
  • 32. REAL LIFE EXAMPLE OF BRANCHING Candy Crush Game If you win LEVEL 1 go to LEVEL 2 Else PLAY AGAIN This is branching - You have two different options
  • 33. Quiz/ Revise Pronunciation: Branching Can someone explain the concept of Branching? What example did we use?
  • 34. TECHNICAL EXAMPLE OF BRANCHING Number 1 = 4 Number 2 = 3 If addition 4 + 3 = 7 If multiplication 4 x 3 = 12
  • 35. 6. DEBUG Debugging is the process of detecting and removing of existing and potential errors (also called as 'bugs') in a code that can cause it to behave unexpectedly or crash. It is a multistep process in software development. It involves identifying the bug, finding the source of the bug and correcting the problem to make the program error-free.
  • 36. EXAMPLES OF DEBUG So far we only saw the basic concepts of coding. Coding is like a language, just like English, Hindi, Marathi. Coding is Computer’s language. So while writing code we can make mistake. Debug is process of rectifying those mistakes in code. Just like our language, we make mistakes in grammar, symbol (mathra) etc when young, how did you become better now? So you you keep learning and soon will become an expert coder! Then you can do anything with computer!

Editor's Notes

  1. Speak more about the quiz And why coding is important. According to me coding is important for everyone as it helps you create new projects, helps you to understand different aspects of technology, etc.
  2. Speak about coding.
  3. Ask the kids
  4. Show through collab
  5. Ask- How do u make tea ? (list the steps)
  6. Show writing and erasing at that time.