SlideShare a Scribd company logo
Introduction to Programming
Principles Languages
FP101
PROGRAMMING
PRINCIPLES
WEEK 3
LO 1
Explain the basic computer and programming fundamentals with
appropriate examples of language and technology.
Group activity:
orm a group with 6 members.
ist the following:
- Computer components
- Hardware
- Software
-Operating System
- Application
1.1 Computer Fundamentals
omputer is a device capable of performing computations and making
logical decisions at speed millions (even billions) of times faster than
human beings can.
omputer systems will include the computer along with any software
and peripheral devices that are necessary to make the computer
function.
1.1.1 Computer System Environment
The peripheral devices
5
Keyboard (Input Device)
Speaker
(Output
Device)
Hard disk (Secondary Storage)
Memory i.e. RAM & ROM
(Primary Storage)
Floppy disk (Secondary Storage)
CD ROM, DVD ROM
(Secondary Storage)
Mouse (Input Device)
Printer (Output Device)
Monitor
Screen
(Output
Device)
1.1.1 Computer System Environment
The peripheral devices
 Input Devices
 Capture/receive input from users
 Central Processing Unit (CPU)
 Execute instructions; compute, compare and
transform data
 Primary Storage or Main Memory
 Permanent storage for data/programs
 Output Devices
 Produce output/result
 Secondary Storage Devices
 Temporary storage for data/programs
1.1.1 Computer System Environment
The Software's
 Computer process data under the control
of sets of instructions called computer
programs.
 Also called as software programs.
 There are two types of software which
are operating system and application
software
Operating system
 consisting of programs and data, that runs
on computers, manages computer hardware
resources, and provides common services
for execution of various application
software.
 For hardware functions such as input and
output and memory allocation, the
operating system acts as an intermediary
between application programs and the
computer hardware
 Ex: LINUX, UNIX, MICROSOFT WINDOWS
1.1.1 Computer System Environment
The Software's
Application software
 is computer software designed to help
the user to perform singular or multiple
related specific tasks.
 Ex: Microsoft office, Adobe Photoshop,
Windows Media Player
1.1.1 Computer System Environment
The Software's
1.2 Evolution of Programming Language
n the computer industry, these abbreviations are widely
used to represent major steps or "generations" in the
evolution of programming languages.
1.2 Evolution of Programming Language
1.2.1 History of Programming Language and
Approaches
he history of computers starts out about 2000 years ago, at the
birth of the abacus, a wooden rack holding two horizontal wires
with beads strung on them.
abbage with different machine.
unch card by Hollerith.
lectronic digital computer
Stored program” EDC
dvance in 1950’s
Group activity:
orm a group of 6 members.
ind information on the evolution of programming language.
ach group choose from the following topic:
- machine language
- assembly language
- 3rd
generation language
- 4th
generation language
- 5th
generation language
• In the computer industry, these abbreviations are widely
used to represent major steps or "generations" in the
evolution of programming languages.
• Various categories of programming language and
technology :
a. Machine languages
b. Assembly languages
c. 3rd Generation Languages
d. 4th Generation Languages
e. 5th Generation Languages
1.2.2 Various Categories Of Programming
Language And Technology
st
Generation Language (GL1)
irst-generation language was (and still is) machine language
or the level of instructions and data that the processor is
actually given to work on (which in conventional computers
is a string of 0s and 1s).
nstruct computers to perform their most elementary
operations one at a time.
xample of 1GL:
1.2.2 Various Categories Of Programming
Language And Technology
+1300042774
+1400593419
+1200274927
nd
Generation Language
econd-generation language is assembler (sometimes called
"assembly") language.
typical 2GL instruction looks like this:
n assembler converts the assembler language statements into
machine language.
1.2.2 Various Categories Of Programming
Language And Technology
ADD 12,8
rd
Generation Language
hird-generation language is a "high-level" programming
language, such as PL/I, C, or Java.
ava language statements look like this:
1.2.2 Various Categories Of Programming
Language And Technology
public boolean handleEvent (Event evt) {
switch (evt.id) {
case Event.ACTION_EVENT: {
if ("Try me" .equald(evt.arg)) {
compiler converts the statements of a specific high-level
programming language into machine language.
In the case of Java, the output is called byte code, which is
converted into appropriate machine language by a Java virtual
machine that runs as part of an operating system platform.)
3GL language requires a considerable amount of programming
knowledge.
1.2.2 Various Categories Of Programming
Language And Technology
th
Generation Language
ourth-generation language is designed to be closer to natural
language than a 3GL language.
anguages for accessing databases are often described as 4GLs.
4GL language statement might look like this:
EXTRACT ALL CUSTOMERS WHERE
"PREVIOUS PURCHASES" TOTAL MORE THAN $1000
1.2.2 Various Categories Of Programming
Language And Technology
GL Features:
a) user friendly
b) portable and independent of operating systems
c) usable by non-programmers
d) having intelligent default options about what the user wants
e) allowing the user to obtain results fasts using minimum
requirement code generated with bug-free code from high-level
expressions
1.2.2 Various Categories Of Programming
Language And Technology
th
Generation Language
Fifth-generation language is programming that uses a visual or
graphical development interface to create source language that
is usually compiled with a 3GL or 4GL language compiler.
icrosoft, Borland, IBM, and other companies make 5GL visual
programming products for developing applications in Java, for
example.
isual programming allows you to easily envision object-oriented
programming class hierarchies and drag icons to assemble
program components.
1.2.2 Various Categories Of Programming
Language And Technology
1.3 Fundamentals of Programming
Language
programming language is an artificial language designed to
communicate instructions to a machine, particularly a computer.
Programming languages can be used to create programs that control
the behavior of a machine and/or to express algorithms precisely.
1.3.1 Terminologies in Programming Language
rogrammer is someone who writes computer software.
he term of computer programmer can refer to a specialist in one area
of computer programming or to a generalist who writes code for
many kinds of software.
1.3.1 Terminologies in Programming
Language
rogram is a sequence of instructions written to perform a specified
task with a computer.
1.3.1 Terminologies in Programming
Language
rogramming is the process of designing, writing, testing, debugging,
and maintaining the source code of computer programs.
1.3.2 Language Translator
ssembler
- Assembler for an assembly language, a computer program to translate between
lower- level representations of computer programs.
ompiler
- A compiler is a computer program (or set of program) that transforms source
code written in a computer language (the source language) into another computer
language (the target language, often having a binary form known as object code).
ranslator/ Interpreter
- many high-level programming languages have the
option of using an interpreter instead of a compiler.
1.3.3 Relate Programming Language in Real
Life
obot
and phone Application
TM Machine
nline Application
1.3.4 Differentiate between Structured and
Object Oriented Programming
Ad

More Related Content

What's hot (20)

Defining the Problem - Goals and requirements
Defining the Problem - Goals and requirementsDefining the Problem - Goals and requirements
Defining the Problem - Goals and requirements
Stephennancy
 
Analysis modeling
Analysis modelingAnalysis modeling
Analysis modeling
Preeti Mishra
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
Emertxe Information Technologies Pvt Ltd
 
Compiler Design Unit 1
Compiler Design Unit 1Compiler Design Unit 1
Compiler Design Unit 1
Jena Catherine Bel D
 
Architecture Design in Software Engineering
Architecture Design in Software EngineeringArchitecture Design in Software Engineering
Architecture Design in Software Engineering
cricket2ime
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
Gaditek
 
Operating system deign and implementation
Operating system deign and implementationOperating system deign and implementation
Operating system deign and implementation
sangrampatil81
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
Bala Ganesh
 
Context model
Context modelContext model
Context model
Ubaid423
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
NancyBeaulah_R
 
Software project planning
Software project planningSoftware project planning
Software project planning
rajvir_kaur
 
SOFTWARE PROJECT PLANNING on Software Engineering
SOFTWARE PROJECT PLANNING on Software EngineeringSOFTWARE PROJECT PLANNING on Software Engineering
SOFTWARE PROJECT PLANNING on Software Engineering
work90665
 
