Posts

PayBox

PayBox

PayBox

PayBox

FUNDAMENTALS

Almost  all the  characters available in the keyboard can be  used. Prolog  programs  are built from TERMS. A term is either a  constant,  a variable or a structure. DATA TYPES : Constants :Constants  name  specific objects or  specific  relationships. There are two types of constants.         1. atoms (Also known as symbols)         2. Integers There  are two kind of atoms. One is made up of alphabets  and  digits. Another one is made up of signs only. An underscore symbol may  be used in between atoms to improve legibility. Example of atoms : likes, kumar, books, valuable, -->, -?-      Integers are whole numbers consisting of only digits and  may not contain a decimal point. Example : 0   1   999    533     39848      12765...

PROGRAMMING IN PROLOG

NTRODUCTION:PROLOG  is a computer programming language mainly used to communicate  with machine like English is used to communicate with humans. The language was developed by Alan Colmeraur & P.Russel in the year 1972  at the  University  of Marsailles, France. For designing  Natural  language Translation  Systems.  The  word Prolog is acronym  for  Programming  in Logic.The  importance  of  this language is  quickly  gaining  popularity throughout the world and its application includes.                --  relational database                --  mathematic logic                --  abstract problem solving         ...