Professional Documents
Culture Documents
The lab course is designed to improve logic building for development of an expert system.
This lab course equips students to model real world knowledge and thereby using the same for intelligent decision
making.
2. Reference Books
4. Lab Plan
1. Alan needs to build a system to check whether input is alphabet or not. Write the prolog code to build system.
2. Bob wants an intelligent data entry operator machine that can take only positive numbers as input and for
negative numbers machine will reply as “Wrong Input”. Write the prolog code for the machine.
3. At the entrance of ABC youth club, a machine is required to verify the person is member of the club or not.
Person will enter his/her name. Write the code for the machine.
4. Construct an intelligent system that can compare the structure of two products, on the basis of that relevant
message should be displayed either “Product with same structure” or “Product with different structure”.
5. Write code for building a system that can calculate the sum of N integers using recursion.
6. If a Log file of online users of a website is stored in a list then construct prolog code to find the number of users
using length of list with recursion.
7. Write a prolog code to display factorial of a number using recursion and accumulators and cut.
8. Design an intelligent system that can calculate average tax illustrating cut-fail combination usage.
11. On the occasion of Diwali, a private bank ABC wants to give special discounts on four wheeler loan to the
customers those applied on any prime number date(e.g. on 11 August 2014). Make an intelligent system that can
tell the entered number is prime or not.
12. Marketing manager of an outlet wants to report about the highest and lowest sale of the day to head of outlet,
he needs an intelligent system that will take the numbers as input and will sort them using bubble sort and
insertion sort.
Page 1 of 2
5. Evaluation Scheme
Page 2 of 2