Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 11 - 2505_CoreGPT(Podar)_Flipbook_C6
P. 11

    For example, Mercury, OPS5 and Prolog.

                     Natural  languages  are  easy  to  use.  For  example,  in a  4GL  (Fourth-Generation  Language),  a
                     program to get the names of students with marks over 95 might be written as:
                     SELECT LAST-NAME, FIRST-NAME FROM STUDENT WHERE MARKS > 95.
                     A natural language version of the same program might be written as:

                     TELL ME THE NAME OF STUDENTS WITH MARKS OVER 95.
                     Natural languages are often linked to expert systems and  artificial  intelligence. They are

                     popular in medical and scientific fields but are not widely used in business applications.
                     Advantages of High-Level Languages:
                     Here are some key advantages of using high-level languages:

                        It is user-friendly.
                         It is similar to the English language, which makes it easier to use.
                        It requires less time to write a program.

                        It is easier to maintain.
                        It is problem-oriented rather than machine-based.
                        It is machine-independent, i.e. programs can run on any computer.
                     Disadvantages of High-Level Languages:

                     Here are some notable disadvantages of high-level languages:
                         Programs written in high-level languages require more memory and system resources.

                         It offers limited control over hardware, making it harder to optimise performance.

                           ADVANCED HIGH-LEVEL LANGUAGES

                     Advanced high-level languages go beyond the basics. They provide powerful  tools, libraries
                     and features that make it easier to build complex software, mobile apps, web applications and
                     artificial intelligence systems.
                     Some of the features of Advanced High-Level Languages are as follows:

                        Abstraction: They hide hardware details and let programmers focus on problem-solving.
                        Portability: Programs can run on different platforms with little or no change.
                        Rich Libraries: Built-in modules and frameworks save time and effort.

                         Object-Oriented Support: Concepts like classes and objects make code reusable and easier
                        to manage.
                         Automatic Memory Management: Features such as garbage  collection reduce  memory
                        errors.
                     Commonly Used Advanced High-Level Languages

                     Some of the commonly used advanced high-level languages are:

                         Python: Python is one of the easiest languages to learn. It is widely used to make websites,
                        apps, games and Artificial Intelligence programmes. Many schools and colleges teach Python
                        first because it is simple and powerful.

                                                                                              Computer Languages          9

| 6 7 8 9 10 11 12 13 14 15 16 |