Question 181
[Q.81] What is the height of a balanced binary tree with N nodes?
Height of a balanced tree (like AVL or Red-Black) is logarithmic O(log N).
[Q.81] What is the height of a balanced binary tree with N nodes?
Height of a balanced tree (like AVL or Red-Black) is logarithmic O(log N).
[Q.82] Which component of DBMS manages active transactions and enforces transaction durability after system crashes?
Log/Recovery manager uses write-ahead logging to restore DB state.
[Q.83] In C++, a destructor function name starts with which character?
Destructors are declared with ~ClassName().
[Q.84] What is the purpose of the Ping command in computer networks?
Ping uses ICMP Echo Request/Reply to check connectivity.
[Q.85] What is 'Belady's Anomaly'?
Belady's anomaly occurs in FIFO page replacement.