SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Downloaden Sie, um offline zu lesen
Computer Programming




Ed Burns, Oracle Corporation
Computer Programming
                 What is a program?





 A computer program is a file, just like a
document in Microsoft Word or a picture in
KidPix.



               Copyright 2012 Ed Burns, Creative Commons License   2
Computer Programming
                  What is a program?

        +        =





 With Microsoft Word or KidPix you use the
computer to create text or images to be read or
viewed by humans.

            +        =


                Copyright 2012 Ed Burns, Creative Commons License   3
Computer Programming
                  What is a program?

        +        =





 With a computer program, you use the
computer to create instructions to be read by a
computer!



                Copyright 2012 Ed Burns, Creative Commons License   4
Computer Programming
               What are instructions?

       +        =




 The instructions that make up a computer
program can be really simple.




               Copyright 2012 Ed Burns, Creative Commons License   5
Computer Programming
                What are instructions?

        +        =




 The instructions that make up a computer
program can be really simple...



    print “Hello world!”


                Copyright 2012 Ed Burns, Creative Commons License   6
Computer Programming
                What are instructions?

        +        =




...or very complex.






    launch “space shuttle”



                Copyright 2012 Ed Burns, Creative Commons License   7
Computer Programming
                What are instructions?

        +        =





 ...or very complex.

 Instructions are also called statements.




                Copyright 2012 Ed Burns, Creative Commons License   8
Computer Programming
             Why are programs special?





 Since the beginning of humanity, there have
only ever been five different ways that humans
can store and transmit knowledge!



               Copyright 2012 Ed Burns, Creative Commons License   9
Computer Programming
            Why are programs special?





 Brains

 From the beginning
of humans



              Copyright 2012 Ed Burns, Creative Commons License   10
Computer Programming
             Why are programs special?





 Tools

 Scientists say
3.5 million years ago



               Copyright 2012 Ed Burns, Creative Commons License   11
Computer Programming
             Why are programs special?





 Books

 600 years
ago



               Copyright 2012 Ed Burns, Creative Commons License   12
Computer Programming
           Why are programs special?





 Recorded sound and images

 152 years ago




             Copyright 2012 Ed Burns, Creative Commons License   13
Computer Programming
           Why are programs special?





 Computer programs

 68 years ago




             Copyright 2012 Ed Burns, Creative Commons License   14
Computer Programming
             What does a program do?





  Because computer programs are so special,
there are lots of special words to talk about
them.

 The first special word describes what a
computer does with a program.


               Copyright 2012 Ed Burns, Creative Commons License   15
Computer Programming
   What does a program do?




    Copyright 2012 Ed Burns, Creative Commons License   16
Computer Programming
            What does a program do?





 It runs.

 What runs the program?


              Copyright 2012 Ed Burns, Creative Commons License   17
Computer Programming
             What does a program do?





 When a program runs, the computer looks at
each instruction and does what the instruction
says, one instruction at a time.

               Copyright 2012 Ed Burns, Creative Commons License   18
Computer Programming
              Who makes programs?





 A person who writes a computer program is
called a Programmer.

 You can be a programmer too!



              Copyright 2012 Ed Burns, Creative Commons License   19
Computer Programming
              Who makes programs?





 A person who writes a computer program is
called a Programmer.

 You can be a programmer too!

 Let’s get started!



              Copyright 2012 Ed Burns, Creative Commons License   20
Computer Programming




Getting Started With Programming
          Copyright 2012 Ed Burns, Creative Commons License   21
Computer Programming
                  Simple instructions




Five basic concepts



  Variables

  If and if else statements

  Lists

  Loops

  Sub-routines


               Copyright 2012 Ed Burns, Creative Commons License   22
Computer Programming
                  Simple instructions


variable





 A place to store information so the computer
can work with it

Real world example: What’s for lunch?



  Hot dog

  Hamburger
               Copyright 2012 Ed Burns, Creative Commons License   23
Computer Programming
                  Simple instructions


variable





 A place to store information so the computer
can work with it

 Programming example: What’s for lunch?
lunch = “Hot Dog”;
lunch = “Hamburger”;
               Copyright 2012 Ed Burns, Creative Commons License   24
Computer Programming
                   Simple instructions



if





Make choices based on the value of a variable





 Real world example:
