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

Assignment C.P.W Python

Uploaded by

njanu0781
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Assignment C.P.W Python

Uploaded by

njanu0781
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Govt.

Post Graduate
College khanewal
Assignment

Computer Programming with Python

Topic:

Computer Languages

Submitted by:

Muhammad Nasir

Roll Number:

17

Submitted to:
Mr.Saleem Anjum

Department:
BS Mathematics

Dated:
09-12-2024
Programming Language:
A set of words and symbols used to write program is called
programming language.The programming language are used to write computer programs.A
programming language is a means of communication between a user and computer.

Types of Programming Language:


1. Low-level languages

2. High-level languages

1.Low Level Languages:


Low-level languages are near to computer hardware and far
from human languages.

Categories of Low Level Languages:


(a) Machine Language

(b) Assembly Language

(a)Machine Language:
A type of language in which instructions are written in binary
form is called machine language.It is the native language of the computer.

Advantages:
(i)Program can be executed very fast by computer.

(ii)The computer does not need any translator to understand this language.

Disadvantages:
(i)It is difficult to understand and learn this language.

ii)The process of writing and modifying program in machine language takes a lot of time.
(b) Assembly Language:
It is one step higher than machine language.In assembly
language,machine instructions are replaced with English-like words known as mnemonics.It
is pronounced as Ne-Monics.

Advantages:
(i) Programs written in assembly language are easier to write and modify than machine
language.

(ii)It is mostly used for writing system software.

Disadvantages:
(i)The programs written in assembly language cannot be executed by the computer directly.

(ii)A translator called assembler is used to convert assembly language program into
machine language.

2. High Level Languages:


A type of language that is close to human languages is
called high-level language.The instructions in these languages are similar to English
language such as input and print etc.

Examples:
(i)C/C++

(ii) Java

(iii)FORTRAN

(iv)BASIC

(v)COBOL

Characteristics of High Level Languages:


(i)Easy to learn.

(ii)Easy error detection.

(iii)Machine Independence.
(iv)More Programmers.

(v)Shorter Programs.

You might also like