Data structures-quiz -18/08/2023

Q1) In a min-heap:

[A - parent nodes have values greater than or equal to their childs](javascript:void(0):wink:

[B - parent nodes have values less than or equal to their childs](javascript:void(0):wink:

[C - both statements are true](javascript:void(0):wink:

[D - both statements are wrong](javascript:void(0):wink:

Q2) The type of expression in which operator succeeds its operand is ____________.

a) infix

b) none of these

c) prefix

d)postfix

Q3)I n _________ linked list last node points to first node.

a) doubly

b) none of these

c) circular

d) singly

Q4) Function which calls itself is called as _________ function

a) none of these

b) recursive

c) both

d) iteartive

2 Likes

Answers of the above questions:-
Ans1: B
Ans2: C
Ans3: C
Ans4: B