SlideShare a Scribd company logo
1 of 1
ICT--.Design by : Mrs.Siti 2009
5.0 PROGRAMMING
Basic Programming Concepts
Program Development
Definition of program & program language
A computer program is a series of organized instructions that directs a
computer to perform task.
Programming language is a set of words, symbols and codes that enables
human to communicate with computers.
Programming is a creation of a set of commands or instructions which directs a
computer in carrying out a task.
Level & generation of Programming Language
Low-level Languages High-level Languages
First Generation
Ex: Machine Language
Third Generation
Ex: COBOL, BASIC, C , ADA, C++
Second Generation
Ex: Assembly Language
Fourth Generation
Ex: Report Generators, Query Language,SQL,
NOMAD,FOCUS
Fifth Generation
Ex: Natural Language,Prolog, Mercury
Programming Language Approaches
Structured Object-oriented
Use top-down model โ€“ the whole
program is broken down into smaller
sections that are known as modules
Use object- combines data with functions
to create objects.
Translation method : assembler, interpreter & compiler
Assembler Interpreter Compiler
A computer program for
translating assembly
language
Ex: MACRO-80
Assembler, Microsoft
MASM
Is used to interpret and
execute program directly
from its source without
compiling it first.
Ex: BASIC, Logo,
Smalltalk
The source code (in text
format) will be converted
into machine code which
is a file consisting of
binary machine code that
can be executed on a
computer.
Control Structures
Selection Control Sequence Control
Execution Flow Executes statement one
by one in linear or
consecutive order
Executes different
statements for different
conditions
Usage Use when want to
execute code line by
line
Do not use the
decision symbols
Use when want to
implement decision
making process in a
program
Use the decision
symbols
Program Development Phases:
i. Problem Analysis
ii. Program Design
iii. Coding
iv. Testing & debugging
v. Documentation
Basic elements in programming :
Constants Variables Data Types Operators
Value is not
changeable
during the
course of the
program
Values can
be changed
anytime
during the
course of the
program
Integer
Ex: 18,79,21
Double
Ex: 41.5, 31.4
String
Ex: Amira, Alex
Boolean
Ex: TRUE,FALSE
Mathematical Operator:
Plus (+)
Minus (-)
Equal (=)
Divide ( / )
Multiply (*)
Use constant
when you
want to
declare
something
that wonโ€™t be
changed
midway in
your program
execution
Use variable
to store data
that may or
will change
during the
running of
the program
Relational Operator:
Ex : >, <, =, <=, >=
Logical Operators:
AND, OR and NOT

More Related Content

What's hot

Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming ConceptsJussi Pohjolainen
ย 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer ProgrammingProf. Erwin Globio
ย 
ICT, Importance of programming and programming languages
ICT, Importance of programming and programming languagesICT, Importance of programming and programming languages
ICT, Importance of programming and programming languagesEbin Robinson
ย 
The Programmer Life Cycle
The Programmer Life CycleThe Programmer Life Cycle
The Programmer Life CycleRussell Ovans
ย 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreterParas Patel
ย 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programmingRob Paok
ย 
Assembler
AssemblerAssembler
AssemblerSuneel Dogra
ย 
Chapter 5
Chapter 5Chapter 5
Chapter 5meisaina
ย 
Basic Programming Concept
Basic Programming ConceptBasic Programming Concept
Basic Programming ConceptCma Mohd
ย 
Presentation1 (1)
Presentation1 (1)Presentation1 (1)
Presentation1 (1)Somu Ragavan
ย 
270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functionsray143eddie
ย 
Planning to computer program(southeast university)
Planning to computer program(southeast university)Planning to computer program(southeast university)
Planning to computer program(southeast university)Arup deb nath
ย 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresNisarg Amin
ย 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingNeeru Mittal
ย 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Md Hossen
ย 
Programming in c
Programming in cProgramming in c
Programming in cvishnu973656
ย 

What's hot (20)

