A. | by checking interrupt register after execution of each instruction |
B. | by checking interrupt register at the end of the fetch cycle |
C. | whenever an interrupt is registered |
D. | by checking interrupt register at regular time interval |
Option: A Explanation : Click on Discuss to view users comments. |
Given the following set of prolog clauses:
father(X, Y):
parent(X, Y),
male(X),
parent(Sally, Bob),
parent(Jim, Bob),
parent(Alice, Jane),
parent(Thomas, Jane),
male(Bob),
male(Jim),
female(Salley),
female(Alice).
How many atoms are matched to the variable ‘X’ before the query father(X, Jane) reports a Result?
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Option: B Explanation : Click on Discuss to view users comments. |
A. | Data driven, Data driven |
B. | Goal driven, Data driven |
C. | Data driven, Goal driven |
D. | Goal driven, Goal driven |
Option: C Explanation : Click on Discuss to view users comments. |
A. | (iii) (i) (ii) (iv) |
B. | (i) (iii) (ii) (iv) |
C. | (i) (iii) (iv) (ii) |
D. | (ii) (iv) (i) (iii) |
Option: D Explanation : Click on Discuss to view users comments. |