SlideShare une entreprise Scribd logo
1  sur  18
Programming for daily
life
JOY GEORGE K

Jr.Architect Orion India Systems
www.joymononline.in
www.joymonscode.blogspot.in
Agenda
What is computer, program, input and output? Who is programmer?
Some history
Evolution of computers
Why I should learn programming
Writing first program
Basic things you know when writing programs?

Some theory (Only if time and you permits)
Programmer, Program, Machine&
Executor
Executor

Inputs

Program

Slow
execution
Little history
Abacus
History
I would say a wheel also has a program which is kind of hard coded

Input - pressure
Output - Rotation
History – programing wheels
Arranging wheels in different ways produce different programs.
Machines around us
Bit – On / Off
Circuit
Machines which accept more than one on/off conditions (1 bits) as input
The language of circuits – 2 way
switches
S1

S2
S1

S2

Output

0

1

0

1

0

0

1

1

1

0

0

1
CPU – Universal circuit
Give me any
circuit
diagram. I can
act like that
When I don’t know programming?
I need
water

Workers

Translator
It fails sometime

Better ask
him write
down and
fire him
For
drinking
Why should I learn programming
.Hot..Hot..

Oh…God
Forgot to
ask him
how to
ask hot
water
Objects in programming
Program
Machine / Executor
Input
Output
Karel – A simple robot
A Programming language used for educational purpose
http://en.wikipedia.org/wiki/Karel_(programming_language)

Supported operations
Move()
TurnLeft()

Simulator
http://joymononline.in/apps/karel/karel.htm
Making more tasks using Karel
Dynamic decision making using IF keyword
Repeat same job using LOOPING
Keep the instructions of one job in group called FUNCTION
Theory
Turing machine & Universal Turing machine.
Machine code
High level language
Compiling v/s interpreting
Thanks for asking questions
JOY GEORGE K
Jr.Architect Orion India Systems
www.joymononline.in
www.joymonscode.blogspot.in

Contenu connexe

Tendances

System Programing Unit 1
System Programing Unit 1System Programing Unit 1
System Programing Unit 1
Manoj Patil
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
Mir Majid
 

Tendances (20)

Introduction to Compiler Construction
Introduction to Compiler Construction Introduction to Compiler Construction
Introduction to Compiler Construction
 
Top down parsing
Top down parsingTop down parsing
Top down parsing
 
System Programing Unit 1
System Programing Unit 1System Programing Unit 1
System Programing Unit 1
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Algorithm Design Presentation
Algorithm Design PresentationAlgorithm Design Presentation
Algorithm Design Presentation
 
Compiler Design
Compiler DesignCompiler Design
Compiler Design
 
Chapter 1 basic structure of computers
Chapter 1  basic structure of computersChapter 1  basic structure of computers
Chapter 1 basic structure of computers
 
Algorithms and flowcharts by Haseeb Khan
Algorithms and flowcharts by Haseeb KhanAlgorithms and flowcharts by Haseeb Khan
Algorithms and flowcharts by Haseeb Khan
 
Recognition-of-tokens
Recognition-of-tokensRecognition-of-tokens
Recognition-of-tokens
 
Compiler Design Unit 1
Compiler Design Unit 1Compiler Design Unit 1
Compiler Design Unit 1
 
Lecture 04 syntax analysis
Lecture 04 syntax analysisLecture 04 syntax analysis
Lecture 04 syntax analysis
 
List of Software Development Model and Methods
List of Software Development Model and MethodsList of Software Development Model and Methods
List of Software Development Model and Methods
 
Bottom - Up Parsing
Bottom - Up ParsingBottom - Up Parsing
Bottom - Up Parsing
 
Algorithm and flowchart
Algorithm and flowchart Algorithm and flowchart
Algorithm and flowchart
 
Software Development Life Cycle
Software Development Life CycleSoftware Development Life Cycle
Software Development Life Cycle
 
Flowchart and algorithem
Flowchart and algorithemFlowchart and algorithem
Flowchart and algorithem
 
MACRO PROCESSOR
MACRO PROCESSORMACRO PROCESSOR
MACRO PROCESSOR
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
 
ERP MARKET
ERP MARKETERP MARKET
ERP MARKET
 

En vedette (12)

ICTL GUIDELINE
ICTL GUIDELINE ICTL GUIDELINE
ICTL GUIDELINE
 
Embedding ICT for life long learning
Embedding ICT for life long learningEmbedding ICT for life long learning
Embedding ICT for life long learning
 
Role of IT _Support
Role of IT _Support Role of IT _Support
Role of IT _Support
 
Programming in Life
Programming in LifeProgramming in Life
Programming in Life
 
