Programming for beginners

This blog is primarily focus on Java fundamentals and the libraries built on top of Java programming language. Most of the post are example oriented, hope you have fun in reading my blog....:)

  • Home
  • ABAP
  • Brainfuck
  • C#
  • Caching
  • Databases
  • Docker and Kubernetes
  • Documentation
  • Elasticsearch
  • Go
  • Groovy
  • Hadoop
  • Haskell
  • Java
  • JavaScript
  • Julia
  • Kotlin
  • Nexus
  • Node.js
  • Prolog Tutorial
  • Python
  • R Tutorial for beginners
  • Spring Framework
  • XML
  • YAML

Saturday, 2 February 2019

Prolog tutorial


Introduction to prolog
Setting up prolog
Hello World Program
Basic constructs in Prolog
How to create facts in prolog?
Prolog: Variables
Unification
Conjunctions
Rules
Prolog program
Prolog: Constants
Prolog: Variables
Prolog: Structures
Unifying operator (=)
Arithmetic Operators
Convert centigrade to farenheit
Prolog: =:= (equal to), =\= (not equal to) operators
Prolog: Example Program with players information
Get the population of cities in a country
Prolog: //: Get integer quotient on division
Prolog: mod: Get the reminder
Lists
Prolog: Check for existence of an element in the list
Get size or length of the list
Prolog: Check whether given element is list or not
Prolog: Why to define facts before rules
Prolog: convert list of characters to list of integers
Prolog: Append elements of a list
Previous                                                 Next                                                 Home
Posted by Krishna at 06:23
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Prolog tutorial

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Top 40 Javablogs by feedspot

My Blog is selected as one of the Top 40 Java Blogs by FeedSpot. I am very honored and thankful to be part of this list. Please go ahead and check out the other featured blogs, there is very interesting content available....

Java Blogs
Simple theme. Powered by Blogger.