Page 99 - 2502_Pakistan-kifayat_C-6
P. 99
WHY DO WE NEED PROGRAMMING LANGUAGES?
Programming languages are special languages that allow us to communicate with computers and tell
them what to do. Just like how we use spoken languages like English or Urdu to talk to each other,
computers use programming languages to understand our instructions. These languages are important
because they help us create everything from games and apps to websites and robots. Without
programming languages, we wouldn’t be able to make the technology that we use every day work the
way we want it to.
PROGRAMMING LANGUAGES AND THEIR USES
Different programming languages are used for various tasks, and they can be grouped into different
types. Three main categories of programming languages are:
Low-Level Languages
Middle-Level Languages
High-Level Languages
Programming Languages
Low-Level Middle-Level High-Level
Languages Languages Languages
Low-Level Languages
Low-level programming languages are very close to the computer’s machine code, which is the
language the computer understands directly. These languages allow programmers to have complete
control over the computer's hardware. They are fast because the computer can run them directly
without needing extra steps.
Advantages of low-level programming languages are as follows:
Efficiency: Programs written in low-level languages run very fast and use less memory.
Control: Programmers can control the computer’s hardware directly, which is ideal for specific
tasks.
Small Code: The code is small and doesn't take up much space, which is useful in devices with
limited storage.
Examples: Machine language, Assembly language.
Low-level languages are used for different purposes, which are as follows:
Making Operating Systems: Low-level languages are used to write parts of the operating system
that help the computer run.
Creating Devices: They are used for programming devices like microwaves or smart gadgets that
need to run quickly and efficiently.
#Fundamentals of Programming 97

