Answer:
Check the explanation
Explanation:
relatives.pl
/* Facts */
male(ace).
male(john).
male(jack).
male(bill).
male(david).
male(brown).
male(daniel).
female(cecil).
female(aba).
female(cathy).
parent(john,ace)
parent(tom,john)
parent(jack,john)
parent(bill,aba)
parent(brown,aba)
parent(cecil,bill)
parent(david,cecil)
parent(cathy,brown)
parent(daniel,cathy)
parent(ellen,daniel)
/* parent(X,Y) -> Y is parent of X */
wife(ceceil,jack) /* wife(X,Y) -> Y is wife of X */
Answer of 2-2
Considering all facts and rules answer will be daniel,ellen.
Answer 2-3
Considering all facts and rules answer will be bill.
Answer 2-4
Considering all facts and rules X will be john and y will be cecil.
Answer 2-5
Considering all facts and rules X will be tom and y will be david.
Answer: filter the data of employees with more than five years of experience
Explanation:
The technique that Peter can use to perform this analysis is to filter the data of employees with more than five years of experience.
Filter in spreadsheets allows one to see the data that is required based on the input that was given. In this case, since Peter wants to analyze the data of all employees that have experience of more than five years, this can be filtered and the employees who have experience of more than 5 years will be shown.
The workers who have experience of less than five years will not b shown in this case.
Answer:
A Red Black Tree is a type of self-balancing(BST) in this tree ,each node is red or black colored. The red black tree meets all the properties of the binary search tree, but some additional properties have been added to a Red Black Tree.
A Red-Black tree's height is O(Logn) where (n is the tree's amount of nodes).
In a red-black tree with black height k
The maximum number of internal nodes is
.
The smallest possible number is
.
Answer:
IRET is used for return from interrupt handler
Explanation:
During interrupt processing ( e.g., mouse-click or keyboard key press), the control transfers to interrupt service routine. Once the interrupt processing is over, control needs to be transferred back to the interrupted user code. IRET is the instruction used in x86 instruction set architecture to accomplish this functionality. Upon IRET instruction processing,the execution stack is also restored to the position prior to the invocation of the interrupt service routine.