Filters
Question type

Study Flashcards

A function that calls itself either directly or indirectly through another function is called a ________ function.


A) base case
B) iterative
C) recursive
D) fibonacci

E) A) and D)
F) B) and C)

Correct Answer

verifed

verified

Which of the following is a legal function call for the function definition provided below Function square( y ) { Return y * y; }


A) square(7+2) ;
B) (7) .square;
C) square(7,2) ;
D) square 7;

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

The style of programming in which the user interacts with a GUI component is called ________ programming.


A) object-oriented
B) automatic
C) event-driven
D) modular

E) All of the above
F) A) and B)

Correct Answer

verifed

verified

When a function invokes a new copy of itself, it is called a ________.


A) base case
B) final step
C) base case.
D) recursive call

E) None of the above
F) A) and D)

Correct Answer

verifed

verified

Showing 21 - 24 of 24

Related Exams

Show Answer