What is wrong with the following function?void BST_Traverse (BST_TREE* tree,){ _traverse (tree->root); return;}
A. It should receive and pass the address of the function that processes the data.
B. It should be called BST_Search.
C. It does not validate if tree->root is null.
D. The return type should be void*.
Answer: A
You might also like to view...
Select all that apply. Which of the following is a check for data accuracy?
a. the user enters the number of hours watching movies in a given day b. the user enters a number in an allowable range c. the user selects a username of any length, using any keyboard characters d. the user enters a phone number to be formatted as (555)555-5555
Expand the following acronyms:
a) W3C. b) WAI. c) JAWS. d) SMIL. d) SMIL.
Consider the following schema, where the keys are underlined:
The SSN attribute in Project is the Id of the employee working on the project and PID is the
Id of the project. There can be several employees per project, but the functional dependency
PID ! Name,Budget holds (so the relation is not normalized). Consider the query.
SELECT P.Budget, P.Name, E.Name
FROM Employee E, Project P
WHERE E.SSN = P.SSN AND
P.Budget > 99 AND
E.Name = 'John'
ORDER BY P.Budget
Assume the following statistical information:
10,000 tuples in Employee relation
20,000 tuples in Project relation
40 tuples/page in each relation
10-page buer
1,000 dierent values for E.Name
The domain of Budget consists of integers in the range of 1 to 100
Indices:
? Employee relation:
On Name: Unclustered, hash
? Project relation:
On SSN: Unclustered, hash
On Budget: Clustered, 2-level B+ tree
Question: Find the best execution plan, draw it, and estimate its cost.
The video technique that allows you to choose a color or range of colors that become transparent, allowing the video image to be visible behind those colors in the overlying image, is known by all of the following except:
a. Blue screen b. Ultimate c. chroma key d. interlacing e. All of the above are appropriate names.