Introduction to programming principles languages

Frankie Jones
Frankie JonesOPERATION SUPERVISOR at KOPERASI POLITEKNIK KUCHING SARAWAK BERHAD um KOPERASI POLITEKNIK KUCHING SARAWAK BERHAD
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
1 von 28

Recomendados

Unit1 principle of programming language von
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming languageVasavi College of Engg
84.3K views47 Folien
unit testing and debugging von
unit testing and debuggingunit testing and debugging
unit testing and debuggingKarthigaGunasekaran1
5.3K views12 Folien
unit 4 ai.pptx von
unit 4 ai.pptxunit 4 ai.pptx
unit 4 ai.pptxShivaDhfm
135 views14 Folien
Overview of Language Processor : Fundamentals of LP , Symbol Table , Data Str... von
Overview of Language Processor : Fundamentals of LP , Symbol Table , Data Str...Overview of Language Processor : Fundamentals of LP , Symbol Table , Data Str...
Overview of Language Processor : Fundamentals of LP , Symbol Table , Data Str...Bhavin Darji
1.2K views21 Folien
Introduction to Compiler design von
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design Dr. C.V. Suresh Babu
6.4K views31 Folien
Algorithmic problem solving von
Algorithmic problem solvingAlgorithmic problem solving
Algorithmic problem solvingPrabhakaran V M
5.3K views13 Folien

Más contenido relacionado

Was ist angesagt?

Toy compiler von
Toy compilerToy compiler
Toy compilerhome
9.2K views12 Folien
10 software maintenance von
10 software maintenance10 software maintenance
10 software maintenanceakiara
6.8K views14 Folien
Language and Processors for Requirements Specification von
Language and Processors for Requirements SpecificationLanguage and Processors for Requirements Specification
Language and Processors for Requirements Specificationkirupasuchi1996
8.7K views14 Folien
Lab report for Prolog program in artificial intelligence. von
Lab report for Prolog program in artificial intelligence.Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.Alamgir Hossain
4.4K views17 Folien
Staffing level estimation von
Staffing level estimation Staffing level estimation
Staffing level estimation kavitha muneeshwaran
22.3K views13 Folien
Logics for non monotonic reasoning-ai von
Logics for non monotonic reasoning-aiLogics for non monotonic reasoning-ai
Logics for non monotonic reasoning-aiShaishavShah8
2.5K views6 Folien

Was ist angesagt?(20)

Toy compiler von home
Toy compilerToy compiler
Toy compiler
home9.2K views
10 software maintenance von akiara
10 software maintenance10 software maintenance
10 software maintenance
akiara6.8K views
Language and Processors for Requirements Specification von kirupasuchi1996
Language and Processors for Requirements SpecificationLanguage and Processors for Requirements Specification
Language and Processors for Requirements Specification
kirupasuchi19968.7K views
Lab report for Prolog program in artificial intelligence. von Alamgir Hossain
Lab report for Prolog program in artificial intelligence.Lab report for Prolog program in artificial intelligence.
Lab report for Prolog program in artificial intelligence.
Alamgir Hossain4.4K views
Logics for non monotonic reasoning-ai von ShaishavShah8
Logics for non monotonic reasoning-aiLogics for non monotonic reasoning-ai
Logics for non monotonic reasoning-ai
ShaishavShah82.5K views
Fundamental design concepts von srijavel
Fundamental design conceptsFundamental design concepts
Fundamental design concepts
srijavel29.1K views
Software Cost Estimation Techniques von Santhi thi
Software Cost Estimation TechniquesSoftware Cost Estimation Techniques
Software Cost Estimation Techniques
Santhi thi13.1K views
testing strategies and tactics von Preeti Mishra
 testing strategies and tactics testing strategies and tactics
testing strategies and tactics
Preeti Mishra6.1K views
Introduction to data structures and Algorithm von Dhaval Kaneria
Introduction to data structures and AlgorithmIntroduction to data structures and Algorithm
Introduction to data structures and Algorithm
Dhaval Kaneria45.6K views
Chapter 11 - File System Implementation von Wayne Jones Jnr
Chapter 11 - File System ImplementationChapter 11 - File System Implementation
Chapter 11 - File System Implementation
Wayne Jones Jnr22.6K views
Incremental model (software engineering) von MuhammadTalha436
Incremental model (software engineering)Incremental model (software engineering)
Incremental model (software engineering)
MuhammadTalha436188 views
Type checking von rawan_z
Type checkingType checking
Type checking
rawan_z5.1K views