If lunch is hamburger, get ketchup. If lunch is
hot dog, get mustard.

                Copyright 2012 Ed Burns, Creative Commons License   25
Computer Programming
                       Simple instructions

 if

 Make choices based on the value of a variable

 Programming example:
if (lunch.equals(“Hamburger”)) {
   getKetchup();
}
if (lunch.equals(“Hot Dog”)) {
   getMustard();
}            Copyright 2012 Ed Burns, Creative Commons License   26
Computer Programming
                  Simple instructions


if else





 Use when you only have two choices to choose
from.

 Real world example:
If lunch is hamburger, get ketchup, otherwise,
get mustard.
               Copyright 2012 Ed Burns, Creative Commons License   27
Computer Programming
                       Simple instructions

 if else

 Use when you only have two choices to choose
from.

 Programming example:
if (lunch.equals(“Hamburger”)) {
   getKetchup();
} else {
   getMustard();
}            Copyright 2012 Ed Burns, Creative Commons License   28
Computer Programming
                   Simple instructions
lists





 A special kind of variable that holds a list of
values

 Real world example:
Your lunch choices are: hamburger, hot dog,
chicken nuggets or green salad

 The items in the list are called elements. The
lunch choices list has four elements.
                Copyright 2012 Ed Burns, Creative Commons License   29
Computer Programming
lists
                    Simple instructions


 A special kind of variable that holds a list of
values

 Programming example:
lunchChoices = { “hamburger”,
   “hot dog”,“chicken nuggets”,
   “green salad” };
print lunchChoices.size();

Prints out “4”.

                  Copyright 2012 Ed Burns, Creative Commons License   30
Computer Programming
                  Simple instructions


loops





 A statement that lets you do something with
each element in a list.

 Real world example:
Look at the lunch menu and decide what to eat.


               Copyright 2012 Ed Burns, Creative Commons License   31
Computer Programming
                  Simple instructions
loops





 A statement that lets you do something with
each element in a list.

 Programming example:
for each (item : lunchChoices) {
   if (iLikeIt(item)) {
     eat(item);
   }
}
               Copyright 2012 Ed Burns, Creative Commons License   32
Computer Programming
                             Simple instructions

 Subroutines

 A program within a program. Basically a way
to organize your program so it’s easier to read.

 Real world example:
To eat lunch, you must:
 
   Decide what to eat
 
   Buy it
 
   Take it to your table
 
   Eat it.       Copyright 2012 Ed Burns, Creative Commons License   33
Computer Programming
                  Simple instructions
Subroutines





 A program within a program. Basically a way
to organize your program so it’s easier to read.

 Programming example:
lunch = readMenuAndPickItem();
buyItem(lunch);
table = chooseTable();
eatLunchAtTable(lunch, table);
               Copyright 2012 Ed Burns, Creative Commons License   34
Computer Programming
                  Simple instructions
Subroutines





 Programming example:
lunch = readMenuAndPickItem();
buyItem(lunch);
table = chooseTable();
eatLunchAtTable(lunch, table);

 Subroutines need information to get their work
done. The pieces of information given to a
subroutine are called arguments.
               Copyright 2012 Ed Burns, Creative Commons License   35
Computer Programming
                  Simple instructions
                       Review



Five basic concepts



  Variables

  If and if else statements

  Lists

  Loops

  Sub-routines


               Copyright 2012 Ed Burns, Creative Commons License   36
Computer Programming




Ed Burns, Oracle Corporation
       Copyright 2012 Ed Burns, Creative Commons License   37

Weitere ähnliche Inhalte

Was ist angesagt?

Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming ConceptsJussi Pohjolainen
 
What is Coding
What is CodingWhat is Coding
What is CodingRoboGarden
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to ProgrammingChapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programmingmshellman
 
Dfc2043 operating system; open & closed source systems
Dfc2043 operating system; open & closed source systemsDfc2043 operating system; open & closed source systems
Dfc2043 operating system; open & closed source systemsFlameDimension95
 
Why programming is important
Why programming is importantWhy programming is important
Why programming is importantAman Kumar
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer ProgrammingAllen de Castro
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Raja Hamid
 
Introduction to computer science ch1
Introduction to computer science ch1Introduction to computer science ch1
Introduction to computer science ch1Mohamed Essam
 
