What is a stub?

What will be an ideal response?


A stub is a small function that replaces another as yet untested function. The
stub allows the caller to be tested without the added complexity of the untested
function.

Computer Science & Information Technology

You might also like to view...

Exception handling helps you create ________ programs.

a. high-performance b. logic-error-free c. fault-tolerant d. compilation-error-free

Computer Science & Information Technology

What is required to provide assurance for an ICT process or product?

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following function declarations are illegal?

``` a. void t1(int x, int y = 0, int z); b. void t4(int x = 0, int y = 0, int z = 0); c. void t2(int x = 0, int y = 0, int z); d. void t3(int x, int y = 0, int z = 0); e. a and c ```

Computer Science & Information Technology

Which of the following network devices would be responsible for translating canonical names into IP addresses?

A. A router B. A DHCP server C. A DNS server D. A firewall

Computer Science & Information Technology