SlideShare a Scribd company logo
1 of 12
Learn to Code
in 15 minutes
What is coding?
 Using a programming language
 To write a set of specific instructions
 Describing actions to be done to solve a problem
 That when followed by the computer
 Will give a known answer to that problem
What is a programming language?
 A set of possible instructions with simple, strict, rules
 Describing actions to be done
 Which when followed by the computer
 Will give a known answer every time
Which language ?
 The primary instruction set of the core language will be used today
 Only 6 rules
 A set of 7 possible instructions
 It can be used by anyone, even young children can use the core language
 With some extension packs it can be used to put satellites in orbit, build
massive structures and allows the GPS system to work
Which language ?
 Devised by some of the greatest minds in the history of humanity
 Is the basis of most of the other programming languages ever created
 In fact without this language we could not have created the computers we
have today
 This language has:
 A strict syntax using infix notation
 Only hard-coded values are allowed in the variables
 Strict precedence of instructions
 Subroutines (and nested subroutines)
 Many expansions, derivatives, forks, all growing from the core language
What are the rules?
 You may only use the instructions and variables specified
 The variables can only contain the symbols:
 “0123456789.”
 The instructions can only contain the symbols
 “+-*/()=“
 Anything else is an error
 You read the instructions left to right and top to bottom until you reach the “=“
instruction
 If you encounter the “(“ instruction this is a subroutine, everything from there to
the “)” instruction is done first and the results returned to the main program as a
single variable, you can have “( )” pairs inside another pair
 The instructions are then done in a strict precedence order “*/+-”
What are the instructions?
 + This means add the two variables either side together and store the
result
 - This means subtract the variable on the right from the variable on the
left and store the result
 / This means divide the variable on the left by the variable on the
right and store the result
 * This means multiply the variables either side together and store the
result
 = This means execute the program encoded to the left and store the
result to the right
First program (Hello World – Sort of)
 Problem - you need to add together the numbers 1 and 2
 A program to do this is:
 1 + 2 =
 When you run this program using the computer in your head, following the
rules, to apply the instructions to the variables you should get the result 3
 Any clues yet which language?
Slightly more complex problem
 A Dinner costs £12 per head
 There are fifteen couples
 And four children
 Children are ½ price
 You need to add a 10 percent tip
 Write a program to calculate this
One possible program to solve the
problem
 (12 * 15 * 2 + 12 * ½ * 4) * 110 / 100 =
 Following the rules we get 422.4
 Problem solved, the dinner will cost £422.40
So you can already code !
Coding
 Using a programming language
 To write a set of specific
instructions
 Describing actions to be done to
solve a problem
 That when followed by the
computer
 Will give a known answer to that
problem
What You can Do
 Arithmetic Notation
 An Equation
 The Instructions or Operators
 Your brain or a calculator
 The same one every time
But how did we get to the code?
We got to the code by breaking the problem
into steps, then coding the steps
 Price times number of couples times two people
 Price times a half times number of children
 Add these two numbers together
 Multiply by 110 divided by 100 to add the ten percent tip
But that is programming and that takes more than 15
minutes to learn, but again you probably already know how!
Look out for the next presentation on
programming

More Related Content

Viewers also liked

70global presentation
70global presentation70global presentation
70global presentationMark Fisher
 
PURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.com
PURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.comPURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.com
PURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.comBangalore Property
 
Manual activación moviecity Smart TV
Manual activación moviecity Smart TVManual activación moviecity Smart TV
Manual activación moviecity Smart TVLG Electronics Chile
 
How Much is My Information Worth on the Dark Web?
How Much is My Information Worth on the Dark Web?How Much is My Information Worth on the Dark Web?
How Much is My Information Worth on the Dark Web?Mark Fisher
 

Viewers also liked (9)

Esei
EseiEsei
Esei
 
70global presentation
70global presentation70global presentation
70global presentation
 
M5 s1 t1_transf_ap sesion1
M5 s1 t1_transf_ap sesion1M5 s1 t1_transf_ap sesion1
M5 s1 t1_transf_ap sesion1
 
PURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.com
PURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.comPURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.com
PURCHASE OF PROPERTY - POST REGISTRATION ACTIVITIES - bangalore5.com
 
