Which of the following is the better choice when attempting to add a new entry to a dictionary where the search key already exists?

a. replace the existing entry with a new entry
b. crash the program
c. throw an exception
d. deny the attempt

d. deny the attempt

Computer Science & Information Technology

You might also like to view...

The base 10 system is called the binary number system.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

An optional enumerated list name can be used in an enumeration statement.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology