SlideShare a Scribd company logo
Introduction to Programming Concepts Jussi Pohjolainen TAMK University of Applied Sciences
Computer Program Computer program are  instructions  for a computer Computer executes the program in CPU Program has an executable form Computer program gets  input  from the user Computer program can generate information to the user, this information is called  output
Input and Output Computer Program input output
Designing, Implementing and Testing Specification ("What we are suppose to implement?") 1) Design the program Structure, Algorithms, Architecture 2) Implement according to the design Implement using some programming language 3) Test the program Is the program the same than in specification?
Specification Before implementing, one must know  what to implement Specification is very important What is the possible input and output of the program? If specification contains errors, it's very hard to correct the program...
Designing Computer Program Architecture UML Diagrams (If OO) Data Structures Algorithms
Compiling and Running Programs Implementing Programs
Computer and Operating System The basic parts of the computer Processor, RAM, Hard Drive, input and output devices.... The instructions you give to the processor are given in  machine language Operating system hosts the programs
Machine Language Computer program is just instructions to the CPU These instructions are given only in  machine language,  and this is the only language that the CPU understands Machine language  is very hard to implement
Computer Language Because machine language is so hard to implement, programmers do not use it Instead of using  machine language , programmers use some  high level (compiler) language... ...  but the computer  does not  understand  anything but the machine language! Compiler  comes to the rescue! Compiler  translates high level language to machine language
Miscommunication 010101010111011111010101010101101010101010101010101 I just wanna a program that would calculate my body mass index? Okay? ?
Solution 010101010111011111010101010101101010101010101010101 I wanna a BMI  app. (but I don't want the results) int weight; int height; cin >> weight; cin >> height; ... Compiler
Programming Languages There are many high level languages C, C++, C#, Perl, PHP, Java, Smalltalk, Objective-C Almost  all of these languages  have the same principals if, while, for, functions, methods...
Programming Environment The source code of the program is Written Compiled (Linked) Into a computer program The source code is written with some text editor and it is compiled with some compiler
Writing the program Source Code Source Code Compiling Machine Language Machine Language Linking Executable
Compiling Java Programs Image from  The Java Technology Phenomenon http://java.sun.com/docs/books/tutorial/getStarted/intro/definition.html
Compiling Java Programs Image from  The Java Technology Phenomenon http://java.sun.com/docs/books/tutorial/getStarted/intro/definition.html
ALGORITHMS
Algorithms Algorithm is a method for solving problem using instructions Algorithms can be written using pseudocode Pseudocode is intended for  human reading  rather than machine reading The use of natural language and structural convention of programming language
Pseudocode Pseudocode consists of Clear natural human readable language Three rules sequence choice (if) repeat (while)
1. Sequence Sequence means that the given instructions are executed in the same order that they were given print to the screen "What is your name?" read the answer and store it into variable NAME print to the screen "You have a funny name, " print to the screen NAME print to the screen "!"
2. Choice With choice, one can choose which instructions are executed print to the screen "What is your name?" read the answer and store it into variable NAME if(NAME = "Jussi") print to the screen "What a stupid name!" else print to the screen "Nice name you have!"
Example of Choice print "What grade did you get?" grade := getInput() if(grade = 4) print "FAIL!"; else if(grade = 5) print "You are an idiot!"; else if(grade = 6) print "Lazy or and idiot?"; ...
3. Repeat In repeat one executes instructions based on condition while(there is food on the plate) Eat food
Example of Repeat i := 0 while(i < 3) print &quot;Hello World!&quot; i := i + 1
Three basic rules 1) Sequence Get up from bed Dress up Go to the shower Go to work 2) Choice If car is broken, go to work by bus. Otherwise go to work by car 3) Repeat Drink until the bottle is empty
Pseudocode Exercise Write an algorithm with pseudocode that asks from the user two numbers. If the sum of those numbers are greater than 12, program outputs &quot;Big numbers you gave&quot;. Otherwise the program outputs &quot;Small numbers you gave&quot;.

More Related Content

What's hot (20)

Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Computer Programming
Computer ProgrammingComputer Programming
Computer Programming
Syed Zaid Irshad
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Neeru Mittal
 