Computer Lecture 1
Computer  Lecture 1Computer  Lecture 1
Computer Lecture 1Moiz Barry
 
Scratch programming
Scratch programmingScratch programming
Scratch programmingYvonieDoria
 
Introduction to computer
Introduction  to  computerIntroduction  to  computer
Introduction to computerhina amir
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligenceu053675
 
Introduction to Computer Science
Introduction to Computer ScienceIntroduction to Computer Science
Introduction to Computer ScienceKalpit Jain
 
Computer basic for kids
Computer basic for kidsComputer basic for kids
Computer basic for kidsPaul Gonzales
 
Introduction To Computer Science (getting started)
Introduction To Computer Science (getting started)Introduction To Computer Science (getting started)
Introduction To Computer Science (getting started)Lawrence Wachs
 

Was ist angesagt? (20)

Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
What is Coding
What is CodingWhat is Coding
What is Coding
 
Computer software
Computer softwareComputer software
Computer software
 
Chapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to ProgrammingChapter 1 - An Introduction to Programming
Chapter 1 - An Introduction to Programming
 
Dfc2043 operating system; open & closed source systems
Dfc2043 operating system; open & closed source systemsDfc2043 operating system; open & closed source systems
Dfc2043 operating system; open & closed source systems
 
Programming
ProgrammingProgramming
Programming
 
Why programming is important
Why programming is importantWhy programming is important
Why programming is important
 
Introduction to Coding
Introduction to CodingIntroduction to Coding
Introduction to Coding
 
Basic Computer Programming
Basic Computer ProgrammingBasic Computer Programming
Basic Computer Programming
 
Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2Programming fundamentals lecture 1&2
Programming fundamentals lecture 1&2
 
Introduction to computer science ch1
Introduction to computer science ch1Introduction to computer science ch1
Introduction to computer science ch1
 
Computer Lecture 1
Computer  Lecture 1Computer  Lecture 1
Computer Lecture 1
 
Application Software
Application Software Application Software
Application Software
 
Scratch programming
Scratch programmingScratch programming
Scratch programming
 
Introduction to computer
Introduction  to  computerIntroduction  to  computer
Introduction to computer
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Elements of programming
Elements of programmingElements of programming
Elements of programming
 
Introduction to Computer Science
Introduction to Computer ScienceIntroduction to Computer Science
Introduction to Computer Science
 
Computer basic for kids
Computer basic for kidsComputer basic for kids
Computer basic for kids
 
Introduction To Computer Science (getting started)
Introduction To Computer Science (getting started)Introduction To Computer Science (getting started)
Introduction To Computer Science (getting started)
 

Ähnlich wie Kids computer-programming

Lavacon12 rethink content paper to tablet
Lavacon12 rethink content paper to tabletLavacon12 rethink content paper to tablet
Lavacon12 rethink content paper to tabletMaxwell Hoffmann
 
Itroduction about java
Itroduction about javaItroduction about java
Itroduction about javasrmohan06
 
An overview of computers and programming languages
An overview of computers and programming languages An overview of computers and programming languages
An overview of computers and programming languages Ahmad Idrees
 
13 Best IDE for Web Development Projects in 2022.pdf
13 Best IDE for Web Development Projects in 2022.pdf13 Best IDE for Web Development Projects in 2022.pdf
13 Best IDE for Web Development Projects in 2022.pdfmithranmithran1
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppmeharikiros2
 
[Android] Introduction to Android Programming
[Android] Introduction to Android Programming[Android] Introduction to Android Programming
[Android] Introduction to Android ProgrammingNikmesoft Ltd
 
#2 open source introduction
#2 open source introduction#2 open source introduction
#2 open source introductionsscholle
 
Learn android app_development(1)_intro
Learn android app_development(1)_introLearn android app_development(1)_intro
Learn android app_development(1)_introAdel Jaffan
 
Student pc productivity presentation ppt
Student pc productivity presentation pptStudent pc productivity presentation ppt
Student pc productivity presentation pptRyan Joyce
 
201 how to use the computer
201 how to use the computer201 how to use the computer
201 how to use the computerSatoru Hoshiba
 
17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf
17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf
17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdfBrunoAtti1
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.pptBijayKc16
 
Latest Android App Development Tools 2019
Latest Android App Development Tools 2019Latest Android App Development Tools 2019
Latest Android App Development Tools 2019Elijahj Williams
 