Lec 1 intro
Lec 1 introLec 1 intro
Lec 1 intro
ย 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
ย 
Types of system software
Types of system softwareTypes of system software
Types of system software
ย 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
ย 
ICT, Importance of programming and programming languages
ICT, Importance of programming and programming languagesICT, Importance of programming and programming languages
ICT, Importance of programming and programming languages
ย 
The Programmer Life Cycle
The Programmer Life CycleThe Programmer Life Cycle
The Programmer Life Cycle
ย 
Compiler vs interpreter
Compiler vs interpreterCompiler vs interpreter
Compiler vs interpreter
ย 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
ย 
Chapter 10
Chapter 10 Chapter 10
Chapter 10
ย 
Assembler
AssemblerAssembler
Assembler
ย 
Chapter 5
Chapter 5Chapter 5
Chapter 5
ย 
Basic Programming Concept
Basic Programming ConceptBasic Programming Concept
Basic Programming Concept
ย 
Presentation1 (1)
Presentation1 (1)Presentation1 (1)
Presentation1 (1)
ย 
270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions270 1 c_intro_up_to_functions
270 1 c_intro_up_to_functions
ย 
Planning to computer program(southeast university)
Planning to computer program(southeast university)Planning to computer program(southeast university)
Planning to computer program(southeast university)
ย 
Programming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwaresProgramming languages,compiler,interpreter,softwares
Programming languages,compiler,interpreter,softwares
ย 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
ย 
Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.Compiler vs Interpreter-Compiler design ppt.
Compiler vs Interpreter-Compiler design ppt.
ย 
Programming
ProgrammingProgramming
Programming
ย 
Programming in c
Programming in cProgramming in c
Programming in c
ย 

Similar to Basic Programming Concepts

WEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTWEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTshahzadebaujiti
ย 
Intro1
Intro1Intro1
Intro1phanleson
ย 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and developmentAli Raza
ย 
Compiler Construction introduction
Compiler Construction introductionCompiler Construction introduction
Compiler Construction introductionRana Ehtisham Ul Haq
ย 
UNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptxUNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptxAdharshKokkula
ย 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming LanguageTeddy Marcus
ย 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design Dr. C.V. Suresh Babu
ย 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxAsst.prof M.Gokilavani
ย 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming languageVasavi College of Engg
ย 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfSubramanyambharathis
ย 
Insight into progam execution ppt
Insight into progam execution pptInsight into progam execution ppt
Insight into progam execution pptKeerty Smile
ย 
Chapter 5-programming
Chapter 5-programmingChapter 5-programming
Chapter 5-programmingAten Kecik
ย 
Chapter 1
Chapter 1Chapter 1
Chapter 1ZcelTablizo3
ย 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptxgaafergoda
ย 
Bsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c languageBsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c languageRai University
ย 
introduction to c language
 introduction to c language introduction to c language
introduction to c languageRai University
ย 

Similar to Basic Programming Concepts (20)

WEBSITE DEVELOPMENT
WEBSITE DEVELOPMENTWEBSITE DEVELOPMENT
WEBSITE DEVELOPMENT
ย 
Intro1
Intro1Intro1
Intro1
ย 
Software programming and development
Software programming and developmentSoftware programming and development
Software programming and development
ย 
Compiler Construction introduction
Compiler Construction introductionCompiler Construction introduction
Compiler Construction introduction
ย 
UNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptxUNIT 2 ECSE-2.pptx
UNIT 2 ECSE-2.pptx
ย 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
ย 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
ย 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptxUnit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
ย 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
ย 
Introduction of C Programming
Introduction of C ProgrammingIntroduction of C Programming
Introduction of C Programming
ย 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
ย 
Insight into progam execution ppt
Insight into progam execution pptInsight into progam execution ppt
Insight into progam execution ppt
ย 
Chapter 5-programming
Chapter 5-programmingChapter 5-programming
Chapter 5-programming
ย 
Computer Programming
Computer Programming Computer Programming
Computer Programming
ย 
Chapter 1
Chapter 1Chapter 1
Chapter 1
ย 
CS3251-_PIC
CS3251-_PICCS3251-_PIC
CS3251-_PIC
ย 
Computer and programing basics.pptx
Computer and programing basics.pptxComputer and programing basics.pptx
Computer and programing basics.pptx
ย 
Bsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c languageBsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c language
ย 
Beekman5 std ppt_13
Beekman5 std ppt_13Beekman5 std ppt_13
Beekman5 std ppt_13
ย 
introduction to c language
 introduction to c language introduction to c language
introduction to c language
ย 

More from Bazlin Ahmad

