Recursion often is preferable to iteration because ________.
a. it is faster.
b. it requires less memory.
c. it models the problem more logically.
d. All of the above.
c. it models the problem more logically.
You might also like to view...
Table 9.1 lists the two nearest neighbors of four points.
You are configuring a switch so that a specific port on the switch is assigned to VLAN 3. What command do you use to assign FastEthernet port 0/4 to VLAN 3 on a Cisco switch?
a. Switch(config)#int fa 0/4 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 3 b. Switch(config)#int fa 0/4 Switch(config-if)#switchport mode access Switch(config-if)#switchport access 3 c. Switch(config)#int fa 0/4 Switch(config)#switchport mode access Switch(config-if)#switchport access vlan 3 d. Switch(config)#int fa 0/4 Switch(config-if)#switchport mode access 3 Switch(config-if)#switchport access vlan