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

More Related Content

What's hot

Algorithmic problem solving
Algorithmic problem solvingAlgorithmic problem solving
Algorithmic problem solving
Prabhakaran V M
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
Rob Paok
 
Principles of programming languages. Detail notes
Principles of programming languages. Detail notesPrinciples of programming languages. Detail notes
Principles of programming languages. Detail notes
VIKAS SINGH BHADOURIA
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
agorolabs
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
REHAN IJAZ
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm properties
Lincoln School
 
Agile Development | Agile Process Models
Agile Development | Agile Process ModelsAgile Development | Agile Process Models
Agile Development | Agile Process Models
Ahsan Rahim
 
Problem solving methodology
Problem solving methodologyProblem solving methodology
Problem solving methodology
Prof. Dr. K. Adisesha
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
Mukesh Tekwani
 
Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language
Md. Imran Hossain Showrov
 
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
 
The Art Of Debugging
The Art Of DebuggingThe Art Of Debugging
The Art Of Debugging
svilen.ivanov
 
Regular Expressions To Finite Automata
Regular Expressions To Finite AutomataRegular Expressions To Finite Automata
Regular Expressions To Finite Automata
International Institute of Information Technology (I²IT)
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language
.AIR UNIVERSITY ISLAMABAD
 
Algorithm and pseudo codes
Algorithm and pseudo codesAlgorithm and pseudo codes
Algorithm and pseudo codes
hermiraguilar
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
Mukesh Tekwani
 
Demand paging
Demand pagingDemand paging
Demand paging
SwaroopSorte
 
Process scheduling (CPU Scheduling)
Process scheduling (CPU Scheduling)Process scheduling (CPU Scheduling)
Process scheduling (CPU Scheduling)
Mukesh Chinta
 
Chapter 09 design and analysis of algorithms
Chapter 09  design and analysis of algorithmsChapter 09  design and analysis of algorithms
Chapter 09 design and analysis of algorithms
Praveen M Jigajinni
 

What's hot (20)

Algorithmic problem solving
Algorithmic problem solvingAlgorithmic problem solving
Algorithmic problem solving
 
Principles of programming
Principles of programmingPrinciples of programming
Principles of programming
 
Principles of programming languages. Detail notes
Principles of programming languages. Detail notesPrinciples of programming languages. Detail notes
Principles of programming languages. Detail notes
 
Computer Programming Overview
Computer Programming OverviewComputer Programming Overview
Computer Programming Overview
 
Programming Fundamentals lecture 1
Programming Fundamentals lecture 1Programming Fundamentals lecture 1
Programming Fundamentals lecture 1
 
03 algorithm properties
03 algorithm properties03 algorithm properties
03 algorithm properties
 
Agile Development | Agile Process Models
Agile Development | Agile Process ModelsAgile Development | Agile Process Models
Agile Development | Agile Process Models
 
Problem solving methodology
Problem solving methodologyProblem solving methodology
Problem solving methodology
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Introduction to systems programming
Introduction to systems programmingIntroduction to systems programming
Introduction to systems programming
 
Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language Lecture 5 - Structured Programming Language
Lecture 5 - Structured Programming Language
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer   Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
 
The Art Of Debugging
The Art Of DebuggingThe Art Of Debugging
The Art Of Debugging
 
Regular Expressions To Finite Automata
Regular Expressions To Finite AutomataRegular Expressions To Finite Automata
Regular Expressions To Finite Automata
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language
 
Algorithm and pseudo codes
Algorithm and pseudo codesAlgorithm and pseudo codes
Algorithm and pseudo codes
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
Demand paging
Demand pagingDemand paging
Demand paging
 
Process scheduling (CPU Scheduling)
Process scheduling (CPU Scheduling)Process scheduling (CPU Scheduling)
Process scheduling (CPU Scheduling)
 
Chapter 09 design and analysis of algorithms
Chapter 09  design and analysis of algorithmsChapter 09  design and analysis of algorithms
Chapter 09 design and analysis of algorithms
 

Viewers also liked

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
 

Viewers also liked (8)

Cmp2412 programming principles
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principles
 
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
 
Communication and computer networks
Communication and computer networksCommunication and computer networks
Communication and computer networks
 
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستيرالفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
 
