You are on page 1of 1

1. Write a program to check whether a given word is a palindrome or not.

2. Write a program to concatenate two lists giving a third list.


3. Write a program to find the nth element in the list.
4. Write prolog program to generate fibonacci series of N elements.
5. Write prolog program to find the maximum number from a list.
6. Write prolog program to find the reverse of a word.
7. Write prolog program to check whether the year entered by user is a leap year.
8. Write prolog program to ask user the birth date and month and display zodiac sign.
9. Write prolog program to find the power of a number using recursion. Eg: 2^3=8.
10.Write prolog program to spilt list into to list positive and negative list.
11.Write prolog program to find the intersection between two lists.
12.Write prolog program to find the difference between two lists.
13.Write prolog program that check the equality between two lists.
14.Write prolog program to find the last element in a list.
15.Write prolog program to find the length of a list.
16.Write prolog program to find the index of specified element in a list.
17.Write prolog program that multiply each element in the list by 5.
18.Write prolog program that sort a list descending.

You might also like