Rf.cwla5 s11.1
Rf.cwla5 s11.1Rf.cwla5 s11.1
Rf.cwla5 s11.1Bazlin Ahmad
ย 
Template s07.1 [2015]
Template s07.1 [2015]Template s07.1 [2015]
Template s07.1 [2015]Bazlin Ahmad
ย 
Template s05.1
Template s05.1Template s05.1
Template s05.1Bazlin Ahmad
ย 
Hsp nasa taip column i think
Hsp nasa taip column i thinkHsp nasa taip column i think
Hsp nasa taip column i thinkBazlin Ahmad
ย 
Cover s07.1
Cover s07.1Cover s07.1
Cover s07.1Bazlin Ahmad
ย 
Cover s05.1
Cover s05.1Cover s05.1
Cover s05.1Bazlin Ahmad
ย 
Bukulatihanict la1
Bukulatihanict la1Bukulatihanict la1
Bukulatihanict la1Bazlin Ahmad
ย 
Bukulatihanict la1
Bukulatihanict la1Bukulatihanict la1
Bukulatihanict la1Bazlin Ahmad
ย 
Tugas tugas komputer
Tugas tugas komputerTugas tugas komputer
Tugas tugas komputerBazlin Ahmad
ย 
Tmk dan kemasyarakat
Tmk dan kemasyarakatTmk dan kemasyarakat
Tmk dan kemasyarakatBazlin Ahmad
ย 
Perkakasan komputer
Perkakasan komputerPerkakasan komputer
Perkakasan komputerBazlin Ahmad
ย 
Etika & penyalahgunaan
Etika & penyalahgunaanEtika & penyalahgunaan
Etika & penyalahgunaanBazlin Ahmad
ย 
Bidang pembelajaran-4-3
Bidang pembelajaran-4-3Bidang pembelajaran-4-3
Bidang pembelajaran-4-3Bazlin Ahmad
ย 
Bidang pembelajaran-4-2
Bidang pembelajaran-4-2Bidang pembelajaran-4-2
Bidang pembelajaran-4-2Bazlin Ahmad
ย 
Bidang pembelajaran-1-3-tingkatan-4
Bidang pembelajaran-1-3-tingkatan-4Bidang pembelajaran-1-3-tingkatan-4
Bidang pembelajaran-1-3-tingkatan-4Bazlin Ahmad
ย 
Bidang pembelajaran-1-2-tingkatan-4
Bidang pembelajaran-1-2-tingkatan-4Bidang pembelajaran-1-2-tingkatan-4
Bidang pembelajaran-1-2-tingkatan-4Bazlin Ahmad
ย 
Bidang pembelajaran-1-1-tingkatan-4
Bidang pembelajaran-1-1-tingkatan-4Bidang pembelajaran-1-1-tingkatan-4
Bidang pembelajaran-1-1-tingkatan-4Bazlin Ahmad
ย 
Slot1tmk 140124182837-phpapp01
Slot1tmk 140124182837-phpapp01Slot1tmk 140124182837-phpapp01
Slot1tmk 140124182837-phpapp01Bazlin Ahmad
ย 

More from Bazlin Ahmad (20)

Class2
Class2Class2
Class2
ย 
Rf.cwla5 s11.1
Rf.cwla5 s11.1Rf.cwla5 s11.1
Rf.cwla5 s11.1
ย 
Template s07.1 [2015]
Template s07.1 [2015]Template s07.1 [2015]
Template s07.1 [2015]
ย 
Template s05.1
Template s05.1Template s05.1
Template s05.1
ย 
Hsp nasa taip column i think
Hsp nasa taip column i thinkHsp nasa taip column i think
Hsp nasa taip column i think
ย 
Cover s07.1
Cover s07.1Cover s07.1
Cover s07.1
ย 
Cover s05.1
Cover s05.1Cover s05.1
Cover s05.1
ย 
Bukulatihanict la1
Bukulatihanict la1Bukulatihanict la1
Bukulatihanict la1
ย 
Bukulatihanict la1
Bukulatihanict la1Bukulatihanict la1
Bukulatihanict la1
ย 
Virus
VirusVirus
Virus
ย 
Tugas tugas komputer
Tugas tugas komputerTugas tugas komputer
Tugas tugas komputer
ย 
Tmk dan kemasyarakat
Tmk dan kemasyarakatTmk dan kemasyarakat
Tmk dan kemasyarakat
ย 
Perkakasan komputer
Perkakasan komputerPerkakasan komputer
Perkakasan komputer
ย 
Etika & penyalahgunaan
Etika & penyalahgunaanEtika & penyalahgunaan
Etika & penyalahgunaan
ย 
Bidang pembelajaran-4-3
Bidang pembelajaran-4-3Bidang pembelajaran-4-3
Bidang pembelajaran-4-3
ย 
Bidang pembelajaran-4-2
Bidang pembelajaran-4-2Bidang pembelajaran-4-2
Bidang pembelajaran-4-2
ย 
Bidang pembelajaran-1-3-tingkatan-4
Bidang pembelajaran-1-3-tingkatan-4Bidang pembelajaran-1-3-tingkatan-4
Bidang pembelajaran-1-3-tingkatan-4
ย 
Bidang pembelajaran-1-2-tingkatan-4
Bidang pembelajaran-1-2-tingkatan-4Bidang pembelajaran-1-2-tingkatan-4
Bidang pembelajaran-1-2-tingkatan-4
ย 
Bidang pembelajaran-1-1-tingkatan-4
Bidang pembelajaran-1-1-tingkatan-4Bidang pembelajaran-1-1-tingkatan-4
Bidang pembelajaran-1-1-tingkatan-4
ย 
Slot1tmk 140124182837-phpapp01
Slot1tmk 140124182837-phpapp01Slot1tmk 140124182837-phpapp01
Slot1tmk 140124182837-phpapp01
ย 