Ensayo blogger def 2
Ensayo blogger def 2Ensayo blogger def 2
Ensayo blogger def 2
 
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
 
Посібник "Конспекти уроків у 1 семестрі"
Посібник "Конспекти уроків у 1 семестрі"Посібник "Конспекти уроків у 1 семестрі"
Посібник "Конспекти уроків у 1 семестрі"
 
Dmc roast
Dmc roastDmc roast
Dmc roast
 

Similar to Introduction to programming principles languages

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
 
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
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
Chewe Lulembo
 
microprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfmicroprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdf
PriyankaRana171346
 
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
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
 
learn c programing language with us full pdf
learn c programing language with us full pdflearn c programing language with us full pdf
learn c programing language with us full pdf
bhagadeakshay97
 
class1.pdf
class1.pdfclass1.pdf
class1.pdf
SujalSalvi4
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
Ibrahimcommunication Al Ani
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
Teddy Marcus
 
Evolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/SystemEvolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/System
Amity University | FMS - DU | IMT | Stratford University | KKMI International Institute | AIMA | DTU
 
Introduction To Dart.pptx
Introduction To Dart.pptxIntroduction To Dart.pptx
Introduction To Dart.pptx
AhmedAshraf25941
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
Muhammad Ramzan
 

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
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
 
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
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
 
Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)Introduction to Computer Programming (general background)
Introduction to Computer Programming (general background)
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
microprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfmicroprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdf
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 
Ayushi
AyushiAyushi
Ayushi
 
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
 
learn c programing language with us full pdf
learn c programing language with us full pdflearn c programing language with us full pdf
learn c programing language with us full pdf
 
class1.pdf
class1.pdfclass1.pdf
class1.pdf
 
Assembly Language
Assembly LanguageAssembly Language
Assembly Language
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
 
Evolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/SystemEvolution and History of Programming Languages - Software/Hardware/System
Evolution and History of Programming Languages - Software/Hardware/System
 
Introduction To Dart.pptx
Introduction To Dart.pptxIntroduction To Dart.pptx
Introduction To Dart.pptx
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 

More from 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
 
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
 

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
 
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
 
2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
 
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
 
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
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer Organization
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
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)
 
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
 
Operator precedence
Operator precedenceOperator precedence
Operator precedence
 
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
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard template
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation form
 

Recently uploaded

Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
UiPathCommunity
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
DianaGray10
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
Tobias Schneck
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
Fwdays
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
HarpalGohil4
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
Enterprise Knowledge
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
Neo4j
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
christinelarrosa
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
Fwdays
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
DianaGray10
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo GĂłmez Abajo
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
DianaGray10
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 

Recently uploaded (20)

Session 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdfSession 1 - Intro to Robotic Process Automation.pdf
Session 1 - Intro to Robotic Process Automation.pdf
 
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsConnector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectors
 
Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!Containers & AI - Beauty and the Beast!?!
Containers & AI - Beauty and the Beast!?!
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin..."$10 thousand per minute of downtime: architecture, queues, streaming and fin...
"$10 thousand per minute of downtime: architecture, queues, streaming and fin...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)AWS Certified Solutions Architect Associate (SAA-C03)
AWS Certified Solutions Architect Associate (SAA-C03)
 
Demystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through StorytellingDemystifying Knowledge Management through Storytelling
Demystifying Knowledge Management through Storytelling
 
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge GraphGraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
GraphRAG for LifeSciences Hands-On with the Clinical Knowledge Graph
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptxPRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
PRODUCT LISTING OPTIMIZATION PRESENTATION.pptx
 
"What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w..."What does it really mean for your system to be available, or how to define w...
"What does it really mean for your system to be available, or how to define w...
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
What is an RPA CoE? Session 2 – CoE Roles
What is an RPA CoE?  Session 2 – CoE RolesWhat is an RPA CoE?  Session 2 – CoE Roles
What is an RPA CoE? Session 2 – CoE Roles
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
 
What is an RPA CoE? Session 1 – CoE Vision
What is an RPA CoE?  Session 1 – CoE VisionWhat is an RPA CoE?  Session 1 – CoE Vision
What is an RPA CoE? Session 1 – CoE Vision
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 

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