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

1. Recursive algorithms tend to be less efficient than iterative algorithms.
2. Any algorithm that can be coded with recursion can also be coded using a loop.
3. The speed and amount of memory available to modern computers diminishes the performance impact of the overhead of recursion so much that for many applications, this overhead is not noticeable.
4. In C++ polymorphism is very difficult to achieve unless you also use inheritance.
5. Static binding occurs when the compiler binds a function call at compile time.


1. TRUE
2. TRUE
3. TRUE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

Which of the following is a TCP/IP model Transport layer protocol?

A. IP B. Frame Relay C. DNS D. TCP

Computer Science & Information Technology

When creating a table using the New Excel Spreadsheet command, how does the content display?

A) Embedded Excel worksheet B) Table C) Lotus workbook D) An attached file

Computer Science & Information Technology

Which Cisco IOS command is used to enable a switch interface to become a routed port?

A) sdm prefer routing B) ip route enable C) no switchport D) ip routing

Computer Science & Information Technology

Mutual authentication for multiple services is

A) Using software to share photos between two different devices B) Using hardware to share bookmarks between two different devices C) Using software to synchronize data between two different devices D) Using hardware to synchronize data between two different devices

Computer Science & Information Technology