Software Evolution
Software EvolutionSoftware Evolution
Software Evolution
Muhammad Asim
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
Vasavi College of Engg
 
Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)
ShudipPal
 
State Diagrams
State DiagramsState Diagrams
State Diagrams
Vaidik Trivedi
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
Ashim Lamichhane
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
Amr E. Mohamed
 
Cohesion and coupling
Cohesion and couplingCohesion and coupling
Cohesion and coupling
Aprajita (Abbey) Singh
 
Software engineering
Software engineering Software engineering
Software engineering
MOHAMED RIYAZUDEEN
 
Defining the Problem - Goals and requirements
Defining the Problem - Goals and requirementsDefining the Problem - Goals and requirements
Defining the Problem - Goals and requirements
Stephennancy
 
Architecture Design in Software Engineering
Architecture Design in Software EngineeringArchitecture Design in Software Engineering
Architecture Design in Software Engineering
cricket2ime
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
Gaditek
 
Operating system deign and implementation
Operating system deign and implementationOperating system deign and implementation
Operating system deign and implementation
sangrampatil81
 
Context model
Context modelContext model
Context model
Ubaid423
 
Chapter 1 2 - some size factors
Chapter 1   2 - some size factorsChapter 1   2 - some size factors
Chapter 1 2 - some size factors
NancyBeaulah_R
 
Software project planning
Software project planningSoftware project planning
Software project planning
rajvir_kaur
 
SOFTWARE PROJECT PLANNING on Software Engineering
SOFTWARE PROJECT PLANNING on Software EngineeringSOFTWARE PROJECT PLANNING on Software Engineering
SOFTWARE PROJECT PLANNING on Software Engineering
work90665
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
Vasavi College of Engg
 
Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)
ShudipPal
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
Ashim Lamichhane
 
SE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context ModelSE_Lec 05_System Modelling and Context Model
SE_Lec 05_System Modelling and Context Model
Amr E. Mohamed
 

Viewers also liked (8)

Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
NIKANOR THOMAS
 
2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle
Frankie Jones
 
Communication and computer networks
Communication and computer networksCommunication and computer networks
Communication and computer networks
Rabail Khowaja
 
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستيرالفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
Prof. Sherif Shaheen
 
Ensayo blogger def 2
Ensayo blogger def 2Ensayo blogger def 2
Ensayo blogger def 2
AldoMaGe
 
Superfunds Magazine - Ready to take on the world
Superfunds Magazine - Ready to take on the worldSuperfunds Magazine - Ready to take on the world
Superfunds Magazine - Ready to take on the world
Chloe Tilley
 
Посібник "Конспекти уроків у 1 семестрі"
Посібник "Конспекти уроків у 1 семестрі"Посібник "Конспекти уроків у 1 семестрі"
Посібник "Конспекти уроків у 1 семестрі"
sveta7940
 
Dmc roast
Dmc roastDmc roast
Dmc roast
cdnpal
 
Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
NIKANOR THOMAS
 
2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle
Frankie Jones
 
Communication and computer networks
Communication and computer networksCommunication and computer networks
Communication and computer networks
Rabail Khowaja
 
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستيرالفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
Prof. Sherif Shaheen
 
Ensayo blogger def 2
Ensayo blogger def 2Ensayo blogger def 2
Ensayo blogger def 2
AldoMaGe
 
Superfunds Magazine - Ready to take on the world
Superfunds Magazine - Ready to take on the worldSuperfunds Magazine - Ready to take on the world
Superfunds Magazine - Ready to take on the world
Chloe Tilley
 
Посібник "Конспекти уроків у 1 семестрі"
Посібник "Конспекти уроків у 1 семестрі"Посібник "Конспекти уроків у 1 семестрі"
Посібник "Конспекти уроків у 1 семестрі"
sveta7940
 
Dmc roast
Dmc roastDmc roast
Dmc roast
cdnpal
 
Ad

Similar to Introduction to programming principles languages (20)

PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
Uzma1102
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
Hepsijeba
 
Introduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptxIntroduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptx
SheharBano86
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
Vishwas459764
 