PHP Variables and scopes
PHP Variables and scopesPHP Variables and scopes
PHP Variables and scopes
sana mateen
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
Trivuz ত্রিভুজ
 
Operating system basics
Operating system basicsOperating system basics
Operating system basics
John Carlo Catacutan
 
Assemblers
AssemblersAssemblers
Assemblers
Dattatray Gandhmal
 
Array in c
Array in cArray in c
Array in c
Ravi Gelani
 
Looping statements in Java
Looping statements in JavaLooping statements in Java
Looping statements in Java
Jin Castor
 
Imperative programming
Imperative programmingImperative programming
Imperative programming
Edward Blurock
 
Compiler Design Basics
Compiler Design BasicsCompiler Design Basics
Compiler Design Basics
Akhil Kaushik
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming Language
Ahmad Idrees
 
Theory of programming
Theory of programmingTheory of programming
Theory of programming
tcc_joemarie
 
Visula C# Programming Lecture 1
Visula C# Programming Lecture 1Visula C# Programming Lecture 1
Visula C# Programming Lecture 1
Abou Bakr Ashraf
 
Linux OS presentation
Linux OS presentationLinux OS presentation
Linux OS presentation
SahilGothoskar
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
AqsaHayat3
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
Rokonuzzaman Rony
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Rabin BK
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
fazli khaliq
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
Neeru Mittal
 
PHP Variables and scopes
PHP Variables and scopesPHP Variables and scopes
PHP Variables and scopes
sana mateen
 
Looping statements in Java
Looping statements in JavaLooping statements in Java
Looping statements in Java
Jin Castor
 
Imperative programming
Imperative programmingImperative programming
Imperative programming
Edward Blurock
 
Compiler Design Basics
Compiler Design BasicsCompiler Design Basics
Compiler Design Basics
Akhil Kaushik
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
Varun Garg
 
Basics of c++ Programming Language
Basics of c++ Programming LanguageBasics of c++ Programming Language
Basics of c++ Programming Language
Ahmad Idrees
 
Theory of programming
Theory of programmingTheory of programming
Theory of programming
tcc_joemarie
 
Visula C# Programming Lecture 1
Visula C# Programming Lecture 1Visula C# Programming Lecture 1
Visula C# Programming Lecture 1
Abou Bakr Ashraf
 
Visual programming lecture
Visual programming lecture Visual programming lecture
Visual programming lecture
AqsaHayat3
 
Introduction Programming Languages
Introduction Programming LanguagesIntroduction Programming Languages
Introduction Programming Languages
Manish Kharotia
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
Rokonuzzaman Rony
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
Rabin BK
 

Similar to Intro To Programming Concepts (20)

Introduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkkIntroduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1
Mubarek Kurt
 
Algorithms - Introduction to computer programming
Algorithms - Introduction to computer programmingAlgorithms - Introduction to computer programming
Algorithms - Introduction to computer programming
baabtra.com - No. 1 supplier of quality freshers
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptx
Neil Mutia
 
Unit1 C
Unit1 CUnit1 C
Unit1 C
arnold 7490
 
Unit1 C
Unit1 CUnit1 C
Unit1 C
arnold 7490
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
TamiratDejene1
 
structured programming Introduction to c fundamentals
structured programming Introduction to c fundamentalsstructured programming Introduction to c fundamentals
structured programming Introduction to c fundamentals
OMWOMA JACKSON
 
Session 1
Session 1Session 1
Session 1
pham vu
 
Session 1
Session 1Session 1
Session 1
pham vu
 
Chapter 1- C++ programming languages +.ppt
Chapter 1- C++ programming languages +.pptChapter 1- C++ programming languages +.ppt
Chapter 1- C++ programming languages +.ppt
anawaarabdujabbaar
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
smkengkilili2011
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
MAHAMASADIK
 
Synapseindia dot net development computer programming
Synapseindia dot net development  computer programmingSynapseindia dot net development  computer programming
Synapseindia dot net development computer programming
Synapseindiappsdevelopment
 
