Skip to main content

PROLOG Programming Logic Declarative Program

PROLOG Programming Logic Declarative Program

PROLOG Programming Logic Declarative ProgramDefinition – PROLOG is abbreviated as Programming Logic which is a declarative language consisting of sequence of commands and logical formulas. PROLOG is associated with artificial Intelligence and computational Linguistics. PROLOG is a High level programming language entirely based on formal logic, sequences of commands for solving logical formulas. Prolog language are smaller which encourages well written code and easy to maintain. Visual Prolog 7.5 is the newest generation of the visual Prolog logical programming language that might be used for designing industrial strength applications for the Microsoft Windows. The artificial intelligence use two programming languages, LISP and PROLOG. The PROLOG program consists of three parameters during programming.

  1. Declaration of the facts of the relations involved.

  2. Declaration of rules concerning relations.

  3. Formulation of questions to be answered.

Characteristics of PROLOG Language

The main characteristics which resembles in Programming Logic (PROLOG) are –

  1. Fully Object Oriented language

  2. Based on Logical Programming with Horn clauses

  3. Strongly typed object oriented programming language

  4. Object Predicate values

  5. Algebraic data types involved

  6. Fully integrated fact database systems

  7. Pattern matching and unification systems

  8. Controlled non-determination Systems

  9. supports direct calling of Win32 API functions

  10. supports direct linkage with C/C++

  11. automatic memory management

  12. supports parametric polymorphism

The Prolog Programming language is extensively used for Theorem Proving, Expert Systems, Term rewriting, type inference and Automated Planning. Prolog is well-designed for specific tasks that benefit from rule-based logical queries such as filling templates, searching databases and voice control systems. PROLOG is very different from other programming languages in terms of Declarative (not procedural), Recursion (no "for" or "while" loops), Relations (no functions) and Unification.

History of PROLOG – Programming Logic

In 1972 – First Prolog interpreter was designed by Alain Colmerauer and Philippe Roussel.

In 1977 – Implementation of DEC 10 Compiler was done by David H.D. Warren.

In 1980 – The definite Clause Grammer implementation was given by Pereira and Warren.

In 1980 to 1990 – Prolog became popular especially in Japan and Europe.

In 2005 - Prolog used to program natural language interface in International Space Station by NASA. In 2011 – IBM Watson QA Super computer was coded in Prolog.

PROLOG Implementation

There are several PROLOG environments which are available and widely used today are –

  1. SWI Prolog

  2. SICStus Prolog

  3. GNU Prolog

  4. YAP Prolog

  5. Strawberry Prolog

Prolog terms are the basis elements which rules during programming. It is divided into two sections namely – Simple terms and Complex terms. The simple terms is further divided into Constants and Variables. The Constants are now divided into Atoms and Numbers. This is short description regarding PROLOG Programming Logic Declarative Program, in next topic we will discuss about new high level programming languages.

Popular posts from this blog

When Task Scheduler gets Infected by Malware

When Task Scheduler gets Infected by Malware

When Task Scheduler gets Infected by Malware - We are familiar with malware attacks on Computer. The hackers infect one or more files and thereby attaining full control on the System. There are millions of victims who had loosen either data or dollars in this respect. In this article we see a System file which is infected by these hackers at first stage. The System file infected by malware at first stage is Task Scheduler Engine (Taskeng.exe). The Task Scheduler Engine is a system file located in C:\Windows\System32 folder. This location is the default location for Taskeng.exe.

The Task Scheduler Engine is responsible for keeping track of tasks set to run at a time predefined by the user of the PC. As said earlier, the original location of this scheduler is C:\Windows\System32 folder. But it is suspicious if the location of scheduler gets change. If it is found in some other folder then it must be infectious. As a result, you constantly get a…

How to Project Android Phone Screen on Windows PC

How to Project Android Phone Screen on Windows PC

Project Android Phone Screen on Windows PC - Four out of Five of us have Smartphones in our Pocket. We spend lots of time on Smartphone utilities like Facebook, Twitter, WhatsApp, YouTube and other interesting Apps. These Smartphones are tremendously used due to Android Operating System installed in it. Android OS is one the successful mobile based OS running in the market.

On the Other side, Microsoft is emphasizing on features to ease Android user's connectivity with it. Microsoft has done lots of improvement for mobile utilities to the Windows 10 version 1809. With this upgradation, we can easily project Android phone screen on Windows PC. The extensive use of such features is seen on Digital Smart TVs Today. The introduction of Wi-Fi feature makes more reliable and user friendly.

So, if you are boredom with 5-6-inch Android Screen and want to mirror it on Computer screen, then read the full article to know the process, how to proj…

Fix Windows could not find a driver for your network adapter error

Fix Windows could not find a driver for your network adapter error

A Computer run smoothly with the coordination of Software & Hardware. In the absence of any one it will not run at all. Software being the Master utilizes each hardware attached to the System. And each hardware is operated with the help of Device Drivers installed in it. Operating System (OS) uses these device drivers to control & utilize each hardware when needed. Each hardware connected to the system must have their own Device Driver installed. A device driver is a program to initiate a hardware when required by Operating System.

Suppose, you want your PC to connect to the Network, it can only be possible when your PC has network related Device Driver. These Device Drivers are easily downloaded from Manufacturer Websites. In this article we focus on Network related problem. Suppose, your PC not obtaining Network connectivity. And each time you are getting an error message saying "Windows could not find a d…