Foundry Analysis and sec lectire 01 .pdf
Foundry Analysis and sec lectire 01 .pdfFoundry Analysis and sec lectire 01 .pdf
Foundry Analysis and sec lectire 01 .pdf
maanitech873
 
Software Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computerSoftware Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computer
PrabaKaran656400
 
Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)
Chao-Lung Yang
 
Fundamentals of Programming language.docx
Fundamentals of Programming language.docxFundamentals of Programming language.docx
Fundamentals of Programming language.docx
bijayakumarsahoo22
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs
 
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
EG20910848921ISAACDU
 
microprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfmicroprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdf
PriyankaRana171346
 
Software and its Types use of software types
Software and its Types use of software typesSoftware and its Types use of software types
Software and its Types use of software types
dheeraj658032
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
Prof. Dr. K. Adisesha
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
Arslan Hussain
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 
Ayushi
AyushiAyushi
Ayushi
Ayushi Chaturvedi
 
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptxITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
MarkJarusTTalanquine
 
class1.pdf
class1.pdfclass1.pdf
class1.pdf
SujalSalvi4
 
Introductions to Design Logic.pptx IT level
Introductions to Design Logic.pptx IT levelIntroductions to Design Logic.pptx IT level
Introductions to Design Logic.pptx IT level
gadisaadamu101
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
Ibrahimcommunication Al Ani
 
PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
Uzma1102
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
Hepsijeba
 
Introduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptxIntroduction to Computer, Programming languages , Networks and Internet.pptx
Introduction to Computer, Programming languages , Networks and Internet.pptx
SheharBano86
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
Vishwas459764
 
Foundry Analysis and sec lectire 01 .pdf
Foundry Analysis and sec lectire 01 .pdfFoundry Analysis and sec lectire 01 .pdf
Foundry Analysis and sec lectire 01 .pdf
maanitech873
 
Software Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computerSoftware Engineering : Computer basics - Introduction to computer
Software Engineering : Computer basics - Introduction to computer
PrabaKaran656400
 
Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)
Chao-Lung Yang
 
Fundamentals of Programming language.docx
Fundamentals of Programming language.docxFundamentals of Programming language.docx
Fundamentals of Programming language.docx
bijayakumarsahoo22
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs
 
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
1 INTRODUCTION.pptxAAAAAAAAAAAAAAAAAAAAAAAAAAA
EG20910848921ISAACDU
 
microprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfmicroprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdf
PriyankaRana171346
 
Software and its Types use of software types
Software and its Types use of software typesSoftware and its Types use of software types
Software and its Types use of software types
dheeraj658032
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
Arslan Hussain
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptxITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
ITELOG113_CHAPTER_I_Introduction_to_Computing.pptx
MarkJarusTTalanquine
 
Introductions to Design Logic.pptx IT level
Introductions to Design Logic.pptx IT levelIntroductions to Design Logic.pptx IT level
Introductions to Design Logic.pptx IT level
gadisaadamu101
 
Ad

More from Frankie Jones (13)

Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017
Frankie Jones
 
Basic concepts of information technology and the internet
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internet
Frankie Jones
 
2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
Frankie Jones
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
Frankie Jones
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Frankie Jones
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer Organization
Frankie Jones
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
Frankie Jones
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)
Frankie Jones
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
Frankie Jones
 
Operator precedence
Operator precedenceOperator precedence
Operator precedence
Frankie Jones
 
Type header file in c++ and its function
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its function
Frankie Jones
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard template
Frankie Jones
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation form
Frankie Jones
 
Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017
Frankie Jones
 
Basic concepts of information technology and the internet
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internet
Frankie Jones
 
2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
Frankie Jones
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
Frankie Jones
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Frankie Jones
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer Organization
Frankie Jones
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
Frankie Jones
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)
Frankie Jones
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
Frankie Jones
 
Type header file in c++ and its function
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its function
Frankie Jones
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard template
Frankie Jones
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation form
Frankie Jones
 