Android App Development Intro at ESC SV 2012
Android App Development Intro at ESC SV 2012Android App Development Intro at ESC SV 2012
Android App Development Intro at ESC SV 2012Opersys inc.
 
Power point lesson 04
Power point lesson 04Power point lesson 04
Power point lesson 04heidirobison
 
Chapter 01 - introduction for C++
Chapter 01 - introduction for C++Chapter 01 - introduction for C++
Chapter 01 - introduction for C++wahida_f6
 

Ähnlich wie Kids computer-programming (20)

Lavacon12 rethink content paper to tablet
Lavacon12 rethink content paper to tabletLavacon12 rethink content paper to tablet
Lavacon12 rethink content paper to tablet
 
Itroduction about java
Itroduction about javaItroduction about java
Itroduction about java
 
An overview of computers and programming languages
An overview of computers and programming languages An overview of computers and programming languages
An overview of computers and programming languages
 
13 Best IDE for Web Development Projects in 2022.pdf
13 Best IDE for Web Development Projects in 2022.pdf13 Best IDE for Web Development Projects in 2022.pdf
13 Best IDE for Web Development Projects in 2022.pdf
 
Computer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cppComputer_Programming_Fundamentals in cpp
Computer_Programming_Fundamentals in cpp
 
[Android] Introduction to Android Programming
[Android] Introduction to Android Programming[Android] Introduction to Android Programming
[Android] Introduction to Android Programming
 
Computer appreciation
Computer appreciationComputer appreciation
Computer appreciation
 
What's in an Android?
What's in an Android?What's in an Android?
What's in an Android?
 
#2 open source introduction
#2 open source introduction#2 open source introduction
#2 open source introduction
 
Learn android app_development(1)_intro
Learn android app_development(1)_introLearn android app_development(1)_intro
Learn android app_development(1)_intro
 
Student pc productivity presentation ppt
Student pc productivity presentation pptStudent pc productivity presentation ppt
Student pc productivity presentation ppt
 
201 how to use the computer
201 how to use the computer201 how to use the computer
201 how to use the computer
 
17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf
17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf
17h25_closing_keynote_stefano_stinchi_-_innovation_story.pdf
 
androidPramming.ppt
androidPramming.pptandroidPramming.ppt
androidPramming.ppt
 
Latest Android App Development Tools 2019
Latest Android App Development Tools 2019Latest Android App Development Tools 2019
Latest Android App Development Tools 2019
 
Training android
Training androidTraining android
Training android
 
Android App Development Intro at ESC SV 2012
Android App Development Intro at ESC SV 2012Android App Development Intro at ESC SV 2012
Android App Development Intro at ESC SV 2012
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
 
Power point lesson 04
Power point lesson 04Power point lesson 04
Power point lesson 04
 
Chapter 01 - introduction for C++
Chapter 01 - introduction for C++Chapter 01 - introduction for C++
Chapter 01 - introduction for C++
 

Mehr von Edward Burns

Developer Career Masterplan
Developer Career MasterplanDeveloper Career Masterplan
Developer Career MasterplanEdward Burns
 
Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Edward Burns
 
Sponsored Session: Please touch that dial!
Sponsored Session: Please touch that dial!Sponsored Session: Please touch that dial!
Sponsored Session: Please touch that dial!Edward Burns
 
How modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantageHow modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantageEdward Burns
 
Wie Azure Jakarta EE Nutzt
Wie Azure Jakarta EE NutztWie Azure Jakarta EE Nutzt
Wie Azure Jakarta EE NutztEdward Burns
 
Practical lessons from customers performing digital transformation with Azure
Practical lessons from customers performing digital transformation with AzurePractical lessons from customers performing digital transformation with Azure
Practical lessons from customers performing digital transformation with AzureEdward Burns
 
wls-azure-devnexus-2022.pdf
wls-azure-devnexus-2022.pdfwls-azure-devnexus-2022.pdf
wls-azure-devnexus-2022.pdfEdward Burns
 
Jakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu HauseJakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu HauseEdward Burns
 
Java on Your Terms with Azure
Java on Your Terms with AzureJava on Your Terms with Azure
Java on Your Terms with AzureEdward Burns
 