01CHAP_1.PPT
01CHAP_1.PPT01CHAP_1.PPT
01CHAP_1.PPT
ManoRanjani30
 
intro.ppt
intro.pptintro.ppt
intro.ppt
NISHASOMSCS113
 
Slide 01
Slide 01Slide 01
Slide 01
Dash Chan
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Programming Fundamentals - Lecture 1.ppt
Programming Fundamentals - Lecture 1.pptProgramming Fundamentals - Lecture 1.ppt
Programming Fundamentals - Lecture 1.ppt
FarhanGhafoor7
 
Cs1123 2 comp_prog
Cs1123 2 comp_progCs1123 2 comp_prog
Cs1123 2 comp_prog
TAlha MAlik
 
Introduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkkIntroduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1INTRODUCTION TO C++, Chapter 1
INTRODUCTION TO C++, Chapter 1
Mubarek Kurt
 
Lesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptxLesson 1 - Introduction to Computer Programming.pptx
Lesson 1 - Introduction to Computer Programming.pptx
Neil Mutia
 
structured programming Introduction to c fundamentals
structured programming Introduction to c fundamentalsstructured programming Introduction to c fundamentals
structured programming Introduction to c fundamentals
OMWOMA JACKSON
 
Session 1
Session 1Session 1
Session 1
pham vu
 
Session 1
Session 1Session 1
Session 1
pham vu
 
Chapter 1- C++ programming languages +.ppt
Chapter 1- C++ programming languages +.pptChapter 1- C++ programming languages +.ppt
Chapter 1- C++ programming languages +.ppt
anawaarabdujabbaar
 
Chapter 5( programming) answer
Chapter 5( programming) answerChapter 5( programming) answer
Chapter 5( programming) answer
smkengkilili2011
 
Synapseindia dot net development computer programming
Synapseindia dot net development  computer programmingSynapseindia dot net development  computer programming
Synapseindia dot net development computer programming
Synapseindiappsdevelopment
 
introductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptxintroductiontocomputerprogramming.pptx
introductiontocomputerprogramming.pptx
HazardRhenz1
 
Programming Fundamentals - Lecture 1.ppt
Programming Fundamentals - Lecture 1.pptProgramming Fundamentals - Lecture 1.ppt
Programming Fundamentals - Lecture 1.ppt
FarhanGhafoor7
 
Cs1123 2 comp_prog
Cs1123 2 comp_progCs1123 2 comp_prog
Cs1123 2 comp_prog
TAlha MAlik
 
Ad

More from Jussi Pohjolainen (20)

Moved to Speakerdeck
Moved to SpeakerdeckMoved to Speakerdeck
Moved to Speakerdeck
Jussi Pohjolainen
 
Java Web Services
Java Web ServicesJava Web Services
Java Web Services
Jussi Pohjolainen
 
Box2D and libGDX
Box2D and libGDXBox2D and libGDX
Box2D and libGDX
Jussi Pohjolainen
 
libGDX: Screens, Fonts and Preferences
libGDX: Screens, Fonts and PreferenceslibGDX: Screens, Fonts and Preferences
libGDX: Screens, Fonts and Preferences
Jussi Pohjolainen
 
libGDX: Tiled Maps
libGDX: Tiled MapslibGDX: Tiled Maps
libGDX: Tiled Maps
Jussi Pohjolainen
 
libGDX: User Input and Frame by Frame Animation
libGDX: User Input and Frame by Frame AnimationlibGDX: User Input and Frame by Frame Animation
libGDX: User Input and Frame by Frame Animation
Jussi Pohjolainen
 
Intro to Building Android Games using libGDX
Intro to Building Android Games using libGDXIntro to Building Android Games using libGDX
Intro to Building Android Games using libGDX
Jussi Pohjolainen
 
Advanced JavaScript Development
Advanced JavaScript DevelopmentAdvanced JavaScript Development
Advanced JavaScript Development
Jussi Pohjolainen
 
Introduction to JavaScript
Introduction to JavaScriptIntroduction to JavaScript
Introduction to JavaScript
Jussi Pohjolainen
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
Jussi Pohjolainen
 
