Skip to main content

Different Types of Programming Languages

Explain Different Types of Computer Programming Languages

What is a Program and Programming Language

Program
A set of instructions that tell a computer what to do is called program. A computer works according to the given instructions in the program. Computer programs are written in programming languages. A person who develops a program is called programmer.
Programming Languages
A set of words, symbols and codes used to write programs is called programming language. Different programming languages are available for writing different types of programs. With the help of computer language, a programmer tells a computer what to do.

  Explain different Types of Programming Languages.

There are two main types of computer programming languages.
·        low-level languages
·        high-level languages.
Low Level Languages
These languages are near to computer hardware and far from human languages. Computer can understand these languages easily. Following are two low-level languages:
     Machine Language
     Assembly Language
  Machine Language
A computer language in which instructions are written in binary form (0 and 1) is called machine language. It is the only language that is directly understood by the computer.

Advantages:
a)     Very fast program execution
Disadvantages:
a)     difficult to understand
b)     difficult to learn
c)     difficult to modify
d)     Requires deep knowledge of hardware
e)     Difficult to remove errors
Machine language is also known as first generation language.
 Assembly Language
Assembly language is a low-level language. In assembly language, symbols are used instead of binary code. These symbols are easy to remember. For example Add instruction is used to add two numbers.
Assembly language is also known as second generation language
Advantages:
a) Fast execution of programs
b) easier to learn, understand and modify than machine language
Disadvantages:
a)     machine dependent
b)     Requires knowledge of hardware
 High Level Languages
A type of language that is close to human languages is called high level language. High-level languages are easy to understand. Instructions of these languages are written in English-like words e.g. Print, Display, Write etc.
Advantages:
a) Easy to learn and understand
b) Easy to modify
c) Easy to remove errors
d) Machine independent
e) Better documentation
Disadvantages:
a) Less fast program execution
b) Certain operations can be performed

Comments

Popular posts from this blog

Define Data and Information With Examples

DATA Data is the collection of raw facts and figures. Actually data is unprocessed, that is why data is called collection of raw facts and figures. Define Data and Information with Examples We collect data from different resources. After collection, data is entered into computer for processing. Data may be collection of words, numbers, pictures,  or sounds etc. Examples of Data 1) Student Data on Admission Forms When students get admission in a college. They fill admission form. This form  contains raw facts (data of student) like name, father’s name, address of student, obtained marks, photo graph etc. 2)    Data of Citizens During census, data of all citizens is collected. The staff will go house to house and collect data about citizens like number of persons living in a home, either they are literate or illiterate, number of children, data of each child, cast, religion, Computerized national Identity Card number, address, how many rooms and other facilities in the

Important Objective Type Questions 101-155

MMC stands for multimedia card. SD stands for secure digital card. System Bus  is used to connect main components of a computer such as cpu and main memory. A Port is an interface or a point of attachments. POS stands for Point Of Sale terminal. ATM stands for Automated Teller Machine. PIN stands for Personal identification number. Kbps stands for kilobits per second. Mbps stands for megabits per second. A port that transmits one bit at a time is called Serial Port. A type of port that transmits many bits at a time is called Parallel Port. LPT stands for Line Printer. Examples of system software are Operating System, Utility Programs and Device Drivers. Examples of operating systems are DOS, Windows, Unix and Linux. Examples of Utility programs are File Manager, Image Viewer, Disk Scanner and File Compressor. Software used to detect and remove viruses is called Antivirus . Examples of antivirus programs are Mcaffee, Avast,

Advantages and Disadvantages of Ring Network Topology

Topic: Advantages and Disadvantages of Ring Network Topology alongwith detailed working of Ring topology What Do You Mean by Ring Topology? In Ring topology, each computer is connected to the next computer such that last computer is connected to the first. Every computer is connected to next computer in the ring. Each computer retransmits what it receives from the previous computer. Suppose, computer A needs to send data to computer D. Now the computer A sends data to computer B. As computer B is not the destination computer, so it will retransmit data to computer C. Finally, Computer C will transfer data to computer D, the destination computer. When a node sends a message, the message is processed by each computer in the ring. If a computer is not the destination node, it will pass the message to the next node, until the message arrives at its destination. Advantages of Ring Network Topology 1. It is relatively less expensive than a star topology network. 2. In a Rin