IaN+ New Tomihiro museum
IaN+ New Tomihiro museumIaN+ New Tomihiro museum
IaN+ New Tomihiro museum
 
Manual activación moviecity Smart TV
Manual activación moviecity Smart TVManual activación moviecity Smart TV
Manual activación moviecity Smart TV
 
Cuestionario AVA Y OVA
Cuestionario AVA Y OVACuestionario AVA Y OVA
Cuestionario AVA Y OVA
 
Curriculum Vitae
Curriculum VitaeCurriculum Vitae
Curriculum Vitae
 
How Much is My Information Worth on the Dark Web?
How Much is My Information Worth on the Dark Web?How Much is My Information Worth on the Dark Web?
How Much is My Information Worth on the Dark Web?
 

Similar to Learn to Code the Basics in 15 Minutes with this Simple Programming Language

Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingHamad Odhabi
 
C programming .pptx
C programming .pptxC programming .pptx
C programming .pptxSuhaibKhan62
 
Basics of Programming - A Review Guide
Basics of Programming - A Review GuideBasics of Programming - A Review Guide
Basics of Programming - A Review GuideBenjamin Kissinger
 
The secret of Functional Programming revealed!
The secret of Functional Programming revealed!The secret of Functional Programming revealed!
The secret of Functional Programming revealed!Torbjørn Marø
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen de Castro
 
Small Basic Calculator Apps lesson
Small Basic Calculator Apps lessonSmall Basic Calculator Apps lesson
Small Basic Calculator Apps lessonEdujetage
 
Learn Programming with Livecoding.tv http://goo.gl/tIgO1I
Learn Programming with Livecoding.tv http://goo.gl/tIgO1ILearn Programming with Livecoding.tv http://goo.gl/tIgO1I
Learn Programming with Livecoding.tv http://goo.gl/tIgO1Ilivecoding.tv
 
Computer Programming Computer Programming
Computer Programming Computer ProgrammingComputer Programming Computer Programming
Computer Programming Computer Programmingarifhasan88
 
L1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdfL1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdfMMRF2
 
structured programming Introduction to c fundamentals
structured programming Introduction to c fundamentalsstructured programming Introduction to c fundamentals
structured programming Introduction to c fundamentalsOMWOMA JACKSON
 
Mobile Warsaw - Efficient Localization for iOS Apps
Mobile Warsaw - Efficient Localization for iOS AppsMobile Warsaw - Efficient Localization for iOS Apps
Mobile Warsaw - Efficient Localization for iOS AppsEdgar Figueiredo
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to ProgrammingALI RAZA
 

Similar to Learn to Code the Basics in 15 Minutes with this Simple Programming Language (20)

Cis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programmingCis 1403 lab1- the process of programming
Cis 1403 lab1- the process of programming
 
C programming .pptx
C programming .pptxC programming .pptx
C programming .pptx
 
Basics of Programming - A Review Guide
Basics of Programming - A Review GuideBasics of Programming - A Review Guide
Basics of Programming - A Review Guide
 
01 Programming Fundamentals.pptx
01 Programming Fundamentals.pptx01 Programming Fundamentals.pptx
01 Programming Fundamentals.pptx
 
The secret of Functional Programming revealed!
The secret of Functional Programming revealed!The secret of Functional Programming revealed!
The secret of Functional Programming revealed!
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
Small Basic Calculator Apps lesson
Small Basic Calculator Apps lessonSmall Basic Calculator Apps lesson
Small Basic Calculator Apps lesson
 
Learn Programming with Livecoding.tv http://goo.gl/tIgO1I
Learn Programming with Livecoding.tv http://goo.gl/tIgO1ILearn Programming with Livecoding.tv http://goo.gl/tIgO1I
Learn Programming with Livecoding.tv http://goo.gl/tIgO1I
 
Computer Programming Computer Programming
Computer Programming Computer ProgrammingComputer Programming Computer Programming
Computer Programming Computer Programming
 
L1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdfL1. Basic Programming Concepts.pdf
L1. Basic Programming Concepts.pdf
 