Recently uploaded

Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxsqpmdrvczh
ย 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
ย 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
ย 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
ย 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
ย 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayMakMakNepo
ย 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
ย 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
ย 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
ย 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
ย 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
ย 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
ย 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
ย 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxLigayaBacuel1
ย 

Recently uploaded (20)

Romantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptxRomantic Opera MUSIC FOR GRADE NINE pptx
Romantic Opera MUSIC FOR GRADE NINE pptx
ย 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
ย 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
ย 
Model Call Girl in Bikash Puri Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Bikash Puri  Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”Model Call Girl in Bikash Puri  Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
Model Call Girl in Bikash Puri Delhi reach out to us at ๐Ÿ”9953056974๐Ÿ”
ย 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
ย 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
ย 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
ย 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
ย 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ย 
Quarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up FridayQuarter 4 Peace-education.pptx Catch Up Friday
Quarter 4 Peace-education.pptx Catch Up Friday
ย 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
ย 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
ย 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
ย 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
ย 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
ย 
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Kamla Market (DELHI) ๐Ÿ” >เผ’9953330565๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
ย 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
ย 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
ย 
Planning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptxPlanning a health career 4th Quarter.pptx
Planning a health career 4th Quarter.pptx
ย 

Basic Programming Concepts

  • 1. ICT--.Design by : Mrs.Siti 2009 5.0 PROGRAMMING Basic Programming Concepts Program Development Definition of program & program language A computer program is a series of organized instructions that directs a computer to perform task. Programming language is a set of words, symbols and codes that enables human to communicate with computers. Programming is a creation of a set of commands or instructions which directs a computer in carrying out a task. Level & generation of Programming Language Low-level Languages High-level Languages First Generation Ex: Machine Language Third Generation Ex: COBOL, BASIC, C , ADA, C++ Second Generation Ex: Assembly Language Fourth Generation Ex: Report Generators, Query Language,SQL, NOMAD,FOCUS Fifth Generation Ex: Natural Language,Prolog, Mercury Programming Language Approaches Structured Object-oriented Use top-down model โ€“ the whole program is broken down into smaller sections that are known as modules Use object- combines data with functions to create objects. Translation method : assembler, interpreter & compiler Assembler Interpreter Compiler A computer program for translating assembly language Ex: MACRO-80 Assembler, Microsoft MASM Is used to interpret and execute program directly from its source without compiling it first. Ex: BASIC, Logo, Smalltalk The source code (in text format) will be converted into machine code which is a file consisting of binary machine code that can be executed on a computer. Control Structures Selection Control Sequence Control Execution Flow Executes statement one by one in linear or consecutive order Executes different statements for different conditions Usage Use when want to execute code line by line Do not use the decision symbols Use when want to implement decision making process in a program Use the decision symbols Program Development Phases: i. Problem Analysis ii. Program Design iii. Coding iv. Testing & debugging v. Documentation Basic elements in programming : Constants Variables Data Types Operators Value is not changeable during the course of the program Values can be changed anytime during the course of the program Integer Ex: 18,79,21 Double Ex: 41.5, 31.4 String Ex: Amira, Alex Boolean Ex: TRUE,FALSE Mathematical Operator: Plus (+) Minus (-) Equal (=) Divide ( / ) Multiply (*) Use constant when you want to declare something that wonโ€™t be changed midway in your program execution Use variable to store data that may or will change during the running of the program Relational Operator: Ex : >, <, =, <=, >= Logical Operators: AND, OR and NOT