Wars I’ve Seen From Java EE to Spring and more, Azure has you covered
Wars I’ve SeenFrom Java EE to Spring and more, Azure has you coveredWars I’ve SeenFrom Java EE to Spring and more, Azure has you covered
Wars I’ve Seen From Java EE to Spring and more, Azure has you coveredEdward Burns
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...Edward Burns
 
Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?Edward Burns
 
Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?Edward Burns
 
Building a Serverless State Service for the Cloud
Building a Serverless State Service for the CloudBuilding a Serverless State Service for the Cloud
Building a Serverless State Service for the CloudEdward Burns
 
Servlet 4.0 at GeekOut 2015
Servlet 4.0 at GeekOut 2015Servlet 4.0 at GeekOut 2015
Servlet 4.0 at GeekOut 2015Edward Burns
 
Burns jsf-confess-2015
Burns jsf-confess-2015Burns jsf-confess-2015
Burns jsf-confess-2015Edward Burns
 
JSF 2.2 Input Output JavaLand 2015
JSF 2.2 Input Output JavaLand 2015JSF 2.2 Input Output JavaLand 2015
JSF 2.2 Input Output JavaLand 2015Edward Burns
 
Java EE 7 from an HTML5 Perspective, JavaLand 2015
Java EE 7 from an HTML5 Perspective, JavaLand 2015Java EE 7 from an HTML5 Perspective, JavaLand 2015
Java EE 7 from an HTML5 Perspective, JavaLand 2015Edward Burns
 
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015
HTTP/2 comes to Java.  What Servlet 4.0 means to you. DevNexus 2015HTTP/2 comes to Java.  What Servlet 4.0 means to you. DevNexus 2015
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015Edward Burns
 
JSF 2.3 Adopt-a-JSR 10 Minute Infodeck
JSF 2.3 Adopt-a-JSR 10 Minute InfodeckJSF 2.3 Adopt-a-JSR 10 Minute Infodeck
JSF 2.3 Adopt-a-JSR 10 Minute InfodeckEdward Burns
 

Mehr von Edward Burns (20)

Developer Career Masterplan
Developer Career MasterplanDeveloper Career Masterplan
Developer Career Masterplan
 
Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​
 
Sponsored Session: Please touch that dial!
Sponsored Session: Please touch that dial!Sponsored Session: Please touch that dial!
Sponsored Session: Please touch that dial!
 
How modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantageHow modernizing enterprise applications gives you a competitive advantage
How modernizing enterprise applications gives you a competitive advantage
 
Wie Azure Jakarta EE Nutzt
Wie Azure Jakarta EE NutztWie Azure Jakarta EE Nutzt
Wie Azure Jakarta EE Nutzt
 
Practical lessons from customers performing digital transformation with Azure
Practical lessons from customers performing digital transformation with AzurePractical lessons from customers performing digital transformation with Azure
Practical lessons from customers performing digital transformation with Azure
 
wls-azure-devnexus-2022.pdf
wls-azure-devnexus-2022.pdfwls-azure-devnexus-2022.pdf
wls-azure-devnexus-2022.pdf
 
Jakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu HauseJakarta EE und Microprofile sind bei Azure zu Hause
Jakarta EE und Microprofile sind bei Azure zu Hause
 
Java on Your Terms with Azure
Java on Your Terms with AzureJava on Your Terms with Azure
Java on Your Terms with Azure
 
Wars I’ve Seen From Java EE to Spring and more, Azure has you covered
Wars I’ve SeenFrom Java EE to Spring and more, Azure has you coveredWars I’ve SeenFrom Java EE to Spring and more, Azure has you covered
Wars I’ve Seen From Java EE to Spring and more, Azure has you covered
 
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
HTTP/2 Comes to Java: Servlet 4.0 and what it means for the Java/Jakarta EE e...
 
Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?
 
Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?Programming Language Platform Growth: Table Stakes or Deal Makes?
Programming Language Platform Growth: Table Stakes or Deal Makes?
 
Building a Serverless State Service for the Cloud
Building a Serverless State Service for the CloudBuilding a Serverless State Service for the Cloud
Building a Serverless State Service for the Cloud
 
Servlet 4.0 at GeekOut 2015
Servlet 4.0 at GeekOut 2015Servlet 4.0 at GeekOut 2015
Servlet 4.0 at GeekOut 2015
 
