This function is an example of a(n) _________ function:

```
1 float p( float x, int n )
2 {
3 if ( n == 0 )
4 return 1;
5 else
6 return x p( x, n – 1 );
7 }
```
A. infinite
B. iterating
C. self-calling
D. recursive


6

Computer Science & Information Technology

You might also like to view...

With the autofill attribute, the Web browser automatically fills in that text box with data that has been completed in previous forms.

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

Computer Science & Information Technology

What does the following program do?

``` // What does this program do? #include using namespace std; int whatIsThis( int [], int ); // function prototype int main() { const int arraySize = 10; int a[ arraySize ] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; int result = whatIsThis( a, arraySize ); cout << "Result is " << result << endl; } // end main // What does this function do? int whatIsThis( int b[], int size ) { if ( size == 1 ) // base case return b[ 0 ]; else // recursive step return b[ size - 1 ] + whatIsThis( b, size - 1 ); } // end function whatIsThis ```

Computer Science & Information Technology

The place where VBA programming code is stored when you record a macro is called a ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

In the code below, the four values used with the margin attribute represent spacing on the :

A) left, center, top and bottoms margins inside the table. B) top, right, bottom and left margins surrounding the table. C) left, center, top and bottoms margins surrounding the table. D) top, right, bottom and left margins inside the table.

Computer Science & Information Technology