libGDX: Scene2D
libGDX: Scene2DlibGDX: Scene2D
libGDX: Scene2D
Jussi Pohjolainen
 
libGDX: Simple Frame Animation
libGDX: Simple Frame AnimationlibGDX: Simple Frame Animation
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
libGDX: Simple Frame Animation
libGDX: Simple Frame AnimationlibGDX: Simple Frame Animation
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
libGDX: User Input
libGDX: User InputlibGDX: User Input
libGDX: User Input
Jussi Pohjolainen
 
Implementing a Simple Game using libGDX
Implementing a Simple Game using libGDXImplementing a Simple Game using libGDX
Implementing a Simple Game using libGDX
Jussi Pohjolainen
 
Building Android games using LibGDX
Building Android games using LibGDXBuilding Android games using LibGDX
Building Android games using LibGDX
Jussi Pohjolainen
 
Android Threading
Android ThreadingAndroid Threading
Android Threading
Jussi Pohjolainen
 
Creating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Creating Asha Games: Game Pausing, Orientation, Sensors and GesturesCreating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Creating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Jussi Pohjolainen
 
Creating Games for Asha - platform
Creating Games for Asha - platformCreating Games for Asha - platform
Creating Games for Asha - platform
Jussi Pohjolainen
 
Intro to Asha UI
Intro to Asha UIIntro to Asha UI
Intro to Asha UI
Jussi Pohjolainen
 
libGDX: Screens, Fonts and Preferences
libGDX: Screens, Fonts and PreferenceslibGDX: Screens, Fonts and Preferences
libGDX: Screens, Fonts and Preferences
Jussi Pohjolainen
 
libGDX: User Input and Frame by Frame Animation
libGDX: User Input and Frame by Frame AnimationlibGDX: User Input and Frame by Frame Animation
libGDX: User Input and Frame by Frame Animation
Jussi Pohjolainen
 
Intro to Building Android Games using libGDX
Intro to Building Android Games using libGDXIntro to Building Android Games using libGDX
Intro to Building Android Games using libGDX
Jussi Pohjolainen
 
Advanced JavaScript Development
Advanced JavaScript DevelopmentAdvanced JavaScript Development
Advanced JavaScript Development
Jussi Pohjolainen
 
libGDX: Simple Frame Animation
libGDX: Simple Frame AnimationlibGDX: Simple Frame Animation
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
libGDX: Simple Frame Animation
libGDX: Simple Frame AnimationlibGDX: Simple Frame Animation
libGDX: Simple Frame Animation
Jussi Pohjolainen
 
Implementing a Simple Game using libGDX
Implementing a Simple Game using libGDXImplementing a Simple Game using libGDX
Implementing a Simple Game using libGDX
Jussi Pohjolainen
 
Building Android games using LibGDX
Building Android games using LibGDXBuilding Android games using LibGDX
Building Android games using LibGDX
Jussi Pohjolainen
 
Creating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Creating Asha Games: Game Pausing, Orientation, Sensors and GesturesCreating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Creating Asha Games: Game Pausing, Orientation, Sensors and Gestures
Jussi Pohjolainen
 
Creating Games for Asha - platform
Creating Games for Asha - platformCreating Games for Asha - platform
Creating Games for Asha - platform
Jussi Pohjolainen
 
Ad

Recently uploaded (20)

Fortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in CybersecurityFortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in Cybersecurity
VICTOR MAESTRE RAMIREZ
 
Data Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any ApplicationData Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any Application
Safe Software
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Palo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity FoundationPalo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity Foundation
VICTOR MAESTRE RAMIREZ
 
Jira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : IntroductionJira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : Introduction
Ravi Teja
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
Introducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRCIntroducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRC
Adtran
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
Introducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and ARIntroducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and AR
Safe Software
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptxECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
Jasper Oosterveld
 
UiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build PipelinesUiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build Pipelines
UiPathCommunity
 
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath InsightsUiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPathCommunity
 