Destacado

Cmp2412 programming principles von
Cmp2412 programming principlesCmp2412 programming principles
Cmp2412 programming principlesNIKANOR THOMAS
733 views40 Folien
2.2 Demonstrate the understanding of Programming Life Cycle von
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 CycleFrankie Jones
5.3K views36 Folien
Communication and computer networks von
Communication and computer networksCommunication and computer networks
Communication and computer networksRabail Khowaja
562 views23 Folien
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير von
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستيرالفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستير
الفيلم أداة للتدريس - التجربة الشخصية أثناء دراسة الماجستيرProf. Sherif Shaheen
271 views25 Folien
Ensayo blogger def 2 von
Ensayo blogger def 2Ensayo blogger def 2
Ensayo blogger def 2AldoMaGe
362 views5 Folien
Superfunds Magazine - Ready to take on the world von
Superfunds Magazine - Ready to take on the worldSuperfunds Magazine - Ready to take on the world
Superfunds Magazine - Ready to take on the worldChloe Tilley
203 views3 Folien

Destacado(8)

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

Similar a Introduction to programming principles languages

PPS UNIT 1- R18.docx von
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
88 views72 Folien
Unit i (part2) b.sc von
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.scHepsijeba
763 views15 Folien
1.Overview of Programming.pptx von
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptxVishwas459764
2 views15 Folien
Generations Of Programming Languages von
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languagespy7rjs
15K views9 Folien
Lecture_1_Introduction_to_Programming.pptx von
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxChewe Lulembo
8 views19 Folien
microprocesser-140306112352-phpapp01.pdf von
microprocesser-140306112352-phpapp01.pdfmicroprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfPriyankaRana171346
9 views20 Folien

Similar a Introduction to programming principles languages(20)

PPS UNIT 1- R18.docx von Uzma1102
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docx
Uzma110288 views
Unit i (part2) b.sc von Hepsijeba
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
Hepsijeba763 views
Generations Of Programming Languages von py7rjs
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs15K views
Lecture_1_Introduction_to_Programming.pptx von Chewe Lulembo
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
Chewe Lulembo8 views
Programming Fundamental Slide No.1 von Arslan Hussain
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
Arslan Hussain2.3K views
all languages in computer programming von hamza239523
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza23952394 views
Trend of Visual Programming Language von Teddy Marcus
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming Language
Teddy Marcus15 views
Machine language to artificial intelligence von Suneel Dogra
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligence
Suneel Dogra1.1K views
Computer program, computer languages, computer software von Sweta Kumari Barnwal
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
Lec 01 basic concepts von Abdul Khan
Lec 01 basic conceptsLec 01 basic concepts
Lec 01 basic concepts
Abdul Khan4.3K views
Abstraction level taxonomy of programming language frameworks von ijpla
Abstraction level taxonomy of programming language frameworksAbstraction level taxonomy of programming language frameworks
Abstraction level taxonomy of programming language frameworks
ijpla1.1K views

Más de Frankie Jones

Dbm2013 engineering mathematics 3 june 2017 von
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017Frankie Jones
1.7K views14 Folien
Basic concepts of information technology and the internet von
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internetFrankie Jones
6.1K views26 Folien
2.1 Understand problem solving concept von
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving conceptFrankie Jones
7.3K views24 Folien
2.3 Apply the different types of algorithm to solve problem von
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 problemFrankie Jones
10.7K views23 Folien
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING von
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGFrankie Jones
66.4K views22 Folien
Chapter 3 Computer Organization von
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer OrganizationFrankie Jones
4.3K views56 Folien

Más de Frankie Jones(13)

