chegg

Question: answer all (a) Develop a logic expert system using PROLOG . The system should be able to solve i. 74+34 ii. 24*66 iii. 54-34 iv. 100/10 v. That , 44+5=50 is wrong

answer all

(a)  Develop a logic expert system using PROLOG . The system should be able to solve

i. 74+34

ii. 24*66

iii. 54-34

iv. 100/10

v. That , 44+5=50  is wrong

(b) Interactive designs obtain knowledge of the problem at hand by    questioning the user. Interactive design is a user-oriented field of study that focuses on meaningful communication of media through cyclical and collaborative processes between people and technology. Successful interactive designs have simple, clearly defined goals, a strong purpose and intuitive screen interface. Explain with hybridized diagrams, the concepts of user-orientation, meaningful communication, cyclical , collaboration, and processes in a CHATBOT system for a customer service point.

(c) The diagram below shows synchronous input and synchronous input; In five(5) points, explain how an AI system based on Computer Vision(CV)  could capture the images;  trees, traffic lights, pedestrian crossing marks and car differently than human.

Answer:

 

 

I am extremely sorry to let you know that as per the recent Chegg guidelines, I can answer a maximum of 1 question per session.

i will be solving question number 1 here. If you have doubts with other parts as well, please ask them seperately. 

Thanks for understanding. 

So, let's get back to the solution



following are 4 seperate functions to find the sum, product, division and difference of two numbers. 


predicates
    start.
    sum.    
clauses
          
        start:- sum,nl.
        
        sum:-     write("X= "),readreal(X),
            write("Y= "),readreal(Y),
            S = X+Y,
            write("Sum is "),write(S).

goal
    start.

 

…………………………………………………………..

 

 

predicates
    start.
    sum.    
clauses
          
        start:- sum,nl.
        
        sum:-     write("X= "),readreal(X),
            write("Y= "),readreal(Y),
            S = X*Y,
            write("Sum is "),write(S).

goal
    start.

 

……………………………………………………………..

 

predicates
    start.
    sum.    
clauses
          
        start:- sum,nl.
        
        sum:-     write("X= "),readreal(X),
            write("Y= "),readreal(Y),
            S = X-Y,
            write("Sum is "),write(S).

goal
    start.

 

……………………………………………………………..

 

predicates
    start.
    sum.    
clauses
          
        start:- sum,nl.
        
        sum:-     write("X= "),readreal(X),
            write("Y= "),readreal(Y),
            S = X/Y,
            write("Sum is "),write(S).

goal
    start.

 

……………………………………………………………

 

i hope you understood the concept well. if you did, please click on the ‘like’ button.

Related Articles