SlideShare ist ein Scribd-Unternehmen logo
1 von 15
A B R I E F I N T R O D U C T I O N
D A V I D T U R N E R
COMPUTER
PROGRAMMING
COMPUTER PROGRAMMING
• Computers are complex, intricate machines built on
simple principles.
• Computers interpret all commands and data as binary
digits, 1’s and 0’s.
• Programming languages
• Provide an accessible, coherent interface for people to
compose varied instructions for the computer to execute.
• Like a language, they each include their own syntax,
vocabulary, and rules.
OUTLINE
Assembly
Language
Low-Level
Language
High-Level
Language
ASSEMBLY LANGUAGE
ASSEMBLY LANGUAGE
• What is an Assembly Language?
• The symbolic, abstractive representation of a computer’s
binary encoding – machine language.
Source: http://www.allbusiness.com/glossaries/assembly-
language/4942588-1.html
ASSEMBLY LANGUAGE
• Symbolic depiction of code allows for clear,
intuitive understanding for each instruction
• Logical Acronyms vs. meaningless strings of 1’s 0’s.
• Allows programmer to think more abstractly
• Reduces time necessary to construct programs.
• In-depth, specific control of the hardware.
ASSEMBLY LANGUAGE
• Machine language
• A combination of circuits with a logical ‘true’ and ‘false’.
• Read in code as a multiple lines of 1’s and 0’s.
• There is a one-to-one correspondence between assembly
and machine code.
Source: http://writinginmediasres.blogspot.com/2011/08/world-of-1s-and-0s.html
LOW-LEVEL LANGUAGE
LOW-LEVEL LANGUAGE
• What is a Low-Level Programming Language?
• A programming language with limited to no abstraction of
the instruction set of the microprocessor.
• 1 coded instruction <= Few Computer Instruction
• Low-level languages vary in complexity.
• Assembly is a Low-Level Language
• Requires understanding of hardware constraints.
• Old, primitive means of programming
• Still applicable in specific instances.
LOW-LEVEL LANGUAGE
• Advantages of Low-level Programming?
• Enables programmer explicit control of anything the
hardware will allow.
• Requires less memory, runs more quickly.
• Low-level languages do not require translation before being
executed.
source: http://www.cise.ufl.edu/~mssz/CompOrg/CDA-lang.html
HIGH-LEVEL LANGUAGE
HIGH-LEVEL LANGUAGE
source: http://aquosoft.com/what-is-programming-languagepart-2-2/
HIGH-LEVEL LANGUAGE
• What is a High-Level Programming language?
• A programming language that utilizes a high level of
abstraction, with the intention of improving functionality
and time efficiency.
• Most programmers program in high-level
• Significant time-savings in writing code.
• Reduces human error.
• Instructions are simple, and easily read.
• Pre-written functions are built into hardware.
HIGH-LEVEL PROGRAMMING
• Advantages of High-Level Programming?
• High level of portability among varying computers.
• Instructions are abstract.
• More related to the physical problem the programmer wishes to
solve than the confusing dynamics of the computer.
• Increases efficiency.
• Programs consist of smaller number of coded lines
• Programs require less time to write.
PROGRAMMING LANGUAGES
• What Language to choose, and when?
• The answer is complex is complex, and dependent on a
multitude of factors:
• Speed
• Portability
• Experience with the specified programming language.
• Programming languages are like tools.
• Some are only appropriate for very specific tasks.
• Others are more broad and generalized
• The best programmers knows when to program in any
given language.

Weitere ähnliche Inhalte

Was ist angesagt?

Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
Saumya Sahu
 

Was ist angesagt? (19)

Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
 
Computer language
Computer languageComputer language
Computer language
 
classification of computer language
classification of computer languageclassification of computer language
classification of computer language
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
EVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGESEVALUTION OF COMPUTER LANGAGES
EVALUTION OF COMPUTER LANGAGES
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)High Level Languages (Imperative, Object Orientated, Declarative)
High Level Languages (Imperative, Object Orientated, Declarative)
 
Lecture1
Lecture1Lecture1
Lecture1
 
Computer language
Computer languageComputer language
Computer language
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Chapter 4 computer language
Chapter 4 computer languageChapter 4 computer language
Chapter 4 computer language
 