Dbm2013 engineering mathematics 3 june 2017 von Frankie Jones
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017
Frankie Jones1.7K views
Basic concepts of information technology and the internet von Frankie Jones
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internet
Frankie Jones6.1K views
2.1 Understand problem solving concept von Frankie Jones
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
Frankie Jones7.3K views
2.3 Apply the different types of algorithm to solve problem von Frankie Jones
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 Jones10.7K views
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING von Frankie Jones
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Frankie Jones66.4K views
Chapter 3 Computer Organization von Frankie Jones
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer Organization
Frankie Jones4.3K views
Chapter 2 Boolean Algebra (part 2) von Frankie Jones
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
Frankie Jones7K views
Chapter 2 Data Representation on CPU (part 1) von 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)
Frankie Jones3.3K views
Chapter 1 computer hardware and flow of information von Frankie Jones
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
Frankie Jones55.5K views
Type header file in c++ and its function von Frankie Jones
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its function
Frankie Jones2.6K views
Multimedia storyboard template von Frankie Jones
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard template
Frankie Jones1.7K views
Occupancy calculation form von Frankie Jones
Occupancy calculation formOccupancy calculation form
Occupancy calculation form
Frankie Jones60.4K views

Último

Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica... von
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...NUS-ISS
16 views28 Folien
The Importance of Cybersecurity for Digital Transformation von
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital TransformationNUS-ISS
27 views26 Folien
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze von
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeNUS-ISS
19 views47 Folien
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors von
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensorssugiuralab
15 views15 Folien
.conf Go 2023 - Data analysis as a routine von
.conf Go 2023 - Data analysis as a routine.conf Go 2023 - Data analysis as a routine
.conf Go 2023 - Data analysis as a routineSplunk
93 views12 Folien
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... von
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...NUS-ISS
34 views35 Folien

Último(20)

Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica... von NUS-ISS
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
Emerging & Future Technology - How to Prepare for the Next 10 Years of Radica...
NUS-ISS16 views
The Importance of Cybersecurity for Digital Transformation von NUS-ISS
The Importance of Cybersecurity for Digital TransformationThe Importance of Cybersecurity for Digital Transformation
The Importance of Cybersecurity for Digital Transformation
NUS-ISS27 views
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze von NUS-ISS
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
NUS-ISS19 views
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors von sugiuralab
TouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective SensorsTouchLog: Finger Micro Gesture Recognition  Using Photo-Reflective Sensors
TouchLog: Finger Micro Gesture Recognition Using Photo-Reflective Sensors
sugiuralab15 views
.conf Go 2023 - Data analysis as a routine von Splunk
.conf Go 2023 - Data analysis as a routine.conf Go 2023 - Data analysis as a routine
.conf Go 2023 - Data analysis as a routine
Splunk93 views
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... von NUS-ISS
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
NUS-ISS34 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh von NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS41 views
Transcript: The Details of Description Techniques tips and tangents on altern... von BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada130 views
Voice Logger - Telephony Integration Solution at Aegis von Nirmal Sharma
Voice Logger - Telephony Integration Solution at AegisVoice Logger - Telephony Integration Solution at Aegis
Voice Logger - Telephony Integration Solution at Aegis
Nirmal Sharma17 views
AI: mind, matter, meaning, metaphors, being, becoming, life values von Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life values
How the World's Leading Independent Automotive Distributor is Reinventing Its... von NUS-ISS
How the World's Leading Independent Automotive Distributor is Reinventing Its...How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...
NUS-ISS15 views
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV von Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk88 views
Data-centric AI and the convergence of data and model engineering: opportunit... von Paolo Missier
Data-centric AI and the convergence of data and model engineering:opportunit...Data-centric AI and the convergence of data and model engineering:opportunit...
Data-centric AI and the convergence of data and model engineering: opportunit...
Paolo Missier34 views
Igniting Next Level Productivity with AI-Infused Data Integration Workflows von Safe Software
Igniting Next Level Productivity with AI-Infused Data Integration Workflows Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Igniting Next Level Productivity with AI-Infused Data Integration Workflows
Safe Software225 views
The details of description: Techniques, tips, and tangents on alternative tex... von BookNet Canada
The details of description: Techniques, tips, and tangents on alternative tex...The details of description: Techniques, tips, and tangents on alternative tex...
The details of description: Techniques, tips, and tangents on alternative tex...
BookNet Canada121 views
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu... von NUS-ISS
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
NUS-ISS37 views

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