What are the values of a list index at the head and tail of the list, respectively?

A. 0, n-1
B. 1, n
C. 0, n
D. n-1, 1


Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following is NOT among the common guidelines that should be reflected in the rule base to implement an organization's security policy?

A. only authenticated traffic can access the internal network B. employees can use instant-messaging only with external network users C. the public can access the company Web servers D. employees can have restricted Internet access

Computer Science & Information Technology

What are the necessary ingredients of a greedy algorithm?

a. Optimal substructure and greedy choice b. Recursion and greedy choice c. Priority queue and optimal substructure d. Recombination and greedy choice

Computer Science & Information Technology

Which of the following is true regarding using tabs within tables?

A) You can use a table OR tabs, but not both at the same time. B) Only right-aligned tabs are permitted in the right-most column. C) Ctrl + Tab must be used to move to a tab stop. D) It makes no difference whether the tabs or the table is established first.

Computer Science & Information Technology

A(n) ________ is a message inserted by a person reviewing a document

Fill in the blank(s) with correct word

Computer Science & Information Technology