SlideShare ist ein Scribd-Unternehmen logo
1 von 28
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

Weitere ähnliche Inhalte

Was ist angesagt?

Design Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software EngineeringDesign Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software EngineeringMeghaj Mallick
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharVivek Parihar
 
Software re engineering
Software re engineeringSoftware re engineering
Software re engineeringdeshpandeamrut
 
System Programing Unit 1
System Programing Unit 1System Programing Unit 1
System Programing Unit 1Manoj Patil
 
Principles of programming languages. Detail notes
Principles of programming languages. Detail notesPrinciples of programming languages. Detail notes
Principles of programming languages. Detail notesVIKAS SINGH BHADOURIA
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software EngineeringZahoor Khan
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentationfazli khaliq
 
Software Engineering- Requirement Elicitation and Specification
Software Engineering- Requirement Elicitation and SpecificationSoftware Engineering- Requirement Elicitation and Specification
Software Engineering- Requirement Elicitation and SpecificationNishu Rastogi
 
Software Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsSoftware Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsNishu Rastogi
 
Programming languages
Programming languagesProgramming languages
Programming languagesAsmasum
 
REQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGREQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGSaqib Raza
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLESwarnima Tiwari
 
Structured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignStructured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignMotaz Saad
 

Was ist angesagt? (20)

Design Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software EngineeringDesign Model & User Interface Design in Software Engineering
Design Model & User Interface Design in Software Engineering
 
Programming languages and concepts by vivek parihar
Programming languages and concepts by vivek pariharProgramming languages and concepts by vivek parihar
Programming languages and concepts by vivek parihar
 
Software re engineering
Software re engineeringSoftware re engineering
Software re engineering
 
Introduction to Compiler design
Introduction to Compiler design Introduction to Compiler design
Introduction to Compiler design
 
System Programing Unit 1
System Programing Unit 1System Programing Unit 1
System Programing Unit 1
 
Unit1
Unit1Unit1
Unit1
 
Object Oriented Design
Object Oriented DesignObject Oriented Design
Object Oriented Design
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Principles of programming languages. Detail notes
Principles of programming languages. Detail notesPrinciples of programming languages. Detail notes
Principles of programming languages. Detail notes
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Interpreter
InterpreterInterpreter
Interpreter
 
Compilers
CompilersCompilers
Compilers
 
Programming Fundamental Presentation
Programming Fundamental PresentationProgramming Fundamental Presentation
Programming Fundamental Presentation
 
Software Engineering- Requirement Elicitation and Specification
Software Engineering- Requirement Elicitation and SpecificationSoftware Engineering- Requirement Elicitation and Specification
Software Engineering- Requirement Elicitation and Specification
 
Software Engineering- Crisis and Process Models
Software Engineering- Crisis and Process ModelsSoftware Engineering- Crisis and Process Models
Software Engineering- Crisis and Process Models
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
REQUIREMENT ENGINEERING
REQUIREMENT ENGINEERINGREQUIREMENT ENGINEERING
REQUIREMENT ENGINEERING
 
4+1 view model
4+1 view model4+1 view model
4+1 view model
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 ppt on sOFTWARE DEVELOPMENT LIFE CYCLE ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
 
Structured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignStructured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and Design
 

Andere mochten auch

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

Andere mochten auch (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
 

Ähnlich wie Introduction to programming principles languages

PPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxPPS UNIT 1- R18.docx
PPS UNIT 1- R18.docxUzma1102
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.scHepsijeba
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptxVishwas459764
 
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 Languagespy7rjs
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxChewe Lulembo
 
microprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfmicroprocesser-140306112352-phpapp01.pdf
microprocesser-140306112352-phpapp01.pdfPriyankaRana171346
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Arslan Hussain
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programminghamza239523
 
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.pptxMarkJarusTTalanquine
 
Trend of Visual Programming Language
Trend of Visual Programming LanguageTrend of Visual Programming Language
Trend of Visual Programming LanguageTeddy Marcus
 
Machine language to artificial intelligence
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligenceSuneel Dogra
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer softwareSweta Kumari Barnwal
 

Ähnlich wie 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
 
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
 
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
 
Machine language to artificial intelligence
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligence
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
 

Mehr von Frankie Jones

Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017Frankie 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 internetFrankie Jones
 
2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving conceptFrankie 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 problemFrankie 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 PROGRAMMINGFrankie Jones
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer OrganizationFrankie 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 informationFrankie 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 functionFrankie Jones
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard templateFrankie Jones
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation formFrankie Jones
 

Mehr von 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
 

Kürzlich hochgeladen

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 

Kürzlich hochgeladen (20)

Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

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