McqMate

Q. |
## The children node of same parent is called____________. |

A. | binary tree. |

B. | tree. |

C. | sibling. |

D. | list. |

Answer» C. sibling. |

2.9k

0

Do you find this helpful?

30

View all MCQs in

Data Structures (DS)No comments yet

- If we implement heap as min-heap, deleting root node (value 1)from the heap. What would be the value of root node after second iteration if leaf node (value 100) is chosen to replace the root at start.
- Using what formula can a parent node be located in an array?
- Any node is the path from the root to the node is called
- A _________is a linked list which always contains a special node called the header node, at the beginning of the list.
- In a directed tree any node which has out degree 0 is called a terminal node or__________.
- node.next -> node.next.next; will make
- What is the functionality of the following code? Choose the most appropriate answer. public int function() { if(head == null) return Integer.MIN_VALUE; int var; Node temp = head; Node cur; while(temp.getNext() != head) { cur = temp; temp = temp.getNext(); } if(temp == head) { var = head.getItem(); head = null; return var; } var = temp.getItem(); cur.setNext(head); return var; }
- If in a linked list address of first node is 1020 then what will be the address of node at 5th position ?
- A linked list whose last node points back to the list node instead of containing the null pointer________.
- _______________is a header list where the last node points back to the header node.