SlideShare a Scribd company logo
1 of 19
 Program is a set of a step-
by-step instructions that
tells or directs the
computer what to do.
 Programmer designs the
program, decides which of the
programs or set of instructions
to use and tests the program to
see if it is working as designed.
2. Planning
the
Solution
3. Coding
the
Program
4. Testing
the
Program
5. Documentation
1. Identifying
the Problem
1. Identifying the Problem
 It involves determining the requirement of the program.
You have to analyze the need to be able to come up with a
suitable programming solution.
2. Planning the Solution
 There are two ways of planning the solution to a problem,
they are flowchart and pseudo-code.
 Flowchart – graphical representation of the step by step
instruction.
 Pseudo-code – listing down the set of instructions.
3. Coding the Program
 Visual Basic - is used as the programming language.
 Syntax – Set of rules of programming language.
 Syntax Error – If a rule is violated, it will produce error
like misspelling.
4. Testing the program
 Desk checking – The programmer just mentally traces or
checks the program to make sure that it is error free.
 Translation – The programming language uses a translator
to ensure that the programmer did not violate any language
rules.
 Debugging – This means detecting, locating and correcting
bugs.
5. Documentation
 The programmer makes a detailed description on how the
program was created.
 It contains a brief narrative process undergone by the
program from the first step up to the fourth step
Symbol
Name
Action
RepresentedPicture Shape
Oval Terminal
Symbol
Represents start
and end of program
Parallelogram Input/
Output
Indicates input
and output
Rectangle Process
This represents
processing of action
e.g. mathematical operator
Diamond Decision
Answer the
question yes/ no
Hexagon Initialization
/ Preparation
Prepare memory
for repetition of
an action
Symbol
Name
Action
RepresentedPicture Shape
Arrow Lines &
Arrow Heads
Direction Shows the flow
of the program
Annotation Used to
describe action
or variables
Circle On page
connector
Connector or
part of
program to
another part
Pentagon Off-page
connector
Connect part of a
program to
another part on
the other page
or paper
 Sequence – process is executed from one to another
in a straight forward manner.
Flowchart: Algorithm:
Step 1: Read the value
of N
Step 2: Print the value
of N
Start
Read N
Print N
End
Procedural Languages – programming
languages which are considered procedural
uses a series of instructions or statements
which are sequential from beginning to the
end.
Example:
 BASIC (Beginner’s All-purpose Symbolic Instruction Code)
 COBOL (Common Business Oriented Language)
 PASCAL
 FORTRAN (Formula Translator)
 C
 PL1 (Programming Language 1)
Non-Procedural Languages – programming
languages are considered as object-oriented
programming languages. They are event-
driven which means that a programmer
selects an event that needs to occur before
the instruction or statement is executed.
Example:
 VISUAL BASIC
 C++
 JAVA
 DELPHI
Flowchart – is one of the processes used in designing
or planning the solution to a problem. It is a graphical
representation to the solution of a problem. It uses
shapes to show instructions and arrow lines and
heads to display the flow.
Machine Language or First Generation
Programming Language
Assembly Languages or Second
Generation Programming Language
High Level Language or Third
Generation Programming Language
(3GL)
Very High Level Languages or Fourth
Generation Languages (4GL)
 Natural Languages
 This is considered to be the lowest level of programming
language. The program is represented by 1s and 0s. We all
know that 1s and 0s or binary number is the only language
the computer understands. Machine language programming
is a very tedious task because for just a simple task, the
program code required would be very long.
 This is also considered as low level language. However,
programmers would find this language easier to use than machine
language. Instead of using 1s and 0s, assembly language uses
mnemonic codes. Mnemonic codes are abbreviations that are easy
to remember. Each type of computer has its own assembly
language. This means that once you have started your
programming, you cannot use a different computer to continue
your work.
 This language transformed programming in the early 1960s.
It makes programming easier since the language is now
written in English like manner. If assembler is used by
assembly language, third generation languages use
translator to convert the program into a machine language.
 Fourth generation languages (4GL) simplifies further the third
level generation languages (3GL) because there is a reduction in
the number of instructional statements. One hundred (100) lines
of instructions in 3GLs can be reduced to five (5) to twenty (20)
lines of instructions in 4GLs.
 These languages are considered to be that fifth generation