Recently uploaded (20)

Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
Build 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHSBuild 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHS
TECH EHS Solution
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Web and Graphics Designing Training in Rajpura
Web and Graphics Designing Training in RajpuraWeb and Graphics Designing Training in Rajpura
Web and Graphics Designing Training in Rajpura
Erginous Technology
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Social Media App Development Company-EmizenTech
Social Media App Development Company-EmizenTechSocial Media App Development Company-EmizenTech
Social Media App Development Company-EmizenTech
Steve Jonas
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Top 10 IT Help Desk Outsourcing Services
Top 10 IT Help Desk Outsourcing ServicesTop 10 IT Help Desk Outsourcing Services
Top 10 IT Help Desk Outsourcing Services
Infrassist Technologies Pvt. Ltd.
 
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdfAre Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Are Cloud PBX Providers in India Reliable for Small Businesses (1).pdf
Telecoms Supermarket
 
Build 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHSBuild 3D Animated Safety Induction - Tech EHS
Build 3D Animated Safety Induction - Tech EHS
TECH EHS Solution
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
Generative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in BusinessGenerative Artificial Intelligence (GenAI) in Business
Generative Artificial Intelligence (GenAI) in Business
Dr. Tathagat Varma
 
Web and Graphics Designing Training in Rajpura
Web and Graphics Designing Training in RajpuraWeb and Graphics Designing Training in Rajpura
Web and Graphics Designing Training in Rajpura
Erginous Technology
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell: Transforming Business Strategy Through Data-Driven Insights
Andrew Marnell
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc Webinar: Consumer Expectations vs Corporate Realities on Data Broker...
TrustArc
 
AI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global TrendsAI and Data Privacy in 2025: Global Trends
AI and Data Privacy in 2025: Global Trends
InData Labs
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Social Media App Development Company-EmizenTech
Social Media App Development Company-EmizenTechSocial Media App Development Company-EmizenTech
Social Media App Development Company-EmizenTech
Steve Jonas
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 

