Page 100 - 2502_Pakistan-kifayat_C-6
P. 100

Games and Robots: Some fast video games and robots are programmed using low-level languages
           to make them run quickly.

        Middle-Level Languages

        Middle-level languages are a mix between low-level and high-level languages. They are easier to use
        than low-level languages but still allow good control over the computer’s hardware. These languages
        are often called "intermediate-level."

        Advantages of middle-level programming languages are as follows:

             More control: They give programmers more control over the computer while still being easier to
           understand than low-level languages.
             Portability: Programs can be used on different devices with some changes.

             Productivity: They are easier to write and read, making the development process faster.

        Examples: C and C++.

        Middle-level languages are used for different purposes, which are as follows:
             Building Software: These languages are used for creating programs that control how the computer
           works, like video games or big applications.

             Cross-Platform Apps: They help build programs that can run on different types of computers, such
           as Windows or Mac.

             Games: Many video games are made with middle-level languages because they balance control and
           ease of use.

        High-Level Languages

        High-level  programming languages  are the  easiest to use  because  they  are very similar to human
        languages. They are far away from the computer's machine code and are easy to understand and write.
        However, the computer needs a program to convert high-level language into machine code.

        Advantages of high-level programming languages are as follows:
             Easy to learn: High-level languages are closer to the way we speak, so they are much easier for
           beginners to learn.

             Fast development: Writing programs in high-level languages is quicker and easier.

             Portability: Programs written in high-level languages can run on many different devices without
           major changes.
             No complex operations: Developers don’t need to worry about complicated tasks like managing
           memory because the language takes care of it.

        Examples: Python, Java, JavaScript, and Swift.

        High-level languages are used for different purposes, which are as follows:
             Making Websites: High-level languages are used to build websites and apps that you use on the
           Internet, like Facebook, YouTube, or online games.




            98  Premium Edition-VI
   95   96   97   98   99   100   101   102   103   104   105