1.1 introduction toict
1.1 introduction toict1.1 introduction toict
1.1 introduction toict
 
Ict in real estate presentation
Ict in real estate presentationIct in real estate presentation
Ict in real estate presentation
 
Role of Information Technology
Role of Information TechnologyRole of Information Technology
Role of Information Technology
 
Sensors in Everyday Life
Sensors in Everyday LifeSensors in Everyday Life
Sensors in Everyday Life
 
Impact of ICT
Impact of ICTImpact of ICT
Impact of ICT
 
2011 3-ict-in-everyday-life
2011 3-ict-in-everyday-life2011 3-ict-in-everyday-life
2011 3-ict-in-everyday-life
 
Computer network
Computer networkComputer network
Computer network
 
Usage Of Ict In Every Day Life
Usage Of Ict In Every Day LifeUsage Of Ict In Every Day Life
Usage Of Ict In Every Day Life
 

Similaire à Programming for daily life - introduction

Computer Archeticture
Computer ArchetictureComputer Archeticture
Computer Archeticture
mahmoud
 
Introduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXTIntroduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXT
Wayne Hamilton
 

Similaire à Programming for daily life - introduction (20)

The functionality of a pc
The functionality of a pcThe functionality of a pc
The functionality of a pc
 
20141107 nus friday hacks presentation get started with electronics
20141107 nus friday hacks presentation get started with electronics20141107 nus friday hacks presentation get started with electronics
20141107 nus friday hacks presentation get started with electronics
 
Programming the Real World: Javascript for Makers
Programming the Real World: Javascript for MakersProgramming the Real World: Javascript for Makers
Programming the Real World: Javascript for Makers
 
Arduino Labs Introduction
Arduino Labs IntroductionArduino Labs Introduction
Arduino Labs Introduction
 
Arduino Workshop @ MSA University
Arduino Workshop @ MSA UniversityArduino Workshop @ MSA University
Arduino Workshop @ MSA University
 
car wash system
car wash systemcar wash system
car wash system
 
Chapter 1 computer abstractions and technology
Chapter 1 computer abstractions and technologyChapter 1 computer abstractions and technology
Chapter 1 computer abstractions and technology
 
Programmable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programmingProgrammable Logic Controller and ladder logic programming
Programmable Logic Controller and ladder logic programming
 
Introduction 1 - Relationship between hardware and software & Analog Electron...
Introduction 1 - Relationship between hardware and software & Analog Electron...Introduction 1 - Relationship between hardware and software & Analog Electron...
Introduction 1 - Relationship between hardware and software & Analog Electron...
 
Computer Archeticture
Computer ArchetictureComputer Archeticture
Computer Archeticture
 
Introduction to PLC
Introduction to PLCIntroduction to PLC
Introduction to PLC
 
Fundamentals
FundamentalsFundamentals
Fundamentals
 
Introduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXTIntroduction to robotics part 1 (Lego NXT
Introduction to robotics part 1 (Lego NXT
 
Electronic System Design Guideline
Electronic System Design GuidelineElectronic System Design Guideline
Electronic System Design Guideline
 
2019 session 6 develop programs to solve a variety of problems in math , phys...
2019 session 6 develop programs to solve a variety of problems in math , phys...2019 session 6 develop programs to solve a variety of problems in math , phys...
2019 session 6 develop programs to solve a variety of problems in math , phys...
 
evolution of operating system
evolution of operating systemevolution of operating system
evolution of operating system
 
Arduino and c programming
Arduino and c programmingArduino and c programming
Arduino and c programming
 
lec5 - The processor.pptx
lec5 - The processor.pptxlec5 - The processor.pptx
lec5 - The processor.pptx
 
PLC Training Intro
PLC Training IntroPLC Training Intro
PLC Training Intro
 
STAC Robotics Seminar Session
STAC Robotics Seminar Session STAC Robotics Seminar Session
STAC Robotics Seminar Session
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 

Programming for daily life - introduction

Notes de l'éditeur

  1. The truth table in digital electronics. It represents the requirements of program.
  2. Workers – Who knows only Hindi language can be compared as computers which understands only machine language.Translator - is the programmer who converts the English instruction to Hindi. In computer world form natural language specifications to machine code.User – The company/person who invested in Workers /Computers and wants to get maximum output.
  3. When it fails – If the translation has errors or the user didn’t specify correctly to the translator. Workers may bring water for cleaning if not specified for drinking.
  4. User asked for more options in the program. But still it may fail on particular scenarios. So better user knows the basics of programming.
  5. Objects every where in programming.
  6. Karel is a simulator based programming language used in universities such as Stanford to teach programming.
  7. Open the http://joymononline.in/apps/karel/karel.htm simulator and show if statements, for loop and need for functions.