Introduction to programming principles languages

  • 1. Introduction to Programming Principles Languages FP101 PROGRAMMING PRINCIPLES
  • 2. WEEK 3 LO 1 Explain the basic computer and programming fundamentals with appropriate examples of language and technology.
  • 3. Group activity: orm a group with 6 members. ist the following: - Computer components - Hardware - Software -Operating System - Application
  • 4. 1.1 Computer Fundamentals omputer is a device capable of performing computations and making logical decisions at speed millions (even billions) of times faster than human beings can. omputer systems will include the computer along with any software and peripheral devices that are necessary to make the computer function.
  • 5. 1.1.1 Computer System Environment The peripheral devices 5 Keyboard (Input Device) Speaker (Output Device) Hard disk (Secondary Storage) Memory i.e. RAM & ROM (Primary Storage) Floppy disk (Secondary Storage) CD ROM, DVD ROM (Secondary Storage) Mouse (Input Device) Printer (Output Device) Monitor Screen (Output Device)
  • 6. 1.1.1 Computer System Environment The peripheral devices  Input Devices  Capture/receive input from users  Central Processing Unit (CPU)  Execute instructions; compute, compare and transform data  Primary Storage or Main Memory  Permanent storage for data/programs  Output Devices  Produce output/result  Secondary Storage Devices  Temporary storage for data/programs
  • 7. 1.1.1 Computer System Environment The Software's  Computer process data under the control of sets of instructions called computer programs.  Also called as software programs.  There are two types of software which are operating system and application software
  • 8. Operating system  consisting of programs and data, that runs on computers, manages computer hardware resources, and provides common services for execution of various application software.  For hardware functions such as input and output and memory allocation, the operating system acts as an intermediary between application programs and the computer hardware  Ex: LINUX, UNIX, MICROSOFT WINDOWS 1.1.1 Computer System Environment The Software's
  • 9. Application software  is computer software designed to help the user to perform singular or multiple related specific tasks.  Ex: Microsoft office, Adobe Photoshop, Windows Media Player 1.1.1 Computer System Environment The Software's
  • 10. 1.2 Evolution of Programming Language n the computer industry, these abbreviations are widely used to represent major steps or "generations" in the evolution of programming languages.
  • 11. 1.2 Evolution of Programming Language
  • 12. 1.2.1 History of Programming Language and Approaches he history of computers starts out about 2000 years ago, at the birth of the abacus, a wooden rack holding two horizontal wires with beads strung on them. abbage with different machine. unch card by Hollerith. lectronic digital computer Stored program” EDC dvance in 1950’s
  • 13. Group activity: orm a group of 6 members. ind information on the evolution of programming language. ach group choose from the following topic: - machine language - assembly language - 3rd generation language - 4th generation language - 5th generation language
  • 14. • In the computer industry, these abbreviations are widely used to represent major steps or "generations" in the evolution of programming languages. • Various categories of programming language and technology : a. Machine languages b. Assembly languages c. 3rd Generation Languages d. 4th Generation Languages e. 5th Generation Languages 1.2.2 Various Categories Of Programming Language And Technology
  • 15. st Generation Language (GL1) irst-generation language was (and still is) machine language or the level of instructions and data that the processor is actually given to work on (which in conventional computers is a string of 0s and 1s). nstruct computers to perform their most elementary operations one at a time. xample of 1GL: 1.2.2 Various Categories Of Programming Language And Technology +1300042774 +1400593419 +1200274927
  • 16. nd Generation Language econd-generation language is assembler (sometimes called "assembly") language. typical 2GL instruction looks like this: n assembler converts the assembler language statements into machine language. 1.2.2 Various Categories Of Programming Language And Technology ADD 12,8
  • 17. rd Generation Language hird-generation language is a "high-level" programming language, such as PL/I, C, or Java. ava language statements look like this: 1.2.2 Various Categories Of Programming Language And Technology public boolean handleEvent (Event evt) { switch (evt.id) { case Event.ACTION_EVENT: { if ("Try me" .equald(evt.arg)) {
  • 18. compiler converts the statements of a specific high-level programming language into machine language. In the case of Java, the output is called byte code, which is converted into appropriate machine language by a Java virtual machine that runs as part of an operating system platform.) 3GL language requires a considerable amount of programming knowledge. 1.2.2 Various Categories Of Programming Language And Technology
  • 19. th Generation Language ourth-generation language is designed to be closer to natural language than a 3GL language. anguages for accessing databases are often described as 4GLs. 4GL language statement might look like this: EXTRACT ALL CUSTOMERS WHERE "PREVIOUS PURCHASES" TOTAL MORE THAN $1000 1.2.2 Various Categories Of Programming Language And Technology
  • 20. GL Features: a) user friendly b) portable and independent of operating systems c) usable by non-programmers d) having intelligent default options about what the user wants e) allowing the user to obtain results fasts using minimum requirement code generated with bug-free code from high-level expressions 1.2.2 Various Categories Of Programming Language And Technology
  • 21. th Generation Language Fifth-generation language is programming that uses a visual or graphical development interface to create source language that is usually compiled with a 3GL or 4GL language compiler. icrosoft, Borland, IBM, and other companies make 5GL visual programming products for developing applications in Java, for example. isual programming allows you to easily envision object-oriented programming class hierarchies and drag icons to assemble program components. 1.2.2 Various Categories Of Programming Language And Technology
  • 22. 1.3 Fundamentals of Programming Language programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.
  • 23. 1.3.1 Terminologies in Programming Language rogrammer is someone who writes computer software. he term of computer programmer can refer to a specialist in one area of computer programming or to a generalist who writes code for many kinds of software.
  • 24. 1.3.1 Terminologies in Programming Language rogram is a sequence of instructions written to perform a specified task with a computer.
  • 25. 1.3.1 Terminologies in Programming Language rogramming is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs.
  • 26. 1.3.2 Language Translator ssembler - Assembler for an assembly language, a computer program to translate between lower- level representations of computer programs. ompiler - A compiler is a computer program (or set of program) that transforms source code written in a computer language (the source language) into another computer language (the target language, often having a binary form known as object code). ranslator/ Interpreter - many high-level programming languages have the option of using an interpreter instead of a compiler.
  • 27. 1.3.3 Relate Programming Language in Real Life obot and phone Application TM Machine nline Application
  • 28. 1.3.4 Differentiate between Structured and Object Oriented Programming