What should be the name of the following function?NODE* aBST_ADT_Operation (BST_TREE* tree, NODE* root, NODE* newPtr){ if (!root) return newPtr; if (tree->compare(newPtr->dataPtr,root->dataPtr) < 0) { root->left = aBST_ADT_Operation(tree, root->left, newPtr); return root; } // new < node else { root->right = aBST_ADT_Operation(tree, root->right, newPtr); return root; } return root;}
A. BST_Create
B. BST_Delete
C. BST_Insert
D. _insert
Answer: D
You might also like to view...
Who is the responsible person for ensuring proper alignment and coordination of lifecycle management activities?
A. Chief information officer (CIO) B. Chief executive officer (CEO) C. Chief information services officer (CISO) D. Chief security officer (CSO)
Answer the following statements true (T) or false (F)
1. The types int, float, double, and char are examples of data abstractions 2. Items declared in the public part of a class may only be accessed from within the class itself. 3. The declaration section of a class contains a description of the class' interface with other program components that use the class. 4. All class attributes must appear in the private segment of a class 5. Both the class and the struct define a data type that is a collection of related data elements which may be of different types.
Match each item with a statement below:
A. a distributed file system developed by Sun Microsystems that allows data to be shared across a network B. a connectionless protocol that permits remote tracking and management of TCP/IP hosts C. provides TCP/IP host name to IP address resolution D. used by TCP to establish a reliable connection between two points E. indicates that a TCP connection is to be terminated without further interaction F. a portion of memory where the device stores incoming packets until they can be processed G. provides IP address to MAC address resolution in a manner similar to that of ARP H. contains enough information in its header to be routed through an internetwork I. verifies connectivity between two points
The distanceTo() function returns the distance from the center of one object to the center of the target object.
Answer the following statement true (T) or false (F)