Burns jsf-confess-2015
Burns jsf-confess-2015Burns jsf-confess-2015
Burns jsf-confess-2015
 
JSF 2.2 Input Output JavaLand 2015
JSF 2.2 Input Output JavaLand 2015JSF 2.2 Input Output JavaLand 2015
JSF 2.2 Input Output JavaLand 2015
 
Java EE 7 from an HTML5 Perspective, JavaLand 2015
Java EE 7 from an HTML5 Perspective, JavaLand 2015Java EE 7 from an HTML5 Perspective, JavaLand 2015
Java EE 7 from an HTML5 Perspective, JavaLand 2015
 
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015
HTTP/2 comes to Java.  What Servlet 4.0 means to you. DevNexus 2015HTTP/2 comes to Java.  What Servlet 4.0 means to you. DevNexus 2015
HTTP/2 comes to Java. What Servlet 4.0 means to you. DevNexus 2015
 
JSF 2.3 Adopt-a-JSR 10 Minute Infodeck
JSF 2.3 Adopt-a-JSR 10 Minute InfodeckJSF 2.3 Adopt-a-JSR 10 Minute Infodeck
JSF 2.3 Adopt-a-JSR 10 Minute Infodeck
 

Kürzlich hochgeladen

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 

Kürzlich hochgeladen (20)

SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 

Kids computer-programming

  • 1. Computer Programming Ed Burns, Oracle Corporation
  • 2. Computer Programming What is a program?  A computer program is a file, just like a document in Microsoft Word or a picture in KidPix. Copyright 2012 Ed Burns, Creative Commons License 2
  • 3. Computer Programming What is a program? + =  With Microsoft Word or KidPix you use the computer to create text or images to be read or viewed by humans. + = Copyright 2012 Ed Burns, Creative Commons License 3
  • 4. Computer Programming What is a program? + =  With a computer program, you use the computer to create instructions to be read by a computer! Copyright 2012 Ed Burns, Creative Commons License 4
  • 5. Computer Programming What are instructions? + =  The instructions that make up a computer program can be really simple. Copyright 2012 Ed Burns, Creative Commons License 5
  • 6. Computer Programming What are instructions? + =  The instructions that make up a computer program can be really simple...  print “Hello world!” Copyright 2012 Ed Burns, Creative Commons License 6
  • 7. Computer Programming What are instructions? + = ...or very complex.   launch “space shuttle” Copyright 2012 Ed Burns, Creative Commons License 7
  • 8. Computer Programming What are instructions? + =  ...or very complex.  Instructions are also called statements. Copyright 2012 Ed Burns, Creative Commons License 8
  • 9. Computer Programming Why are programs special?  Since the beginning of humanity, there have only ever been five different ways that humans can store and transmit knowledge! Copyright 2012 Ed Burns, Creative Commons License 9
  • 10. Computer Programming Why are programs special?  Brains  From the beginning of humans Copyright 2012 Ed Burns, Creative Commons License 10
  • 11. Computer Programming Why are programs special?  Tools  Scientists say 3.5 million years ago Copyright 2012 Ed Burns, Creative Commons License 11
  • 12. Computer Programming Why are programs special?  Books  600 years ago Copyright 2012 Ed Burns, Creative Commons License 12
  • 13. Computer Programming Why are programs special?  Recorded sound and images  152 years ago Copyright 2012 Ed Burns, Creative Commons License 13
  • 14. Computer Programming Why are programs special?  Computer programs  68 years ago Copyright 2012 Ed Burns, Creative Commons License 14
  • 15. Computer Programming What does a program do?  Because computer programs are so special, there are lots of special words to talk about them.  The first special word describes what a computer does with a program. Copyright 2012 Ed Burns, Creative Commons License 15
  • 16. Computer Programming What does a program do? Copyright 2012 Ed Burns, Creative Commons License 16
  • 17. Computer Programming What does a program do?  It runs.  What runs the program? Copyright 2012 Ed Burns, Creative Commons License 17
  • 18. Computer Programming What does a program do?  When a program runs, the computer looks at each instruction and does what the instruction says, one instruction at a time. Copyright 2012 Ed Burns, Creative Commons License 18
  • 19. Computer Programming Who makes programs?  A person who writes a computer program is called a Programmer.  You can be a programmer too! Copyright 2012 Ed Burns, Creative Commons License 19
  • 20. Computer Programming Who makes programs?  A person who writes a computer program is called a Programmer.  You can be a programmer too!  Let’s get started! Copyright 2012 Ed Burns, Creative Commons License 20
  • 21. Computer Programming Getting Started With Programming Copyright 2012 Ed Burns, Creative Commons License 21
  • 22. Computer Programming Simple instructions Five basic concepts   Variables  If and if else statements  Lists  Loops  Sub-routines Copyright 2012 Ed Burns, Creative Commons License 22
  • 23. Computer Programming Simple instructions variable   A place to store information so the computer can work with it Real world example: What’s for lunch?   Hot dog  Hamburger Copyright 2012 Ed Burns, Creative Commons License 23
  • 24. Computer Programming Simple instructions variable   A place to store information so the computer can work with it  Programming example: What’s for lunch? lunch = “Hot Dog”; lunch = “Hamburger”; Copyright 2012 Ed Burns, Creative Commons License 24
  • 25. Computer Programming Simple instructions if  Make choices based on the value of a variable   Real world example: If lunch is hamburger, get ketchup. If lunch is hot dog, get mustard. Copyright 2012 Ed Burns, Creative Commons License 25
  • 26. Computer Programming Simple instructions  if  Make choices based on the value of a variable  Programming example: if (lunch.equals(“Hamburger”)) { getKetchup(); } if (lunch.equals(“Hot Dog”)) { getMustard(); } Copyright 2012 Ed Burns, Creative Commons License 26
  • 27. Computer Programming Simple instructions if else   Use when you only have two choices to choose from.  Real world example: If lunch is hamburger, get ketchup, otherwise, get mustard. Copyright 2012 Ed Burns, Creative Commons License 27
  • 28. Computer Programming Simple instructions  if else  Use when you only have two choices to choose from.  Programming example: if (lunch.equals(“Hamburger”)) { getKetchup(); } else { getMustard(); } Copyright 2012 Ed Burns, Creative Commons License 28
  • 29. Computer Programming Simple instructions lists   A special kind of variable that holds a list of values  Real world example: Your lunch choices are: hamburger, hot dog, chicken nuggets or green salad  The items in the list are called elements. The lunch choices list has four elements. Copyright 2012 Ed Burns, Creative Commons License 29
  • 30. Computer Programming lists  Simple instructions  A special kind of variable that holds a list of values  Programming example: lunchChoices = { “hamburger”, “hot dog”,“chicken nuggets”, “green salad” }; print lunchChoices.size(); Prints out “4”.  Copyright 2012 Ed Burns, Creative Commons License 30
  • 31. Computer Programming Simple instructions loops   A statement that lets you do something with each element in a list.  Real world example: Look at the lunch menu and decide what to eat. Copyright 2012 Ed Burns, Creative Commons License 31
  • 32. Computer Programming Simple instructions loops   A statement that lets you do something with each element in a list.  Programming example: for each (item : lunchChoices) { if (iLikeIt(item)) { eat(item); } } Copyright 2012 Ed Burns, Creative Commons License 32
  • 33. Computer Programming Simple instructions  Subroutines  A program within a program. Basically a way to organize your program so it’s easier to read.  Real world example: To eat lunch, you must:  Decide what to eat  Buy it  Take it to your table  Eat it. Copyright 2012 Ed Burns, Creative Commons License 33
  • 34. Computer Programming Simple instructions Subroutines   A program within a program. Basically a way to organize your program so it’s easier to read.  Programming example: lunch = readMenuAndPickItem(); buyItem(lunch); table = chooseTable(); eatLunchAtTable(lunch, table); Copyright 2012 Ed Burns, Creative Commons License 34
  • 35. Computer Programming Simple instructions Subroutines   Programming example: lunch = readMenuAndPickItem(); buyItem(lunch); table = chooseTable(); eatLunchAtTable(lunch, table);  Subroutines need information to get their work done. The pieces of information given to a subroutine are called arguments. Copyright 2012 Ed Burns, Creative Commons License 35
  • 36. Computer Programming Simple instructions Review Five basic concepts   Variables  If and if else statements  Lists  Loops  Sub-routines Copyright 2012 Ed Burns, Creative Commons License 36
  • 37. Computer Programming Ed Burns, Oracle Corporation Copyright 2012 Ed Burns, Creative Commons License 37