computer languages
computer languagescomputer languages
computer languages
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming
ProgrammingProgramming
Programming
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
High level languages representation
High level languages representationHigh level languages representation
High level languages representation
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 

Ähnlich wie D turner power_pointpres

Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
crAmth
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 

Ähnlich wie D turner power_pointpres (20)

a1.pptx.pdf
a1.pptx.pdfa1.pptx.pdf
a1.pptx.pdf
 
Assembly language
Assembly languageAssembly language
Assembly language
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
CHRANPREE PPT.ppt
CHRANPREE PPT.pptCHRANPREE PPT.ppt
CHRANPREE PPT.ppt
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Lec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there studyLec21&22.pptx programing language and there study
Lec21&22.pptx programing language and there study
 
Python-unit -I.pptx
Python-unit -I.pptxPython-unit -I.pptx
Python-unit -I.pptx
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Lecture 8
Lecture 8Lecture 8
Lecture 8
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Introduction to Computer Programming
Introduction to Computer ProgrammingIntroduction to Computer Programming
Introduction to Computer Programming
 
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
Programming Languages Categories / Programming Paradigm By: Prof. Lili Saghafi
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Computer languages
Computer languagesComputer languages
Computer languages
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
Computer programming programming_langugages
Computer programming programming_langugagesComputer programming programming_langugages
Computer programming programming_langugages
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 

D turner power_pointpres

  • 1. A B R I E F I N T R O D U C T I O N D A V I D T U R N E R COMPUTER PROGRAMMING
  • 2. COMPUTER PROGRAMMING • Computers are complex, intricate machines built on simple principles. • Computers interpret all commands and data as binary digits, 1’s and 0’s. • Programming languages • Provide an accessible, coherent interface for people to compose varied instructions for the computer to execute. • Like a language, they each include their own syntax, vocabulary, and rules.
  • 5. ASSEMBLY LANGUAGE • What is an Assembly Language? • The symbolic, abstractive representation of a computer’s binary encoding – machine language. Source: http://www.allbusiness.com/glossaries/assembly- language/4942588-1.html
  • 6. ASSEMBLY LANGUAGE • Symbolic depiction of code allows for clear, intuitive understanding for each instruction • Logical Acronyms vs. meaningless strings of 1’s 0’s. • Allows programmer to think more abstractly • Reduces time necessary to construct programs. • In-depth, specific control of the hardware.
  • 7. ASSEMBLY LANGUAGE • Machine language • A combination of circuits with a logical ‘true’ and ‘false’. • Read in code as a multiple lines of 1’s and 0’s. • There is a one-to-one correspondence between assembly and machine code. Source: http://writinginmediasres.blogspot.com/2011/08/world-of-1s-and-0s.html
  • 9. LOW-LEVEL LANGUAGE • What is a Low-Level Programming Language? • A programming language with limited to no abstraction of the instruction set of the microprocessor. • 1 coded instruction <= Few Computer Instruction • Low-level languages vary in complexity. • Assembly is a Low-Level Language • Requires understanding of hardware constraints. • Old, primitive means of programming • Still applicable in specific instances.
  • 10. LOW-LEVEL LANGUAGE • Advantages of Low-level Programming? • Enables programmer explicit control of anything the hardware will allow. • Requires less memory, runs more quickly. • Low-level languages do not require translation before being executed. source: http://www.cise.ufl.edu/~mssz/CompOrg/CDA-lang.html
  • 13. HIGH-LEVEL LANGUAGE • What is a High-Level Programming language? • A programming language that utilizes a high level of abstraction, with the intention of improving functionality and time efficiency. • Most programmers program in high-level • Significant time-savings in writing code. • Reduces human error. • Instructions are simple, and easily read. • Pre-written functions are built into hardware.
  • 14. HIGH-LEVEL PROGRAMMING • Advantages of High-Level Programming? • High level of portability among varying computers. • Instructions are abstract. • More related to the physical problem the programmer wishes to solve than the confusing dynamics of the computer. • Increases efficiency. • Programs consist of smaller number of coded lines • Programs require less time to write.
  • 15. PROGRAMMING LANGUAGES • What Language to choose, and when? • The answer is complex is complex, and dependent on a multitude of factors: • Speed • Portability • Experience with the specified programming language. • Programming languages are like tools. • Some are only appropriate for very specific tasks. • Others are more broad and generalized • The best programmers knows when to program in any given language.