SlideShare a Scribd company logo
1 of 9
A presentation on 
Computer Languages
A programming language is an artificial language 
designed to communicate instructions to a machine, 
particularly a computer. 
A programming language is a set of symbols that 
instructs the h/w of computer to perform a specific 
task. 
A programming language is a language to perform 
a set of tasks. A computer language is a set of predefined 
words that are combined into a program according to 
predefined rules (syntax). 
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.
Programs were made up of instructions written in 
binary code (1s and 0s). 
This is the “native” language of the computer. 
Each instruction had two parts: Operation code 
i.e. opcode and Operand. 
Operation code (Opcode): The command 
part of a computer instruction. 
Operand: The address of a specific location 
in the computer’s memory. 
OPCODE(operation code) OPERAND(address/location) 
Fig: Instruction Format
Advantages/Limitations 
Machine dependent. 
Difficult to program. 
Error prone. 
Difficult to program.
Assembly language 
It’s a low level language which uses 
alphanumeric codes used for the instructions. 
 programs are made up of instructions written 
in mnemonics. 
Mnemonics: Uses convenient alphabetic 
abbreviations to represent operation codes, and 
symbols to represent operands. 
Each instruction had two parts: Operation code, 
Operand. 
Because programs are not written in 1s and 0s, the 
computer must first translate the program before it 
can be executed. 
READ num1 
READ num2 
LOAD num1 
ADD num2 
STORE sum 
PRINT sum 
STOP
Advantages/limitations 
Easier to understand and use 
Easier to modify. 
Easier to locate and correct errors. 
No worry about addresses. 
Easily relocatable. 
Efficiency of machine language. 
Machine dependent. 
Knowledge of h/w required. 
Machine level coding.
High Level language 
A programming language that enables a 
programmer to write programs that are more or less 
independent of a particular type of computer. 
These are considered high-level because they are 
closer to human languages and further from machine 
languages. 
hey are easier to read, write, and maintain. 
Ultimately, programs written in a high-level language 
must be translated into machine language by a 
compiler or interpreter.
Advantages /limitation 
Better documentation. 
Easier to learn and use. 
Machine independence. 
Fewer errors. 
Lower program preparations cost. 
Easier to maintain. 
Lower flexibility.

More Related Content

What's hot

Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
Afiq Sajuri
 
Computer programming
Computer programmingComputer programming
Computer programming
Suneel Dogra
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
Saumya Sahu
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 

What's hot (20)

computer languages
computer languagescomputer languages
computer languages
 
FIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer LanguagesFIT-Unit3 chapter2- Computer Languages
FIT-Unit3 chapter2- Computer Languages
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.What is Higher Language and Lower Language in programming.
What is Higher Language and Lower Language in programming.
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
Computer languages 11
Computer languages 11Computer languages 11
Computer languages 11
 
High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)
 
Assembly and Machine Code
Assembly and Machine CodeAssembly and Machine Code
Assembly and Machine Code
 
Chapter 4 computer language
Chapter 4 computer languageChapter 4 computer language
Chapter 4 computer language
 
Lession 6
Lession 6Lession 6
Lession 6
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Computer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 clComputer Fundamentals Chapter 12 cl
Computer Fundamentals Chapter 12 cl
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
Presentation on computer language
Presentation on computer languagePresentation on computer language
Presentation on computer language
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 

Similar to Programming languages

Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
Mohamed Omar
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 

Similar to Programming languages (20)

Programming Fundamental Slide No.1
Programming Fundamental Slide No.1Programming Fundamental Slide No.1
Programming Fundamental Slide No.1
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Programming Languages
Programming LanguagesProgramming Languages
Programming Languages
 
Programming languages.pptx
Programming languages.pptxProgramming languages.pptx
Programming languages.pptx
 
Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12Introduction to Computers Lecture # 12
Introduction to Computers Lecture # 12
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
 
Compiler design slide share
Compiler design slide shareCompiler design slide share
Compiler design slide share
 
4programming-languages.ppt
4programming-languages.ppt4programming-languages.ppt
4programming-languages.ppt
 
Computer languages
Computer languagesComputer languages
Computer languages
 
Program, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptxProgram, Programming and Programming Language.pptx
Program, Programming and Programming Language.pptx
 
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
[ITP - Lecture 01] Introduction to Programming & Different Programming Languages
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
week 1 - INTRO TO PROGRAMMING.pptx
week 1 - INTRO TO PROGRAMMING.pptxweek 1 - INTRO TO PROGRAMMING.pptx
week 1 - INTRO TO PROGRAMMING.pptx
 
rajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdfrajeshppt-141119011256-conversion-gate01 (1).pdf
rajeshppt-141119011256-conversion-gate01 (1).pdf
 
1.Overview of Programming.pptx
1.Overview of Programming.pptx1.Overview of Programming.pptx
1.Overview of Programming.pptx
 
programing laugauge
programing laugaugeprograming laugauge
programing laugauge
 
Computer language
Computer languageComputer language
Computer language
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
 
df
dfdf
df
 

Programming languages

  • 1. A presentation on Computer Languages
  • 2. A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. A programming language is a set of symbols that instructs the h/w of computer to perform a specific task. A programming language is a language to perform a set of tasks. A computer language is a set of predefined words that are combined into a program according to predefined rules (syntax). 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.
  • 3.
  • 4. Programs were made up of instructions written in binary code (1s and 0s). This is the “native” language of the computer. Each instruction had two parts: Operation code i.e. opcode and Operand. Operation code (Opcode): The command part of a computer instruction. Operand: The address of a specific location in the computer’s memory. OPCODE(operation code) OPERAND(address/location) Fig: Instruction Format
  • 5. Advantages/Limitations Machine dependent. Difficult to program. Error prone. Difficult to program.
  • 6. Assembly language It’s a low level language which uses alphanumeric codes used for the instructions.  programs are made up of instructions written in mnemonics. Mnemonics: Uses convenient alphabetic abbreviations to represent operation codes, and symbols to represent operands. Each instruction had two parts: Operation code, Operand. Because programs are not written in 1s and 0s, the computer must first translate the program before it can be executed. READ num1 READ num2 LOAD num1 ADD num2 STORE sum PRINT sum STOP
  • 7. Advantages/limitations Easier to understand and use Easier to modify. Easier to locate and correct errors. No worry about addresses. Easily relocatable. Efficiency of machine language. Machine dependent. Knowledge of h/w required. Machine level coding.
  • 8. High Level language A programming language that enables a programmer to write programs that are more or less independent of a particular type of computer. These are considered high-level because they are closer to human languages and further from machine languages. hey are easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter.
  • 9. Advantages /limitation Better documentation. Easier to learn and use. Machine independence. Fewer errors. Lower program preparations cost. Easier to maintain. Lower flexibility.