languages. These programming languages are called natural
languages because of their resemblance to English language.
Natural Languages have the capability to translate human
instructions into code that a computer understands. If it
gets confused with the user’s instructions, it asks for
further explanation.
introduction to programming

More Related Content

What's hot

Computer basic theory222
Computer basic theory222Computer basic theory222
Computer basic theory222Niraj Choudhary
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to ComputerMeg Grado
 
Ch 2 component of computer system
Ch 2 component of computer systemCh 2 component of computer system
Ch 2 component of computer systemKhan Yousafzai
 
Software and hardware overview
Software and hardware overviewSoftware and hardware overview
Software and hardware overviewChristianEmard
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systemsMuhammad Waqas
 
Computer Systems Foundation General
Computer Systems Foundation GeneralComputer Systems Foundation General
Computer Systems Foundation Generalmrcarty
 
Introduction to information technology lecture 1
Introduction to information technology   lecture 1Introduction to information technology   lecture 1
Introduction to information technology lecture 1CBAKhan
 
introduction to Basic parts of the computer
introduction to Basic parts of the computerintroduction to Basic parts of the computer
introduction to Basic parts of the computerclark bro
 
Basics of the Computer System
Basics of the Computer SystemBasics of the Computer System
Basics of the Computer SystemAhsan Rahim
 
This presentation is about Computer Systems and its Components
This presentation is about Computer Systems and its ComponentsThis presentation is about Computer Systems and its Components
This presentation is about Computer Systems and its Componentsabena
 
Types and components of computers
Types and components of computersTypes and components of computers
Types and components of computersCik Na Shohaili
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardwareK. A. M Lutfullah
 

What's hot (20)

Computer basic theory222
Computer basic theory222Computer basic theory222
Computer basic theory222
 
Introduction to Computer
Introduction to ComputerIntroduction to Computer
Introduction to Computer
 
Itc chapter # 3
Itc   chapter # 3Itc   chapter # 3
Itc chapter # 3
 
Ch 2 component of computer system
Ch 2 component of computer systemCh 2 component of computer system
Ch 2 component of computer system
 
Operating system
Operating systemOperating system
Operating system
 
Computer
ComputerComputer
Computer
 
Software and hardware overview
Software and hardware overviewSoftware and hardware overview
Software and hardware overview
 
Chapter1 introduction to computer systems
Chapter1 introduction to computer systemsChapter1 introduction to computer systems
Chapter1 introduction to computer systems
 
OPERATING SYSTEM
OPERATING SYSTEMOPERATING SYSTEM
OPERATING SYSTEM
 
Computer Systems Foundation General
Computer Systems Foundation GeneralComputer Systems Foundation General
Computer Systems Foundation General
 
Introduction to information technology lecture 1
Introduction to information technology   lecture 1Introduction to information technology   lecture 1
Introduction to information technology lecture 1
 
introduction to Basic parts of the computer
introduction to Basic parts of the computerintroduction to Basic parts of the computer
introduction to Basic parts of the computer
 
computer hardware
computer hardwarecomputer hardware
computer hardware
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
 
Basics of the Computer System
Basics of the Computer SystemBasics of the Computer System
Basics of the Computer System
 
This presentation is about Computer Systems and its Components
This presentation is about Computer Systems and its ComponentsThis presentation is about Computer Systems and its Components
This presentation is about Computer Systems and its Components
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
Types and components of computers
Types and components of computersTypes and components of computers
Types and components of computers
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardware
 
Introduction to programming languages
Introduction to programming languagesIntroduction to programming languages
Introduction to programming languages
 

Viewers also liked

Fundamental Programming Lect 5
Fundamental Programming Lect 5Fundamental Programming Lect 5
Fundamental Programming Lect 5Namrah Erum
 
Basis for comparison programming languages
Basis for comparison programming languagesBasis for comparison programming languages
Basis for comparison programming languagesAbdo ELhais
 
Programming language environments
Programming language environmentsProgramming language environments
Programming language environmentsMr McAlpine
 
Program & language generation
Program & language generationProgram & language generation
Program & language generationBuxoo Abdullah
 
Fundamental Programming Lect 4
Fundamental Programming Lect 4Fundamental Programming Lect 4
Fundamental Programming Lect 4Namrah Erum
 
Introduction to Agile
Introduction to AgileIntroduction to Agile
Introduction to Agileagorolabs
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming LanguagesTarun Sharma
 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of ProgrammingChapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programmingricsanmae
 