Securiport - A Border Security Company
Securiport  -  A Border Security CompanySecuriport  -  A Border Security Company
Securiport - A Border Security Company
Securiport
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
Evaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical ContentEvaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical Content
Paul Groth
 
Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025
Prasta Maha
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Dev Dives: System-to-system integration with UiPath API Workflows
Dev Dives: System-to-system integration with UiPath API WorkflowsDev Dives: System-to-system integration with UiPath API Workflows
Dev Dives: System-to-system integration with UiPath API Workflows
UiPathCommunity
 
Fortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in CybersecurityFortinet Certified Associate in Cybersecurity
Fortinet Certified Associate in Cybersecurity
VICTOR MAESTRE RAMIREZ
 
Data Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any ApplicationData Virtualization: Bringing the Power of FME to Any Application
Data Virtualization: Bringing the Power of FME to Any Application
Safe Software
 
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Protecting Your Sensitive Data with Microsoft Purview - IRMS 2025
Nikki Chapple
 
Palo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity FoundationPalo Alto Networks Cybersecurity Foundation
Palo Alto Networks Cybersecurity Foundation
VICTOR MAESTRE RAMIREZ
 
Jira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : IntroductionJira Administration Training – Day 1 : Introduction
Jira Administration Training – Day 1 : Introduction
Ravi Teja
 
Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...Cyber security cyber security cyber security cyber security cyber security cy...
Cyber security cyber security cyber security cyber security cyber security cy...
pranavbodhak
 
Introducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRCIntroducing the OSA 3200 SP and OSA 3250 ePRC
Introducing the OSA 3200 SP and OSA 3250 ePRC
Adtran
 
LSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection FunctionLSNIF: Locally-Subdivided Neural Intersection Function
LSNIF: Locally-Subdivided Neural Intersection Function
Takahiro Harada
 
Let’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack CommunityLet’s Get Slack Certified! 🚀- Slack Community
Let’s Get Slack Certified! 🚀- Slack Community
SanjeetMishra29
 
Introducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and ARIntroducing FME Realize: A New Era of Spatial Computing and AR
Introducing FME Realize: A New Era of Spatial Computing and AR
Safe Software
 
Contributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptxContributing to WordPress With & Without Code.pptx
Contributing to WordPress With & Without Code.pptx
Patrick Lumumba
 
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptxECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
ECS25 - The adventures of a Microsoft 365 Platform Owner - Website.pptx
Jasper Oosterveld
 
UiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build PipelinesUiPath Community Zurich: Release Management and Build Pipelines
UiPath Community Zurich: Release Management and Build Pipelines
UiPathCommunity
 
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath InsightsUiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPath Community Berlin: Studio Tips & Tricks and UiPath Insights
UiPathCommunity
 
Securiport - A Border Security Company
Securiport  -  A Border Security CompanySecuriport  -  A Border Security Company
Securiport - A Border Security Company
Securiport
 
Maxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing placeMaxx nft market place new generation nft marketing place
Maxx nft market place new generation nft marketing place
usersalmanrazdelhi
 
Evaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical ContentEvaluation Challenges in Using Generative AI for Science & Technical Content
Evaluation Challenges in Using Generative AI for Science & Technical Content
Paul Groth
 
Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025Kubernetes Cloud Native Indonesia Meetup - May 2025
Kubernetes Cloud Native Indonesia Meetup - May 2025
Prasta Maha
 
Droidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing HealthcareDroidal: AI Agents Revolutionizing Healthcare
Droidal: AI Agents Revolutionizing Healthcare
Droidal LLC
 
Dev Dives: System-to-system integration with UiPath API Workflows
Dev Dives: System-to-system integration with UiPath API WorkflowsDev Dives: System-to-system integration with UiPath API Workflows
Dev Dives: System-to-system integration with UiPath API Workflows
UiPathCommunity
 

