SlideShare a Scribd company logo
1 of 10
The Computer Continuum 4-1
Computer Languages,
Algorithms and Program
Development
How do computers know what
we want them to do?
The Computer Continuum 4-2
Computer Languages, Algorithms
and Program Development
 In this chapter:
• What makes up a language and how do we use language to
communicate with each other and with computers?
• How did computer programming languages evolve?
• How do computers understand what we are telling them to
do?
• What are the steps involved in building a program?
• How can we create something that would be visible on the
WWW?
The Computer Continuum 4-3
Communicating with
a Computer
 Communication cycle
• One complete unit of communication.
– An idea to be sent.
– An encoder.
– A sender.
– A medium.
– A receiver.
– A decoder.
– A response.
Speaker encodes
information
Listener decodes
information
Listener returns
feedback to speaker
The Computer Continuum 4-4
Communicating with
a Computer
 Substituting a computer
for one of the people in
the communication
process.
• Process is basically
the same.
– Response may be
symbols on the
monitor.
User encodes
information Computer decodes
information
Computer
returns results
to user
The Computer Continuum 4-5
Communicating with
a Computer
 Between two people:
• The person can’t hear you.
• The phone connection is
broken in mid-call.
• One person speaks only
French, while the other only
Japanese.
 Between a person and a
computer:
• The power was suddenly
interrupted.
• An internal wire became
disconnected.
• A keyboard malfunctioned.
A breakdown can occur any place along the cycle...
When communicating instructions to a computer, areas
of difficulty are often part of the encoding and decoding
process.
The Computer Continuum 4-6
Communicating with
a Computer
 Programming languages bridge the gap between
human thought processes and computer binary
circuitry.
• Programming language: A series of specifically defined
commands designed by human programmers to give
directions to digital computers.
– Commands are written as sets of instructions, called
programs.
– All programming language instructions must be expressed
in binary code before the computer can perform them.
The Computer Continuum 4-7
The Role of Languages
in Communication
 Three fundamental elements of language that
contribute to the success or failure of the
communication cycle:
• Semantics
• Syntax
• Participants
The Computer Continuum 4-8
The Role of Languages
in Communication
 Human language:
• Refers to the meaning of
what is being said.
• Words often pick up
multiple meanings.
• Phrases sometimes have
idiomatic meanings:
– let sleeping dogs lie
(don’t aggravate the
situation by “putting in
your two cents”)
 Computer language:
• Refers to the specific
command you wish the
computer to perform.
– Input, Output, Print
– Each command has a
very specific meaning.
– Computers associate
one meaning with one
computer command.
 Semantics: Refers to meaning.
The Computer Continuum 4-9
The Role of Languages
in Communication
 Human language:
• Refers to rules governing
grammatical structure.
– Pluralization, tense,
agreement of subject and
verb, pronunciation, and
gender.
• Humans tolerate the use of
language.
– How many ways can you
say no? Do they have the
same meaning?
 Computer language:
• Refers to rules governing
exact spelling and
punctuation, plus:
– Formatting, repetition,
subdivision of tasks,
identification of
variables, definition of
memory spaces.
• Computers do not tolerate
syntax errors.
 Syntax: Refers to form, or structure.
The Computer Continuum 4-10
The Role of Languages
in Communication
 Human language:
• In the communication cycle,
humans can respond in more
than one way.
– Body language
– Facial expressions
– Laughter
– human speech
 Computer language:
• People use programming
languages.
• Programs must be
translated into binary code.
• Computers respond by
performing the task or not!
 Participants:
• Human languages are used by people to communicate with
each other.
• Programming languages are used by people to communicate
with machines.

More Related Content

What's hot

Computer Languages....ppt
Computer Languages....pptComputer Languages....ppt
Computer Languages....ppt
hashgeneration
 
Lang generations 7557_syed_ghazanfarnaqvi_saturday
Lang generations 7557_syed_ghazanfarnaqvi_saturdayLang generations 7557_syed_ghazanfarnaqvi_saturday
Lang generations 7557_syed_ghazanfarnaqvi_saturday
Syed Naqvi
 

What's hot (20)

Evolution of programinglang
Evolution of programinglangEvolution of programinglang
Evolution of programinglang
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Lecture1
Lecture1Lecture1
Lecture1
 
Ppl 13 july2019
Ppl 13 july2019Ppl 13 july2019
Ppl 13 july2019
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Computer Languages....ppt
Computer Languages....pptComputer Languages....ppt
Computer Languages....ppt
 
Computer language
Computer languageComputer language
Computer language
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Computer language
Computer languageComputer language
Computer language
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
Lang generations 7557_syed_ghazanfarnaqvi_saturday
Lang generations 7557_syed_ghazanfarnaqvi_saturdayLang generations 7557_syed_ghazanfarnaqvi_saturday
Lang generations 7557_syed_ghazanfarnaqvi_saturday
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer language
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
1. reason why study spl
1. reason why study spl1. reason why study spl
1. reason why study spl
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
Computer-charecteristics,types of languages,translators
Computer-charecteristics,types of languages,translatorsComputer-charecteristics,types of languages,translators
Computer-charecteristics,types of languages,translators
 
Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 

Similar to Abdulrahman

PCEP Module 1.pptx
PCEP Module 1.pptxPCEP Module 1.pptx
PCEP Module 1.pptx
zakariaHujale
 
Designing user interface module 4
Designing user interface module 4Designing user interface module 4
Designing user interface module 4
DBPMCF
 

Similar to Abdulrahman (20)

COMPUTER LANGUAGES AND PROGRAMMING
COMPUTER LANGUAGES AND PROGRAMMINGCOMPUTER LANGUAGES AND PROGRAMMING
COMPUTER LANGUAGES AND PROGRAMMING
 