Fundamental Programming Lect 2
Fundamental Programming Lect 2Fundamental Programming Lect 2
Fundamental Programming Lect 2Namrah Erum
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overviewagorolabs
 
Overview of Programming Languages
Overview of Programming LanguagesOverview of Programming Languages
Overview of Programming LanguagesProf. Erwin Globio
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language conceptAfiq Sajuri
 
Evolution of Programming Languages Over the Years
Evolution of Programming Languages Over the YearsEvolution of Programming Languages Over the Years
Evolution of Programming Languages Over the Yearsdesigns.codes
 
Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cProgramming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cRaja Hamid
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 
Fundamental Programming Lect 3
Fundamental Programming Lect 3Fundamental Programming Lect 3
Fundamental Programming Lect 3Namrah Erum
 

Viewers also liked (20)

Fundamental Programming Lect 5
Fundamental Programming Lect 5Fundamental Programming Lect 5
Fundamental Programming Lect 5
 
Basis for comparison programming languages
Basis for comparison programming languagesBasis for comparison programming languages
Basis for comparison programming languages
 
Programming language environments
Programming language environmentsProgramming language environments
Programming language environments
 
Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Fundamental Programming Lect 4
Fundamental Programming Lect 4Fundamental Programming Lect 4
Fundamental Programming Lect 4
 
Introduction to Agile
Introduction to AgileIntroduction to Agile
Introduction to Agile
 
Generations of Programming Languages
Generations of Programming LanguagesGenerations of Programming Languages
Generations of Programming Languages
 
Chapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of ProgrammingChapter 1: Intro to Funds of Programming
Chapter 1: Intro to Funds of Programming
 
Fundamental Programming Lect 2
Fundamental Programming Lect 2Fundamental Programming Lect 2
Fundamental Programming Lect 2
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
 
Overview of Programming Languages
Overview of Programming LanguagesOverview of Programming Languages
Overview of Programming Languages
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
 
Evolution of Programming Languages Over the Years
Evolution of Programming Languages Over the YearsEvolution of Programming Languages Over the Years
Evolution of Programming Languages Over the Years
 
Programming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f cProgramming fundamentals lecture 1 0f c
Programming fundamentals lecture 1 0f c
 
CHAPTER 2
CHAPTER 2CHAPTER 2
CHAPTER 2
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Fundamental Programming Lect 3
Fundamental Programming Lect 3Fundamental Programming Lect 3
Fundamental Programming Lect 3
 
CHAPTER 1
CHAPTER 1CHAPTER 1
CHAPTER 1
 
Lab 1:c++
Lab 1:c++Lab 1:c++
Lab 1:c++
 

Similar to introduction to programming

Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Sehrish Rafiq
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)nharsh2308
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals ArghodeepPaul
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and developmentAli Raza
 
Computer programming
Computer programmingComputer programming
Computer programmingSuneel Dogra
 
Guerrero rullan ppt
Guerrero rullan pptGuerrero rullan ppt
Guerrero rullan pptgeorge1616
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programmingMukesh Tekwani
 
C Course material
C Course materialC Course material
C Course materialFareed Khan
 
Computer programing 111 lecture 1
Computer programing 111 lecture 1 Computer programing 111 lecture 1
Computer programing 111 lecture 1 ITNet
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxChewe Lulembo
 
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming LanguagesMuhammad Hammad Waseem
 

Similar to introduction to programming (20)

Computer
ComputerComputer
Computer
 
An introduction-to-programming
An introduction-to-programmingAn introduction-to-programming
An introduction-to-programming
 
Chapter 2.pptx
Chapter 2.pptxChapter 2.pptx
Chapter 2.pptx
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
Computer
ComputerComputer
Computer
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Introduction to programming language (basic)
Introduction to programming language (basic)Introduction to programming language (basic)
Introduction to programming language (basic)
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2
 
Guerrero rullan ppt
Guerrero rullan pptGuerrero rullan ppt
Guerrero rullan ppt
 
C programme presentation
C programme presentationC programme presentation
C programme presentation
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
C Course material
C Course materialC Course material
C Course material
 
Computer programing 111 lecture 1
Computer programing 111 lecture 1 Computer programing 111 lecture 1
Computer programing 111 lecture 1
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
 

Recently uploaded

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 