Intro To Programming Concepts

  • 1. Introduction to Programming Concepts Jussi Pohjolainen TAMK University of Applied Sciences
  • 2. Computer Program Computer program are instructions for a computer Computer executes the program in CPU Program has an executable form Computer program gets input from the user Computer program can generate information to the user, this information is called output
  • 3. Input and Output Computer Program input output
  • 4. Designing, Implementing and Testing Specification (&quot;What we are suppose to implement?&quot;) 1) Design the program Structure, Algorithms, Architecture 2) Implement according to the design Implement using some programming language 3) Test the program Is the program the same than in specification?
  • 5. Specification Before implementing, one must know what to implement Specification is very important What is the possible input and output of the program? If specification contains errors, it's very hard to correct the program...
  • 6. Designing Computer Program Architecture UML Diagrams (If OO) Data Structures Algorithms
  • 7. Compiling and Running Programs Implementing Programs
  • 8. Computer and Operating System The basic parts of the computer Processor, RAM, Hard Drive, input and output devices.... The instructions you give to the processor are given in machine language Operating system hosts the programs
  • 9. Machine Language Computer program is just instructions to the CPU These instructions are given only in machine language, and this is the only language that the CPU understands Machine language is very hard to implement
  • 10. Computer Language Because machine language is so hard to implement, programmers do not use it Instead of using machine language , programmers use some high level (compiler) language... ... but the computer does not understand anything but the machine language! Compiler comes to the rescue! Compiler translates high level language to machine language
  • 11. Miscommunication 010101010111011111010101010101101010101010101010101 I just wanna a program that would calculate my body mass index? Okay? ?
  • 12. Solution 010101010111011111010101010101101010101010101010101 I wanna a BMI app. (but I don't want the results) int weight; int height; cin >> weight; cin >> height; ... Compiler
  • 13. Programming Languages There are many high level languages C, C++, C#, Perl, PHP, Java, Smalltalk, Objective-C Almost all of these languages have the same principals if, while, for, functions, methods...
  • 14. Programming Environment The source code of the program is Written Compiled (Linked) Into a computer program The source code is written with some text editor and it is compiled with some compiler
  • 15. Writing the program Source Code Source Code Compiling Machine Language Machine Language Linking Executable
  • 16. Compiling Java Programs Image from The Java Technology Phenomenon http://java.sun.com/docs/books/tutorial/getStarted/intro/definition.html
  • 17. Compiling Java Programs Image from The Java Technology Phenomenon http://java.sun.com/docs/books/tutorial/getStarted/intro/definition.html
  • 19. Algorithms Algorithm is a method for solving problem using instructions Algorithms can be written using pseudocode Pseudocode is intended for human reading rather than machine reading The use of natural language and structural convention of programming language
  • 20. Pseudocode Pseudocode consists of Clear natural human readable language Three rules sequence choice (if) repeat (while)
  • 21. 1. Sequence Sequence means that the given instructions are executed in the same order that they were given print to the screen &quot;What is your name?&quot; read the answer and store it into variable NAME print to the screen &quot;You have a funny name, &quot; print to the screen NAME print to the screen &quot;!&quot;
  • 22. 2. Choice With choice, one can choose which instructions are executed print to the screen &quot;What is your name?&quot; read the answer and store it into variable NAME if(NAME = &quot;Jussi&quot;) print to the screen &quot;What a stupid name!&quot; else print to the screen &quot;Nice name you have!&quot;
  • 23. Example of Choice print &quot;What grade did you get?&quot; grade := getInput() if(grade = 4) print &quot;FAIL!&quot;; else if(grade = 5) print &quot;You are an idiot!&quot;; else if(grade = 6) print &quot;Lazy or and idiot?&quot;; ...
  • 24. 3. Repeat In repeat one executes instructions based on condition while(there is food on the plate) Eat food
  • 25. Example of Repeat i := 0 while(i < 3) print &quot;Hello World!&quot; i := i + 1
  • 26. Three basic rules 1) Sequence Get up from bed Dress up Go to the shower Go to work 2) Choice If car is broken, go to work by bus. Otherwise go to work by car 3) Repeat Drink until the bottle is empty
  • 27. Pseudocode Exercise Write an algorithm with pseudocode that asks from the user two numbers. If the sum of those numbers are greater than 12, program outputs &quot;Big numbers you gave&quot;. Otherwise the program outputs &quot;Small numbers you gave&quot;.