0% found this document useful (0 votes)
15 views

Week 2

Uploaded by

Horlar Moore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Week 2

Uploaded by

Horlar Moore
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

IMPORTANT NOTICE: LEAVE 7 LINES BEFORE STARTING A NEW TOPIC

IMPORTANT NOTICE: LEAVE 7 LINES BEFORE STARTING A NEW TOPIC


IMPORTANT NOTICE: LEAVE 7 LINES BEFORE STARTING A NEW TOPIC

PROGRAMMING LANGUAGE
A programming language is an artificial language designed to communicate instructions to a machine or used to
control the behaviour of a machine, particularly a computer. It is used to create software, websites, games, and other
applications.

COMPUTER PROGRAM
This is a set of instructions that directs the computer on what to do and how to do it. A person who writes a
meaningful computer program is known as a computer programmer.

LEVELS OF PROGRAMMING LANGUAGE


1. Low level language
2. High level language

LOW LEVEL LANGUAGE


These are languages that are closer to the computer hardware architecture. They are machine language and
assembly language. They are difficult to learn and use.

TYPPES OF LOW-LEVEL LANGUAGE


1. Machine language: This is the language directly understood by the computer. It consists of binary forms (0s
and 1s). Programs written in machine language do not require any translator. it is very difficult to learn and
use.
2. Assembly language: It consists of mnemonics like ADD, SUB, MOV etc. instead of binary codes. Programs
written in assembly language are translated into machine language by an assembler before the computer
executes them. It is also difficult to learn and use but easier than machine language.

HIGH LEVEL LANGUAGE


These are languages that are closer to human languages. They are almost English-like language. They are easier to
write, learn, understand and use. Programs written in high level language have to be translated into machine
language by either a compiler or an interpreter before the computer can execute them. A compiler translates
programs written in high level languages into machine language all at once while an interpreter does its own line by
line which makes it easier to spot errors.

EXAMPLES OF HIGH-LEVEL LANGUAGE


1. BASIC – Beginners All Purpose Symbolic Instruction Code
2. COBOL – Common Business Oriented Language
3. FORTRAN – Formula Translator
4. C
5. C++
6. C-Sharp
7. Java
8. Python etc.

CHARACTERISTICS OF A GOOD PROGRAMMING LANGUAGE


1. Simplicity: Easy to understand and use
2. Efficiency: Executes tasks quickly
3. Portability: Can run on different types of computers
4. Readability: Easy to read and understand
5. Debugging Support: Helps in identifying and fixing errors easily.

You might also like