The pointer in the last node of a linked list is often set to NULL because:
A. in a search, we need to have some way of knowing when we’ve reached the end of the list
B. it doesn’t point to anything
C. it prevents memory leak
D. it conserves the memory used in the linked list by 25%
A
You might also like to view...
To enter the field name, simply type it, then press the ______ key.
Fill in the blank(s) with the appropriate word(s).
Discuss the final result of the different schedules in Figure 21.3 (a) and (b), where M = 2 and N = 2, with respect to the following questions. Does adding the above condition change the final outcome? Does the outcome obey the implied consistency rule (that the capacity of X is 90)?
Change transaction T 2 in Figure 21.2b to read: read_item(X); X:= X+M; if X > 90 then exit else write_item(X);
The _______ method of the Graphics class draws a solid ellipse.
a) FillEllipse b) Ellipse c) SolidEllipse d) DrawEllipse
A relationship that joins a table to itself is a(n) ____ join type.
A. inner B. outer C. self D. related