Program Logic and Design
Program Logic and DesignProgram Logic and Design
Program Logic and Design
 
PCEP Module 1.pptx
PCEP Module 1.pptxPCEP Module 1.pptx
PCEP Module 1.pptx
 
alex presentation (1).pptx
alex presentation (1).pptxalex presentation (1).pptx
alex presentation (1).pptx
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Programming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages ConceptsProgramming Fundamentals and Programming Languages Concepts
Programming Fundamentals and Programming Languages Concepts
 
Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2Fundamentals of Programming Chapter 2
Fundamentals of Programming Chapter 2
 
Ch1 language design issue
Ch1 language design issueCh1 language design issue
Ch1 language design issue
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
 
Introduction_to_Programming.pptx
Introduction_to_Programming.pptxIntroduction_to_Programming.pptx
Introduction_to_Programming.pptx
 
An introduction-to-programming
An introduction-to-programmingAn introduction-to-programming
An introduction-to-programming
 
Designing user interface module 4
Designing user interface module 4Designing user interface module 4
Designing user interface module 4
 
Problem Solving and Program Design in C_1.pdf
Problem Solving and Program Design in C_1.pdfProblem Solving and Program Design in C_1.pdf
Problem Solving and Program Design in C_1.pdf
 
Computer Programming - Lecture A
Computer Programming - Lecture AComputer Programming - Lecture A
Computer Programming - Lecture A
 
Introduction To Dart.pptx
Introduction To Dart.pptxIntroduction To Dart.pptx
Introduction To Dart.pptx
 
Computer systems
Computer systemsComputer systems
Computer systems
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
notes on Programming fundamentals
notes on Programming fundamentals notes on Programming fundamentals
notes on Programming fundamentals
 
Computer language.ppsx
Computer language.ppsxComputer language.ppsx
Computer language.ppsx
 
System softare
System softareSystem softare
System softare
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
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
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Abdulrahman

  • 1. The Computer Continuum 4-1 Computer Languages, Algorithms and Program Development How do computers know what we want them to do?
  • 2. The Computer Continuum 4-2 Computer Languages, Algorithms and Program Development  In this chapter: • What makes up a language and how do we use language to communicate with each other and with computers? • How did computer programming languages evolve? • How do computers understand what we are telling them to do? • What are the steps involved in building a program? • How can we create something that would be visible on the WWW?
  • 3. The Computer Continuum 4-3 Communicating with a Computer  Communication cycle • One complete unit of communication. – An idea to be sent. – An encoder. – A sender. – A medium. – A receiver. – A decoder. – A response. Speaker encodes information Listener decodes information Listener returns feedback to speaker
  • 4. The Computer Continuum 4-4 Communicating with a Computer  Substituting a computer for one of the people in the communication process. • Process is basically the same. – Response may be symbols on the monitor. User encodes information Computer decodes information Computer returns results to user
  • 5. The Computer Continuum 4-5 Communicating with a Computer  Between two people: • The person can’t hear you. • The phone connection is broken in mid-call. • One person speaks only French, while the other only Japanese.  Between a person and a computer: • The power was suddenly interrupted. • An internal wire became disconnected. • A keyboard malfunctioned. A breakdown can occur any place along the cycle... When communicating instructions to a computer, areas of difficulty are often part of the encoding and decoding process.
  • 6. The Computer Continuum 4-6 Communicating with a Computer  Programming languages bridge the gap between human thought processes and computer binary circuitry. • Programming language: A series of specifically defined commands designed by human programmers to give directions to digital computers. – Commands are written as sets of instructions, called programs. – All programming language instructions must be expressed in binary code before the computer can perform them.
  • 7. The Computer Continuum 4-7 The Role of Languages in Communication  Three fundamental elements of language that contribute to the success or failure of the communication cycle: • Semantics • Syntax • Participants
  • 8. The Computer Continuum 4-8 The Role of Languages in Communication  Human language: • Refers to the meaning of what is being said. • Words often pick up multiple meanings. • Phrases sometimes have idiomatic meanings: – let sleeping dogs lie (don’t aggravate the situation by “putting in your two cents”)  Computer language: • Refers to the specific command you wish the computer to perform. – Input, Output, Print – Each command has a very specific meaning. – Computers associate one meaning with one computer command.  Semantics: Refers to meaning.
  • 9. The Computer Continuum 4-9 The Role of Languages in Communication  Human language: • Refers to rules governing grammatical structure. – Pluralization, tense, agreement of subject and verb, pronunciation, and gender. • Humans tolerate the use of language. – How many ways can you say no? Do they have the same meaning?  Computer language: • Refers to rules governing exact spelling and punctuation, plus: – Formatting, repetition, subdivision of tasks, identification of variables, definition of memory spaces. • Computers do not tolerate syntax errors.  Syntax: Refers to form, or structure.
  • 10. The Computer Continuum 4-10 The Role of Languages in Communication  Human language: • In the communication cycle, humans can respond in more than one way. – Body language – Facial expressions – Laughter – human speech  Computer language: • People use programming languages. • Programs must be translated into binary code. • Computers respond by performing the task or not!  Participants: • Human languages are used by people to communicate with each other. • Programming languages are used by people to communicate with machines.

Editor's Notes

  1. The Computer Continuum
  2. The Computer Continuum
  3. The Computer Continuum
  4. The Computer Continuum
  5. The Computer Continuum
  6. The Computer Continuum
  7. The Computer Continuum
  8. The Computer Continuum
  9. The Computer Continuum
  10. The Computer Continuum