Rubykin
Rubykin Rubykin
Rubykin
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
 
structured programming Introduction to c fundamentals
structured programming Introduction to c fundamentalsstructured programming Introduction to c fundamentals
structured programming Introduction to c fundamentals
 
Mobile Warsaw - Efficient Localization for iOS Apps
Mobile Warsaw - Efficient Localization for iOS AppsMobile Warsaw - Efficient Localization for iOS Apps
Mobile Warsaw - Efficient Localization for iOS Apps
 
Programming
ProgrammingProgramming
Programming
 
programming.ppt
programming.pptprogramming.ppt
programming.ppt
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Algorithms - Introduction to computer programming
Algorithms - Introduction to computer programmingAlgorithms - Introduction to computer programming
Algorithms - Introduction to computer programming
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
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
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
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
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
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
 
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
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitolTechU
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
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
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
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
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
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
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
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 🔝✔️✔️
 
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
 
Capitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptxCapitol Tech U Doctoral Presentation - April 2024.pptx
Capitol Tech U Doctoral Presentation - April 2024.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
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
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 

Learn to Code the Basics in 15 Minutes with this Simple Programming Language

  • 1. Learn to Code in 15 minutes
  • 2. What is coding?  Using a programming language  To write a set of specific instructions  Describing actions to be done to solve a problem  That when followed by the computer  Will give a known answer to that problem
  • 3. What is a programming language?  A set of possible instructions with simple, strict, rules  Describing actions to be done  Which when followed by the computer  Will give a known answer every time
  • 4. Which language ?  The primary instruction set of the core language will be used today  Only 6 rules  A set of 7 possible instructions  It can be used by anyone, even young children can use the core language  With some extension packs it can be used to put satellites in orbit, build massive structures and allows the GPS system to work
  • 5. Which language ?  Devised by some of the greatest minds in the history of humanity  Is the basis of most of the other programming languages ever created  In fact without this language we could not have created the computers we have today  This language has:  A strict syntax using infix notation  Only hard-coded values are allowed in the variables  Strict precedence of instructions  Subroutines (and nested subroutines)  Many expansions, derivatives, forks, all growing from the core language
  • 6. What are the rules?  You may only use the instructions and variables specified  The variables can only contain the symbols:  “0123456789.”  The instructions can only contain the symbols  “+-*/()=“  Anything else is an error  You read the instructions left to right and top to bottom until you reach the “=“ instruction  If you encounter the “(“ instruction this is a subroutine, everything from there to the “)” instruction is done first and the results returned to the main program as a single variable, you can have “( )” pairs inside another pair  The instructions are then done in a strict precedence order “*/+-”
  • 7. What are the instructions?  + This means add the two variables either side together and store the result  - This means subtract the variable on the right from the variable on the left and store the result  / This means divide the variable on the left by the variable on the right and store the result  * This means multiply the variables either side together and store the result  = This means execute the program encoded to the left and store the result to the right
  • 8. First program (Hello World – Sort of)  Problem - you need to add together the numbers 1 and 2  A program to do this is:  1 + 2 =  When you run this program using the computer in your head, following the rules, to apply the instructions to the variables you should get the result 3  Any clues yet which language?
  • 9. Slightly more complex problem  A Dinner costs £12 per head  There are fifteen couples  And four children  Children are ½ price  You need to add a 10 percent tip  Write a program to calculate this
  • 10. One possible program to solve the problem  (12 * 15 * 2 + 12 * ½ * 4) * 110 / 100 =  Following the rules we get 422.4  Problem solved, the dinner will cost £422.40
  • 11. So you can already code ! Coding  Using a programming language  To write a set of specific instructions  Describing actions to be done to solve a problem  That when followed by the computer  Will give a known answer to that problem What You can Do  Arithmetic Notation  An Equation  The Instructions or Operators  Your brain or a calculator  The same one every time But how did we get to the code?
  • 12. We got to the code by breaking the problem into steps, then coding the steps  Price times number of couples times two people  Price times a half times number of children  Add these two numbers together  Multiply by 110 divided by 100 to add the ten percent tip But that is programming and that takes more than 15 minutes to learn, but again you probably already know how! Look out for the next presentation on programming