Recently uploaded (20)

"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 

introduction to programming

  • 1.
  • 2.  Program is a set of a step- by-step instructions that tells or directs the computer what to do.  Programmer designs the program, decides which of the programs or set of instructions to use and tests the program to see if it is working as designed.
  • 3. 2. Planning the Solution 3. Coding the Program 4. Testing the Program 5. Documentation 1. Identifying the Problem
  • 4. 1. Identifying the Problem  It involves determining the requirement of the program. You have to analyze the need to be able to come up with a suitable programming solution. 2. Planning the Solution  There are two ways of planning the solution to a problem, they are flowchart and pseudo-code.  Flowchart – graphical representation of the step by step instruction.  Pseudo-code – listing down the set of instructions. 3. Coding the Program  Visual Basic - is used as the programming language.  Syntax – Set of rules of programming language.  Syntax Error – If a rule is violated, it will produce error like misspelling.
  • 5. 4. Testing the program  Desk checking – The programmer just mentally traces or checks the program to make sure that it is error free.  Translation – The programming language uses a translator to ensure that the programmer did not violate any language rules.  Debugging – This means detecting, locating and correcting bugs. 5. Documentation  The programmer makes a detailed description on how the program was created.  It contains a brief narrative process undergone by the program from the first step up to the fourth step
  • 6. Symbol Name Action RepresentedPicture Shape Oval Terminal Symbol Represents start and end of program Parallelogram Input/ Output Indicates input and output Rectangle Process This represents processing of action e.g. mathematical operator Diamond Decision Answer the question yes/ no Hexagon Initialization / Preparation Prepare memory for repetition of an action
  • 7. Symbol Name Action RepresentedPicture Shape Arrow Lines & Arrow Heads Direction Shows the flow of the program Annotation Used to describe action or variables Circle On page connector Connector or part of program to another part Pentagon Off-page connector Connect part of a program to another part on the other page or paper
  • 8.  Sequence – process is executed from one to another in a straight forward manner.
  • 9. Flowchart: Algorithm: Step 1: Read the value of N Step 2: Print the value of N Start Read N Print N End
  • 10. Procedural Languages – programming languages which are considered procedural uses a series of instructions or statements which are sequential from beginning to the end. Example:  BASIC (Beginner’s All-purpose Symbolic Instruction Code)  COBOL (Common Business Oriented Language)  PASCAL  FORTRAN (Formula Translator)  C  PL1 (Programming Language 1)
  • 11. Non-Procedural Languages – programming languages are considered as object-oriented programming languages. They are event- driven which means that a programmer selects an event that needs to occur before the instruction or statement is executed. Example:  VISUAL BASIC  C++  JAVA  DELPHI
  • 12. Flowchart – is one of the processes used in designing or planning the solution to a problem. It is a graphical representation to the solution of a problem. It uses shapes to show instructions and arrow lines and heads to display the flow.
  • 13. Machine Language or First Generation Programming Language Assembly Languages or Second Generation Programming Language High Level Language or Third Generation Programming Language (3GL) Very High Level Languages or Fourth Generation Languages (4GL)  Natural Languages
  • 14.  This is considered to be the lowest level of programming language. The program is represented by 1s and 0s. We all know that 1s and 0s or binary number is the only language the computer understands. Machine language programming is a very tedious task because for just a simple task, the program code required would be very long.
  • 15.  This is also considered as low level language. However, programmers would find this language easier to use than machine language. Instead of using 1s and 0s, assembly language uses mnemonic codes. Mnemonic codes are abbreviations that are easy to remember. Each type of computer has its own assembly language. This means that once you have started your programming, you cannot use a different computer to continue your work.
  • 16.  This language transformed programming in the early 1960s. It makes programming easier since the language is now written in English like manner. If assembler is used by assembly language, third generation languages use translator to convert the program into a machine language.
  • 17.  Fourth generation languages (4GL) simplifies further the third level generation languages (3GL) because there is a reduction in the number of instructional statements. One hundred (100) lines of instructions in 3GLs can be reduced to five (5) to twenty (20) lines of instructions in 4GLs.
  • 18.  These languages are considered to be that fifth generation languages. These programming languages are called natural languages because of their resemblance to English language. Natural Languages have the capability to translate human instructions into code that a computer understands. If it gets confused with the user’s instructions, it asks for further explanation.