ICT-Programming Languages

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 17

PROGRAMMING

LANGUAGES
»»————- ★ ———— -««
Done by-Shreya 8A
Welcome!!
Lets get started !!
Why do we use programming
Agenda Style languages ?
Computer programming language is an language used to write
computer programs, which involve a computerperforming some
kind of computation or algorithm and possibly control external
devices such as printers, disk drives, robots, and so on.

programming languages also allow humans to communicate in-


structions to machines.
What is programming languages ?
Agenda Style
A 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. The
programmer communicates with a machine using
programming languages. Most of the programs have a
highly structured set of rules.
Low-level languages
Low level languages which are closer to hardware as compared to high-
level languages instead of software. They provide little or no abstraction
from the machine instructions and that’s why they allow programmers
to manipulate hardware elements like register, memory etc. Low-level
languages are often used for designing systems, such as developing
operating systems, device drivers, and embedded systems.

Types of Low-Level Languages

Assembly language Machine language


High-level languages
Agenda Style
High-level languages enable a programmer to focus on the problem to be
solved and require no knowledge of the hardware and instruction set of
the computer that will use the program. Many high-level programming
languages are Portable and can be used on different types of computers.
This means that program written in a high level language are easier to :

• read and understand as language used is closet human language

• write in a shorter time

• debug at the development stage

• Maintain once it is used


MACHINE CODE
Programmers do not usually write in machine code as
it is difficult to understand,it can be complicated to
manage data manipulation and storage and it is error-
prone by humans.It consists of binary numbers.
COMPARING
High Level and Machine Code
Translators
Language translators allow computer
programmers to write sets of instructions in
specific programming languages. These
instructions are converted by the language
translator into machine code. The computer system
then reads these machine code instructions and
executes them.
Compilers
What is a compiler in programming language?

A compiler is a software that converts the source code to the object


code. In other words, we can say that it converts the high-level
language to machine/binary language. Moreover, it is necessary to
perform this step to make the program executable. This is because
the computer understands only binary language.
Interpreters
An interpreter is a computer program that directly
executes instructions written in a programming or
scripting language, without requiring them previously to
have been compiled into a machine language program.
IDE-Integrated/Interactive Development
Environment
The IDE brings together the tools you need into one application
so that you can efficiently and easily go through this process. An
IDE brings together

•Source code editing


•Debugging / error diagnostics
•Translating (Complier)
•Run time environment
•Auto-documenting
There are free open source IDEs available on the Internet and
there are also many commercial applications.
First Generation Language
(Machine language)
01
Generations
Of Second Generation language
Programming (Assembly Language) 02
Languages
Third Generation languages
(High-Level Languages) 03

Fourth generation language


(Very High-level Languages) 04
Fifth generation language
(Artificial Intelligence
Language) 05
Some Examples of High-level languages

Python php

C sharp JavaScript

Java Swift
AssemblyAgenda
Language
Style
Assembly language is a way of writing computer programs that are very
close to how the computer works. It have some symbols and codes that
represent the basic operations that the computer can perform, which
includes adding, moving, or comparing numbers. Because every computer
use different architecture for processing so computer have there own
instructions so we can say every computer have there own assembly
language. It is way higher level language then machine language so its more
faster and but still its hard to write and read. To run a program written
using assembly language we need to convert it to machine language which
is binary . This conversion is done by a program called an assembler.
Thank you

You might also like